Interface CfnPolicyPropsMixin.PolicyDefinitionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPolicyPropsMixin.PolicyDefinitionProperty.Jsii$Proxy
- Enclosing class:
CfnPolicyPropsMixin
@Stability(Stable)
public static interface CfnPolicyPropsMixin.PolicyDefinitionProperty
extends software.amazon.jsii.JsiiSerializable
The definition structure for policies.
Encapsulates different policy formats.
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.bedrockagentcore.*;
PolicyDefinitionProperty policyDefinitionProperty = PolicyDefinitionProperty.builder()
.cedar(CedarPolicyProperty.builder()
.statement("statement")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnPolicyPropsMixin.PolicyDefinitionPropertystatic final classAn implementation forCfnPolicyPropsMixin.PolicyDefinitionProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCedar
A Cedar policy statement within the AgentCore Policy system.Returns union: either
IResolvableorCfnPolicyPropsMixin.CedarPolicyProperty- See Also:
-
builder
-