Table of Contents

Class CommonGrantOptions

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

Basic options for a grant operation.

public class CommonGrantOptions : ICommonGrantOptions
Inheritance
CommonGrantOptions
Implements
Inherited Members

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;

            IGrantable grantable;

            var commonGrantOptions = new CommonGrantOptions {
                Actions = new [] { "actions" },
                Grantee = grantable,
                ResourceArns = new [] { "resourceArns" }
            };

Remarks

ExampleMetadata: fixture=_generated

Constructors

CommonGrantOptions()

public CommonGrantOptions()

Properties

Actions

The actions to grant.

public string[] Actions { get; set; }

Property Value

string[]

Grantee

The principal to grant to.

public IGrantable Grantee { get; set; }

Property Value

IGrantable

Remarks

Default: if principal is undefined, no work is done.

ResourceArns

The resource ARNs to grant to.

public string[] ResourceArns { get; set; }

Property Value

string[]