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, NetworkType)
Arguments¶
-
Name[required] The fully qualified name of your self-managed directory, such as
corp.example.com. -
ShortNameThe NetBIOS name of your self-managed directory, such as
CORP. -
Password[required] The password for your self-managed user account.
-
DescriptionA description for the directory.
-
Size[required] The size of the directory.
-
ConnectSettings[required] A DirectoryConnectSettings object that contains additional information for the operation.
-
TagsThe tags to be assigned to AD Connector.
-
NetworkTypeThe network type for your directory. The default value is
IPv4orIPv6based on the provided subnet capabilities.
Value¶
A list with the following syntax:
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"
),
CustomerDnsIpsV6 = list(
"string"
),
CustomerUserName = "string"
),
Tags = list(
list(
Key = "string",
Value = "string"
)
),
NetworkType = "Dual-stack"|"IPv4"|"IPv6"
)