Interface ICommonGrantOptions
Basic options for a grant operation.
public interface ICommonGrantOptions
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
Properties
Actions
The actions to grant.
string[] Actions { get; }
Property Value
- 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
- string[]