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 FlowNodeConfiguration
Contains configurations for a node in your flow. For more information, see Node types in a flow in the Amazon Bedrock User Guide.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Agent" :AgentFlowNodeConfiguration, "Collector" :Json, "Condition" :ConditionFlowNodeConfiguration, "InlineCode" :InlineCodeFlowNodeConfiguration, "Input" :Json, "Iterator" :Json, "KnowledgeBase" :KnowledgeBaseFlowNodeConfiguration, "LambdaFunction" :LambdaFunctionFlowNodeConfiguration, "Lex" :LexFlowNodeConfiguration, "Loop" :LoopFlowNodeConfiguration, "LoopController" :LoopControllerFlowNodeConfiguration, "LoopInput" :Json, "Output" :Json, "Prompt" :PromptFlowNodeConfiguration, "Retrieval" :RetrievalFlowNodeConfiguration, "Storage" :StorageFlowNodeConfiguration}
YAML
Agent:AgentFlowNodeConfigurationCollector:JsonCondition:ConditionFlowNodeConfigurationInlineCode:InlineCodeFlowNodeConfigurationInput:JsonIterator:JsonKnowledgeBase:KnowledgeBaseFlowNodeConfigurationLambdaFunction:LambdaFunctionFlowNodeConfigurationLex:LexFlowNodeConfigurationLoop:LoopFlowNodeConfigurationLoopController:LoopControllerFlowNodeConfigurationLoopInput:JsonOutput:JsonPrompt:PromptFlowNodeConfigurationRetrieval:RetrievalFlowNodeConfigurationStorage:StorageFlowNodeConfiguration
Properties
- Agent
- 
                    Contains configurations for an agent node in your flow. Invokes an alias of an agent and returns the response. Required: No Type: AgentFlowNodeConfiguration Update requires: No interruption 
- Collector
- 
                    Contains configurations for a collector node in your flow. Collects an iteration of inputs and consolidates them into an array of outputs. Required: No Type: Json Update requires: No interruption 
- Condition
- 
                    Contains configurations for a condition node in your flow. Defines conditions that lead to different branches of the flow. Required: No Type: ConditionFlowNodeConfiguration Update requires: No interruption 
- InlineCode
- 
                    Contains configurations for an inline code node in your flow. Inline code nodes let you write and execute code directly within your flow, enabling data transformations, custom logic, and integrations without needing an external Lambda function. Required: No Type: InlineCodeFlowNodeConfiguration Update requires: No interruption 
- Input
- 
                    Contains configurations for an input flow node in your flow. The first node in the flow. inputscan't be specified for this node.Required: No Type: Json Update requires: No interruption 
- Iterator
- 
                    Contains configurations for an iterator node in your flow. Takes an input that is an array and iteratively sends each item of the array as an output to the following node. The size of the array is also returned in the output. The output flow node at the end of the flow iteration will return a response for each member of the array. To return only one response, you can include a collector node downstream from the iterator node. Required: No Type: Json Update requires: No interruption 
- KnowledgeBase
- 
                    Contains configurations for a knowledge base node in your flow. Queries a knowledge base and returns the retrieved results or generated response. Required: No Type: KnowledgeBaseFlowNodeConfiguration Update requires: No interruption 
- LambdaFunction
- 
                    Contains configurations for a Lambda function node in your flow. Invokes an AWS Lambda function. Required: No Type: LambdaFunctionFlowNodeConfiguration Update requires: No interruption 
- Lex
- 
                    Contains configurations for a Lex node in your flow. Invokes an Amazon Lex bot to identify the intent of the input and return the intent as the output. Required: No Type: LexFlowNodeConfiguration Update requires: No interruption 
- Loop
- 
                    Contains configurations for a DoWhile loop in your flow. Required: No Type: LoopFlowNodeConfiguration Update requires: No interruption 
- LoopController
- 
                    Contains controller node configurations for a DoWhile loop in your flow. Required: No Type: LoopControllerFlowNodeConfiguration Update requires: No interruption 
- LoopInput
- 
                    Contains input node configurations for a DoWhile loop in your flow. Required: No Type: Json Update requires: No interruption 
- Output
- 
                    Contains configurations for an output flow node in your flow. The last node in the flow. outputscan't be specified for this node.Required: No Type: Json Update requires: No interruption 
- Prompt
- 
                    Contains configurations for a prompt node in your flow. Runs a prompt and generates the model response as the output. You can use a prompt from Prompt management or you can configure one in this node. Required: No Type: PromptFlowNodeConfiguration Update requires: No interruption 
- Retrieval
- 
                    Contains configurations for a retrieval node in your flow. Retrieves data from an Amazon S3 location and returns it as the output. Required: No Type: RetrievalFlowNodeConfiguration Update requires: No interruption 
- Storage
- 
                    Contains configurations for a storage node in your flow. Stores an input in an Amazon S3 location. Required: No Type: StorageFlowNodeConfiguration Update requires: No interruption