interface PolicyDefinitionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins.CfnAutomatedReasoningPolicyPropsMixin.PolicyDefinitionProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbedrock/mixins#CfnAutomatedReasoningPolicyPropsMixin_PolicyDefinitionProperty |
Java | software.amazon.awscdk.mixins.preview.services.bedrock.mixins.CfnAutomatedReasoningPolicyPropsMixin.PolicyDefinitionProperty |
Python | aws_cdk.mixins_preview.aws_bedrock.mixins.CfnAutomatedReasoningPolicyPropsMixin.PolicyDefinitionProperty |
TypeScript | @aws-cdk/mixins-preview » aws_bedrock » mixins » CfnAutomatedReasoningPolicyPropsMixin » PolicyDefinitionProperty |
The complete policy definition containing rules, variables, and types.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as bedrock_mixins } from '@aws-cdk/mixins-preview/aws-bedrock';
const policyDefinitionProperty: bedrock_mixins.CfnAutomatedReasoningPolicyPropsMixin.PolicyDefinitionProperty = {
rules: [{
alternateExpression: 'alternateExpression',
expression: 'expression',
id: 'id',
}],
types: [{
description: 'description',
name: 'name',
values: [{
description: 'description',
value: 'value',
}],
}],
variables: [{
description: 'description',
name: 'name',
type: 'type',
}],
version: 'version',
};
Properties
| Name | Type | Description |
|---|---|---|
| rules? | IResolvable | (IResolvable | Policy)[] | The collection of rules that define the policy logic. |
| types? | IResolvable | (IResolvable | Policy)[] | The custom types defined within the policy definition. |
| variables? | IResolvable | (IResolvable | Policy)[] | The variables used within the policy definition. |
| version? | string | The version of the policy definition. |
rules?
Type:
IResolvable | (IResolvable | Policy)[]
(optional)
The collection of rules that define the policy logic.
types?
Type:
IResolvable | (IResolvable | Policy)[]
(optional)
The custom types defined within the policy definition.
variables?
Type:
IResolvable | (IResolvable | Policy)[]
(optional)
The variables used within the policy definition.
version?
Type:
string
(optional)
The version of the policy definition.

.NET
Go
Java
Python
TypeScript