Actions, resources, and condition keys for AWS Directory Service Data
AWS Directory Service Data (service prefix: ds-data) provides the following
service-specific operations, resources, actions, and condition keys for use in IAM permission
policies.
References:
-
Learn how to configure this service.
-
View a list of the API operations available for this service.
-
Learn how to secure this service and its resources by using IAM permission policies.
-
View the programmatic service authorization reference
for this service.
Topics
API operations defined by AWS Directory Service Data
The following table maps API operations to the IAM actions they authorize. Only condition keys that have static values for the given API and action are listed; for the full set of condition keys supported by each action, see the Actions table.
| Operation | IAM action | Condition key | Possible value(s) | Access level |
|---|---|---|---|---|
|
AddGroupMember |
Write |
|||
Permissions management, Write |
||||
|
CreateGroup |
Write |
|||
Permissions management, Write |
||||
|
CreateUser |
Write |
|||
Permissions management, Write |
||||
|
DeleteGroup |
Write |
|||
Permissions management, Write |
||||
|
DeleteUser |
Write |
|||
Permissions management, Write |
||||
|
DescribeGroup |
Read |
|||
Permissions management, Write |
||||
|
DescribeUser |
Read |
|||
Permissions management, Write |
||||
|
DisableUser |
Write |
|||
Permissions management, Write |
||||
|
ListGroupMembers |
List |
|||
Permissions management, Write |
||||
|
ListGroups |
List |
|||
Permissions management, Write |
||||
|
ListGroupsForMember |
List |
|||
Permissions management, Write |
||||
|
ListUsers |
List |
|||
Permissions management, Write |
||||
|
RemoveGroupMember |
Write |
|||
Permissions management, Write |
||||
|
SearchGroups |
Read |
|||
Read |
||||
Permissions management, Write |
||||
|
SearchUsers |
Read |
|||
Read |
||||
Permissions management, Write |
||||
|
UpdateGroup |
Write |
|||
Permissions management, Write |
||||
|
UpdateUser |
Write |
|||
Permissions management, Write |
Actions defined by AWS Directory Service Data
You can specify the following actions in the Action element of an IAM
policy statement. Use policies to grant permissions to perform an operation in AWS. When
you use an action in a policy, you usually allow or deny access to the API operation or CLI
command with the same name. However, in some cases, a single action controls access to more
than one operation. Alternatively, some operations require several different actions.
| Actions | Description | Resource types (*required) | Condition keys | Access level |
|---|---|---|---|---|
Grants permission to add a member to a group on a directory |
Write |
|||
Grants permission to create a group on a directory |
Write |
|||
Grants permission to create a user on a directory |
Write |
|||
Grants permission to delete a group on a directory |
Write |
|||
Grants permission to delete a user on a directory |
Write |
|||
Grants permission to describe a group on a directory |
Read |
|||
Grants permission to describe a user on a directory |
Read |
|||
Grants permission to disable a user on a directory |
Write |
|||
Grants permission to list members in a group on a directory |
List |
|||
Grants permission to list groups on a directory |
List |
|||
Grants permission to list the groups that a member is in on a directory |
List |
|||
Grants permission to list users on a directory |
List |
|||
Grants permission to remove a member from a group on a directory |
Write |
|||
Grants permission to search for groups on a directory |
Read |
|||
Grants permission to search for users on a directory |
Read |
|||
Grants permission to update a group on a directory |
Write |
|||
Grants permission to update a user on a directory |
Write |
Resource types defined by AWS Directory Service Data
The following resource types are defined by this service and can be used in the
Resource element of IAM permission policy statements.
| Resource types | ARN | Condition keys |
|---|---|---|
arn:${Partition}:ds:${Region}:${Account}:directory/${DirectoryId} |
Condition keys for AWS Directory Service Data
AWS Directory Service Data defines the following condition keys that can be used in the
Condition element of an IAM policy.
| Condition keys | Description | Type |
|---|---|---|
Filters access by the AWS DS Resource being acted upon |
String |
|
Filters access by the type of identifier provided in the request (i.e. SAM Account Name) |
String |
|
Filters access by the directory SAM Account Name included in the MemberName input of the request |
String |
|
Filters access by the directory realm name included in the MemberRealm input of the request |
String |
|
Filters access by the directory realm name for the request |
String |
|
Filters access by the directory SAM Account Name included in the SAMAccountName input of the request |
String |