Amazon Resource Names (ARNs) uniquely identify AWS resources. We require an ARN when you need to specify a resource unambiguously across all of AWS.
The following are the general formats for ARNs. The specific formats depend on the resource. Be aware that the ARNs for some resources omit the Region, the account ID, or both the Region and the account ID.
arn:*partition*:*service*:*region*:*account-id*:*resource-id*
arn:*partition*:*service*:*region*:*account-id*:*resource-type*/*resource-id*
arn:*partition*:*service*:*region*:*account-id*:*resource-type*:*resource-id*
partition
The partition in which the resource is located. A partition
is a group of AWS Regions. Each AWS account is scoped to one partition.
The following are the supported partitions:
aws
: AWS Regionsaws-cn
: China Regionsaws-us-gov
: AWS GovCloud (US) Regionsservice
The service namespace that identifies the AWS product. For example, s3
for Amazon S3 resources.