interface OverrideConfig
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Bedrock.Agentcore.Alpha.OverrideConfig |
Go | github.com/aws/aws-cdk-go/awsbedrockagentcorealpha/v2#OverrideConfig |
Java | software.amazon.awscdk.services.bedrock.agentcore.alpha.OverrideConfig |
Python | aws_cdk.aws_bedrock_agentcore_alpha.OverrideConfig |
TypeScript (source) | @aws-cdk/aws-bedrock-agentcore-alpha » OverrideConfig |
⚠️ Deprecated: Use the equivalent construct from aws-cdk-lib/aws-bedrockagentcore instead.
Configuration for overriding model and prompt template.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as bedrock_agentcore_alpha from '@aws-cdk/aws-bedrock-agentcore-alpha';
import * as bedrock_alpha from '@aws-cdk/aws-bedrock-alpha';
declare const bedrockInvokable: bedrock_alpha.IBedrockInvokable;
const overrideConfig: bedrock_agentcore_alpha.OverrideConfig = {
appendToPrompt: 'appendToPrompt',
model: bedrockInvokable,
};
Properties
| Name | Type | Description |
|---|---|---|
| append | string | The prompt that will be appended to the system prompt to define the model's memory consolidation/extraction strategy. |
| model | IBedrock | The model to use for consolidation/extraction. |
appendToPrompt
⚠️ Deprecated: Use the equivalent construct from aws-cdk-lib/aws-bedrockagentcore instead.
Type:
string
The prompt that will be appended to the system prompt to define the model's memory consolidation/extraction strategy.
This configuration provides customization to how the model identifies and extracts relevant information for memory storage. You can use the default user prompt or create a customized one.
See also: https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/system-prompts.html
model
⚠️ Deprecated: Use the equivalent construct from aws-cdk-lib/aws-bedrockagentcore instead.
Type:
IBedrock
The model to use for consolidation/extraction.

.NET
Go
Java
Python
TypeScript (