AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Inheritance Hierarchy

System.Object
  Amazon.RegionEndpoint

Namespace: Amazon
Assembly: AWSSDK.Core.dll
Version: 3.x.y.z

Syntax

C#
public class RegionEndpoint

The RegionEndpoint type exposes the following members

Properties

NameTypeDescription
Public Property DisplayName System.String

Gets the display name of a region.

Public Property Static Property EnumerableAllRegions System.Collections.Generic.IEnumerable<Amazon.RegionEndpoint>

Enumerate through all the regions.

Public Property PartitionDnsSuffix System.String

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 Property PartitionName System.String

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 Property SystemName System.String

Gets the system name of a region.

Methods

Note:

Asynchronous operations (methods ending with Async) in the table below are for .NET 4.5 or higher. For .NET 3.5 the SDK follows the standard naming convention of BeginMethodName and EndMethodName to indicate asynchronous operations - these method pairs are not shown in the table below.

NameDescription
Public Method Static Method GetBySystemName(string)

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

Public Method GetEndpointForService(string)

Gets the endpoint for a service in a region.

Public Method GetEndpointForService(string, bool)

Gets the endpoint for a service in a region, optionally selecting a dualstack compatible endpoint.

Public Method Static Method GetRegionEndpointOverride(RegionEndpoint)

Gets the region endpoint override if exists

Fields

NameTypeDescription
Field Static Field APEast1 Amazon.RegionEndpoint

The Asia Pacific (Hong Kong) endpoint.

Field Static Field APNortheast1 Amazon.RegionEndpoint

The Asia Pacific (Tokyo) endpoint.

Field Static Field APNortheast2 Amazon.RegionEndpoint

The Asia Pacific (Seoul) endpoint.

Field Static Field APNortheast3 Amazon.RegionEndpoint

The Asia Pacific (Osaka-Local) endpoint.

Field Static Field APSouth1 Amazon.RegionEndpoint

The Asia Pacific (Mumbai) endpoint.

Field Static Field APSoutheast1 Amazon.RegionEndpoint

The Asia Pacific (Singapore) endpoint.

Field Static Field APSoutheast2 Amazon.RegionEndpoint

The Asia Pacific (Sydney) endpoint.

Field Static Field CACentral1 Amazon.RegionEndpoint

The Canada (Central) endpoint.

Field Static Field CNNorth1 Amazon.RegionEndpoint

The China (Beijing) endpoint.

Field Static Field CNNorthWest1 Amazon.RegionEndpoint

The China (Ningxia) endpoint.

Field Static Field EUCentral1 Amazon.RegionEndpoint

The EU Central (Frankfurt) endpoint.

Field Static Field EUNorth1 Amazon.RegionEndpoint

The EU North (Stockholm) endpoint.

Field Static Field EUWest1 Amazon.RegionEndpoint

The EU West (Ireland) endpoint.

Field Static Field EUWest2 Amazon.RegionEndpoint

The EU West (London) endpoint.

Field Static Field EUWest3 Amazon.RegionEndpoint

The EU West (Paris) endpoint.

Field Static Field MESouth1 Amazon.RegionEndpoint

The Middle East (Bahrain) endpoint.

Field Static Field SAEast1 Amazon.RegionEndpoint

The South America (Sao Paulo) endpoint.

Field Static Field USEast1 Amazon.RegionEndpoint

The US East (Virginia) endpoint.

Field Static Field USEast2 Amazon.RegionEndpoint

The US East (Ohio) endpoint.

Field Static Field USGovCloudEast1 Amazon.RegionEndpoint

The US GovCloud East (Virginia) endpoint.

Field Static Field USGovCloudWest1 Amazon.RegionEndpoint

The US GovCloud West (Oregon) endpoint.

Field Static Field USWest1 Amazon.RegionEndpoint

The US West (N. California) endpoint.

Field Static Field USWest2 Amazon.RegionEndpoint

The US West (Oregon) endpoint.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

Unity:
Supported Versions: 4.6 and above
Supported Platforms: Android, iOS, Standalone