# CfnUserPoolClientSessionConfigurationAttachmentProps

Properties for defining a `CfnUserPoolClientSessionConfigurationAttachment`.

Used as props by: [CfnUserPoolClientSessionConfigurationAttachment](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cognito.CfnUserPoolClientSessionConfigurationAttachment.html)

- 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 cfnUserPoolClientSessionConfigurationAttachmentProps: cognito.CfnUserPoolClientSessionConfigurationAttachmentProps = {
  clientId: 'clientId',
  ssoSession: {
    maxValidityMinutes: 123,
  },
  userPoolId: 'userPoolId',
};
```

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

cfn_user_pool_client_session_configuration_attachment_props = cognito.CfnUserPoolClientSessionConfigurationAttachmentProps(
    client_id="clientId",
    sso_session=cognito.CfnUserPoolClientSessionConfigurationAttachment.SSOSessionProperty(
        max_validity_minutes=123
    ),
    user_pool_id="userPoolId"
)
```

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

CfnUserPoolClientSessionConfigurationAttachmentProps cfnUserPoolClientSessionConfigurationAttachmentProps = CfnUserPoolClientSessionConfigurationAttachmentProps.builder()
        .clientId("clientId")
        .ssoSession(SSOSessionProperty.builder()
                .maxValidityMinutes(123)
                .build())
        .userPoolId("userPoolId")
        .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 cfnUserPoolClientSessionConfigurationAttachmentProps = new CfnUserPoolClientSessionConfigurationAttachmentProps {
    ClientId = "clientId",
    SsoSession = new SSOSessionProperty {
        MaxValidityMinutes = 123
    },
    UserPoolId = "userPoolId"
};
```

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"

cfnUserPoolClientSessionConfigurationAttachmentProps := &CfnUserPoolClientSessionConfigurationAttachmentProps{
	ClientId: jsii.String("clientId"),
	SsoSession: &SSOSessionProperty{
		MaxValidityMinutes: jsii.Number(123),
	},
	UserPoolId: jsii.String("userPoolId"),
}
```

## Properties

- `clientId`: string (required) — The ID of the app client.

- `ssoSession`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnUserPoolClientSessionConfigurationAttachment.SSOSessionProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_cognito.CfnUserPoolClientSessionConfigurationAttachment.SSOSessionProperty.html) (required) — Managed login single sign-on session settings for the app client.

- `userPoolId`: string (required) — The ID of the user pool.
