# MemoryAttributes

Attributes for specifying an imported Memory.

- Source: [`aws-bedrockagentcore/lib/memory/memory.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0/packages/aws-cdk-lib/aws-bedrockagentcore/lib/memory/memory.ts#L649)
- Type last changed: v2.255.0 · 19 May 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const memoryAttributes: bedrockagentcore.MemoryAttributes = {
  memoryArn: 'memoryArn',
  roleArn: 'roleArn',

  // the properties below are optional
  createdAt: 'createdAt',
  kmsKeyArn: 'kmsKeyArn',
  status: 'status',
  updatedAt: 'updatedAt',
};
```

## Properties

- `createdAt`: string — The created timestamp of the memory.

  **Default:** undefined - No created timestamp is provided

- `kmsKeyArn`: string — Optional KMS encryption key associated with this memory.

  **Default:** undefined - An AWS managed key is used

- `memoryArn`: string (required) — The ARN of the memory.

- `roleArn`: string (required) — The ARN of the IAM role associated to the memory.

- `status`: string — The status of the memory.

  **Default:** undefined - No status is provided

- `updatedAt`: string — When this memory was last updated.

  **Default:** undefined - No last updated timestamp is provided
