Class: AWSCDK::Scheduler::CfnSchedule::SQSParametersProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
scheduler/cfn_schedule.rb

Overview

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 .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message_group_id: nil) ⇒ SQSParametersProperty

Returns a new instance of SQSParametersProperty.

Parameters:

  • message_group_id (String, nil) (defaults to: nil)

    The FIFO message group ID to use as the target.



1362
1363
1364
1365
# File 'scheduler/cfn_schedule.rb', line 1362

def initialize(message_group_id: nil)
  @message_group_id = message_group_id
  Jsii::Type.check_type(@message_group_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "messageGroupId") unless @message_group_id.nil?
end

Instance Attribute Details

#message_group_idString? (readonly)

The FIFO message group ID to use as the target.



1371
1372
1373
# File 'scheduler/cfn_schedule.rb', line 1371

def message_group_id
  @message_group_id
end

Class Method Details

.jsii_propertiesObject



1373
1374
1375
1376
1377
# File 'scheduler/cfn_schedule.rb', line 1373

def self.jsii_properties
  {
    :message_group_id => "messageGroupId",
  }
end

Instance Method Details

#to_jsiiObject



1379
1380
1381
1382
1383
1384
1385
# File 'scheduler/cfn_schedule.rb', line 1379

def to_jsii
  result = {}
  result.merge!({
    "messageGroupId" => @message_group_id,
  })
  result.compact
end