# UserSettingProperty

Specifies an action and whether the action is enabled or disabled for users during their streaming sessions.

- Source: Generated code
- Type last changed: v2.109.0 · 16 Nov 2023

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_appstream as appstream } from 'aws-cdk-lib';
const userSettingProperty: appstream.CfnStack.UserSettingProperty = {
  action: 'action',
  permission: 'permission',

  // the properties below are optional
  maximumLength: 123,
};
```

## Properties

- `action`: string (required) — The action that is enabled or disabled.

- `maximumLength`: number — Specifies the number of characters that can be copied by end users from the local device to the remote session, and to the local device from the remote session.

  This can be specified only for the `CLIPBOARD_COPY_FROM_LOCAL_DEVICE` and `CLIPBOARD_COPY_TO_LOCAL_DEVICE` actions.

  This defaults to 20,971,520 (20 MB) when unspecified and the permission is `ENABLED` . This can't be specified when the permission is `DISABLED` .

  The value can be between 1 and 20,971,520 (20 MB).

- `permission`: string (required) — Indicates whether the action is enabled or disabled.
