interface PolicyDefinitionRuleProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.aws_bedrock.CfnAutomatedReasoningPolicy.PolicyDefinitionRuleProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrock#CfnAutomatedReasoningPolicy_PolicyDefinitionRuleProperty |
Java | software.amazon.awscdk.services.bedrock.CfnAutomatedReasoningPolicy.PolicyDefinitionRuleProperty |
Python | aws_cdk.aws_bedrock.CfnAutomatedReasoningPolicy.PolicyDefinitionRuleProperty |
TypeScript | aws-cdk-lib » aws_bedrock » CfnAutomatedReasoningPolicy » PolicyDefinitionRuleProperty |
A rule within the policy definition that defines logical constraints.
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 policyDefinitionRuleProperty: bedrock.CfnAutomatedReasoningPolicy.PolicyDefinitionRuleProperty = {
expression: 'expression',
id: 'id',
// the properties below are optional
alternateExpression: 'alternateExpression',
};
Properties
| Name | Type | Description |
|---|---|---|
| expression | string | The logical expression that defines the rule. |
| id | string | The unique identifier for the policy definition rule. |
| alternate | string | An alternative expression for the policy rule. |
expression
Type:
string
The logical expression that defines the rule.
id
Type:
string
The unique identifier for the policy definition rule.
alternateExpression?
Type:
string
(optional)
An alternative expression for the policy rule.

.NET
Go
Java
Python
TypeScript