# Update Role

> `UiPath.AmazonWebServices.Activities.UpdateRole`

`UiPath.AmazonWebServices.Activities.UpdateRole`

## Description

Updates the specified IAM role.

## Project compatibility

Windows - Legacy | Windows | Cross-platform

## Configuration

### Input

* **Name** - The name of the IAM role to update.

### Properties

* **NewDescription** - The new description for the IAM role. If not set, the existing value for this property remains unchanged.
* **NewMaxSessionDuration** - The new maximum session duration (in seconds) for the IAM role. If not set, the existing value for this property remains unchanged.

### Permissions Boundary

* **DeletePermissionsBoundary** - Indicates whether to delete the permissions boundary for the IAM user.
* **NewPermissionsBoundaryArn** - The new ARN of the policy used to set the permissions boundary for the IAM role. If not set, the existing value for this property remains unchanged.
  :::important
  Only one of these two fields can have a value.
  :::

### Tags

* **TagsToRemove** - The keys of the tags to remove from the IAM role.
* **TagsToAdd** - The tags to add or update. It contains two columns of type `String`, the first one representing the key, and the second its value.

### Output

* **Role** - The details about the updated IAM role.
