Interface WithoutPolicyUpdatesOptions

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
WithoutPolicyUpdatesOptions.Jsii$Proxy

@Generated(value="jsii-pacmak/1.99.0 (build 8f757e4)", date="2024-06-13T18:49:19.943Z") @Stability(Stable) public interface WithoutPolicyUpdatesOptions extends software.amazon.jsii.JsiiSerializable
Options for the withoutPolicyUpdates() modifier of a Role.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.iam.*;
 WithoutPolicyUpdatesOptions withoutPolicyUpdatesOptions = WithoutPolicyUpdatesOptions.builder()
         .addGrantsToResources(false)
         .build();
 
  • 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()
      Returns:
      a WithoutPolicyUpdatesOptions.Builder of WithoutPolicyUpdatesOptions