ScheduleGroupGrants

class aws_cdk.aws_scheduler.ScheduleGroupGrants(*args: Any, **kwargs)

Bases: object

Collection of grant methods for a IScheduleGroupRef.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_scheduler as scheduler
from aws_cdk.interfaces import aws_scheduler as interfaces_aws_scheduler

# schedule_group_ref: interfaces_aws_scheduler.IScheduleGroupRef

schedule_group_grants = scheduler.ScheduleGroupGrants.from_schedule_group(schedule_group_ref)

Methods

delete_schedules(grantee)

Grant delete schedule permission for schedules in this group to the given principal.

Parameters:

grantee (IGrantable)

Return type:

Grant

read_schedules(grantee)

Grant list and get schedule permissions for schedules in this group to the given principal.

Parameters:

grantee (IGrantable)

Return type:

Grant

write_schedules(grantee)

Grant create and update schedule permissions for schedules in this group to the given principal.

Parameters:

grantee (IGrantable)

Return type:

Grant

Static Methods

classmethod from_schedule_group(resource)

Creates grants for ScheduleGroupGrants.

Parameters:

resource (IScheduleGroupRef)

Return type:

ScheduleGroupGrants