View source: R/workspaces_operations.R
workspaces_register_workspace_directory | R Documentation |
Registers the specified directory. This operation is asynchronous and returns before the WorkSpace directory is registered. If this is the first time you are registering a directory, you will need to create the workspaces_DefaultRole role before you can register a directory. For more information, see Creating the workspaces_DefaultRole Role.
See https://www.paws-r-sdk.com/docs/workspaces_register_workspace_directory/ for full documentation.
workspaces_register_workspace_directory(
DirectoryId,
SubnetIds = NULL,
EnableWorkDocs,
EnableSelfService = NULL,
Tenancy = NULL,
Tags = NULL
)
DirectoryId |
[required] 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. |
SubnetIds |
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. |
EnableWorkDocs |
[required] 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
|
EnableSelfService |
Indicates whether self-service capabilities are enabled or disabled. |
Tenancy |
Indicates whether your WorkSpace directory is dedicated or shared. To
use Bring Your Own License (BYOL) images, this value must be set to
|
Tags |
The tags associated with the directory. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.