MemoryStrategyCommonProps Struct
Configuration parameters common for any memory strategy.
| Source | lib/memory/memory-strategy.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 memoryStrategyCommonProps: bedrock_agentcore_alpha.MemoryStrategyCommonProps = {
name: 'name',
// the properties below are optional
description: 'description',
};
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_strategy_common_props = bedrock_agentcore_alpha.MemoryStrategyCommonProps(
name="name",
# the properties below are optional
description="description"
)
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.*;
MemoryStrategyCommonProps memoryStrategyCommonProps = MemoryStrategyCommonProps.builder()
.name("name")
// the properties below are optional
.description("description")
.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 memoryStrategyCommonProps = new MemoryStrategyCommonProps {
Name = "name",
// the properties below are optional
Description = "description"
};
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"
memoryStrategyCommonProps := &MemoryStrategyCommonProps{
Name: jsii.String("name"),
// the properties below are optional
Description: jsii.String("description"),
}