Uniqueness of AWS resource ids


Each resource has their own Unique ID in format specified here. How unique are these Unique ID, are they unique Globally for all AWS accounts or specific to account or region? And are there any chance for this ID to repeat (in case if resource is deleted). Could anyone clarify me on this?

1 Answer


Amazon Resource Names (ARNs) uniquely identify AWS resources. They are composed by partition, service, region, account-id, resource-id (and sometimes with resource-type).

In some services the resource-id can be the name of the resource, so the only thing that can differentiate is the partition or region, for example, two SQS with the same name, in the same account, but in different regions:

  • arn:aws:sqs:us-east-1: 555555555555:teste-43523523543
  • arn:aws:sqs:us-east-2: 555555555555:teste-43523523543

Best regards,
Ricardo Makino

profile pictureAWS
answered a year ago
  • I got how ARN is unique to a resource and cases where resource name can be resource-id. But I still have doubt on resources where resource-id is randomly generated like EC2, VPC. Does the resource-id for those resource has the chances to be same for different account.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions