Class: AWSCDK::Scheduler::CfnSchedule::DeadLetterConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Scheduler::CfnSchedule::DeadLetterConfigProperty
- 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
-
#arn ⇒ String?
readonly
The Amazon Resource Name (ARN) of the SQS queue specified as the destination for the dead-letter queue.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(arn: nil) ⇒ DeadLetterConfigProperty
constructor
A new instance of DeadLetterConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(arn: nil) ⇒ DeadLetterConfigProperty
Returns a new instance of DeadLetterConfigProperty.
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
#arn ⇒ String? (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_properties ⇒ Object
780 781 782 783 784 |
# File 'scheduler/cfn_schedule.rb', line 780 def self.jsii_properties { :arn => "arn", } end |
Instance Method Details
#to_jsii ⇒ Object
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 |