Interface CfnWorkspaceProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWorkspaceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:19.592Z")
@Stability(Stable)
public interface CfnWorkspaceProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnWorkspace.
Example:
// 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.*;
CfnWorkspaceProps cfnWorkspaceProps = CfnWorkspaceProps.builder()
.bundleId("bundleId")
.directoryId("directoryId")
.userName("userName")
// the properties below are optional
.rootVolumeEncryptionEnabled(false)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.userVolumeEncryptionEnabled(false)
.volumeEncryptionKey("volumeEncryptionKey")
.workspaceProperties(WorkspacePropertiesProperty.builder()
.computeTypeName("computeTypeName")
.rootVolumeSizeGib(123)
.runningMode("runningMode")
.runningModeAutoStopTimeoutInMinutes(123)
.userVolumeSizeGib(123)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnWorkspacePropsstatic final classAn implementation forCfnWorkspaceProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnWorkspaceProps.Builderbuilder()The identifier of the bundle for the WorkSpace.The identifier of the Directory Service directory for the WorkSpace.default ObjectIndicates whether the data stored on the root volume is encrypted.getTags()The tags for the WorkSpace.The user name of the user for the WorkSpace.default ObjectIndicates whether the data stored on the user volume is encrypted.default StringThe symmetric AWS KMS key used to encrypt data stored on your WorkSpace.default ObjectThe WorkSpace properties.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBundleId
The identifier of the bundle for the WorkSpace.- See Also:
-
getDirectoryId
The identifier of the Directory Service directory for the WorkSpace.- See Also:
-
getUserName
The user name of the user for the WorkSpace.This user name must exist in the Directory Service directory for the WorkSpace.
- See Also:
-
getRootVolumeEncryptionEnabled
Indicates whether the data stored on the root volume is encrypted.Returns union: either
BooleanorIResolvable- See Also:
-
getTags
The tags for the WorkSpace.- See Also:
-
getUserVolumeEncryptionEnabled
Indicates whether the data stored on the user volume is encrypted.Returns union: either
BooleanorIResolvable- See Also:
-
getVolumeEncryptionKey
The symmetric AWS KMS key used to encrypt data stored on your WorkSpace.Amazon WorkSpaces does not support asymmetric KMS keys.
- See Also:
-
getWorkspaceProperties
The WorkSpace properties.Returns union: either
IResolvableorCfnWorkspace.WorkspacePropertiesProperty- See Also:
-
builder
- Returns:
- a
CfnWorkspaceProps.BuilderofCfnWorkspaceProps
-