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:19:56.728Z")
@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.bedrockagentcore.*;
CfnPolicyMixinProps cfnPolicyMixinProps = CfnPolicyMixinProps.builder()
.definition(PolicyDefinitionProperty.builder()
.cedar(CedarPolicyProperty.builder()
.statement("statement")
.build())
.build())
.description("description")
.name("name")
.policyEngineId("policyEngineId")
.validationMode("validationMode")
.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 ObjectThe definition structure for policies.default StringA human-readable description of the policy's purpose and functionality.default StringgetName()The customer-assigned immutable name for the policy.default StringThe identifier of the policy engine which contains this policy.default StringThe validation mode for the policy.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDefinition
The definition structure for policies.Encapsulates different policy formats.
Returns union: either
IResolvableorCfnPolicyPropsMixin.PolicyDefinitionProperty- See Also:
-
getDescription
A human-readable description of the policy's purpose and functionality.- See Also:
-
getName
The customer-assigned immutable name for the policy.Must be unique within the policy engine.
- See Also:
-
getPolicyEngineId
The identifier of the policy engine which contains this policy.- See Also:
-
getValidationMode
The validation mode for the policy.Determines how Cedar analyzer validation results are handled.
- See Also:
-
builder
- Returns:
- a
CfnPolicyMixinProps.BuilderofCfnPolicyMixinProps
-