ScheduleTarget constructor

const ScheduleTarget({
  1. required Input<String> arn,
  2. Input<ScheduleTargetDeadLetterConfig?>? deadLetterConfig,
  3. Input<ScheduleTargetEcsParameters?>? ecsParameters,
  4. Input<ScheduleTargetEventbridgeParameters?>? eventbridgeParameters,
  5. Input<String?>? input,
  6. Input<ScheduleTargetKinesisParameters?>? kinesisParameters,
  7. Input<ScheduleTargetRetryPolicy?>? retryPolicy,
  8. required Input<String> roleArn,
  9. Input<ScheduleTargetSagemakerPipelineParameters?>? sagemakerPipelineParameters,
  10. Input<ScheduleTargetSqsParameters?>? sqsParameters,
})

Creates a new ScheduleTarget. arn ARN of the target of this schedule, such as a SQS queue or ECS cluster. For universal targets, this is a Service ARN specific to the target service. deadLetterConfig Information about an Amazon SQS queue that EventBridge Scheduler uses as a dead-letter queue for your schedule. If specified, EventBridge Scheduler delivers failed events that could not be successfully delivered to a target to the queue. Detailed below. ecsParameters Templated target type for the Amazon ECS RunTask API operation. Detailed below. eventbridgeParameters Templated target type for the EventBridge PutEvents API operation. Detailed below. input Text, or well-formed JSON, passed to the target. Read more in Universal target. kinesisParameters Templated target type for the Amazon Kinesis PutRecord API operation. Detailed below. retryPolicy Information about the retry policy settings. Detailed below. roleArn ARN of the IAM role that EventBridge Scheduler will use for this target when the schedule is invoked. Read more in Set up the execution role. sagemakerPipelineParameters Templated target type for the Amazon SageMaker AI StartPipelineExecution API operation. Detailed below. sqsParameters The templated target type for the Amazon SQS SendMessage API operation. Detailed below.

Implementation

const ScheduleTarget({
  required this.arn,
  this.deadLetterConfig,
  this.ecsParameters,
  this.eventbridgeParameters,
  this.input,
  this.kinesisParameters,
  this.retryPolicy,
  required this.roleArn,
  this.sagemakerPipelineParameters,
  this.sqsParameters,
});