UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

27 lines (26 loc) 987 B
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; }