View a markdown version of this page

HarnessBedrockModelConfig - Amazon Bedrock AgentCore Control Plane
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).

HarnessBedrockModelConfig

Configuration for an Amazon Bedrock model provider.

Contents

modelId

The Bedrock model ID.

Type: String

Required: Yes

additionalParams

Provider-specific parameters passed through to the model provider unchanged.

Type: JSON value

Required: No

apiFormat

The API format to use when calling the Bedrock provider.

Type: String

Valid Values: converse_stream | responses | chat_completions

Required: No

maxTokens

The maximum number of tokens to allow in the generated response per model call.

Type: Integer

Valid Range: Minimum value of 1.

Required: No

temperature

The temperature to set when calling the model.

Type: Float

Valid Range: Minimum value of 0.0. Maximum value of 2.0.

Required: No

topP

The topP set when calling the model.

Type: Float

Valid Range: Minimum value of 0.0. Maximum value of 1.0.

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: