Skip to content

Bedrock Agentcore Control  >  Structures  >  MemoryStrategy

MemoryStrategy

Structure Class

MemoryStrategy dataclass

Contains information about a memory strategy.

Attributes

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

The configuration of the memory strategy.

created_at class-attribute instance-attribute
created_at: datetime | None = None

The timestamp when the memory strategy was created.

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

The description of the 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 memory strategy.

namespace_templates instance-attribute
namespace_templates: list[str]

The namespaceTemplates associated with the memory strategy.

namespaces instance-attribute
namespaces: list[str]

This is a legacy parameter. The namespaces associated with the memory strategy.

status class-attribute instance-attribute
status: MemoryStrategyStatus | None = None

The current status of the memory strategy.

strategy_id instance-attribute
strategy_id: str

The unique identifier of the memory strategy.

type instance-attribute

The type of the memory strategy.

updated_at class-attribute instance-attribute
updated_at: datetime | None = None

The timestamp when the memory strategy was last updated.