AgentcoreHarnessModelBedrockModelConfig constructor

const AgentcoreHarnessModelBedrockModelConfig({
  1. Input<int?>? maxTokens,
  2. required Input<String> modelId,
  3. Input<double?>? temperature,
  4. Input<double?>? topP,
})

Creates a new AgentcoreHarnessModelBedrockModelConfig. maxTokens Maximum number of tokens to generate. modelId Bedrock model ID (e.g., anthropic.claude-sonnet-4-20250514). temperature Temperature for sampling. Must be between 0 and 2. topP Top-p (nucleus) sampling parameter. Must be between 0 and 1.

Implementation

const AgentcoreHarnessModelBedrockModelConfig({
  this.maxTokens,
  required this.modelId,
  this.temperature,
  this.topP,
});