aws::iam-policy

Creates an IAM Policy with the specified options.

Example

aws::iam-policy example-role
    name: "rta-test-policy"
    description: "testing the policy functionality"
    policy-document: "policyFile.json"
    role: (aws::iam-role role)
end

Attributes

Attribute Description
description The description of the role.
name The name of the policy. (Required)
path The path for the policy.
policy-document The policy document. A policy path or policy string is allowed. (Required)

Outputs

Attribute Description
arn The arn of the policy.
past-version-id The past version id.