This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::Bedrock::Flow FlowNodeInput
Contains configurations for an input in an Amazon Bedrock Flows node.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Category" :String, "Expression" :String, "Name" :String, "Type" :String}
YAML
Category:StringExpression:StringName:StringType:String
Properties
Category-
Specifies how input data flows between iterations in a DoWhile loop.
-
LoopCondition- Controls whether the loop continues by evaluating condition expressions against the input data. Use this category to define the condition that determines if the loop should continue. -
ReturnValueToLoopStart- Defines data to pass back to the start of the loop's next iteration. Use this category for variables that you want to update for each loop iteration. -
ExitLoop- Defines the value that's available once the loop ends. Use this category to expose loop results to nodes outside the loop.
Required: No
Type: String
Allowed values:
LoopCondition | ReturnValueToLoopStart | ExitLoopUpdate requires: No interruption
-
Expression-
An expression that formats the input for the node. For an explanation of how to create expressions, see Expressions in Prompt flows in Amazon Bedrock.
Required: Yes
Type: String
Minimum:
1Maximum:
64Update requires: No interruption
Name-
Specifies a name for the input that you can reference.
Required: Yes
Type: String
Pattern:
^[a-zA-Z]([_]?[0-9a-zA-Z]){1,50}$Update requires: No interruption
Type-
Specifies the data type of the input. If the input doesn't match this type at runtime, a validation error will be thrown.
Required: Yes
Type: String
Allowed values:
String | Number | Boolean | Object | ArrayUpdate requires: No interruption