FlowConditionProperty Struct
Defines a condition in the condition node.
| Source | |
|---|---|
| Type last changed |
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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_bedrock as bedrock
flow_condition_property = bedrock.CfnFlowVersion.FlowConditionProperty(
name="name",
# the properties below are optional
expression="expression"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrock.*;
FlowConditionProperty flowConditionProperty = FlowConditionProperty.builder()
.name("name")
// the properties below are optional
.expression("expression")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock;
var flowConditionProperty = new FlowConditionProperty {
Name = "name",
// the properties below are optional
Expression = "expression"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
flowConditionProperty := &FlowConditionProperty{
Name: jsii.String("name"),
// the properties below are optional
Expression: jsii.String("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 .
A name for the condition that you can reference.