Skip to content
v2.278.0

MemoryStrategyCommonProps Struct ​

Configuration parameters common for any memory strategy.

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"),
}

Properties ​

descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #
The description of the strategy.

Default: No description

namestringnamestrnameStringNamestringName*string required #
The name for the strategy.