interface HarnessTruncationConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.BedrockAgentCore.CfnHarness.HarnessTruncationConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrockagentcore#CfnHarness_HarnessTruncationConfigurationProperty |
Java | software.amazon.awscdk.services.bedrockagentcore.CfnHarness.HarnessTruncationConfigurationProperty |
Python | aws_cdk.aws_bedrockagentcore.CfnHarness.HarnessTruncationConfigurationProperty |
TypeScript | aws-cdk-lib » aws_bedrockagentcore » CfnHarness » HarnessTruncationConfigurationProperty |
Example
// 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 harnessTruncationConfigurationProperty: bedrockagentcore.CfnHarness.HarnessTruncationConfigurationProperty = {
strategy: 'strategy',
// the properties below are optional
config: {
slidingWindow: {
messagesCount: 123,
},
summarization: {
preserveRecentMessages: 123,
summarizationSystemPrompt: 'summarizationSystemPrompt',
summaryRatio: 123,
},
},
};
Properties
| Name | Type | Description |
|---|---|---|
| strategy | string | |
| config? | IResolvable | Harness |
strategy
Type:
string
config?
Type:
IResolvable | Harness
(optional)

.NET
Go
Java
Python
TypeScript