Interface CfnPolicyMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPolicyMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:20:05.912Z")
@Stability(Stable)
public interface CfnPolicyMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnPolicyPropsMixin.
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.verifiedpermissions.*;
CfnPolicyMixinProps cfnPolicyMixinProps = CfnPolicyMixinProps.builder()
.definition(PolicyDefinitionProperty.builder()
.static(StaticPolicyDefinitionProperty.builder()
.description("description")
.statement("statement")
.build())
.templateLinked(TemplateLinkedPolicyDefinitionProperty.builder()
.policyTemplateId("policyTemplateId")
.principal(EntityIdentifierProperty.builder()
.entityId("entityId")
.entityType("entityType")
.build())
.resource(EntityIdentifierProperty.builder()
.entityId("entityId")
.entityType("entityType")
.build())
.build())
.build())
.policyStoreId("policyStoreId")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPolicyMixinPropsstatic final classAn implementation forCfnPolicyMixinProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnPolicyMixinProps.Builderbuilder()default ObjectSpecifies the policy type and content to use for the new or updated policy.default StringSpecifies thePolicyStoreIdof the policy store you want to store the policy in.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDefinition
Specifies the policy type and content to use for the new or updated policy.The definition structure must include either a
Staticor aTemplateLinkedelement.Returns union: either
IResolvableorCfnPolicyPropsMixin.PolicyDefinitionProperty- See Also:
-
getPolicyStoreId
Specifies thePolicyStoreIdof the policy store you want to store the policy in.- See Also:
-
builder
- Returns:
- a
CfnPolicyMixinProps.BuilderofCfnPolicyMixinProps
-