v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1467365253.0 KB

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

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

post/#X-Amz-Target=DirectoryService_20150416.ConnectDirectory

Headers

X-Amz-Target'DirectoryService_20150416.ConnectDirectory' required

Request body

Namestring required

The fully qualified name of your self-managed directory, such as <code>corp.example.com</code>.

ShortNamestring

The NetBIOS name of your self-managed directory, such as <code>CORP</code>.

Passwordstring password required

The password for your self-managed user account.

Descriptionstring

A description for the directory.

Size'Small' | 'Large' required

The size of the directory.

Response

Success

DirectoryIdstring

The identifier of the new directory.