Skip to content

Bedrock Agentcore Control  >  Structures  >  CustomMemoryStrategyInput

CustomMemoryStrategyInput

Structure Class

CustomMemoryStrategyInput dataclass

Input for creating a custom memory strategy.

Attributes

configuration class-attribute instance-attribute
configuration: CustomConfigurationInput | None = None

The configuration for the custom memory strategy.

description class-attribute instance-attribute
description: str | None = field(repr=False, default=None)

The description of the custom memory strategy.

memory_record_schema class-attribute instance-attribute
memory_record_schema: MemoryRecordSchema | None = None

Schema for metadata fields on records generated by this strategy.

name instance-attribute
name: str

The name of the custom memory strategy.

namespace_templates class-attribute instance-attribute
namespace_templates: list[str] | None = None

The namespaceTemplates associated with the custom memory strategy.

namespaces class-attribute instance-attribute
namespaces: list[str] | None = None

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