RolePolicyReference
- class aws_cdk.interfaces.aws_iam.RolePolicyReference(*, policy_name, role_name)
Bases:
objectA reference to a RolePolicy resource.
- Parameters:
policy_name (
str) – The PolicyName of the RolePolicy resource.role_name (
str) – The RoleName of the RolePolicy resource.
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.interfaces import aws_iam as interfaces_aws_iam role_policy_reference = interfaces_aws_iam.RolePolicyReference( policy_name="policyName", role_name="roleName" )
Attributes
- policy_name
The PolicyName of the RolePolicy resource.
- role_name
The RoleName of the RolePolicy resource.