class Aws::WorkSpaces::Types::RegisterWorkspaceDirectoryRequest

@note When making an API call, you may pass RegisterWorkspaceDirectoryRequest

data as a hash:

    {
      directory_id: "DirectoryId", # required
      subnet_ids: ["SubnetId"],
      enable_work_docs: false, # required
      enable_self_service: false,
      tenancy: "DEDICATED", # accepts DEDICATED, SHARED
      tags: [
        {
          key: "TagKey", # required
          value: "TagValue",
        },
      ],
    }

@!attribute [rw] directory_id

The identifier of the directory. You cannot register a directory if
it does not have a status of Active. If the directory does not have
a status of Active, you will receive an
InvalidResourceStateException error. If you have already registered
the maximum number of directories that you can register with Amazon
WorkSpaces, you will receive a ResourceLimitExceededException error.
Deregister directories that you are not using for WorkSpaces, and
try again.
@return [String]

@!attribute [rw] subnet_ids

The identifiers of the subnets for your virtual private cloud (VPC).
Make sure that the subnets are in supported Availability Zones. The
subnets must also be in separate Availability Zones. If these
conditions are not met, you will receive an
OperationNotSupportedException error.
@return [Array<String>]

@!attribute [rw] enable_work_docs

Indicates whether Amazon WorkDocs is enabled or disabled. If you
have enabled this parameter and WorkDocs is not available in the
Region, you will receive an OperationNotSupportedException error.
Set `EnableWorkDocs` to disabled, and try again.
@return [Boolean]

@!attribute [rw] enable_self_service

Indicates whether self-service capabilities are enabled or disabled.
@return [Boolean]

@!attribute [rw] tenancy

Indicates whether your WorkSpace directory is dedicated or shared.
To use Bring Your Own License (BYOL) images, this value must be set
to `DEDICATED` and your AWS account must be enabled for BYOL. If
your account has not been enabled for BYOL, you will receive an
InvalidParameterValuesException error. For more information about
BYOL images, see [Bring Your Own Windows Desktop Images][1].

[1]: https://docs.aws.amazon.com/workspaces/latest/adminguide/byol-windows-images.html
@return [String]

@!attribute [rw] tags

The tags associated with the directory.
@return [Array<Types::Tag>]

@see docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RegisterWorkspaceDirectoryRequest AWS API Documentation

Constants

SENSITIVE