Skip to content
v2.276.0

FlowConditionProperty Struct ​

Defines a condition in the condition node.

Example ​

ts
// 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 ​

expressionoptionalstringexpressionoptionalstrexpressionoptionalStringExpressionoptionalstringExpressionoptional*string#
Defines the condition.
notes

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 .

namestringnamestrnameStringNamestringName*stringrequired#
A name for the condition that you can reference.