@Generated("software.amazon.awssdk:codegen")public final class Regionextends ObjectAn Amazon Web Services region that hosts a set of Amazon services.
An instance of this class can be retrieved by referencing one of the static constants defined in this class (eg. US_EAST_1) or by using the of(String) method if the region you want is not included in this release of the SDK.
Each AWS region corresponds to a separate geographical location where a set of Amazon services is deployed. These regions (except for the special AWS_GLOBAL and AWS_CN_GLOBAL regions) are separate from each other, with their own set of resources. This means a resource created in one region (eg. an SQS queue) is not available in another region.
To programmatically determine whether a particular service is deployed to a region, you can use the serviceMetadata method on the service's client interface. Additional metadata about a region can be discovered using RegionMetadata.of(Region).
The id() will be used as the signing region for all requests to AWS services unless an explicit region override is available in RegionMetadata. This id will also be used to construct the endpoint for accessing a service unless an explicit endpoint is available for that region in RegionMetadata.
Field Details
AP_SOUTH_2
public static final Region AP_SOUTH_2AP_SOUTH_1
public static final Region AP_SOUTH_1EU_SOUTH_1
public static final Region EU_SOUTH_1EU_SOUTH_2
public static final Region EU_SOUTH_2US_GOV_EAST_1
public static final Region US_GOV_EAST_1ME_CENTRAL_1
public static final Region ME_CENTRAL_1IL_CENTRAL_1
public static final Region IL_CENTRAL_1CA_CENTRAL_1
public static final Region CA_CENTRAL_1EU_CENTRAL_1
public static final Region EU_CENTRAL_1US_ISO_WEST_1
public static final Region US_ISO_WEST_1EU_CENTRAL_2
public static final Region EU_CENTRAL_2US_WEST_1
public static final Region US_WEST_1US_WEST_2
public static final Region US_WEST_2AF_SOUTH_1
public static final Region AF_SOUTH_1EU_NORTH_1
public static final Region EU_NORTH_1EU_WEST_3
public static final Region EU_WEST_3EU_WEST_2
public static final Region EU_WEST_2EU_WEST_1
public static final Region EU_WEST_1AP_NORTHEAST_3
public static final Region AP_NORTHEAST_3AP_NORTHEAST_2
public static final Region AP_NORTHEAST_2AP_NORTHEAST_1
public static final Region AP_NORTHEAST_1ME_SOUTH_1
public static final Region ME_SOUTH_1SA_EAST_1
public static final Region SA_EAST_1AP_EAST_1
public static final Region AP_EAST_1CN_NORTH_1
public static final Region CN_NORTH_1CA_WEST_1
public static final Region CA_WEST_1US_GOV_WEST_1
public static final Region US_GOV_WEST_1AP_SOUTHEAST_1
public static final Region AP_SOUTHEAST_1AP_SOUTHEAST_2
public static final Region AP_SOUTHEAST_2US_ISO_EAST_1
public static final Region US_ISO_EAST_1AP_SOUTHEAST_3
public static final Region AP_SOUTHEAST_3AP_SOUTHEAST_4
public static final Region AP_SOUTHEAST_4US_EAST_1
public static final Region US_EAST_1US_EAST_2
public static final Region US_EAST_2CN_NORTHWEST_1
public static final Region CN_NORTHWEST_1US_ISOB_EAST_1
public static final Region US_ISOB_EAST_1AWS_GLOBAL
public static final Region AWS_GLOBALAWS_CN_GLOBAL
public static final Region AWS_CN_GLOBALAWS_US_GOV_GLOBAL
public static final Region AWS_US_GOV_GLOBALAWS_ISO_GLOBAL
public static final Region AWS_ISO_GLOBALAWS_ISO_B_GLOBAL
public static final Region AWS_ISO_B_GLOBAL
Method Details