View a markdown version of this page

CustomMemoryStrategyInput - Amazon Bedrock AgentCore Control Plane
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

CustomMemoryStrategyInput

Input for creating a custom memory strategy.

Contents

name

The name of the custom memory strategy.

Type: String

Pattern: [a-zA-Z][a-zA-Z0-9_]{0,47}

Required: Yes

configuration

The configuration for the custom memory strategy.

Type: CustomConfigurationInput object

Note: This object is a Union. Only one member of this object can be specified or returned.

Required: No

description

The description of the custom memory strategy.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 4096.

Required: No

memoryRecordSchema

Schema for metadata fields on records generated by this strategy.

Type: MemoryRecordSchema object

Required: No

namespaces

This member has been deprecated.

This is a legacy parameter, use namespaceTemplates. The namespaces associated with the custom memory strategy.

Type: Array of strings

Array Members: Fixed number of 1 item.

Length Constraints: Minimum length of 1. Maximum length of 512.

Pattern: [a-zA-Z0-9\-_\/]*(\{[a-zA-Z][a-zA-Z0-9]*\}[a-zA-Z0-9\-_\/]*)*

Required: No

namespaceTemplates

The namespaceTemplates associated with the custom memory strategy.

Type: Array of strings

Array Members: Fixed number of 1 item.

Length Constraints: Minimum length of 1. Maximum length of 512.

Pattern: [a-zA-Z0-9\-_\/]*(\{[a-zA-Z][a-zA-Z0-9]*\}[a-zA-Z0-9\-_\/]*)*

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: