This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::BedrockAgentCore::Memory
Memory allows AI agents to maintain both immediate and long-term knowledge, enabling context-aware and personalized interactions.
For more information about using Memory in Amazon Bedrock AgentCore, see Host agent or tools with Amazon Bedrock AgentCore Memory.
See the Properties section below for descriptions of both the required and optional properties.
Syntax
To declare this entity in your CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::BedrockAgentCore::Memory", "Properties" : { "Description" :String, "EncryptionKeyArn" :String, "EventExpiryDuration" :Integer, "MemoryExecutionRoleArn" :String, "MemoryStrategies" :[ MemoryStrategy, ... ], "Name" :String, "Tags" :{} }Key:Value, ...}
YAML
Type: AWS::BedrockAgentCore::Memory Properties: Description:StringEncryptionKeyArn:StringEventExpiryDuration:IntegerMemoryExecutionRoleArn:StringMemoryStrategies:- MemoryStrategyName:StringTags:Key:Value
Properties
DescriptionProperty description not available.
Required: No
Type: String
Update requires: No interruption
EncryptionKeyArn-
The memory encryption key Amazon Resource Name (ARN).
Required: No
Type: String
Pattern:
^arn:aws:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[^/].{0,1023}$Update requires: Replacement
EventExpiryDuration-
The event expiry configuration.
Required: Yes
Type: Integer
Minimum:
7Maximum:
365Update requires: No interruption
MemoryExecutionRoleArn-
The memory role ARN.
Required: No
Type: String
Pattern:
^arn:aws:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[a-z0-9-\.]{0,63}:[^/].{0,1023}$Update requires: No interruption
MemoryStrategies-
The memory strategies.
Required: No
Type: Array of MemoryStrategy
Update requires: No interruption
Name-
The memory name.
Required: Yes
Type: String
Pattern:
^[a-zA-Z][a-zA-Z0-9_]{0,47}$Update requires: Replacement
-
The tags for the resources.
Required: No
Type: Object of String
Pattern:
^[a-zA-Z0-9\s._:/=+@-]{1,128}$Minimum:
0Maximum:
256Update requires: No interruption
Return values
Ref
Fn::GetAtt
CreatedAt-
The timestamp when the memory record was created.
FailureReasonProperty description not available.
MemoryArnProperty description not available.
MemoryId-
The memory ID.
Status-
The memory status.
UpdatedAtProperty description not available.