interface CfnMemoryProps
Language | Type name |
---|---|
![]() | Amazon.CDK.aws_bedrockagentcore.CfnMemoryProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrockagentcore#CfnMemoryProps |
![]() | software.amazon.awscdk.services.bedrockagentcore.CfnMemoryProps |
![]() | aws_cdk.aws_bedrockagentcore.CfnMemoryProps |
![]() | aws-cdk-lib » aws_bedrockagentcore » CfnMemoryProps |
Properties for defining a CfnMemory
.
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 cfnMemoryProps: bedrockagentcore.CfnMemoryProps = {
eventExpiryDuration: 123,
name: 'name',
// the properties below are optional
description: 'description',
encryptionKeyArn: 'encryptionKeyArn',
memoryExecutionRoleArn: 'memoryExecutionRoleArn',
memoryStrategies: [{
customMemoryStrategy: {
name: 'name',
// the properties below are optional
configuration: {
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',
},
semanticMemoryStrategy: {
name: 'name',
// the properties below are optional
createdAt: 'createdAt',
description: 'description',
namespaces: ['namespaces'],
status: 'status',
strategyId: 'strategyId',
type: 'type',
updatedAt: 'updatedAt',
},
summaryMemoryStrategy: {
name: 'name',
// the properties below are optional
createdAt: 'createdAt',
description: 'description',
namespaces: ['namespaces'],
status: 'status',
strategyId: 'strategyId',
type: 'type',
updatedAt: 'updatedAt',
},
userPreferenceMemoryStrategy: {
name: 'name',
// the properties below are optional
createdAt: 'createdAt',
description: 'description',
namespaces: ['namespaces'],
status: 'status',
strategyId: 'strategyId',
type: 'type',
updatedAt: 'updatedAt',
},
}],
tags: {
tagsKey: 'tags',
},
};
Properties
Name | Type | Description |
---|---|---|
event | number | Duration in days until memory events expire. |
name | string | Name of the Memory resource. |
description? | string | Description of the Memory resource. |
encryption | string | ARN format. |
memory | string | ARN format. |
memory | IResolvable | ( IResolvable | Memory )[] | List of memory strategies attached to this memory. |
tags? | { [string]: string } | A map of tag keys and values. |
eventExpiryDuration
Type:
number
Duration in days until memory events expire.
name
Type:
string
Name of the Memory resource.
description?
Type:
string
(optional)
Description of the Memory resource.
encryptionKeyArn?
Type:
string
(optional)
ARN format.
memoryExecutionRoleArn?
Type:
string
(optional)
ARN format.
memoryStrategies?
Type:
IResolvable
| (
IResolvable
|
Memory
)[]
(optional)
List of memory strategies attached to this memory.
tags?
Type:
{ [string]: string }
(optional)
A map of tag keys and values.