Interface WithoutPolicyUpdatesOptions

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.99.0 (build 8f757e4)", date="2024-06-13T18:49:19.943Z") @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