Difference between revisions of "Amazon Resource Name (ARN)"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
* <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::123456789012:root]]</code> | ||
data "aws_caller_identity" "current" {} | data "aws_caller_identity" "current" {} |
Revision as of 08:56, 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
data "aws_caller_identity" "current" {} output "caller_arn" { value = data.aws_caller_identity.current.arn }
Related terms
See also
Advertising: