# SessionSummaryConfigurationProperty

Struct · External

Configuration for SESSION_SUMMARY memory type enabled for the agent.

- Source: Generated at build time
- Type last changed: v2.181.0 · 26 Feb 2025

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const sessionSummaryConfigurationProperty: bedrock.CfnAgent.SessionSummaryConfigurationProperty = {
  maxRecentSessions: 123,
};
```

Python:

```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_bedrock as bedrock

session_summary_configuration_property = bedrock.CfnAgent.SessionSummaryConfigurationProperty(
    max_recent_sessions=123
)
```

Java:

```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.*;

SessionSummaryConfigurationProperty sessionSummaryConfigurationProperty = SessionSummaryConfigurationProperty.builder()
        .maxRecentSessions(123)
        .build();
```

C#:

```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.Bedrock;

var sessionSummaryConfigurationProperty = new SessionSummaryConfigurationProperty {
    MaxRecentSessions = 123
};
```

Go:

```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"

sessionSummaryConfigurationProperty := &SessionSummaryConfigurationProperty{
	MaxRecentSessions: jsii.Number(123),
}
```

## Properties

- `maxRecentSessions`: number — Maximum number of recent session summaries to include in the agent's prompt context.
