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 { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const memoryStrategyCommonProps: bedrockagentcore.MemoryStrategyCommonProps = {
  strategyName: 'strategyName',

  // 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.
from aws_cdk import aws_bedrockagentcore as bedrockagentcore

memory_strategy_common_props = bedrockagentcore.MemoryStrategyCommonProps(
    strategy_name="strategyName",

    # 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.bedrockagentcore.*;

MemoryStrategyCommonProps memoryStrategyCommonProps = MemoryStrategyCommonProps.builder()
        .strategyName("strategyName")

        // the properties below are optional
        .description("description")
        .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 memoryStrategyCommonProps = new MemoryStrategyCommonProps {
    StrategyName = "strategyName",

    // the properties below are optional
    Description = "description"
};
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"

memoryStrategyCommonProps := &MemoryStrategyCommonProps{
	StrategyName: jsii.String("strategyName"),

	// the properties below are optional
	Description: jsii.String("description"),
}

Properties ​

descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #
The description of the strategy.

Default: No description

strategyNamestringstrategy_namestrstrategyNameStringStrategyNamestringStrategyName*string required #
The name for the strategy.