This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.
AWS::Bedrock::DataSource BedrockFoundationModelConfiguration
Settings for a foundation model 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}
YAML
ModelArn:StringParsingModality:StringParsingPrompt:ParsingPrompt
Properties
ModelArn-
The ARN of the foundation model to use for parsing.
Required: Yes
Type: String
Pattern:
^(arn:aws(-cn|-us-gov|-eusc|-iso(-[b-f])?)?:(bedrock):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?$Minimum:
1Maximum:
2048Update requires: Replacement
ParsingModality-
Specifies whether to enable parsing of multimodal data, including both text and/or images.
Required: No
Type: String
Allowed values:
MULTIMODALUpdate requires: Replacement
ParsingPrompt-
Instructions for interpreting the contents of a document.
Required: No
Type: ParsingPrompt
Update requires: Replacement