interface CommonGrantOptions
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.IAM.CommonGrantOptions |
Java | software.amazon.awscdk.services.iam.CommonGrantOptions |
Python | aws_cdk.aws_iam.CommonGrantOptions |
TypeScript (source) | @aws-cdk/aws-iam » CommonGrantOptions |
Basic options for a grant operation.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as iam from '@aws-cdk/aws-iam';
declare const grantable: iam.IGrantable;
const commonGrantOptions: iam.CommonGrantOptions = {
actions: ['actions'],
grantee: grantable,
resourceArns: ['resourceArns'],
};
Properties
Name | Type | Description |
---|---|---|
actions | string[] | The actions to grant. |
grantee | IGrantable | The principal to grant to. |
resource | string[] | The resource ARNs to grant to. |
actions
Type:
string[]
The actions to grant.
grantee
Type:
IGrantable
The principal to grant to.
resourceArns
Type:
string[]
The resource ARNs to grant to.