Interface ScheduleProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ScheduleProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:24:11.885Z")
@Stability(Experimental)
public interface ScheduleProps
extends software.amazon.jsii.JsiiSerializable
(experimental) Construction properties for
Schedule
.
Example:
import software.amazon.awscdk.services.kinesisfirehose.alpha.*; IDeliveryStream deliveryStream; Map<String, String> payload = Map.of( "Data", "record"); Schedule.Builder.create(this, "Schedule") .schedule(ScheduleExpression.rate(Duration.minutes(60))) .target(KinesisDataFirehosePutRecord.Builder.create(deliveryStream) .input(ScheduleTargetInput.fromObject(payload)) .build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forScheduleProps
static final class
An implementation forScheduleProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic ScheduleProps.Builder
builder()
default String
(experimental) The description you specify for the schedule.default Boolean
(experimental) Indicates whether the schedule is enabled.default Instant
getEnd()
(experimental) The date, in UTC, before which the schedule can invoke its target.default IGroup
getGroup()
(experimental) The schedule's group.default IKey
getKey()
(experimental) The customer managed KMS key that EventBridge Scheduler will use to encrypt and decrypt your data.(experimental) The expression that defines when the schedule runs.default String
(experimental) The name of the schedule.default Instant
getStart()
(experimental) The date, in UTC, after which the schedule can begin invoking its target.(experimental) The schedule's target details.default TimeWindow
(experimental) A time window during which EventBridge Scheduler invokes the schedule.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSchedule
(experimental) The expression that defines when the schedule runs.Can be either a
at
,rate
orcron
expression. -
getTarget
(experimental) The schedule's target details. -
getDescription
(experimental) The description you specify for the schedule.Default: - no value
-
getEnabled
(experimental) Indicates whether the schedule is enabled.Default: true
-
getEnd
(experimental) The date, in UTC, before which the schedule can invoke its target.EventBridge Scheduler ignores end for one-time schedules.
Default: - no value
-
getGroup
(experimental) The schedule's group.Default: - By default a schedule will be associated with the `default` group.
-
getKey
(experimental) 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.
-
getScheduleName
(experimental) 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
(experimental) 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
(experimental) A time window during which EventBridge Scheduler invokes the schedule.Default: TimeWindow.off()
- See Also:
-
builder
- Returns:
- a
ScheduleProps.Builder
ofScheduleProps
-