> **Experimental**
>
> `@aws-cdk/aws-bedrock-agentcore-alpha` is an [**experimental**](/stability) (alpha) package: its API may change in any release, without a major version bump.
# MemoryAttributes

Attributes for specifying an imported Memory.

- Source: [`lib/memory/memory.ts`](https://github.com/aws/aws-cdk/blob/v2.277.0/packages/@aws-cdk/aws-bedrock-agentcore-alpha/lib/memory/memory.ts#L534)

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as bedrock_agentcore_alpha from '@aws-cdk/aws-bedrock-agentcore-alpha';
const memoryAttributes: bedrock_agentcore_alpha.MemoryAttributes = {
  memoryArn: 'memoryArn',
  roleArn: 'roleArn',

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

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_bedrock_agentcore_alpha as bedrock_agentcore_alpha

memory_attributes = bedrock_agentcore_alpha.MemoryAttributes(
    memory_arn="memoryArn",
    role_arn="roleArn",

    # the properties below are optional
    created_at="createdAt",
    kms_key_arn="kmsKeyArn",
    status="status",
    updated_at="updatedAt"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrock.agentcore.alpha.*;

MemoryAttributes memoryAttributes = MemoryAttributes.builder()
        .memoryArn("memoryArn")
        .roleArn("roleArn")

        // the properties below are optional
        .createdAt("createdAt")
        .kmsKeyArn("kmsKeyArn")
        .status("status")
        .updatedAt("updatedAt")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.AWS.Bedrock.Agentcore.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock.Agentcore.Alpha;

var memoryAttributes = new MemoryAttributes {
    MemoryArn = "memoryArn",
    RoleArn = "roleArn",

    // the properties below are optional
    CreatedAt = "createdAt",
    KmsKeyArn = "kmsKeyArn",
    Status = "status",
    UpdatedAt = "updatedAt"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awsbedrockagentcorealpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import bedrock_agentcore_alpha "github.com/aws/aws-cdk-go/awsbedrockagentcorealpha"

memoryAttributes := &MemoryAttributes{
	MemoryArn: jsii.String("memoryArn"),
	RoleArn: jsii.String("roleArn"),

	// the properties below are optional
	CreatedAt: jsii.String("createdAt"),
	KmsKeyArn: jsii.String("kmsKeyArn"),
	Status: jsii.String("status"),
	UpdatedAt: jsii.String("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
