Difference between revisions of "Amazon Resource Name (ARN)"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
* <code>[[arn:aws:iam::aws:policy/AmazonS3FullAccess]]</code> | * <code>[[arn:aws:iam::aws:policy/AmazonS3FullAccess]]</code> | ||
* <code>[[arn:aws:iam::123456789012:root]]</code> | * <code>[[arn:aws:iam::123456789012:root]]</code> | ||
+ | * <code>[[arn:aws:iam::123456789012:user/YourUser]]</code> | ||
data "aws_caller_identity" "current" {} | data "aws_caller_identity" "current" {} |
Revision as of 08:57, 9 February 2023
wikipedia:Amazon Resource Name
Examples
arn:aws:chatbot
arn:aws:iam::aws:policy/ReadOnlyAccess
arn:aws:iam::aws:policy/AmazonS3FullAccess
arn:aws:iam::123456789012:root
arn:aws:iam::123456789012:user/YourUser
data "aws_caller_identity" "current" {} output "caller_arn" { value = data.aws_caller_identity.current.arn }
Related terms
See also
Advertising: