# DefaultWorkspaceCreationPropertiesProperty

The default values that are used to create WorkSpaces.

- 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 defaultWorkspaceCreationPropertiesProperty: workspaces.CfnDirectory.DefaultWorkspaceCreationPropertiesProperty = {
  customSecurityGroupId: 'customSecurityGroupId',
  defaultOu: 'defaultOu',
  enableInternetAccess: false,
  enableMaintenanceMode: false,
  instanceIamRoleArn: 'instanceIamRoleArn',
  userEnabledAsLocalAdministrator: false,
};
```

## Properties

- `customSecurityGroupId`: string — The identifier of the default security group to apply to WorkSpaces when they are created.

- `defaultOu`: string — The organizational unit (OU) in the directory for the WorkSpace machine accounts.

- `enableInternetAccess`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Specifies whether to automatically assign an Elastic public IP address to WorkSpaces in this directory by default.

- `enableMaintenanceMode`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Specifies whether maintenance mode is enabled for WorkSpaces.

- `instanceIamRoleArn`: string — Indicates the IAM role ARN of the instance.

- `userEnabledAsLocalAdministrator`: boolean | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Specifies whether WorkSpace users are local administrators on their WorkSpaces.
