Class EventBridgeSchedulerTarget.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.tasks.EventBridgeSchedulerTarget.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EventBridgeSchedulerTarget>
- Enclosing class:
EventBridgeSchedulerTarget
@Stability(Stable)
public static final class EventBridgeSchedulerTarget.Builder
extends Object
implements software.amazon.jsii.Builder<EventBridgeSchedulerTarget>
A fluent builder for
EventBridgeSchedulerTarget
.-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the target.build()
create()
deadLetterQueue
(IQueue deadLetterQueue) Dead letter queue for failed events.The input to the target.retryPolicy
(RetryPolicy retryPolicy) The retry policy settings.The IAM role that EventBridge Scheduler will use for this target when the schedule is invoked.
-
Method Details
-
create
- Returns:
- a new instance of
EventBridgeSchedulerTarget.Builder
.
-
arn
The Amazon Resource Name (ARN) of the target.- Parameters:
arn
- The Amazon Resource Name (ARN) of the target. This parameter is required.- Returns:
this
- See Also:
-
role
The IAM role that EventBridge Scheduler will use for this target when the schedule is invoked.- Parameters:
role
- The IAM role that EventBridge Scheduler will use for this target when the schedule is invoked. This parameter is required.- Returns:
this
-
deadLetterQueue
@Stability(Stable) public EventBridgeSchedulerTarget.Builder deadLetterQueue(IQueue deadLetterQueue) Dead letter queue for failed events.Default: - No dead letter queue
- Parameters:
deadLetterQueue
- Dead letter queue for failed events. This parameter is required.- Returns:
this
-
input
The input to the target.Default: - EventBridge Scheduler delivers a default notification to the target
- Parameters:
input
- The input to the target. This parameter is required.- Returns:
this
-
retryPolicy
The retry policy settings.Default: - Do not retry
- Parameters:
retryPolicy
- The retry policy settings. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<EventBridgeSchedulerTarget>
- Returns:
- a newly built instance of
EventBridgeSchedulerTarget
.
-