interface CfnAutomatedReasoningPolicyProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Bedrock.CfnAutomatedReasoningPolicyProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrock#CfnAutomatedReasoningPolicyProps |
Java | software.amazon.awscdk.services.bedrock.CfnAutomatedReasoningPolicyProps |
Python | aws_cdk.aws_bedrock.CfnAutomatedReasoningPolicyProps |
TypeScript | aws-cdk-lib » aws_bedrock » CfnAutomatedReasoningPolicyProps |
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 { aws_bedrock as bedrock } from 'aws-cdk-lib';
const cfnAutomatedReasoningPolicyProps: bedrock.CfnAutomatedReasoningPolicyProps = {
name: 'name',
// the properties below are optional
description: 'description',
forceDelete: false,
kmsKeyId: 'kmsKeyId',
policyDefinition: {
rules: [{
expression: 'expression',
id: 'id',
// the properties below are optional
alternateExpression: 'alternateExpression',
}],
types: [{
name: 'name',
values: [{
value: 'value',
// the properties below are optional
description: 'description',
}],
// the properties below are optional
description: 'description',
}],
variables: [{
description: 'description',
name: 'name',
type: 'type',
}],
version: 'version',
},
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| name | string | The name of the policy. |
| description? | string | The description of the policy. |
| force | boolean | IResolvable | Specifies whether to force delete the automated reasoning policy even if it has active resources. |
| kms | string | The KMS key with which the Policy's assets will be encrypted at rest. |
| policy | IResolvable | Policy | The complete policy definition generated by the build workflow, containing all rules, variables, and custom types extracted from the source documents. |
| tags? | Cfn[] | The tags associated with the Automated Reasoning policy. |
name
Type:
string
The name of the policy.
description?
Type:
string
(optional)
The description of the policy.
forceDelete?
Type:
boolean | IResolvable
(optional, default: false)
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
kmsKeyId?
Type:
string
(optional)
The KMS key with which the Policy's assets will be encrypted at rest.
policyDefinition?
Type:
IResolvable | Policy
(optional)
The complete policy definition generated by the build workflow, containing all rules, variables, and custom types extracted from the source documents.
tags?
Type:
Cfn[]
(optional)
The tags associated with the Automated Reasoning policy.

.NET
Go
Java
Python
TypeScript