> **Experimental**
>
> `@aws-cdk/aws-bedrock-agentcore-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# OverrideConfig

Configuration for overriding model and prompt template.

- Source: [`lib/memory/strategies/managed-strategy.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0-alpha.0/packages/@aws-cdk/aws-bedrock-agentcore-alpha/lib/memory/strategies/managed-strategy.ts#L41)

## Example

```ts
// 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

- `appendToPrompt`: string (required) — 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.

- `model`: [IBedrockInvokable](/cdk/api/v2/docs/@aws-cdk_aws-bedrock-alpha.IBedrockInvokable.html) (required) — The model to use for consolidation/extraction.
