Interface ICommonGrantOptions
Basic options for a grant operation.
Namespace: Amazon.CDK.AWS.IAM
Assembly: Amazon.CDK.AWS.IAM.dll
Syntax (csharp)
public interface ICommonGrantOptions
Syntax (vb)
Public Interface ICommonGrantOptions
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;
IGrantable grantable;
var commonGrantOptions = new CommonGrantOptions {
Actions = new [] { "actions" },
Grantee = grantable,
ResourceArns = new [] { "resourceArns" }
};
Synopsis
Properties
Actions | The actions to grant. |
Grantee | The principal to grant to. |
ResourceArns | The resource ARNs to grant to. |
Properties
Actions
The actions to grant.
string[] Actions { get; }
Property Value
System.String[]
Grantee
The principal to grant to.
IGrantable Grantee { get; }
Property Value
Remarks
Default: if principal is undefined, no work is done.
ResourceArns
The resource ARNs to grant to.
string[] ResourceArns { get; }
Property Value
System.String[]