ds:DeleteDirectory is a Write access-level action in the ds service. Grants permission to delete an AWS Directory Service directory
ARNs that ds:DeleteDirectory can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants ds:DeleteDirectory.
Filters access by the AWS DS Resource being acted upon
To use ds:DeleteDirectory you may also need to grant:
A minimal policy that allows ds:DeleteDirectory. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowDsDeleteDirectory",
"Effect": "Allow",
"Action": "ds:DeleteDirectory",
"Resource": "*"
}
]
}