Class RegionEndpoint
- Namespace
- Amazon
- Assembly
- AWSSDK.Core.dll
This class contains region information used to lazily compute the service endpoints. The static constants representing the regions can be used while constructing the AWS client instead of looking up the exact endpoint URL.
public class RegionEndpoint
- Inheritance
-
RegionEndpoint
- Inherited Members
Fields
AFSouth1
The Africa (Cape Town) endpoint.
public static readonly RegionEndpoint AFSouth1
Field Value
APEast1
The Asia Pacific (Hong Kong) endpoint.
public static readonly RegionEndpoint APEast1
Field Value
APNortheast1
The Asia Pacific (Tokyo) endpoint.
public static readonly RegionEndpoint APNortheast1
Field Value
APNortheast2
The Asia Pacific (Seoul) endpoint.
public static readonly RegionEndpoint APNortheast2
Field Value
APNortheast3
The Asia Pacific (Osaka-Local) endpoint.
public static readonly RegionEndpoint APNortheast3
Field Value
APSouth1
The Asia Pacific (Mumbai) endpoint.
public static readonly RegionEndpoint APSouth1
Field Value
APSoutheast1
The Asia Pacific (Singapore) endpoint.
public static readonly RegionEndpoint APSoutheast1
Field Value
APSoutheast2
The Asia Pacific (Sydney) endpoint.
public static readonly RegionEndpoint APSoutheast2
Field Value
CACentral1
The Canada (Central) endpoint.
public static readonly RegionEndpoint CACentral1
Field Value
CNNorth1
The China (Beijing) endpoint.
public static readonly RegionEndpoint CNNorth1
Field Value
CNNorthWest1
The China (Ningxia) endpoint.
public static readonly RegionEndpoint CNNorthWest1
Field Value
EUCentral1
The EU Central (Frankfurt) endpoint.
public static readonly RegionEndpoint EUCentral1
Field Value
EUNorth1
The EU North (Stockholm) endpoint.
public static readonly RegionEndpoint EUNorth1
Field Value
EUSouth1
The Europe (Milan) endpoint.
public static readonly RegionEndpoint EUSouth1
Field Value
EUWest1
The EU West (Ireland) endpoint.
public static readonly RegionEndpoint EUWest1
Field Value
EUWest2
The EU West (London) endpoint.
public static readonly RegionEndpoint EUWest2
Field Value
EUWest3
The EU West (Paris) endpoint.
public static readonly RegionEndpoint EUWest3
Field Value
MESouth1
The Middle East (Bahrain) endpoint.
public static readonly RegionEndpoint MESouth1
Field Value
SAEast1
The South America (Sao Paulo) endpoint.
public static readonly RegionEndpoint SAEast1
Field Value
USEast1
The US East (Virginia) endpoint.
public static readonly RegionEndpoint USEast1
Field Value
USEast2
The US East (Ohio) endpoint.
public static readonly RegionEndpoint USEast2
Field Value
USGovCloudEast1
The US GovCloud East (Virginia) endpoint.
public static readonly RegionEndpoint USGovCloudEast1
Field Value
USGovCloudWest1
The US GovCloud West (Oregon) endpoint.
public static readonly RegionEndpoint USGovCloudWest1
Field Value
USWest1
The US West (N. California) endpoint.
public static readonly RegionEndpoint USWest1
Field Value
USWest2
The US West (Oregon) endpoint.
public static readonly RegionEndpoint USWest2
Field Value
Properties
DisplayName
Gets the display name of a region.
public string DisplayName { get; }
Property Value
EnumerableAllRegions
Enumerate through all the regions.
public static IEnumerable<RegionEndpoint> EnumerableAllRegions { get; }
Property Value
PartitionDnsSuffix
Gets the dns suffix for the region endpoints in a partition. For example the aws partition's suffix is amazonaws.com. The aws-cn partition's suffix is amazonaws.com.cn.
public string PartitionDnsSuffix { get; }
Property Value
PartitionName
Gets the partition name the region is in. For example for us-east-1 the partition name is aws. For cn-northwest-1 the partition name is aws-cn.
public string PartitionName { get; }
Property Value
SystemName
Gets the system name of a region.
public string SystemName { get; }
Property Value
Methods
GetBySystemName(string)
Gets the region based on its system name like "us-west-1"
public static RegionEndpoint GetBySystemName(string systemName)
Parameters
systemName
stringThe system name of the service like "us-west-1"
Returns
GetEndpointForService(string)
Gets the endpoint for a service in a region.
public RegionEndpoint.Endpoint GetEndpointForService(string serviceName)
Parameters
serviceName
stringThe services system name. Service system names can be obtained from the RegionEndpointServiceName member of the ClientConfig-derived class for the service.
Returns
GetEndpointForService(string, bool)
Gets the endpoint for a service in a region, optionally selecting a dualstack compatible endpoint.
public RegionEndpoint.Endpoint GetEndpointForService(string serviceName, bool dualStack)
Parameters
serviceName
stringThe services system name. Service system names can be obtained from the RegionEndpointServiceName member of the ClientConfig-derived class for the service.
dualStack
boolIf true a dualstack endpoint is returned. It is the user's responsibility to verify that the given service supports a dualstack endpoint for the region.
Returns
GetRegionEndpointOverride(RegionEndpoint)
Gets the region endpoint override if exists
public static RegionEndpoint GetRegionEndpointOverride(RegionEndpoint regionEndpoint)
Parameters
regionEndpoint
RegionEndpointThe region endpoint to find the possible override for
Returns
ToString()
public override string ToString()