Parse and construct Amazon Resource Names. Format: arn:partition:service:region:account-id:resource. 100% client-side.
Every AWS resource has a unique ARN. The general formats are:
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
Region and account-id are blank for some global services (S3 bucket ARNs, IAM users/roles). The resource portion may use : or / as separators depending on the service.