interface FlowConditionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.aws_bedrock.CfnFlowVersion.FlowConditionProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrock#CfnFlowVersion_FlowConditionProperty |
Java | software.amazon.awscdk.services.bedrock.CfnFlowVersion.FlowConditionProperty |
Python | aws_cdk.aws_bedrock.CfnFlowVersion.FlowConditionProperty |
TypeScript | aws-cdk-lib » aws_bedrock » CfnFlowVersion » 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.CfnFlowVersion.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 .

.NET
Go
Java
Python
TypeScript