This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::BedrockAgentCore::Harness HarnessBedrockModelConfig
Configuration for an Amazon Bedrock model provider.
Syntax
To declare this entity in your CloudFormation template, use the following syntax:
JSON
{ "AdditionalParams" :{, "ApiFormat" :Key:Value, ...}String, "MaxTokens" :Integer, "ModelId" :String, "Temperature" :Number, "TopP" :Number}
YAML
AdditionalParams:ApiFormat:Key:ValueStringMaxTokens:IntegerModelId:StringTemperature:NumberTopP:Number
Properties
AdditionalParams-
Provider-specific parameters passed through to the model provider unchanged.
Required: No
Type: Object
Update requires: No interruption
ApiFormat-
The API format to use when calling the Bedrock provider.
Required: No
Type: String
Allowed values:
converse_stream | responses | chat_completionsUpdate requires: No interruption
MaxTokens-
The maximum number of tokens to allow in the generated response per model call.
Required: No
Type: Integer
Minimum:
1Update requires: No interruption
ModelId-
The Bedrock model ID.
Required: Yes
Type: String
Update requires: No interruption
Temperature-
The temperature to set when calling the model.
Required: No
Type: Number
Minimum:
0Maximum:
2Update requires: No interruption
TopP-
The topP set when calling the model.
Required: No
Type: Number
Minimum:
0Maximum:
1Update requires: No interruption