Class: AWSCDK::Scheduler::CfnSchedule::DeadLetterConfigProperty

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

Overview

An object that contains information about an Amazon SQS queue that EventBridge Scheduler uses as a dead-letter queue for your schedule.

If specified, EventBridge Scheduler delivers failed events that could not be successfully delivered to a target to the queue.

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 Amazon Resource Name (ARN) of the SQS queue specified as the destination for the dead-letter queue.



769
770
771
772
# File 'scheduler/cfn_schedule.rb', line 769

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 Amazon Resource Name (ARN) of the SQS queue specified as the destination for the dead-letter queue.



778
779
780
# File 'scheduler/cfn_schedule.rb', line 778

def arn
  @arn
end

Class Method Details

.jsii_propertiesObject



780
781
782
783
784
# File 'scheduler/cfn_schedule.rb', line 780

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

Instance Method Details

#to_jsiiObject



786
787
788
789
790
791
792
# File 'scheduler/cfn_schedule.rb', line 786

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