The Amazon Resource Name (ARN) is used to uniquely identify an AWS resource. You will need to use ARNs to connect your services and data in AWS.
- Amazon DynamoDB table:
- Amazon S3 bucket:
- Amazon SNS topic:
- SNS topic subscription ID:
The components of the ARN are:
- Partition: The partition that the resource is in. For standard AWS regions, the partition is
aws. If you have resources in other partitions, the partition is
aws-[partitionname]. For example, the partition for resources in the China region is
- Service: The service namespace that identifies the AWS product (for example,
- Region: The region that the resource resides in (for example,
us-west-2). Some services are global, such as S3. Those services do not require a region specified.
- Account: The ID of the AWS account that owns the resource, without the hyphens, for example,
558892968354. Note that the ARNs for some resources don’t require an account number.
resourcetype/resource: The content of this part of the ARN varies by service, as shown in examples above. Some services allows paths for resource names.