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 AWS CloudFormation template, use the following syntax:
JSON
{ "ModelArn" :
String
, "ParsingPrompt" :ParsingPrompt
}
YAML
ModelArn:
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
ParsingPrompt
-
Instructions for interpreting the contents of a document.
Required: No
Type: ParsingPrompt
Update requires: Replacement