Interface CfnAutomatedReasoningPolicyProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAutomatedReasoningPolicyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:46.278Z")
@Stability(Stable)
public interface CfnAutomatedReasoningPolicyProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnAutomatedReasoningPolicy.
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.bedrock.*;
CfnAutomatedReasoningPolicyProps cfnAutomatedReasoningPolicyProps = CfnAutomatedReasoningPolicyProps.builder()
.name("name")
// the properties below are optional
.description("description")
.forceDelete(false)
.kmsKeyId("kmsKeyId")
.policyDefinition(PolicyDefinitionProperty.builder()
.rules(List.of(PolicyDefinitionRuleProperty.builder()
.expression("expression")
.id("id")
// the properties below are optional
.alternateExpression("alternateExpression")
.build()))
.types(List.of(PolicyDefinitionTypeProperty.builder()
.name("name")
.values(List.of(PolicyDefinitionTypeValueProperty.builder()
.value("value")
// the properties below are optional
.description("description")
.build()))
// the properties below are optional
.description("description")
.build()))
.variables(List.of(PolicyDefinitionVariableProperty.builder()
.description("description")
.name("name")
.type("type")
.build()))
.version("version")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAutomatedReasoningPolicyPropsstatic final classAn implementation forCfnAutomatedReasoningPolicyProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe description of the policy.default ObjectSpecifies whether to force delete the automated reasoning policy even if it has active resources.default StringThe KMS key with which the Policy's assets will be encrypted at rest.getName()The name of the policy.default ObjectThe complete policy definition generated by the build workflow, containing all rules, variables, and custom types extracted from the source documents.getTags()The tags associated with the Automated Reasoning policy.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the policy.- See Also:
-
getDescription
The description of the policy.- See Also:
-
getForceDelete
Specifies whether to force delete the automated reasoning policy even if it has active resources.When false , Amazon Bedrock validates if all artifacts have been deleted (e.g. policy version, test case, test result) for a policy before deletion. When true , Amazon Bedrock will delete the policy and all its artifacts without validation. Default is false
Returns union: either
BooleanorIResolvableDefault: - false
- See Also:
-
getKmsKeyId
The KMS key with which the Policy's assets will be encrypted at rest.- See Also:
-
getPolicyDefinition
The complete policy definition generated by the build workflow, containing all rules, variables, and custom types extracted from the source documents.Returns union: either
IResolvableorCfnAutomatedReasoningPolicy.PolicyDefinitionProperty- See Also:
-
getTags
The tags associated with the Automated Reasoning policy.- See Also:
-
builder
-