Experimental
@aws-cdk/aws-bedrock-agentcore-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
MemoryAttributes Struct
Attributes for specifying an imported Memory.
| Source | lib/memory/memory.ts |
|---|
Example
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
# 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
// 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();
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"
};
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
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