Show / Hide Table of Contents

Class WithoutPolicyUpdatesOptions

Options for the withoutPolicyUpdates() modifier of a Role.

Inheritance
object
WithoutPolicyUpdatesOptions
Implements
IWithoutPolicyUpdatesOptions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.IAM
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class WithoutPolicyUpdatesOptions : IWithoutPolicyUpdatesOptions
Syntax (vb)
Public Class WithoutPolicyUpdatesOptions 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()

Options for the withoutPolicyUpdates() modifier of a Role.

Properties

AddGrantsToResources

Add grants to resources instead of dropping them.

Constructors

WithoutPolicyUpdatesOptions()

Options for the withoutPolicyUpdates() modifier of a Role.

public WithoutPolicyUpdatesOptions()
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
            };

Properties

AddGrantsToResources

Add grants to resources instead of dropping them.

public bool? AddGrantsToResources { get; set; }
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

Implements

IWithoutPolicyUpdatesOptions
Back to top Generated by DocFX