role_policies
List of policies by RoleName (requires aws
provider to be installed)
Overview
Name | role_policies |
Type | Resource |
Description | List of policies by RoleName (requires `aws` provider to be installed) |
Id | awscc.iam.role_policies |
Fields
Name | Datatype | Description |
---|---|---|
role_name | string | The IAM role name |
policy_name | string | The role policy name |
policy_document | string | The role policy document |
region | string | |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
role_name,
policy_name,
policy_document,
region
FROM awscc.iam.role_policies
WHERE RoleName = '<RoleName>';