interface SelfManagedStrategyProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Bedrock.Agentcore.Alpha.SelfManagedStrategyProps |
Go | github.com/aws/aws-cdk-go/awsbedrockagentcorealpha/v2#SelfManagedStrategyProps |
Java | software.amazon.awscdk.services.bedrock.agentcore.alpha.SelfManagedStrategyProps |
Python | aws_cdk.aws_bedrock_agentcore_alpha.SelfManagedStrategyProps |
TypeScript (source) | @aws-cdk/aws-bedrock-agentcore-alpha ยป SelfManagedStrategyProps |
Implements
Memory
Configuration parameters for a self managed memory strategy existing built-in default prompts/models.
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 cdk from 'aws-cdk-lib';
import { aws_sns as sns } from 'aws-cdk-lib';
declare const topic: sns.Topic;
const selfManagedStrategyProps: bedrock_agentcore_alpha.SelfManagedStrategyProps = {
invocationConfiguration: {
s3Location: {
bucketName: 'bucketName',
objectKey: 'objectKey',
// the properties below are optional
objectVersion: 'objectVersion',
},
topic: topic,
},
name: 'name',
// the properties below are optional
description: 'description',
historicalContextWindowSize: 123,
triggerConditions: {
messageBasedTrigger: 123,
timeBasedTrigger: cdk.Duration.minutes(30),
tokenBasedTrigger: 123,
},
};
Properties
| Name | Type | Description |
|---|---|---|
| invocation | Invocation | Invocation configuration for self managed memory strategy. |
| name | string | The name for the strategy. |
| description? | string | The description of the strategy. |
| historical | number | Define the number of previous events to be included when processing memory. |
| trigger | Trigger | Trigger conditions for self managed memory strategy. |
invocationConfiguration
Type:
Invocation
Invocation configuration for self managed memory strategy.
name
Type:
string
The name for the strategy.
description?
Type:
string
(optional, default: No description)
The description of the strategy.
historicalContextWindowSize?
Type:
number
(optional, default: 4)
Define the number of previous events to be included when processing memory.
A larger history window provides more context from past conversations.
triggerConditions?
Type:
Trigger
(optional, default: undefined)
Trigger conditions for self managed memory strategy.

.NET
Go
Java
Python
TypeScript (