

# CustomMemoryStrategyInput
<a name="API_CustomMemoryStrategyInput"></a>

Input for creating a custom memory strategy.

## Contents
<a name="API_CustomMemoryStrategyInput_Contents"></a>

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

 ** configuration **   <a name="bedrockagentcorecontrol-Type-CustomMemoryStrategyInput-configuration"></a>
The configuration for the custom memory strategy.  
Type: [CustomConfigurationInput](API_CustomConfigurationInput.md) object  
 **Note: **This object is a Union. Only one member of this object can be specified or returned.  
Required: No

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

 ** namespaces **   <a name="bedrockagentcorecontrol-Type-CustomMemoryStrategyInput-namespaces"></a>
 *This member has been deprecated.*   
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\-_\/]*(\{(actorId|sessionId|memoryStrategyId)\}[a-zA-Z0-9\-_\/]*)*`   
Required: No

 ** namespaceTemplates **   <a name="bedrockagentcorecontrol-Type-CustomMemoryStrategyInput-namespaceTemplates"></a>
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\-_\/]*(\{(actorId|sessionId|memoryStrategyId)\}[a-zA-Z0-9\-_\/]*)*`   
Required: No

## See Also
<a name="API_CustomMemoryStrategyInput_SeeAlso"></a>

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/CustomMemoryStrategyInput) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/bedrock-agentcore-control-2023-06-05/CustomMemoryStrategyInput) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/bedrock-agentcore-control-2023-06-05/CustomMemoryStrategyInput) 