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