Table of Contents

Interface IWithoutPolicyUpdatesOptions

Namespace
Amazon.CDK.AWS.IAM
Assembly
Amazon.CDK.AWS.IAM.dll

Options for the withoutPolicyUpdates() modifier of a Role.

public interface IWithoutPolicyUpdatesOptions

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
            };

Remarks

ExampleMetadata: fixture=_generated

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