# SSOSessionProperty

Managed login single sign-on session settings for the app client.

- Source: Generated at build time

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cognito as cognito } from 'aws-cdk-lib';
const sSOSessionProperty: cognito.CfnUserPoolClientSessionConfigurationAttachment.SSOSessionProperty = {
  maxValidityMinutes: 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_cognito as cognito

s_so_session_property = cognito.CfnUserPoolClientSessionConfigurationAttachment.SSOSessionProperty(
    max_validity_minutes=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.cognito.*;

SSOSessionProperty sSOSessionProperty = SSOSessionProperty.builder()
        .maxValidityMinutes(123)
        .build();
```

C# / .NET:

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

var sSOSessionProperty = new SSOSessionProperty {
    MaxValidityMinutes = 123
};
```

Golang:

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

sSOSessionProperty := &SSOSessionProperty{
	MaxValidityMinutes: jsii.Number(123),
}
```

## Properties

- `maxValidityMinutes`: number (required) — The maximum time in minutes since the last authentication during which this app client can reuse an existing managed login SSO session without asking the user to sign in again.

  0 means the app client always asks the user to sign in.
