Interface ScheduleTargetProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ScheduleTargetProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)",
date="2024-05-08T21:35:16.042Z")
@Stability(Experimental)
public interface ScheduleTargetProps
extends software.amazon.jsii.JsiiSerializable
Example:
LambdaInvoke target; Schedule oneTimeSchedule = Schedule.Builder.create(this, "Schedule") .schedule(ScheduleExpression.rate(Duration.hours(12))) .target(target) .targetOverrides(ScheduleTargetProps.builder() .input(ScheduleTargetInput.fromText("Overriding Target Input")) .maxEventAge(Duration.seconds(180)) .retryAttempts(5) .build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forScheduleTargetProps
static final class
An implementation forScheduleTargetProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic ScheduleTargetProps.Builder
builder()
default ScheduleTargetInput
getInput()
(experimental) The text, or well-formed JSON, passed to the target.default Duration
(experimental) The maximum amount of time, in seconds, to continue to make retry attempts.default Number
(experimental) The maximum number of retry attempts to make before the request fails.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInput
(experimental) The text, or well-formed JSON, passed to the target.If you are configuring a templated Lambda, AWS Step Functions, or Amazon EventBridge target, the input must be a well-formed JSON. For all other target types, a JSON is not required.
Default: - The target's input is used.
-
getMaxEventAge
(experimental) The maximum amount of time, in seconds, to continue to make retry attempts.Default: - The target's maximumEventAgeInSeconds is used.
-
getRetryAttempts
(experimental) The maximum number of retry attempts to make before the request fails.Default: - The target's maximumRetryAttempts is used.
-
builder
- Returns:
- a
ScheduleTargetProps.Builder
ofScheduleTargetProps
-