# WorkspacePropertiesProperty

Information about a WorkSpace.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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 workspacePropertiesProperty: workspaces.CfnWorkspace.WorkspacePropertiesProperty = {
  computeTypeName: 'computeTypeName',
  rootVolumeSizeGib: 123,
  runningMode: 'runningMode',
  runningModeAutoStopTimeoutInMinutes: 123,
  userVolumeSizeGib: 123,
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_workspaces as workspaces

workspace_properties_property = workspaces.CfnWorkspace.WorkspacePropertiesProperty(
    compute_type_name="computeTypeName",
    root_volume_size_gib=123,
    running_mode="runningMode",
    running_mode_auto_stop_timeout_in_minutes=123,
    user_volume_size_gib=123
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.workspaces.*;

WorkspacePropertiesProperty workspacePropertiesProperty = WorkspacePropertiesProperty.builder()
        .computeTypeName("computeTypeName")
        .rootVolumeSizeGib(123)
        .runningMode("runningMode")
        .runningModeAutoStopTimeoutInMinutes(123)
        .userVolumeSizeGib(123)
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.WorkSpaces;

var workspacePropertiesProperty = new WorkspacePropertiesProperty {
    ComputeTypeName = "computeTypeName",
    RootVolumeSizeGib = 123,
    RunningMode = "runningMode",
    RunningModeAutoStopTimeoutInMinutes = 123,
    UserVolumeSizeGib = 123
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

workspacePropertiesProperty := &WorkspacePropertiesProperty{
	ComputeTypeName: jsii.String("computeTypeName"),
	RootVolumeSizeGib: jsii.Number(123),
	RunningMode: jsii.String("runningMode"),
	RunningModeAutoStopTimeoutInMinutes: jsii.Number(123),
	UserVolumeSizeGib: jsii.Number(123),
}
```

## Properties

- `computeTypeName`: string — The compute type.

  For more information, see [Amazon WorkSpaces Bundles](https://docs.aws.amazon.com/workspaces/details/#Amazon_WorkSpaces_Bundles) .

- `rootVolumeSizeGib`: number — The size of the root volume.

  For important information about how to modify the size of the root and user volumes, see [Modify a WorkSpace](https://docs.aws.amazon.com/workspaces/latest/adminguide/modify-workspaces.html) .

- `runningMode`: string — The running mode.

  For more information, see [Manage the WorkSpace Running Mode](https://docs.aws.amazon.com/workspaces/latest/adminguide/running-mode.html) .

- `runningModeAutoStopTimeoutInMinutes`: number — The time after a user logs off when WorkSpaces are automatically stopped.

  Configured in 60-minute intervals.

- `userVolumeSizeGib`: number — The size of the user storage.

  For important information about how to modify the size of the root and user volumes, see [Modify a WorkSpace](https://docs.aws.amazon.com/workspaces/latest/adminguide/modify-workspaces.html) .
