Class: AWSCDK::Events::CfnEventBus::DeadLetterConfigProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
events/cfn_event_bus.rb

Overview

Configuration details of the Amazon SQS queue for EventBridge to use as a dead-letter queue (DLQ).

For more information, see Using dead-letter queues to process undelivered events in the EventBridge User Guide .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(arn: nil) ⇒ DeadLetterConfigProperty

Returns a new instance of DeadLetterConfigProperty.

Parameters:

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

    The ARN of the SQS queue specified as the target for the dead-letter queue.



656
657
658
659
# File 'events/cfn_event_bus.rb', line 656

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

Instance Attribute Details

#arnString? (readonly)

The ARN of the SQS queue specified as the target for the dead-letter queue.



665
666
667
# File 'events/cfn_event_bus.rb', line 665

def arn
  @arn
end

Class Method Details

.jsii_propertiesObject



667
668
669
670
671
# File 'events/cfn_event_bus.rb', line 667

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

Instance Method Details

#to_jsiiObject



673
674
675
676
677
678
679
# File 'events/cfn_event_bus.rb', line 673

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