Interface CfnPolicyProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnPolicyProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.110.0 (build 336b265)", date="2025-04-17T00:47:13.544Z") @Stability(Stable) public interface CfnPolicyProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnPolicy.

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.*;
 CfnPolicyProps cfnPolicyProps = CfnPolicyProps.builder()
         .definition(PolicyDefinitionProperty.builder()
                 .static(StaticPolicyDefinitionProperty.builder()
                         .statement("statement")
                         // the properties below are optional
                         .description("description")
                         .build())
                 .templateLinked(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())
                 .build())
         .policyStoreId("policyStoreId")
         .build();
 

See Also: