# Remove Role From Instance Profile

> `UiPath.AmazonWebServices.Activities.RemoveRoleFromInstanceProfile`

`UiPath.AmazonWebServices.Activities.RemoveRoleFromInstanceProfile`

## Description

Removes the specified IAM role from the specified instance profile.

## Project compatibility

Windows - Legacy | Windows | Cross-platform

## Configuration

### Input

* **RoleName** - The name of the IAM role to remove.
* **InstanceProfileName** - The name of the instance profile from which the role is removed.

:::important
Make sure there are no Amazon EC2 instances running with the role you intend to remove from the instance profile. Removing the role might break any applications running on the instance.
:::
