

# MemoryStrategy


Contains information about a memory strategy.

## Contents


 ** name **   <a name="bedrockagentcorecontrol-Type-MemoryStrategy-name"></a>
The name of the memory strategy.  
Type: String  
Pattern: `[a-zA-Z][a-zA-Z0-9_]{0,47}`   
Required: Yes

 ** namespaces **   <a name="bedrockagentcorecontrol-Type-MemoryStrategy-namespaces"></a>
The namespaces associated with the memory strategy.  
Type: Array of strings  
Array Members: Minimum number of 1 item.  
Length Constraints: Minimum length of 1. Maximum length of 1024.  
Pattern: `[a-zA-Z0-9\-_\/]*(\{(actorId|sessionId|memoryStrategyId)\}[a-zA-Z0-9\-_\/]*)*`   
Required: Yes

 ** strategyId **   <a name="bedrockagentcorecontrol-Type-MemoryStrategy-strategyId"></a>
The unique identifier of the memory strategy.  
Type: String  
Length Constraints: Minimum length of 12.  
Pattern: `[a-zA-Z][a-zA-Z0-9-_]{0,99}-[a-zA-Z0-9]{10}`   
Required: Yes

 ** type **   <a name="bedrockagentcorecontrol-Type-MemoryStrategy-type"></a>
The type of the memory strategy.  
Type: String  
Valid Values: `SEMANTIC | SUMMARIZATION | USER_PREFERENCE | CUSTOM | EPISODIC`   
Required: Yes

 ** configuration **   <a name="bedrockagentcorecontrol-Type-MemoryStrategy-configuration"></a>
The configuration of the memory strategy.  
Type: [StrategyConfiguration](API_StrategyConfiguration.md) object  
Required: No

 ** createdAt **   <a name="bedrockagentcorecontrol-Type-MemoryStrategy-createdAt"></a>
The timestamp when the memory strategy was created.  
Type: Timestamp  
Required: No

 ** description **   <a name="bedrockagentcorecontrol-Type-MemoryStrategy-description"></a>
The description of the memory strategy.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 4096.  
Required: No

 ** status **   <a name="bedrockagentcorecontrol-Type-MemoryStrategy-status"></a>
The current status of the memory strategy.  
Type: String  
Valid Values: `CREATING | ACTIVE | DELETING | FAILED`   
Required: No

 ** updatedAt **   <a name="bedrockagentcorecontrol-Type-MemoryStrategy-updatedAt"></a>
The timestamp when the memory strategy was last updated.  
Type: Timestamp  
Required: No

## See Also


For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/bedrock-agentcore-control-2023-06-05/MemoryStrategy) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/bedrock-agentcore-control-2023-06-05/MemoryStrategy) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/bedrock-agentcore-control-2023-06-05/MemoryStrategy) 