Class WithoutPolicyUpdatesOptions
Options for the withoutPolicyUpdates()
modifier of a Role.
Inheritance
System.Object
WithoutPolicyUpdatesOptions
Implements
Namespace: Amazon.CDK.AWS.IAM
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class WithoutPolicyUpdatesOptions : Object, IWithoutPolicyUpdatesOptions
Syntax (vb)
Public Class WithoutPolicyUpdatesOptions
Inherits Object
Implements IWithoutPolicyUpdatesOptions
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IAM;
var withoutPolicyUpdatesOptions = new WithoutPolicyUpdatesOptions {
AddGrantsToResources = false
};
Synopsis
Constructors
WithoutPolicyUpdatesOptions() |
Properties
AddGrantsToResources | Add grants to resources instead of dropping them. |
Constructors
WithoutPolicyUpdatesOptions()
public WithoutPolicyUpdatesOptions()
Properties
AddGrantsToResources
Add grants to resources instead of dropping them.
public Nullable<bool> AddGrantsToResources { get; set; }
Property Value
System.Nullable<System.Boolean>
Remarks
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