Difference between revisions of "Amazon Resource Name (ARN)"
Jump to navigation
Jump to search
(20 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
== Examples == | == Examples == | ||
* <code>[[arn]]:aws:[[chatbot]]</code> | * <code>[[arn]]:aws:[[chatbot]]</code> | ||
+ | * <code>[[arn:aws:ssm]]</code> | ||
+ | * <code>[[arn:aws:secretmanager]]</code> | ||
+ | |||
+ | |||
+ | [[arn:aws:iam::aws:policy/]] | ||
* <code>[[arn:aws:iam]]::aws:policy/[[ReadOnlyAccess]]</code> | * <code>[[arn:aws:iam]]::aws:policy/[[ReadOnlyAccess]]</code> | ||
* <code>[[arn:aws:iam::aws:policy/AmazonS3FullAccess]]</code> | * <code>[[arn:aws:iam::aws:policy/AmazonS3FullAccess]]</code> | ||
+ | * <code>[[arn:aws:iam]]::aws:[[policy]]/[[AdministratorAccess]]</code> | ||
+ | * <code>[[arn:aws:iam::aws:policy/job-function/Billing]]</code> | ||
+ | |||
+ | |||
+ | |||
+ | * <code>[[arn:aws:iam::123456789012:root]]</code> | ||
+ | * <code>[[arn:aws:iam::123456789012:user/YourUser]]</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" {} | ||
Line 11: | Line 27: | ||
value = data.[[aws_caller_identity]].current.arn | value = data.[[aws_caller_identity]].current.arn | ||
} | } | ||
+ | |||
+ | == Related errors == | ||
+ | {{ARN errors}} | ||
== Related terms == | == Related terms == | ||
− | * [[URL]] | + | * [[URL]], [[URI]], [[FQDN]] |
− | * [[Region]], [[AZ]] | + | * [[Region]], [[AZ]], [[Load balancer]], [[Target group]] |
− | + | * <code>[[arn alb]]</code> | |
− | |||
− | * <code>[[ | ||
== See also == | == See also == | ||
+ | * {{ARN}} | ||
* {{AWS terms}} | * {{AWS terms}} | ||
[[Category:AWS]] | [[Category:AWS]] |
Latest revision as of 09:39, 5 October 2023
wikipedia:Amazon Resource Name
Examples[edit]
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
data "aws_caller_identity" "current" {} output "caller_arn" { value = data.aws_caller_identity.current.arn }
Related errors[edit]
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[edit]
See also[edit]
Advertising: