Skip to content
v2.274.0

ScheduleGroupGrants Facade ​

Collection of grant methods for a IScheduleGroupRef.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_scheduler as scheduler } from 'aws-cdk-lib';
import { aws_scheduler as interfaces_scheduler } from 'aws-cdk-lib/interfaces';

declare const scheduleGroupRef: interfaces_scheduler.IScheduleGroupRef;
const scheduleGroupGrants = scheduler.ScheduleGroupGrants.fromScheduleGroup(scheduleGroupRef);

Methods ​

deleteSchedules(grantee: IGrantable): Grantdef delete_schedules(self, grantee: IGrantable) -> Grantpublic Grant deleteSchedules(IGrantable grantee)public Grant DeleteSchedules(IGrantable grantee)func DeleteSchedules(Grantee IGrantable) Grant#
Grant delete schedule permission for schedules in this group to the given principal.
fromScheduleGroup(resource: IScheduleGroupRef): ScheduleGroupGrants // chainable@staticmethod def from_schedule_group(resource: IScheduleGroupRef) -> ScheduleGroupGrantspublic static ScheduleGroupGrants fromScheduleGroup(IScheduleGroupRef resource)public static ScheduleGroupGrants FromScheduleGroup(IScheduleGroupRef resource)func FromScheduleGroup(Resource IScheduleGroupRef) ScheduleGroupGrantsstatic#
Creates grants for ScheduleGroupGrants.
readSchedules(grantee: IGrantable): Grantdef read_schedules(self, grantee: IGrantable) -> Grantpublic Grant readSchedules(IGrantable grantee)public Grant ReadSchedules(IGrantable grantee)func ReadSchedules(Grantee IGrantable) Grant#
Grant list and get schedule permissions for schedules in this group to the given principal.
writeSchedules(grantee: IGrantable): Grantdef write_schedules(self, grantee: IGrantable) -> Grantpublic Grant writeSchedules(IGrantable grantee)public Grant WriteSchedules(IGrantable grantee)func WriteSchedules(Grantee IGrantable) Grant#
Grant create and update schedule permissions for schedules in this group to the given principal.