AWS::Bedrock::Flow FlowNodeInput - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new 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 CloudFormation template, use the following syntax:

JSON

{ "Category" : String, "Expression" : String, "Name" : String, "Type" : String }

YAML

Category: String Expression: String Name: String Type: 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 | ExitLoop

Update 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: 1

Maximum: 64

Update 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 | Array

Update requires: No interruption