Class: AWSCDK::Events::CfnRule::DeadLetterConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Events::CfnRule::DeadLetterConfigProperty
- Defined in:
- events/cfn_rule.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
-
#arn ⇒ String?
readonly
The ARN of the SQS queue specified as the target 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.
954 955 956 957 |
# File 'events/cfn_rule.rb', line 954 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 ARN of the SQS queue specified as the target for the dead-letter queue.
963 964 965 |
# File 'events/cfn_rule.rb', line 963 def arn @arn end |
Class Method Details
.jsii_properties ⇒ Object
965 966 967 968 969 |
# File 'events/cfn_rule.rb', line 965 def self.jsii_properties { :arn => "arn", } end |
Instance Method Details
#to_jsii ⇒ Object
971 972 973 974 975 976 977 |
# File 'events/cfn_rule.rb', line 971 def to_jsii result = {} result.merge!({ "arn" => @arn, }) result.compact end |