Interface WithoutPolicyUpdatesOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
WithoutPolicyUpdatesOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:02.828Z")
@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();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forWithoutPolicyUpdatesOptions
static final class
An implementation forWithoutPolicyUpdatesOptions
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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
-