# WithoutPolicyUpdatesOptions

Options for the `withoutPolicyUpdates()` modifier of a Role.

- Source: [`aws-iam/lib/role.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-iam/lib/role.ts#L928)

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iam as iam } from 'aws-cdk-lib';
const withoutPolicyUpdatesOptions: iam.WithoutPolicyUpdatesOptions = {
  addGrantsToResources: false,
};
```

## Properties

- `addGrantsToResources`: boolean = false — Add grants to resources instead of dropping them.

  If this is `false` or not specified, grant permissions added to this role are ignored.
  It is your own responsibility to make sure the role has the required permissions.

  If this is `true`, any grant permissions will be added to the resource instead.
