Registers the specified directory
Source:R/workspaces_operations.R
workspaces_register_workspace_directory.RdRegisters 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.
Usage
workspaces_register_workspace_directory(
DirectoryId = NULL,
SubnetIds = NULL,
EnableSelfService = NULL,
Tenancy = NULL,
Tags = NULL,
WorkspaceDirectoryName = NULL,
WorkspaceDirectoryDescription = NULL,
UserIdentityType = NULL,
IdcInstanceArn = NULL,
MicrosoftEntraConfig = NULL,
WorkspaceType = NULL,
ActiveDirectoryConfig = NULL
)Arguments
- DirectoryId
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.
- 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
DEDICATEDand your Amazon Web Services 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.The tags associated with the directory.
- WorkspaceDirectoryName
The name of the directory to register.
- WorkspaceDirectoryDescription
Description of the directory to register.
- UserIdentityType
The type of identity management the user is using.
- IdcInstanceArn
The Amazon Resource Name (ARN) of the identity center instance.
- MicrosoftEntraConfig
The details about Microsoft Entra config.
- WorkspaceType
Indicates whether the directory's WorkSpace type is personal or pools.
- ActiveDirectoryConfig
The active directory config of the directory.