# Add/Remove Inline Policy

> Add/Remove Inline Policy activity that adds, updates or removes the specified inline policy document to/from the specified IAM identity (group, role, or user).

`UiPath.AmazonWebServices.Activities.AddRemoveInlinePolicy`

## Description

Adds, updates or removes the specified inline policy document to/from the specified IAM identity (group, role, or user).

## Project compatibility

Windows - Legacy | Windows | Cross-platform

## Configuration

### Input

* **Action** - The action to perform.

### IAM Identity

* **Name** - The name of the IAM group, role, or user on which the action is performed.
* **Type** - The IAM identity type

### Inline Policy

* **PolicyName** - The name of the inline policy document to add, update, or remove.
* **PolicyDocument** - The policy document to add or update. It must have a value when Action is set to `Add`.
