ds:CreateDirectory is a Write access-level action in the ds service. Grants permission to create a Simple AD directory
This action does not support resource-level permissions; use "Resource": "*" in your policy.
No condition keys are documented for this action.
To use ds:CreateDirectory you may also need to grant:
A minimal policy that allows ds:CreateDirectory. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowDsCreateDirectory",
"Effect": "Allow",
"Action": "ds:CreateDirectory",
"Resource": "*"
}
]
}