Interface ScheduleProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ScheduleProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-10-14T12:28:20.345Z")
@Stability(Stable)
public interface ScheduleProps
extends software.amazon.jsii.JsiiSerializable
Construction properties for
Schedule.
Example:
import software.amazon.awscdk.services.kinesisfirehose.*;
IDeliveryStream deliveryStream;
Map<String, String> payload = Map.of(
"Data", "record");
Schedule.Builder.create(this, "Schedule")
.schedule(ScheduleExpression.rate(Duration.minutes(60)))
.target(FirehosePutRecord.Builder.create(deliveryStream)
.input(ScheduleTargetInput.fromObject(payload))
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forSchedulePropsstatic final classAn implementation forScheduleProps -
Method Summary
Modifier and TypeMethodDescriptionstatic ScheduleProps.Builderbuilder()default StringThe description you specify for the schedule.default BooleanIndicates whether the schedule is enabled.default InstantgetEnd()The date, in UTC, before which the schedule can invoke its target.default IKeygetKey()The customer managed KMS key that EventBridge Scheduler will use to encrypt and decrypt your data.The expression that defines when the schedule runs.default IScheduleGroupThe schedule's group.default StringThe name of the schedule.default InstantgetStart()The date, in UTC, after which the schedule can begin invoking its target.The schedule's target details.default TimeWindowA time window during which EventBridge Scheduler invokes the schedule.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSchedule
The expression that defines when the schedule runs.Can be either a
at,rateorcronexpression. -
getTarget
The schedule's target details. -
getDescription
The description you specify for the schedule.Default: - no value
-
getEnabled
Indicates whether the schedule is enabled.Default: true
-
getEnd
The date, in UTC, before which the schedule can invoke its target.EventBridge Scheduler ignores end for one-time schedules.
Default: - no value
-
getKey
The customer managed KMS key that EventBridge Scheduler will use to encrypt and decrypt your data.Default: - All events in Scheduler are encrypted with a key that AWS owns and manages.
-
getScheduleGroup
The schedule's group.Default: - By default a schedule will be associated with the `default` group.
-
getScheduleName
The name of the schedule.Up to 64 letters (uppercase and lowercase), numbers, hyphens, underscores and dots are allowed.
Default: - A unique name will be generated
-
getStart
The date, in UTC, after which the schedule can begin invoking its target.EventBridge Scheduler ignores start for one-time schedules.
Default: - no value
-
getTimeWindow
A time window during which EventBridge Scheduler invokes the schedule.Default: TimeWindow.off()
- See Also:
-
builder
- Returns:
- a
ScheduleProps.BuilderofScheduleProps
-