Class: Aws::Scheduler::Types::Target

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/types.rb

Overview

The schedule's target. EventBridge Scheduler supports templated target that invoke common API operations, as well as universal targets that you can customize to invoke over 6,000 API operations across more than 270 services. You can only specify one templated or universal target for a schedule.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resource Name (ARN) of the target.

Returns:

  • (String)


1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
# File 'gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/types.rb', line 1246

class Target < Struct.new(
  :arn,
  :dead_letter_config,
  :ecs_parameters,
  :event_bridge_parameters,
  :input,
  :kinesis_parameters,
  :retry_policy,
  :role_arn,
  :sage_maker_pipeline_parameters,
  :sqs_parameters)
  SENSITIVE = []
  include Aws::Structure
end

#dead_letter_configTypes::DeadLetterConfig

An object that contains 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.



1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
# File 'gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/types.rb', line 1246

class Target < Struct.new(
  :arn,
  :dead_letter_config,
  :ecs_parameters,
  :event_bridge_parameters,
  :input,
  :kinesis_parameters,
  :retry_policy,
  :role_arn,
  :sage_maker_pipeline_parameters,
  :sqs_parameters)
  SENSITIVE = []
  include Aws::Structure
end

#ecs_parametersTypes::EcsParameters

The templated target type for the Amazon ECS RunTask API operation.



1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
# File 'gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/types.rb', line 1246

class Target < Struct.new(
  :arn,
  :dead_letter_config,
  :ecs_parameters,
  :event_bridge_parameters,
  :input,
  :kinesis_parameters,
  :retry_policy,
  :role_arn,
  :sage_maker_pipeline_parameters,
  :sqs_parameters)
  SENSITIVE = []
  include Aws::Structure
end

#event_bridge_parametersTypes::EventBridgeParameters

The templated target type for the EventBridge PutEvents API operation.



1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
# File 'gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/types.rb', line 1246

class Target < Struct.new(
  :arn,
  :dead_letter_config,
  :ecs_parameters,
  :event_bridge_parameters,
  :input,
  :kinesis_parameters,
  :retry_policy,
  :role_arn,
  :sage_maker_pipeline_parameters,
  :sqs_parameters)
  SENSITIVE = []
  include Aws::Structure
end

#inputString

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. If you do not specify anything for this field, EventBridge Scheduler delivers a default notification to the target.

Returns:

  • (String)


1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
# File 'gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/types.rb', line 1246

class Target < Struct.new(
  :arn,
  :dead_letter_config,
  :ecs_parameters,
  :event_bridge_parameters,
  :input,
  :kinesis_parameters,
  :retry_policy,
  :role_arn,
  :sage_maker_pipeline_parameters,
  :sqs_parameters)
  SENSITIVE = []
  include Aws::Structure
end

#kinesis_parametersTypes::KinesisParameters

The templated target type for the Amazon Kinesis PutRecord API operation.



1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
# File 'gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/types.rb', line 1246

class Target < Struct.new(
  :arn,
  :dead_letter_config,
  :ecs_parameters,
  :event_bridge_parameters,
  :input,
  :kinesis_parameters,
  :retry_policy,
  :role_arn,
  :sage_maker_pipeline_parameters,
  :sqs_parameters)
  SENSITIVE = []
  include Aws::Structure
end

#retry_policyTypes::RetryPolicy

A RetryPolicy object that includes information about the retry policy settings, including the maximum age of an event, and the maximum number of times EventBridge Scheduler will try to deliver the event to a target.

Returns:



1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
# File 'gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/types.rb', line 1246

class Target < Struct.new(
  :arn,
  :dead_letter_config,
  :ecs_parameters,
  :event_bridge_parameters,
  :input,
  :kinesis_parameters,
  :retry_policy,
  :role_arn,
  :sage_maker_pipeline_parameters,
  :sqs_parameters)
  SENSITIVE = []
  include Aws::Structure
end

#role_arnString

The Amazon Resource Name (ARN) of the IAM role that EventBridge Scheduler will use for this target when the schedule is invoked.

Returns:

  • (String)


1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
# File 'gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/types.rb', line 1246

class Target < Struct.new(
  :arn,
  :dead_letter_config,
  :ecs_parameters,
  :event_bridge_parameters,
  :input,
  :kinesis_parameters,
  :retry_policy,
  :role_arn,
  :sage_maker_pipeline_parameters,
  :sqs_parameters)
  SENSITIVE = []
  include Aws::Structure
end

#sage_maker_pipeline_parametersTypes::SageMakerPipelineParameters

The templated target type for the Amazon SageMaker StartPipelineExecution API operation.



1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
# File 'gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/types.rb', line 1246

class Target < Struct.new(
  :arn,
  :dead_letter_config,
  :ecs_parameters,
  :event_bridge_parameters,
  :input,
  :kinesis_parameters,
  :retry_policy,
  :role_arn,
  :sage_maker_pipeline_parameters,
  :sqs_parameters)
  SENSITIVE = []
  include Aws::Structure
end

#sqs_parametersTypes::SqsParameters

The templated target type for the Amazon SQS SendMessage API operation. Contains the message group ID to use when the target is a FIFO queue. If you specify an Amazon SQS FIFO queue as a target, the queue must have content-based deduplication enabled. For more information, see Using the Amazon SQS message deduplication ID in the Amazon SQS Developer Guide.



1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
# File 'gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/types.rb', line 1246

class Target < Struct.new(
  :arn,
  :dead_letter_config,
  :ecs_parameters,
  :event_bridge_parameters,
  :input,
  :kinesis_parameters,
  :retry_policy,
  :role_arn,
  :sage_maker_pipeline_parameters,
  :sqs_parameters)
  SENSITIVE = []
  include Aws::Structure
end