AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
Region.h
Go to the documentation of this file.
1
6#pragma once
7
9
11
12namespace Aws
13{
17 namespace Region
18 {
19 // AWS_GLOBAL is a pseudo region that can be used to tell SDK to use the service global endpoint if there is any.
20 // You can specify this region to corresponding environment variable, config file item and in your code.
21 // For services without global region, the request will be directed to us-east-1
22 static const char AWS_GLOBAL[] = "aws-global";
23 static const char US_EAST_1[] = "us-east-1"; // US East (N. Virginia)
24 static const char US_EAST_2[] = "us-east-2"; // US East (Ohio)
25 static const char US_WEST_1[] = "us-west-1"; // US West (N. California)
26 static const char US_WEST_2[] = "us-west-2"; // US West (Oregon)
27 static const char EU_WEST_1[] = "eu-west-1"; // EU (Ireland)
28 static const char EU_WEST_2[] = "eu-west-2"; // EU (London)
29 static const char EU_WEST_3[] = "eu-west-3"; // EU (Paris)
30 static const char EU_CENTRAL_1[] = "eu-central-1"; // "EU (Frankfurt)
31 static const char EU_NORTH_1[] = "eu-north-1"; // EU (Stockholm)
32 static const char EU_SOUTH_1[] = "eu-south-1"; // EU (Milan)
33 static const char AP_EAST_1[] = "ap-east-1"; // Asia Pacific (Hong Kong)
34 static const char AP_SOUTH_1[] = "ap-south-1"; // Asia Pacific (Mumbai)
35 static const char AP_SOUTHEAST_1[] = "ap-southeast-1"; // Asia Pacific (Singapore)
36 static const char AP_SOUTHEAST_2[] = "ap-southeast-2"; // Asia Pacific (Sydney)
37 static const char AP_SOUTHEAST_3[] = "ap-southeast-3"; // Asia Pacific (Jakarta)
38 static const char AP_NORTHEAST_1[] = "ap-northeast-1"; // Asia Pacific (Tokyo)
39 static const char AP_NORTHEAST_2[] = "ap-northeast-2"; // Asia Pacific (Seoul)
40 static const char AP_NORTHEAST_3[] = "ap-northeast-3"; // Asia Pacific (Osaka)
41 static const char SA_EAST_1[] = "sa-east-1"; // South America (Sao Paulo
42 static const char CN_NORTH_1[] = "cn-north-1"; // China (Beijing)
43 static const char CN_NORTHWEST_1[] = "cn-northwest-1"; // China (Ningxia)
44 static const char CA_CENTRAL_1[] = "ca-central-1"; // Canada (Central)
45 static const char ME_SOUTH_1[] = "me-south-1"; // Middle East (Bahrain)
46 static const char ME_CENTRAL_1[] = "me-central-1"; // Middle East (UEA)
47 static const char AF_SOUTH_1[] = "af-south-1"; // Africa (Cape Town)
48 static const char US_GOV_WEST_1[] = "us-gov-west-1"; // AWS GovCloud (US-West)
49 static const char US_GOV_EAST_1[] = "us-gov-east-1"; // AWS GovCloud (US-East)
50 static const char US_ISO_EAST_1[] = "us-iso-east-1"; // US ISO East
51 static const char US_ISOB_EAST_1[] = "us-isob-east-1"; // US ISOB East (Ohio)
52 static const char US_ISO_WEST_1[] = "us-iso-west-1"; // US ISO West
53
54 // If a pseudo region, for example, aws-global or us-east-1-fips is provided, it should be converted to the region name used for signing.
56
57 // A FIPs region starts with "fips-" or ends with "-fips".
59 }
60
61} // namespace Aws
62
#define AWS_CORE_API
Definition: Core_EXPORTS.h:26
static const char AP_NORTHEAST_2[]
Definition: Region.h:39
static const char EU_WEST_3[]
Definition: Region.h:29
static const char AP_SOUTH_1[]
Definition: Region.h:34
static const char AP_SOUTHEAST_3[]
Definition: Region.h:37
static const char SA_EAST_1[]
Definition: Region.h:41
static const char US_WEST_2[]
Definition: Region.h:26
static const char CN_NORTH_1[]
Definition: Region.h:42
static const char US_WEST_1[]
Definition: Region.h:25
static const char EU_WEST_1[]
Definition: Region.h:27
static const char AP_SOUTHEAST_1[]
Definition: Region.h:35
static const char CN_NORTHWEST_1[]
Definition: Region.h:43
static const char ME_SOUTH_1[]
Definition: Region.h:45
static const char AWS_GLOBAL[]
Definition: Region.h:22
static const char AP_SOUTHEAST_2[]
Definition: Region.h:36
static const char EU_SOUTH_1[]
Definition: Region.h:32
static const char US_EAST_2[]
Definition: Region.h:24
static const char US_ISO_WEST_1[]
Definition: Region.h:52
static const char AP_NORTHEAST_3[]
Definition: Region.h:40
static const char EU_NORTH_1[]
Definition: Region.h:31
bool AWS_CORE_API IsFipsRegion(const Aws::String &region)
static const char US_GOV_WEST_1[]
Definition: Region.h:48
static const char US_ISO_EAST_1[]
Definition: Region.h:50
static const char US_EAST_1[]
Definition: Region.h:23
static const char US_GOV_EAST_1[]
Definition: Region.h:49
static const char EU_WEST_2[]
Definition: Region.h:28
static const char US_ISOB_EAST_1[]
Definition: Region.h:51
static const char CA_CENTRAL_1[]
Definition: Region.h:44
Aws::String AWS_CORE_API ComputeSignerRegion(const Aws::String &region)
static const char AP_NORTHEAST_1[]
Definition: Region.h:38
static const char ME_CENTRAL_1[]
Definition: Region.h:46
static const char EU_CENTRAL_1[]
Definition: Region.h:30
static const char AP_EAST_1[]
Definition: Region.h:33
static const char AF_SOUTH_1[]
Definition: Region.h:47
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97