# For Each Object in Bucket

> For Each Object in Bucket activity that performs an activity or a series of activities on each object in a specified bucket in Amazon Web Services.

`UiPath.AmazonWebServices.Activities.ForEachObjectInBucket`

## Description

Performs an activity or a series of activities on each object in a specified bucket.

:::note
Use the s3Object in the body of the activity.
:::

## Project compatibility

Windows - Legacy | Windows | Cross-platform

## Configuration

### Common

* **DisplayName** - The display name of the activity.

### Filter

* **Prefix** - Limits the returned objects to key names that begin with the specified prefix.
* **TagKey** - Specifies the key of the tag needed in the filtering process.
* **TagValue** - Specifies the value of the tag needed in the filtering process.

### Input

* **Bucket** - Specifies the bucket on which the operation needs to be performed.
* **IncludeVersionsInfo** - Indicates if the output should include details about all versions of the object, in a versioning-enabled bucket. The default value is **False**.
* **SkipFolders** (Boolean) - Specifies whether to return the objects representing a folder.

### Misc

* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level.

### Output

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