Class: AWSCDK::Events::CfnRule::SQSParametersProperty

Inherits:
Jsii::Struct
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message_group_id:) ⇒ SQSParametersProperty

Returns a new instance of SQSParametersProperty.

Parameters:

  • message_group_id (String)

    The ID of the message group to use as the target.



1798
1799
1800
1801
# File 'events/cfn_rule.rb', line 1798

def initialize(message_group_id:)
  @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_idString (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
  @message_group_id
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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