Class: AWSCDK::Events::CfnRule::SQSParametersProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Events::CfnRule::SQSParametersProperty
- Defined in:
- events/cfn_rule.rb
Overview
The custom parameters for EventBridge to use for a target that is an Amazon SQS fair or FIFO queue.
Instance Attribute Summary collapse
-
#message_group_id ⇒ String
readonly
The ID of the message group to use as the target.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(message_group_id:) ⇒ SQSParametersProperty
constructor
A new instance of SQSParametersProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(message_group_id:) ⇒ SQSParametersProperty
Returns a new instance of SQSParametersProperty.
1798 1799 1800 1801 |
# File 'events/cfn_rule.rb', line 1798 def initialize(message_group_id:) @message_group_id = Jsii::Type.check_type(@message_group_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "messageGroupId") end |
Instance Attribute Details
#message_group_id ⇒ String (readonly)
The ID of the message group to use as the target.
1807 1808 1809 |
# File 'events/cfn_rule.rb', line 1807 def @message_group_id end |
Class Method Details
.jsii_properties ⇒ Object
1809 1810 1811 1812 1813 |
# File 'events/cfn_rule.rb', line 1809 def self.jsii_properties { :message_group_id => "messageGroupId", } end |
Instance Method Details
#to_jsii ⇒ Object
1815 1816 1817 1818 1819 1820 1821 |
# File 'events/cfn_rule.rb', line 1815 def to_jsii result = {} result.merge!({ "messageGroupId" => @message_group_id, }) result.compact end |