AWS::Bedrock::Flow FlowNodeConfiguration
Contains configurations for a node in your flow. For more information, see Node types in Amazon Bedrock works in the Amazon Bedrock User Guide.
Syntax
To declare this entity in your Amazon CloudFormation template, use the following syntax:
JSON
{ "Condition" :
ConditionFlowNodeConfiguration
, "Input" :Json
, "KnowledgeBase" :KnowledgeBaseFlowNodeConfiguration
, "LambdaFunction" :LambdaFunctionFlowNodeConfiguration
, "Lex" :LexFlowNodeConfiguration
, "Output" :Json
, "Prompt" :PromptFlowNodeConfiguration
}
YAML
Condition:
ConditionFlowNodeConfiguration
Input:Json
KnowledgeBase:KnowledgeBaseFlowNodeConfiguration
LambdaFunction:LambdaFunctionFlowNodeConfiguration
Lex:LexFlowNodeConfiguration
Output:Json
Prompt:PromptFlowNodeConfiguration
Properties
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
Input
-
Contains configurations for an input flow node in your flow. The first node in the flow.
inputs
can't be specified for this 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 Amazon 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
Output
-
Contains configurations for an output flow node in your flow. The last node in the flow.
outputs
can'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