ds:EnableDirectoryDataAccess

Write

ds:EnableDirectoryDataAccess is a Write access-level action in the ds service. Grants permission to enable the Directory Service Data API for the specified directory

Resource types

ARNs that ds:EnableDirectoryDataAccess can be scoped to in an IAM policy.

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

Condition keys

Keys you can use in the Condition block of a policy that grants ds:EnableDirectoryDataAccess.

aws:ResourceTag/${TagKey} String

Filters access by the AWS DS Resource being acted upon

Example IAM policy

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

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowDsEnableDirectoryDataAccess",
      "Effect": "Allow",
      "Action": "ds:EnableDirectoryDataAccess",
      "Resource": "*"
    }
  ]
}

Related actions in ds

View all ds actions →