interface CustomMemoryStrategyProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.BedrockAgentCore.CfnMemory.CustomMemoryStrategyProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrockagentcore#CfnMemory_CustomMemoryStrategyProperty |
Java | software.amazon.awscdk.services.bedrockagentcore.CfnMemory.CustomMemoryStrategyProperty |
Python | aws_cdk.aws_bedrockagentcore.CfnMemory.CustomMemoryStrategyProperty |
TypeScript | aws-cdk-lib » aws_bedrockagentcore » CfnMemory » CustomMemoryStrategyProperty |
The memory strategy.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const customMemoryStrategyProperty: bedrockagentcore.CfnMemory.CustomMemoryStrategyProperty = {
name: 'name',
// the properties below are optional
configuration: {
selfManagedConfiguration: {
historicalContextWindowSize: 123,
invocationConfiguration: {
payloadDeliveryBucketName: 'payloadDeliveryBucketName',
topicArn: 'topicArn',
},
triggerConditions: [{
messageBasedTrigger: {
messageCount: 123,
},
timeBasedTrigger: {
idleSessionTimeout: 123,
},
tokenBasedTrigger: {
tokenCount: 123,
},
}],
},
semanticOverride: {
consolidation: {
appendToPrompt: 'appendToPrompt',
modelId: 'modelId',
},
extraction: {
appendToPrompt: 'appendToPrompt',
modelId: 'modelId',
},
},
summaryOverride: {
consolidation: {
appendToPrompt: 'appendToPrompt',
modelId: 'modelId',
},
},
userPreferenceOverride: {
consolidation: {
appendToPrompt: 'appendToPrompt',
modelId: 'modelId',
},
extraction: {
appendToPrompt: 'appendToPrompt',
modelId: 'modelId',
},
},
},
createdAt: 'createdAt',
description: 'description',
namespaces: ['namespaces'],
status: 'status',
strategyId: 'strategyId',
type: 'type',
updatedAt: 'updatedAt',
};
Properties
| Name | Type | Description |
|---|---|---|
| name | string | The memory strategy name. |
| configuration? | IResolvable | Custom | The memory strategy configuration. |
| created | string | Creation timestamp of the memory strategy. |
| description? | string | The memory strategy description. |
| namespaces? | string[] | The memory strategy namespaces. |
| status? | string | The memory strategy status. |
| strategy | string | The memory strategy ID. |
| type? | string | The memory strategy type. |
| updated | string | The memory strategy update date and time. |
name
Type:
string
The memory strategy name.
configuration?
Type:
IResolvable | Custom
(optional)
The memory strategy configuration.
createdAt?
Type:
string
(optional)
Creation timestamp of the memory strategy.
description?
Type:
string
(optional)
The memory strategy description.
namespaces?
Type:
string[]
(optional)
The memory strategy namespaces.
status?
Type:
string
(optional)
The memory strategy status.
strategyId?
Type:
string
(optional)
The memory strategy ID.
type?
Type:
string
(optional)
The memory strategy type.
updatedAt?
Type:
string
(optional)
The memory strategy update date and time.

.NET
Go
Java
Python
TypeScript