Skip to main content

role_policies

List of policies by RoleName (requires aws provider to be installed)

Overview

Namerole_policies
TypeResource
DescriptionList of policies by RoleName (requires `aws` provider to be installed)
Idawscc.iam.role_policies

Fields

NameDatatypeDescription
role_namestringThe IAM role name
policy_namestringThe role policy name
policy_documentstringThe role policy document
regionstring
regionstringAWS 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>';