# SelfservicePermissionsProperty

Describes the self-service permissions for a directory.

- Source: Generated code
- Type last changed: v2.274.0 · 20 Oct 2026

## 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 selfservicePermissionsProperty: workspaces.CfnDirectory.SelfservicePermissionsProperty = {
  changeComputeType: 'changeComputeType',
  increaseVolumeSize: 'increaseVolumeSize',
  rebuildWorkspace: 'rebuildWorkspace',
  restartWorkspace: 'restartWorkspace',
  switchRunningMode: 'switchRunningMode',
};
```

## Properties

- `changeComputeType`: string — Specifies whether users can change the compute type (bundle) for their WorkSpace.

- `increaseVolumeSize`: string — Specifies whether users can increase the volume size of the drives on their WorkSpace.

- `rebuildWorkspace`: string — Specifies whether users can rebuild the operating system of a WorkSpace to its original state.

- `restartWorkspace`: string — Specifies whether users can restart their WorkSpace.

- `switchRunningMode`: string — Specifies whether users can switch the running mode of their WorkSpace.
