Interface CfnRole.PolicyProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnRole.PolicyProperty.Jsii$Proxy
Enclosing class:
CfnRole

@Stability(Stable) public static interface CfnRole.PolicyProperty extends software.amazon.jsii.JsiiSerializable
Contains information about an attached policy.

An attached policy is a managed policy that has been attached to a user, group, or role.

For more information about managed policies, refer to Managed Policies and Inline Policies in the IAM User Guide .

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.iam.*;
 Object policyDocument;
 PolicyProperty policyProperty = PolicyProperty.builder()
         .policyDocument(policyDocument)
         .policyName("policyName")
         .build();