Interface WithoutPolicyUpdatesOptions

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.92.0 (build db7f27d)", date="2023-12-06T04:49:39.602Z") @Stability(Stable) public interface WithoutPolicyUpdatesOptions extends
Options for the withoutPolicyUpdates() modifier of a Role.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 WithoutPolicyUpdatesOptions withoutPolicyUpdatesOptions = WithoutPolicyUpdatesOptions.builder()
  • Method Details

    • getAddGrantsToResources

      @Stability(Stable) @Nullable default Boolean getAddGrantsToResources()
      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.

      Default: false

    • builder

      @Stability(Stable) static WithoutPolicyUpdatesOptions.Builder builder()
      a WithoutPolicyUpdatesOptions.Builder of WithoutPolicyUpdatesOptions