Interface CfnWorkspaceProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWorkspaceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:36.667Z")
@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();
-
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 AWS 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. -
getDirectoryId
The identifier of the AWS Directory Service directory for the WorkSpace. -
getUserName
The user name of the user for the WorkSpace.This user name must exist in the AWS Directory Service directory for the WorkSpace.
-
getRootVolumeEncryptionEnabled
Indicates whether the data stored on the root volume is encrypted. -
getTags
The tags for the WorkSpace. -
getUserVolumeEncryptionEnabled
Indicates whether the data stored on the user volume is encrypted. -
getVolumeEncryptionKey
The symmetric AWS KMS key used to encrypt data stored on your WorkSpace.Amazon WorkSpaces does not support asymmetric KMS keys.
-
getWorkspaceProperties
The WorkSpace properties. -
builder
- Returns:
- a
CfnWorkspaceProps.BuilderofCfnWorkspaceProps
-