interface ScheduleGroupProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Scheduler.ScheduleGroupProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsscheduler#ScheduleGroupProps |
Java | software.amazon.awscdk.services.scheduler.ScheduleGroupProps |
Python | aws_cdk.aws_scheduler.ScheduleGroupProps |
TypeScript (source) | aws-cdk-lib » aws_scheduler » ScheduleGroupProps |
Properties for a Schedule Group.
Example
declare const target: targets.LambdaInvoke;
const scheduleGroup = new ScheduleGroup(this, "ScheduleGroup", {
scheduleGroupName: "MyScheduleGroup",
});
new Schedule(this, 'Schedule', {
schedule: ScheduleExpression.rate(Duration.minutes(10)),
target,
scheduleGroup,
});
Properties
| Name | Type | Description |
|---|---|---|
| removal | Removal | The removal policy for the group. |
| schedule | string | The name of the schedule group. |
removalPolicy?
Type:
Removal
(optional, default: RemovalPolicy.RETAIN)
The removal policy for the group.
If the group is removed also all schedules are removed.
scheduleGroupName?
Type:
string
(optional, default: A unique name will be generated)
The name of the schedule group.
Up to 64 letters (uppercase and lowercase), numbers, hyphens, underscores and dots are allowed.

.NET
Go
Java
Python
TypeScript (