# CfnWorkspacesPoolProps

Properties for defining a `CfnWorkspacesPool`.

Extends: CfnWorkspacesPoolProps
Used as props by: CfnWorkspacesPool

- Source: Generated code
- Type last changed: v2.197.0 · 21 May 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_workspaces as workspaces } from 'aws-cdk-lib';
const cfnWorkspacesPoolProps: workspaces.CfnWorkspacesPoolProps = {
  bundleId: 'bundleId',
  capacity: {
    desiredUserSessions: 123,
  },
  directoryId: 'directoryId',
  poolName: 'poolName',

  // the properties below are optional
  applicationSettings: {
    status: 'status',

    // the properties below are optional
    settingsGroup: 'settingsGroup',
  },
  description: 'description',
  runningMode: 'runningMode',
  tags: [{
    key: 'key',
    value: 'value',
  }],
  timeoutSettings: {
    disconnectTimeoutInSeconds: 123,
    idleDisconnectTimeoutInSeconds: 123,
    maxUserDurationInSeconds: 123,
  },
};
```

## Properties

- `applicationSettings`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnWorkspacesPool.ApplicationSettingsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_workspaces.CfnWorkspacesPool.ApplicationSettingsProperty.html) — The persistent application settings for users of the pool.

- `bundleId`: string (required) — The identifier of the bundle used by the pool.

- `capacity`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnWorkspacesPool.CapacityProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_workspaces.CfnWorkspacesPool.CapacityProperty.html) (required) — Describes the user capacity for the pool.

- `description`: string — The description of the pool.

- `directoryId`: string (required) — The identifier of the directory used by the pool.

- `poolName`: string (required) — The name of the pool.

- `runningMode`: string — The running mode of the pool.

- `tags`: [CfnTag](/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — this property has been deprecated

- `timeoutSettings`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnWorkspacesPool.TimeoutSettingsProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_workspaces.CfnWorkspacesPool.TimeoutSettingsProperty.html) — The amount of time that a pool session remains active after users disconnect.

  If they try to reconnect to the pool session after a disconnection or network interruption within this time interval, they are connected to their previous session. Otherwise, they are connected to a new session with a new pool instance.
