interface PolicyDefinitionProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.aws_bedrock.CfnAutomatedReasoningPolicy.PolicyDefinitionProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrock#CfnAutomatedReasoningPolicy_PolicyDefinitionProperty |
![]() | software.amazon.awscdk.services.bedrock.CfnAutomatedReasoningPolicy.PolicyDefinitionProperty |
![]() | aws_cdk.aws_bedrock.CfnAutomatedReasoningPolicy.PolicyDefinitionProperty |
![]() | aws-cdk-lib » aws_bedrock » CfnAutomatedReasoningPolicy » 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 { aws_bedrock as bedrock } from 'aws-cdk-lib';
const policyDefinitionProperty: bedrock.CfnAutomatedReasoningPolicy.PolicyDefinitionProperty = {
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',
};
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.