On this page
aws_iam_policy
This data source can be used to fetch information about a specific IAM policy.
Example Usage
data "aws_iam_policy" "example" {
arn = "arn:aws:iam::123456789012:policy/UsersManageOwnCredentials"
}
Argument Reference
arn
- (Required) ARN of the IAM policy.
Attributes Reference
name
- The name of the IAM policy.arn
- The Amazon Resource Name (ARN) specifying the policy.path
- The path to the policy.description
- The description of the policy.policy
- The policy document of the policy.
© 2018 HashiCorp
Licensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/aws/d/iam_policy.html