Uniqueness of AWS resource ids

0

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 回答
1

Hi,

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
已回答 1 年前
  • 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.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则