Interface CfnHarnessPropsMixin.HarnessTruncationStrategyConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnHarnessPropsMixin.HarnessTruncationStrategyConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnHarnessPropsMixin
@Stability(Stable)
public static interface CfnHarnessPropsMixin.HarnessTruncationStrategyConfigurationProperty
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.cfnpropertymixins.services.bedrockagentcore.*;
HarnessTruncationStrategyConfigurationProperty harnessTruncationStrategyConfigurationProperty = HarnessTruncationStrategyConfigurationProperty.builder()
.slidingWindow(HarnessSlidingWindowConfigurationProperty.builder()
.messagesCount(123)
.build())
.summarization(HarnessSummarizationConfigurationProperty.builder()
.preserveRecentMessages(123)
.summarizationSystemPrompt("summarizationSystemPrompt")
.summaryRatio(123)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnHarnessPropsMixin.HarnessTruncationStrategyConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectReturns union: eitherIResolvableorCfnHarnessPropsMixin.HarnessSlidingWindowConfigurationPropertydefault ObjectReturns union: eitherIResolvableorCfnHarnessPropsMixin.HarnessSummarizationConfigurationPropertyMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSlidingWindow
Returns union: eitherIResolvableorCfnHarnessPropsMixin.HarnessSlidingWindowConfigurationProperty- See Also:
-
getSummarization
Returns union: eitherIResolvableorCfnHarnessPropsMixin.HarnessSummarizationConfigurationProperty- See Also:
-
builder
@Stability(Stable) static CfnHarnessPropsMixin.HarnessTruncationStrategyConfigurationProperty.Builder builder()
-