Interface CfnGroupPropsMixin.PolicyProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGroupPropsMixin.PolicyProperty.Jsii$Proxy
- Enclosing class:
CfnGroupPropsMixin
@Stability(Stable)
public static interface CfnGroupPropsMixin.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, see 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.cfnpropertymixins.services.iam.*;
Object policyDocument;
PolicyProperty policyProperty = PolicyProperty.builder()
.policyDocument(policyDocument)
.policyName("policyName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnGroupPropsMixin.PolicyPropertystatic final classAn implementation forCfnGroupPropsMixin.PolicyProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getPolicyDocument
The policy document.- See Also:
-
getPolicyName
The friendly name (not ARN) identifying the policy.- See Also:
-
builder
-