@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.833Z") @Stability(value=Stable) public interface CfnWorkspaceProps extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnWorkspaceProps.Builder
A builder for
CfnWorkspaceProps |
static class |
CfnWorkspaceProps.Jsii$Proxy
An implementation for
CfnWorkspaceProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnWorkspaceProps.Builder |
builder() |
String |
getBundleId()
The identifier of the bundle for the WorkSpace.
|
String |
getDirectoryId()
The identifier of the AWS Directory Service directory for the WorkSpace.
|
default Object |
getRootVolumeEncryptionEnabled()
Indicates whether the data stored on the root volume is encrypted.
|
default List<CfnTag> |
getTags()
The tags for the WorkSpace.
|
String |
getUserName()
The user name of the user for the WorkSpace.
|
default Object |
getUserVolumeEncryptionEnabled()
Indicates whether the data stored on the user volume is encrypted.
|
default String |
getVolumeEncryptionKey()
The symmetric AWS KMS key used to encrypt data stored on your WorkSpace.
|
default Object |
getWorkspaceProperties()
The WorkSpace properties.
|
@Stability(value=Stable) @NotNull String getBundleId()
@Stability(value=Stable) @NotNull String getDirectoryId()
@Stability(value=Stable) @NotNull String getUserName()
This user name must exist in the AWS Directory Service directory for the WorkSpace.
@Stability(value=Stable) @Nullable default Object getRootVolumeEncryptionEnabled()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) @Nullable default Object getUserVolumeEncryptionEnabled()
@Stability(value=Stable) @Nullable default String getVolumeEncryptionKey()
Amazon WorkSpaces does not support asymmetric KMS keys.
@Stability(value=Stable) @Nullable default Object getWorkspaceProperties()
@Stability(value=Stable) static CfnWorkspaceProps.Builder builder()
CfnWorkspaceProps.Builder of CfnWorkspacePropsCopyright © 2022. All rights reserved.