Interface CfnHarness.HarnessMemoryConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnHarness.HarnessMemoryConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnHarness
@Stability(Stable)
public static interface CfnHarness.HarnessMemoryConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// 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.*;
Object disabled;
HarnessMemoryConfigurationProperty harnessMemoryConfigurationProperty = HarnessMemoryConfigurationProperty.builder()
.agentCoreMemoryConfiguration(HarnessAgentCoreMemoryConfigurationProperty.builder()
.arn("arn")
// the properties below are optional
.actorId("actorId")
.messagesCount(123)
.retrievalConfig(Map.of(
"retrievalConfigKey", HarnessAgentCoreMemoryRetrievalConfigProperty.builder()
.relevanceScore("relevanceScore")
.strategyId("strategyId")
.topK("topK")
.build()))
.build())
.disabled(disabled)
.managedMemoryConfiguration(HarnessManagedMemoryConfigurationProperty.builder()
.arn("arn")
.encryptionKeyArn("encryptionKeyArn")
.eventExpiryDuration(123)
.strategies(List.of("strategies"))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnHarness.HarnessMemoryConfigurationPropertystatic final classAn implementation forCfnHarness.HarnessMemoryConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectReturns union: eitherIResolvableorCfnHarness.HarnessAgentCoreMemoryConfigurationPropertydefault ObjectExplicitly opt out of memory.default ObjectConfiguration for managed memory.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAgentCoreMemoryConfiguration
Returns union: eitherIResolvableorCfnHarness.HarnessAgentCoreMemoryConfigurationProperty- See Also:
-
getDisabled
Explicitly opt out of memory.- See Also:
-
getManagedMemoryConfiguration
Configuration for managed memory.The harness creates and manages a memory resource in the customer's account.
Returns union: either
IResolvableorCfnHarness.HarnessManagedMemoryConfigurationProperty- See Also:
-
builder
-