AWS::Bedrock::DataSource BedrockFoundationModelConfiguration - 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::DataSource BedrockFoundationModelConfiguration

Settings for a foundation model or inference profile used to parse documents for a data source.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "ModelArn" : String, "ParsingModality" : String, "ParsingPrompt" : ParsingPrompt }

Properties

ModelArn

The ARN of the foundation model or inference profile to use for parsing.

Required: Yes

Type: String

Pattern: ^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::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})|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+)$

Minimum: 1

Maximum: 2048

Update requires: Replacement

ParsingModality

Specifies whether to enable parsing of multimodal data, including both text and/or images.

Required: No

Type: String

Allowed values: MULTIMODAL

Update requires: Replacement

ParsingPrompt

Instructions for interpreting the contents of a document.

Required: No

Type: ParsingPrompt

Update requires: Replacement