ScheduleGroupProps Struct
Properties for a Schedule Group.
Example
ts
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
removalPolicyRemovalPolicyremoval_policyRemovalPolicyremovalPolicyRemovalPolicyRemovalPolicyRemovalPolicyRemovalPolicyRemovalPolicy= RemovalPolicy.RETAIN#The removal policy for the group.
If the group is removed also all schedules are removed.
scheduleGroupNamestringschedule_group_namestrscheduleGroupNameStringScheduleGroupNamestringScheduleGroupName*string= 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.