interface FlowConditionProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins.CfnFlowPropsMixin.FlowConditionProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbedrock/mixins#CfnFlowPropsMixin_FlowConditionProperty |
Java | software.amazon.awscdk.mixins.preview.services.bedrock.mixins.CfnFlowPropsMixin.FlowConditionProperty |
Python | aws_cdk.mixins_preview.aws_bedrock.mixins.CfnFlowPropsMixin.FlowConditionProperty |
TypeScript | @aws-cdk/mixins-preview » aws_bedrock » mixins » CfnFlowPropsMixin » 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 { mixins as bedrock_mixins } from '@aws-cdk/mixins-preview/aws-bedrock';
const flowConditionProperty: bedrock_mixins.CfnFlowPropsMixin.FlowConditionProperty = {
expression: 'expression',
name: 'name',
};
Properties
| Name | Type | Description |
|---|---|---|
| expression? | string | Defines the condition. |
| name? | 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 .
name?
Type:
string
(optional)
A name for the condition that you can reference.

.NET
Go
Java
Python
TypeScript