clouddirectory:DisableDirectory

Write

clouddirectory:DisableDirectory is a Write access-level action in the clouddirectory service. Grants permission to disable the specified directory

Resource types

ARNs that clouddirectory:DisableDirectory can be scoped to in an IAM policy.

arn:${Partition}:clouddirectory:${Region}:${Account}:directory/${DirectoryId}
directory

Condition keys

No condition keys are documented for this action.

Example IAM policy

A minimal policy that allows clouddirectory:DisableDirectory. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowClouddirectoryDisableDirectory",
      "Effect": "Allow",
      "Action": "clouddirectory:DisableDirectory",
      "Resource": "*"
    }
  ]
}

Related actions in clouddirectory

View all clouddirectory actions →