# CfnUserPoolSessionConfigurationAttachmentPropsMixin

Resource Type definition for AWS::Cognito::UserPoolSessionConfigurationAttachment.

Manages the session configuration of a user pool: whether user session tracking is enabled and the maximum number of concurrent token sessions per user. The service default (UserSessionTracking DISABLED with TokenSession MaxPerUser 20) cannot be declared; remove the resource to return the user pool to the default.

Extends: [Mixin](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.Mixin.html) › CfnUserPoolSessionConfigurationAttachmentPropsMixin
Implements: [IMixin](https://docs.aws.amazon.com/cdk/api/v2/docs/constructs.IMixin.html)

- CloudFormation: [`AWS::Cognito::UserPoolSessionConfigurationAttachment`](https://docs.aws.amazon.com/AWSCloudFormation/latest/TemplateReference/aws-resource-cognito-userpoolsessionconfigurationattachment.html)
- Source: Generated at build time
- Type last changed: v2.278.0 · 21 Nov 2026

## Initializer

TypeScript:

```ts
new CfnUserPoolSessionConfigurationAttachmentPropsMixin(props: CfnUserPoolSessionConfigurationAttachmentMixinProps, options?: CfnPropertyMixinOptions)
```

Python:

```python
CfnUserPoolSessionConfigurationAttachmentPropsMixin(props: CfnUserPoolSessionConfigurationAttachmentMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
```

Java:

```java
new CfnUserPoolSessionConfigurationAttachmentPropsMixin(CfnUserPoolSessionConfigurationAttachmentMixinProps props, CfnPropertyMixinOptions options)
```

C# / .NET:

```csharp
new CfnUserPoolSessionConfigurationAttachmentPropsMixin(CfnUserPoolSessionConfigurationAttachmentMixinProps props, CfnPropertyMixinOptions? options = null)
```

Golang:

```go
NewCfnUserPoolSessionConfigurationAttachmentPropsMixin(Props CfnUserPoolSessionConfigurationAttachmentMixinProps, Options CfnPropertyMixinOptions)
```

## Methods

- `applyTo(construct: IConstruct): void` — Apply the mixin properties to the construct.

- `isMixin(x: any): boolean` (static) — Checks if `x` is a Mixin.

  **Parameters**

  - `x` — Any object.

  **Returns:** true if `x` is an object created from a class which extends `Mixin`.

- `supports(construct: IConstruct): boolean` — Check if this mixin supports the given construct.
