Skip to content

Connect Directory

directoryservice_connect_directory R Documentation

Creates an AD Connector to connect to a self-managed directory

Description

Creates an AD Connector to connect to a self-managed directory.

Before you call connect_directory, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the connect_directory operation, see Directory Service API Permissions: Actions, Resources, and Conditions Reference.

Usage

directoryservice_connect_directory(Name, ShortName, Password,
  Description, Size, ConnectSettings, Tags)

Arguments

Name

[required] The fully qualified name of your self-managed directory, such as corp.example.com.

ShortName

The NetBIOS name of your self-managed directory, such as CORP.

Password

[required] The password for your self-managed user account.

Description

A description for the directory.

Size

[required] The size of the directory.

ConnectSettings

[required] A DirectoryConnectSettings object that contains additional information for the operation.

Tags

The tags to be assigned to AD Connector.

Value

A list with the following syntax:

list(
  DirectoryId = "string"
)

Request syntax

svc$connect_directory(
  Name = "string",
  ShortName = "string",
  Password = "string",
  Description = "string",
  Size = "Small"|"Large",
  ConnectSettings = list(
    VpcId = "string",
    SubnetIds = list(
      "string"
    ),
    CustomerDnsIps = list(
      "string"
    ),
    CustomerUserName = "string"
  ),
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)