Class: AWSCDK::Scheduler::CfnSchedule::SQSParametersProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Scheduler::CfnSchedule::SQSParametersProperty
- 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
-
#message_group_id ⇒ String?
readonly
The FIFO message group ID to use as the target.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(message_group_id: nil) ⇒ SQSParametersProperty
constructor
A new instance of SQSParametersProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(message_group_id: nil) ⇒ SQSParametersProperty
Returns a new instance of SQSParametersProperty.
1362 1363 1364 1365 |
# File 'scheduler/cfn_schedule.rb', line 1362 def initialize(message_group_id: nil) @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_id ⇒ String? (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 end |
Class Method Details
.jsii_properties ⇒ Object
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_jsii ⇒ Object
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 |