Table of Contents

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

RegionEndpoint

APEast1

The Asia Pacific (Hong Kong) endpoint.

public static readonly RegionEndpoint APEast1

Field Value

RegionEndpoint

APNortheast1

The Asia Pacific (Tokyo) endpoint.

public static readonly RegionEndpoint APNortheast1

Field Value

RegionEndpoint

APNortheast2

The Asia Pacific (Seoul) endpoint.

public static readonly RegionEndpoint APNortheast2

Field Value

RegionEndpoint

APNortheast3

The Asia Pacific (Osaka-Local) endpoint.

public static readonly RegionEndpoint APNortheast3

Field Value

RegionEndpoint

APSouth1

The Asia Pacific (Mumbai) endpoint.

public static readonly RegionEndpoint APSouth1

Field Value

RegionEndpoint

APSoutheast1

The Asia Pacific (Singapore) endpoint.

public static readonly RegionEndpoint APSoutheast1

Field Value

RegionEndpoint

APSoutheast2

The Asia Pacific (Sydney) endpoint.

public static readonly RegionEndpoint APSoutheast2

Field Value

RegionEndpoint

CACentral1

The Canada (Central) endpoint.

public static readonly RegionEndpoint CACentral1

Field Value

RegionEndpoint

CNNorth1

The China (Beijing) endpoint.

public static readonly RegionEndpoint CNNorth1

Field Value

RegionEndpoint

CNNorthWest1

The China (Ningxia) endpoint.

public static readonly RegionEndpoint CNNorthWest1

Field Value

RegionEndpoint

EUCentral1

The EU Central (Frankfurt) endpoint.

public static readonly RegionEndpoint EUCentral1

Field Value

RegionEndpoint

EUNorth1

The EU North (Stockholm) endpoint.

public static readonly RegionEndpoint EUNorth1

Field Value

RegionEndpoint

EUSouth1

The Europe (Milan) endpoint.

public static readonly RegionEndpoint EUSouth1

Field Value

RegionEndpoint

EUWest1

The EU West (Ireland) endpoint.

public static readonly RegionEndpoint EUWest1

Field Value

RegionEndpoint

EUWest2

The EU West (London) endpoint.

public static readonly RegionEndpoint EUWest2

Field Value

RegionEndpoint

EUWest3

The EU West (Paris) endpoint.

public static readonly RegionEndpoint EUWest3

Field Value

RegionEndpoint

MESouth1

The Middle East (Bahrain) endpoint.

public static readonly RegionEndpoint MESouth1

Field Value

RegionEndpoint

SAEast1

The South America (Sao Paulo) endpoint.

public static readonly RegionEndpoint SAEast1

Field Value

RegionEndpoint

USEast1

The US East (Virginia) endpoint.

public static readonly RegionEndpoint USEast1

Field Value

RegionEndpoint

USEast2

The US East (Ohio) endpoint.

public static readonly RegionEndpoint USEast2

Field Value

RegionEndpoint

USGovCloudEast1

The US GovCloud East (Virginia) endpoint.

public static readonly RegionEndpoint USGovCloudEast1

Field Value

RegionEndpoint

USGovCloudWest1

The US GovCloud West (Oregon) endpoint.

public static readonly RegionEndpoint USGovCloudWest1

Field Value

RegionEndpoint

USWest1

The US West (N. California) endpoint.

public static readonly RegionEndpoint USWest1

Field Value

RegionEndpoint

USWest2

The US West (Oregon) endpoint.

public static readonly RegionEndpoint USWest2

Field Value

RegionEndpoint

Properties

DisplayName

Gets the display name of a region.

public string DisplayName { get; }

Property Value

string

EnumerableAllRegions

Enumerate through all the regions.

public static IEnumerable<RegionEndpoint> EnumerableAllRegions { get; }

Property Value

IEnumerable<RegionEndpoint>

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

string

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

string

SystemName

Gets the system name of a region.

public string SystemName { get; }

Property Value

string

Methods

GetBySystemName(string)

Gets the region based on its system name like "us-west-1"

public static RegionEndpoint GetBySystemName(string systemName)

Parameters

systemName string

The system name of the service like "us-west-1"

Returns

RegionEndpoint

GetEndpointForService(string)

Gets the endpoint for a service in a region.

public RegionEndpoint.Endpoint GetEndpointForService(string serviceName)

Parameters

serviceName string

The services system name. Service system names can be obtained from the RegionEndpointServiceName member of the ClientConfig-derived class for the service.

Returns

RegionEndpoint.Endpoint

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 string

The services system name. Service system names can be obtained from the RegionEndpointServiceName member of the ClientConfig-derived class for the service.

dualStack bool

If 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

RegionEndpoint.Endpoint

GetRegionEndpointOverride(RegionEndpoint)

Gets the region endpoint override if exists

public static RegionEndpoint GetRegionEndpointOverride(RegionEndpoint regionEndpoint)

Parameters

regionEndpoint RegionEndpoint

The region endpoint to find the possible override for

Returns

RegionEndpoint

ToString()

public override string ToString()

Returns

string