Interface CfnPolicy.PolicyDefinitionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnPolicy.PolicyDefinitionProperty.Jsii$Proxy
- Enclosing class:
CfnPolicy
@Stability(Stable)
public static interface CfnPolicy.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.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 forCfnPolicy.PolicyDefinitionPropertystatic final classAn implementation forCfnPolicy.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
IResolvableorCfnPolicy.CedarPolicyProperty- See Also:
-
builder
-