Interface IGrantOnPrincipalOptions
Options for a grant operation that only applies to principals.
Inherited Members
Namespace: Amazon.CDK.AWS.IAM
Assembly: Amazon.CDK.AWS.IAM.dll
Syntax (csharp)
public interface IGrantOnPrincipalOptions : ICommonGrantOptions
Syntax (vb)
Public Interface IGrantOnPrincipalOptions
Inherits 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;
using Amazon.CDK;
Construct construct;
IGrantable grantable;
var grantOnPrincipalOptions = new GrantOnPrincipalOptions {
Actions = new [] { "actions" },
Grantee = grantable,
ResourceArns = new [] { "resourceArns" },
// the properties below are optional
Scope = construct
};
Synopsis
Properties
Scope | Construct to report warnings on in case grant could not be registered. |
Properties
Scope
Construct to report warnings on in case grant could not be registered.
virtual IConstruct Scope { get; }
Property Value
Remarks
Default: - the construct in which this construct is defined