@Stability(value=Stable) public static final class CfnWorkspace.Builder extends Object implements software.amazon.jsii.Builder<CfnWorkspace>
CfnWorkspace.| Modifier and Type | Method and Description |
|---|---|
CfnWorkspace |
build() |
CfnWorkspace.Builder |
bundleId(String bundleId)
The identifier of the bundle for the WorkSpace.
|
static CfnWorkspace.Builder |
create(software.constructs.Construct scope,
String id) |
CfnWorkspace.Builder |
directoryId(String directoryId)
The identifier of the AWS Directory Service directory for the WorkSpace.
|
CfnWorkspace.Builder |
rootVolumeEncryptionEnabled(Boolean rootVolumeEncryptionEnabled)
Indicates whether the data stored on the root volume is encrypted.
|
CfnWorkspace.Builder |
rootVolumeEncryptionEnabled(IResolvable rootVolumeEncryptionEnabled)
Indicates whether the data stored on the root volume is encrypted.
|
CfnWorkspace.Builder |
tags(List<? extends CfnTag> tags)
The tags for the WorkSpace.
|
CfnWorkspace.Builder |
userName(String userName)
The user name of the user for the WorkSpace.
|
CfnWorkspace.Builder |
userVolumeEncryptionEnabled(Boolean userVolumeEncryptionEnabled)
Indicates whether the data stored on the user volume is encrypted.
|
CfnWorkspace.Builder |
userVolumeEncryptionEnabled(IResolvable userVolumeEncryptionEnabled)
Indicates whether the data stored on the user volume is encrypted.
|
CfnWorkspace.Builder |
volumeEncryptionKey(String volumeEncryptionKey)
The symmetric AWS KMS key used to encrypt data stored on your WorkSpace.
|
CfnWorkspace.Builder |
workspaceProperties(CfnWorkspace.WorkspacePropertiesProperty workspaceProperties)
The WorkSpace properties.
|
CfnWorkspace.Builder |
workspaceProperties(IResolvable workspaceProperties)
The WorkSpace properties.
|
@Stability(value=Stable) public static CfnWorkspace.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnWorkspace.WorkspacePropertiesProperty.Builder.@Stability(value=Stable) public CfnWorkspace.Builder bundleId(String bundleId)
bundleId - The identifier of the bundle for the WorkSpace. This parameter is required.this@Stability(value=Stable) public CfnWorkspace.Builder directoryId(String directoryId)
directoryId - The identifier of the AWS Directory Service directory for the WorkSpace. This parameter is required.this@Stability(value=Stable) public CfnWorkspace.Builder userName(String userName)
This user name must exist in the AWS Directory Service directory for the WorkSpace.
userName - The user name of the user for the WorkSpace. This parameter is required.this@Stability(value=Stable) public CfnWorkspace.Builder rootVolumeEncryptionEnabled(Boolean rootVolumeEncryptionEnabled)
rootVolumeEncryptionEnabled - Indicates whether the data stored on the root volume is encrypted. This parameter is required.this@Stability(value=Stable) public CfnWorkspace.Builder rootVolumeEncryptionEnabled(IResolvable rootVolumeEncryptionEnabled)
rootVolumeEncryptionEnabled - Indicates whether the data stored on the root volume is encrypted. This parameter is required.this@Stability(value=Stable) public CfnWorkspace.Builder tags(List<? extends CfnTag> tags)
tags - The tags for the WorkSpace. This parameter is required.this@Stability(value=Stable) public CfnWorkspace.Builder userVolumeEncryptionEnabled(Boolean userVolumeEncryptionEnabled)
userVolumeEncryptionEnabled - Indicates whether the data stored on the user volume is encrypted. This parameter is required.this@Stability(value=Stable) public CfnWorkspace.Builder userVolumeEncryptionEnabled(IResolvable userVolumeEncryptionEnabled)
userVolumeEncryptionEnabled - Indicates whether the data stored on the user volume is encrypted. This parameter is required.this@Stability(value=Stable) public CfnWorkspace.Builder volumeEncryptionKey(String volumeEncryptionKey)
Amazon WorkSpaces does not support asymmetric KMS keys.
volumeEncryptionKey - The symmetric AWS KMS key used to encrypt data stored on your WorkSpace. This parameter is required.this@Stability(value=Stable) public CfnWorkspace.Builder workspaceProperties(CfnWorkspace.WorkspacePropertiesProperty workspaceProperties)
workspaceProperties - The WorkSpace properties. This parameter is required.this@Stability(value=Stable) public CfnWorkspace.Builder workspaceProperties(IResolvable workspaceProperties)
workspaceProperties - The WorkSpace properties. This parameter is required.this@Stability(value=Stable) public CfnWorkspace build()
build in interface software.amazon.jsii.Builder<CfnWorkspace>Copyright © 2022. All rights reserved.