Interface CfnWorkspaceProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnWorkspaceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-06T23:25:18.298Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnWorkspaceProps
static final class
An implementation forCfnWorkspaceProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnWorkspaceProps.Builder
builder()
The identifier of the bundle for the WorkSpace.The identifier of the AWS Directory Service directory for the WorkSpace.default Object
Indicates 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 Object
Indicates whether the data stored on the user volume is encrypted.default String
The symmetric AWS KMS key used to encrypt data stored on your WorkSpace.default Object
The 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 AWS 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 AWS Directory Service directory for the WorkSpace.
- See Also:
-
getRootVolumeEncryptionEnabled
Indicates whether the data stored on the root volume is encrypted.- See Also:
-
getTags
The tags for the WorkSpace.- See Also:
-
getUserVolumeEncryptionEnabled
Indicates whether the data stored on the user volume is encrypted.- 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.- See Also:
-
builder
- Returns:
- a
CfnWorkspaceProps.Builder
ofCfnWorkspaceProps
-