WorkspacePropertiesProperty Struct
Information about a WorkSpace.
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 workspacePropertiesProperty: workspaces.CfnWorkspace.WorkspacePropertiesProperty = {
computeTypeName: 'computeTypeName',
rootVolumeSizeGib: 123,
runningMode: 'runningMode',
runningModeAutoStopTimeoutInMinutes: 123,
userVolumeSizeGib: 123,
};
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
// 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();
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
};
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
computeTypeNameoptionalstringcompute_type_nameoptionalstrcomputeTypeNameoptionalStringComputeTypeNameoptionalstringComputeTypeNameoptional*string#The compute type.
For more information, see Amazon WorkSpaces Bundles .
rootVolumeSizeGiboptionalnumberroot_volume_size_giboptionalint | floatrootVolumeSizeGiboptionalNumberRootVolumeSizeGiboptionaldoubleRootVolumeSizeGiboptional*float64#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 .
runningModeoptionalstringrunning_modeoptionalstrrunningModeoptionalStringRunningModeoptionalstringRunningModeoptional*string#The running mode.
For more information, see Manage the WorkSpace Running Mode .
runningModeAutoStopTimeoutInMinutesoptionalnumberrunning_mode_auto_stop_timeout_in_minutesoptionalint | floatrunningModeAutoStopTimeoutInMinutesoptionalNumberRunningModeAutoStopTimeoutInMinutesoptionaldoubleRunningModeAutoStopTimeoutInMinutesoptional*float64#The time after a user logs off when WorkSpaces are automatically stopped.
Configured in 60-minute intervals.
userVolumeSizeGiboptionalnumberuser_volume_size_giboptionalint | floatuserVolumeSizeGiboptionalNumberUserVolumeSizeGiboptionaldoubleUserVolumeSizeGiboptional*float64#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 .