class ScheduleGroupGrants
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Scheduler.ScheduleGroupGrants |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsscheduler#ScheduleGroupGrants |
Java | software.amazon.awscdk.services.scheduler.ScheduleGroupGrants |
Python | aws_cdk.aws_scheduler.ScheduleGroupGrants |
TypeScript | aws-cdk-lib » aws_scheduler » ScheduleGroupGrants |
Collection of grant methods for a IScheduleGroupRef.
Example
// 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_aws_scheduler } from 'aws-cdk-lib/interfaces';
declare const scheduleGroupRef: interfaces_aws_scheduler.IScheduleGroupRef;
const scheduleGroupGrants = scheduler.ScheduleGroupGrants.fromScheduleGroup(scheduleGroupRef);
Properties
| Name | Type | Description |
|---|---|---|
| resource | ISchedule |
resource
Type:
ISchedule
Methods
| Name | Description |
|---|---|
| delete | Grant delete schedule permission for schedules in this group to the given principal. |
| read | Grant list and get schedule permissions for schedules in this group to the given principal. |
| write | Grant create and update schedule permissions for schedules in this group to the given principal. |
| static from | Creates grants for ScheduleGroupGrants. |
deleteSchedules(grantee)
public deleteSchedules(grantee: IGrantable): Grant
Parameters
- grantee
IGrantable
Returns
Grant delete schedule permission for schedules in this group to the given principal.
readSchedules(grantee)
public readSchedules(grantee: IGrantable): Grant
Parameters
- grantee
IGrantable
Returns
Grant list and get schedule permissions for schedules in this group to the given principal.
writeSchedules(grantee)
public writeSchedules(grantee: IGrantable): Grant
Parameters
- grantee
IGrantable
Returns
Grant create and update schedule permissions for schedules in this group to the given principal.
static fromScheduleGroup(resource)
public static fromScheduleGroup(resource: IScheduleGroupRef): ScheduleGroupGrants
Parameters
- resource
IScheduleGroup Ref
Returns
Creates grants for ScheduleGroupGrants.

.NET
Go
Java
Python
TypeScript