Class CfnPolicyPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.bedrockagentcore.CfnPolicyPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPolicyPropsMixin>
- Enclosing class:
CfnPolicyPropsMixin
@Stability(Stable)
public static final class CfnPolicyPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPolicyPropsMixin>
A fluent builder for
CfnPolicyPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnPolicyPropsMixin.Buildercreate()static CfnPolicyPropsMixin.Buildercreate(CfnPropertyMixinOptions options) The definition structure for policies.definition(IResolvable definition) The definition structure for policies.description(String description) A human-readable description of the policy's purpose and functionality.The customer-assigned immutable name for the policy.policyEngineId(String policyEngineId) The identifier of the policy engine which contains this policy.validationMode(String validationMode) The validation mode for the policy.
-
Method Details
-
create
@Stability(Stable) public static CfnPolicyPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnPolicyPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnPolicyPropsMixin.Builder.
-
definition
The definition structure for policies.Encapsulates different policy formats.
- Parameters:
definition- The definition structure for policies. This parameter is required.- Returns:
this- See Also:
-
definition
@Stability(Stable) public CfnPolicyPropsMixin.Builder definition(CfnPolicyPropsMixin.PolicyDefinitionProperty definition) The definition structure for policies.Encapsulates different policy formats.
- Parameters:
definition- The definition structure for policies. This parameter is required.- Returns:
this- See Also:
-
description
A human-readable description of the policy's purpose and functionality.- Parameters:
description- A human-readable description of the policy's purpose and functionality. This parameter is required.- Returns:
this- See Also:
-
name
The customer-assigned immutable name for the policy.Must be unique within the policy engine.
- Parameters:
name- The customer-assigned immutable name for the policy. This parameter is required.- Returns:
this- See Also:
-
policyEngineId
The identifier of the policy engine which contains this policy.- Parameters:
policyEngineId- The identifier of the policy engine which contains this policy. This parameter is required.- Returns:
this- See Also:
-
validationMode
The validation mode for the policy.Determines how Cedar analyzer validation results are handled.
- Parameters:
validationMode- The validation mode for the policy. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPolicyPropsMixin>- Returns:
- a newly built instance of
CfnPolicyPropsMixin.
-