Difference between revisions of "Amazon Resource Name (ARN)"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
* <code>[[arn:aws:iam::123456789012:root]]</code> | * <code>[[arn:aws:iam::123456789012:root]]</code> | ||
* <code>[[arn:aws:iam::123456789012:user/YourUser]]</code> | * <code>[[arn:aws:iam::123456789012:user/YourUser]]</code> | ||
+ | * <code>arn:aws:iam::123456789012:[[u2f]]/</code> | ||
data "aws_caller_identity" "current" {} | data "aws_caller_identity" "current" {} |
Revision as of 14:42, 14 April 2023
wikipedia:Amazon Resource Name
Examples
arn:aws:chatbot
arn:aws:iam::aws:policy/ReadOnlyAccess
arn:aws:iam::aws:policy/AmazonS3FullAccess
arn:aws:iam::aws:policy/AdministratorAccess
arn:aws:iam::aws:policy/job-function/Billing
arn:aws:iam::123456789012:root
arn:aws:iam::123456789012:user/YourUser
arn:aws:iam::123456789012:u2f/
data "aws_caller_identity" "current" {} output "caller_arn" { value = data.aws_caller_identity.current.arn }
Related errors
Invalid ARN: arn: not enough sections
Error: "instance_arn" (d-1234567890) is an invalid ARN: arn: invalid prefix
Related terms
See also
Advertising: