AWS::Bedrock::Flow KnowledgeBaseFlowNodeConfiguration - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

AWS::Bedrock::Flow KnowledgeBaseFlowNodeConfiguration

Contains configurations for a knowledge base node in a flow. This node takes a query as the input and returns, as the output, the retrieved responses directly (as an array) or a response generated based on the retrieved responses. 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

{ "KnowledgeBaseId" : String, "ModelId" : String }

YAML

KnowledgeBaseId: String ModelId: String

Properties

KnowledgeBaseId

The unique identifier of the knowledge base to query.

Required: Yes

Type: String

Pattern: ^[0-9a-zA-Z]+$

Maximum: 10

Update requires: No interruption

ModelId

The unique identifier of the model to use to generate a response from the query results. Omit this field if you want to return the retrieved results as an array.

Required: No

Type: String

Pattern: ^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}(([:][a-z0-9-]{1,63}){0,2})?/[a-z0-9]{12})|(:foundation-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})))|(([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2}))|(([0-9a-zA-Z][_-]?)+)$

Minimum: 1

Maximum: 2048

Update requires: No interruption