Skip to content

Associate Connection Alias

workspaces_associate_connection_alias R Documentation

Associates the specified connection alias with the specified directory to enable cross-Region redirection

Description

Associates the specified connection alias with the specified directory to enable cross-Region redirection. For more information, see Cross-Region Redirection for Amazon WorkSpaces.

Before performing this operation, call DescribeConnectionAliases to make sure that the current state of the connection alias is CREATED.

Usage

workspaces_associate_connection_alias(AliasId, ResourceId)

Arguments

AliasId

[required] The identifier of the connection alias.

ResourceId

[required] The identifier of the directory to associate the connection alias with.

Value

A list with the following syntax:

list(
  ConnectionIdentifier = "string"
)

Request syntax

svc$associate_connection_alias(
  AliasId = "string",
  ResourceId = "string"
)