Difference between revisions of "Amazon Resource Name (ARN)"
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
* <code>[[arn:aws:iam::123456789012:user/YourUser]]</code> | * <code>[[arn:aws:iam::123456789012:user/YourUser]]</code> | ||
* <code>arn:aws:iam::123456789012:[[u2f]]/user/youruser/yubikey5Cnano-XXXXXYYYY</code> | * <code>arn:aws:iam::123456789012:[[u2f]]/user/youruser/yubikey5Cnano-XXXXXYYYY</code> | ||
+ | * <code>[[arn:aws:elasticloadbalancing]]</code> | ||
data "aws_caller_identity" "current" {} | data "aws_caller_identity" "current" {} |
Revision as of 07:18, 21 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/user/youruser/yubikey5Cnano-XXXXXYYYY
arn:aws:elasticloadbalancing
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
is not a valid listener ARN
Related terms
See also
Advertising: