Class: Aws::CloudWatchEvents::Types::PutTargetsRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudwatchevents/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#event_bus_nameString

The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.

Returns:

  • (String)


3234
3235
3236
3237
3238
3239
3240
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 3234

class PutTargetsRequest < Struct.new(
  :rule,
  :event_bus_name,
  :targets)
  SENSITIVE = []
  include Aws::Structure
end

#ruleString

The name of the rule.

Returns:

  • (String)


3234
3235
3236
3237
3238
3239
3240
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 3234

class PutTargetsRequest < Struct.new(
  :rule,
  :event_bus_name,
  :targets)
  SENSITIVE = []
  include Aws::Structure
end

#targetsArray<Types::Target>

The targets to update or add to the rule.

Returns:



3234
3235
3236
3237
3238
3239
3240
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 3234

class PutTargetsRequest < Struct.new(
  :rule,
  :event_bus_name,
  :targets)
  SENSITIVE = []
  include Aws::Structure
end