Interface CfnPolicy.TemplateLinkedPolicyDefinitionProperty

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

@Stability(Stable) public static interface CfnPolicy.TemplateLinkedPolicyDefinitionProperty extends software.amazon.jsii.JsiiSerializable
A structure that describes a policy created by instantiating a policy template.

You can't directly update a template-linked policy. You must update the associated policy template instead.

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.verifiedpermissions.*;
 TemplateLinkedPolicyDefinitionProperty templateLinkedPolicyDefinitionProperty = TemplateLinkedPolicyDefinitionProperty.builder()
         .policyTemplateId("policyTemplateId")
         // the properties below are optional
         .principal(EntityIdentifierProperty.builder()
                 .entityId("entityId")
                 .entityType("entityType")
                 .build())
         .resource(EntityIdentifierProperty.builder()
                 .entityId("entityId")
                 .entityType("entityType")
                 .build())
         .build();
 

See Also: