# For Each Group

> `UiPath.AmazonWebServices.Activities.ForEachGroup`

`UiPath.AmazonWebServices.Activities.ForEachGroup`

## Description

Performs an activity or a series of activities on each IAM group in the current AWS account that matches the filter criteria.

## Project compatibility

Windows - Legacy | Windows | Cross-platform

## Configuration

### Input

* **PathPrefix** - The path prefix to filter by. For example, if set to `/department_abc/team_xyz/`, it retrieves all groups whose path starts with `/department_abc/team_xyz/`. If not set, it returns all groups in the current AWS account.

### Output

* **Index** - A zero-based index that specifies which element of the current collection is being iterated.
