Interface IWithoutPolicyUpdatesOptions
Options for the withoutPolicyUpdates() modifier of a Role.
Namespace: Amazon.CDK.AWS.IAM
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IWithoutPolicyUpdatesOptions
Syntax (vb)
Public Interface 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
Properties
| AddGrantsToResources | Add grants to resources instead of dropping them. |
Properties
AddGrantsToResources
Add grants to resources instead of dropping them.
bool? AddGrantsToResources { get; }
Property Value
bool?
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