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();
 
  • Method Details

    • getBundleId

      @Stability(Stable) @NotNull String getBundleId()
      The identifier of the bundle for the WorkSpace.
    • getDirectoryId

      @Stability(Stable) @NotNull String getDirectoryId()
      The identifier of the AWS Directory Service directory for the WorkSpace.
    • getUserName

      @Stability(Stable) @NotNull String 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

      @Stability(Stable) @Nullable default Object getRootVolumeEncryptionEnabled()
      Indicates whether the data stored on the root volume is encrypted.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      The tags for the WorkSpace.
    • getUserVolumeEncryptionEnabled

      @Stability(Stable) @Nullable default Object getUserVolumeEncryptionEnabled()
      Indicates whether the data stored on the user volume is encrypted.
    • getVolumeEncryptionKey

      @Stability(Stable) @Nullable default String getVolumeEncryptionKey()
      The symmetric AWS KMS key used to encrypt data stored on your WorkSpace.

      Amazon WorkSpaces does not support asymmetric KMS keys.

    • getWorkspaceProperties

      @Stability(Stable) @Nullable default Object getWorkspaceProperties()
      The WorkSpace properties.
    • builder

      @Stability(Stable) static CfnWorkspaceProps.Builder builder()
      Returns:
      a CfnWorkspaceProps.Builder of CfnWorkspaceProps