27 lines
987 B
TypeScript
27 lines
987 B
TypeScript
import type * as scheduler from './scheduler.generated';
|
|
import * as iam from '../../aws-iam';
|
|
/**
|
|
* Collection of grant methods for a IScheduleGroupRef
|
|
*/
|
|
export declare class ScheduleGroupGrants {
|
|
/**
|
|
* Creates grants for ScheduleGroupGrants
|
|
*/
|
|
static fromScheduleGroup(resource: scheduler.IScheduleGroupRef): ScheduleGroupGrants;
|
|
protected readonly resource: scheduler.IScheduleGroupRef;
|
|
private constructor();
|
|
/**
|
|
* Grant list and get schedule permissions for schedules in this group to the given principal
|
|
*/
|
|
readSchedules(grantee: iam.IGrantable): iam.Grant;
|
|
/**
|
|
* Grant create and update schedule permissions for schedules in this group to the given principal
|
|
*/
|
|
writeSchedules(grantee: iam.IGrantable): iam.Grant;
|
|
/**
|
|
* Grant delete schedule permission for schedules in this group to the given principal
|
|
*/
|
|
deleteSchedules(grantee: iam.IGrantable): iam.Grant;
|
|
private arnForScheduleInGroup;
|
|
}
|