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 réponse
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
répondu il y a un an
  • 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.

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions