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)
Idaws.iam.role_policies

Fields

NameDatatypeDescription
role_namestringThe IAM role name
policy_namestringThe role policy name
policy_documentstringThe role policy document
regionstring
regionstringAWS region.

Methods

NameAccessible byRequired Params
viewSELECTregion

SELECT Example

SELECT
region,
role_name,
policy_name,
policy_document,
region
FROM aws.iam.role_policies
WHERE RoleName = '<RoleName>';