Creates a Simple AD directory.
directoryservice_create_directory(Name, ShortName, Password,
Description, Size, VpcSettings, Tags)[required] The fully qualified name for the directory, such as corp.example.com.
The short name of the directory, such as CORP.
[required] The password for the directory administrator. The directory creation
process creates a directory administrator account with the user name
Administrator and this password.
A textual description for the directory.
[required] The size of the directory.
A DirectoryVpcSettings object that contains additional information for the operation.
The tags to be assigned to the Simple AD directory.
svc$create_directory(
Name = "string",
ShortName = "string",
Password = "string",
Description = "string",
Size = "Small"|"Large",
VpcSettings = list(
VpcId = "string",
SubnetIds = list(
"string"
)
),
Tags = list(
list(
Key = "string",
Value = "string"
)
)
)
Before you call CreateDirectory, ensure that all of the required
permissions have been explicitly granted through a policy. For details
about what permissions are required to run the CreateDirectory
operation, see AWS Directory Service API Permissions: Actions, Resources, and Conditions Reference.