MemoryAttributes Struct
Attributes for specifying an imported Memory.
| Source | aws-bedrockagentcore/lib/memory/memory.ts |
|---|---|
| Type last changed |
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',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_bedrockagentcore as bedrockagentcore
memory_attributes = bedrockagentcore.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
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrockagentcore.*;
MemoryAttributes memoryAttributes = MemoryAttributes.builder()
.memoryArn("memoryArn")
.roleArn("roleArn")
// the properties below are optional
.createdAt("createdAt")
.kmsKeyArn("kmsKeyArn")
.status("status")
.updatedAt("updatedAt")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.BedrockAgentCore;
var memoryAttributes = new MemoryAttributes {
MemoryArn = "memoryArn",
RoleArn = "roleArn",
// the properties below are optional
CreatedAt = "createdAt",
KmsKeyArn = "kmsKeyArn",
Status = "status",
UpdatedAt = "updatedAt"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
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
createdAtoptionalstringcreated_atoptionalstrcreatedAtoptionalStringCreatedAtoptionalstringCreatedAtoptional*string #The created timestamp of the memory.
Default: undefined - No created timestamp is provided
kmsKeyArnoptionalstringkms_key_arnoptionalstrkmsKeyArnoptionalStringKmsKeyArnoptionalstringKmsKeyArnoptional*string #Optional KMS encryption key associated with this memory.
Default: undefined - An AWS managed key is used
The ARN of the memory.
The ARN of the IAM role associated to the memory.
statusoptionalstringstatusoptionalstrstatusoptionalStringStatusoptionalstringStatusoptional*string #The status of the memory.
Default: undefined - No status is provided
updatedAtoptionalstringupdated_atoptionalstrupdatedAtoptionalStringUpdatedAtoptionalstringUpdatedAtoptional*string #When this memory was last updated.
Default: undefined - No last updated timestamp is provided