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::DataSource BedrockFoundationModelConfiguration
Settings for a foundation model used to parse documents for a data source.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "ModelArn" :
String
, "ParsingModality" :String
, "ParsingPrompt" :ParsingPrompt
}
YAML
ModelArn:
String
ParsingModality:String
ParsingPrompt: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:
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