AWS::BedrockAgentCore::MemoryMemory 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](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/memory-getting-started.html) . See the *Properties* section below for descriptions of both the required and optional properties.
import { CfnMemory } from 'aws-cdk-lib/aws-bedrockagentcore';Or use the module namespace:
import * as bedrockagentcore from 'aws-cdk-lib/aws-bedrockagentcore';
// bedrockagentcore.CfnMemoryConfiguration passed to the constructor as CfnMemoryProps.
eventExpiryDurationRequirednumberThe event expiry configuration.
nameRequiredstringThe memory name.
descriptionOptionalstringDescription of the Memory resource.
encryptionKeyArnOptionalstringThe memory encryption key Amazon Resource Name (ARN).
memoryExecutionRoleArnOptionalstringThe memory role ARN.
memoryStrategiesOptionalIResolvable | IResolvable | MemoryStrategyProperty[]The memory strategies.
streamDeliveryResourcesOptionalIResolvable | StreamDeliveryResourcesPropertytagsOptional{ [key: string]: string }The tags for the resources.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-bedrockagentcoreAWS::BedrockAgentCore::Memory