clouddirectory:CreateDirectory is a Write access-level action in the clouddirectory service. Grants permission to create a Directory by copying the published schema into the directory
ARNs that clouddirectory:CreateDirectory can be scoped to in an IAM policy.
No condition keys are documented for this action.
A minimal policy that allows clouddirectory:CreateDirectory. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowClouddirectoryCreateDirectory",
"Effect": "Allow",
"Action": "clouddirectory:CreateDirectory",
"Resource": "*"
}
]
}