ds-data:ListGroupsForMember

List

ds-data:ListGroupsForMember is a List access-level action in the ds-data service. Grants permission to list the groups that a member is in on a directory

Resource types

ARNs that ds-data:ListGroupsForMember 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-data:ListGroupsForMember.

aws:ResourceTag/${TagKey} String

Filters access by the AWS DS Resource being acted upon

Dependent actions

To use ds-data:ListGroupsForMember you may also need to grant:

Example IAM policy

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

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

Related actions in ds-data

View all ds-data actions →