interface FlowConditionProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.aws_bedrock.CfnFlow.FlowConditionProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrock#CfnFlow_FlowConditionProperty |
![]() | software.amazon.awscdk.services.bedrock.CfnFlow.FlowConditionProperty |
![]() | aws_cdk.aws_bedrock.CfnFlow.FlowConditionProperty |
![]() | aws-cdk-lib » aws_bedrock » CfnFlow » FlowConditionProperty |
Defines a condition in the condition node.
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 flowConditionProperty: bedrock.CfnFlow.FlowConditionProperty = {
name: 'name',
// the properties below are optional
expression: 'expression',
};
Properties
Name | Type | Description |
---|---|---|
name | string | A name for the condition that you can reference. |
expression? | string | Defines the condition. |
name
Type:
string
A name for the condition that you can reference.
expression?
Type:
string
(optional)
Defines the condition.
You must refer to at least one of the inputs in the condition. For more information, expand the Condition node section in Node types in prompt flows .