Interface ScheduleGroupProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ScheduleGroupProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-10-14T12:28:20.344Z")
@Stability(Stable)
public interface ScheduleGroupProps
extends software.amazon.jsii.JsiiSerializable
Properties for a Schedule Group.
Example:
LambdaInvoke target;
ScheduleGroup scheduleGroup = ScheduleGroup.Builder.create(this, "ScheduleGroup")
.scheduleGroupName("MyScheduleGroup")
.build();
Schedule.Builder.create(this, "Schedule")
.schedule(ScheduleExpression.rate(Duration.minutes(10)))
.target(target)
.scheduleGroup(scheduleGroup)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forScheduleGroupPropsstatic final classAn implementation forScheduleGroupProps -
Method Summary
Modifier and TypeMethodDescriptionstatic ScheduleGroupProps.Builderbuilder()default RemovalPolicyThe removal policy for the group.default StringThe name of the schedule group.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRemovalPolicy
The removal policy for the group.If the group is removed also all schedules are removed.
Default: RemovalPolicy.RETAIN
-
getScheduleGroupName
The name of the schedule group.Up to 64 letters (uppercase and lowercase), numbers, hyphens, underscores and dots are allowed.
Default: - A unique name will be generated
-
builder
- Returns:
- a
ScheduleGroupProps.BuilderofScheduleGroupProps
-