

# Endpoints and ARNs for Amazon Web Services in China
Endpoints & ARNs

To access Amazon services and resources, you use endpoints and Amazon Resource Names (ARNs).

## Endpoints


To connect programmatically to an Amazon Web Services in China, you use an endpoint. An endpoint is the URL of the entry point for an Amazon service. For example, `dynamodb.cn-north-1.amazonaws.com.cn` is the endpoint for the Amazon DynamoDB service in the Beijing Region, and `dynamodb.cn-northwest-1.amazonaws.com.cn` is the endpoint for Amazon DynamoDB in the Ningxia Region. The Amazon SDKs and the Amazon Command Line Interface (CLI) automatically use the default endpoint for each service in an Amazon Region. But you can specify another endpoint for your API requests.

The endpoints reference for services has moved to [Endpoints for Amazon Web Services in China](https://docs.amazonaws.cn/general/latest/gr/endpoints.html) in the Amazon Web Services General Reference.

## Amazon Resource Names (ARNs)


Amazon Resource Names (ARNs) uniquely identify Amazon resources. You use an ARN to specify a resource across all of Amazon Web Services, such as in Amazon Identity and Access Management (IAM) policies, Amazon Relational Database Service (Amazon RDS) tags, and API calls.

For information about ARNs in the Beijing and Ningxia Regions, see [ARNs for Amazon Web Services in China](ARNs.md).

For general information about ARNs, see [Amazon Resource Names (ARNs)](https://docs.amazonaws.cn/general/latest/gr/aws-arns-and-namespaces.html) in the *Amazon Web Services General Reference*.

# ARNs for Amazon Web Services in China
ARNs

In the Beijing and Ningxia Regions, the Amazon Resource Name (ARN) syntax includes a cn.

```
arn:aws-cn
```

If an ARN requires you to specify a region:
+ For the Beijing Region, use `cn-north-1`.

  Example for Amazon Relational Database Service:

  ```
  arn:aws-cn:rds:cn-north-1:123456789012:db:mysql-db
  ```
+ For the Ningxia Region, use `cn-northwest-1`.

  Example for Amazon Elastic Compute Cloud:

  ```
  arn:aws-cn:ec2:cn-northwest-1:123456789012:volume/vol-1a2b3c4d
  ```

For additional information about ARNs, see [Amazon Resource Names (ARNs)](https://docs.amazonaws.cn/general/latest/gr/aws-arns-and-namespaces.html) in the Amazon Web Services General Reference.