Module: AWSCDK::Lambda::IEventSourceDlq
- Included in:
- AWSCDK::LambdaEventSources::KafkaDlq, AWSCDK::LambdaEventSources::S3OnFailureDestination, AWSCDK::LambdaEventSources::SNSDlq, AWSCDK::LambdaEventSources::SQSDlq
- Defined in:
- lambda/i_event_source_dlq.rb
Overview
A DLQ for an event source.
Class Method Summary collapse
Instance Method Summary collapse
-
#bind(target, target_handler) ⇒ AWSCDK::Lambda::DlqDestinationConfig
Returns the DLQ destination config of the DLQ.
Class Method Details
.jsii_overridable_methods ⇒ Object
18 19 20 21 22 |
# File 'lambda/i_event_source_dlq.rb', line 18 def self.jsii_overridable_methods { :bind => { kind: :method, name: "bind", is_optional: false }, } end |
Instance Method Details
#bind(target, target_handler) ⇒ AWSCDK::Lambda::DlqDestinationConfig
Returns the DLQ destination config of the DLQ.
12 13 14 15 16 |
# File 'lambda/i_event_source_dlq.rb', line 12 def bind(target, target_handler) Jsii::Type.check_type(target, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfbGFtYmRhLklFdmVudFNvdXJjZU1hcHBpbmcifQ==")), "target") Jsii::Type.check_type(target_handler, JSON.parse(Base64.strict_decode64("eyJmcW4iOiJhd3MtY2RrLWxpYi5hd3NfbGFtYmRhLklGdW5jdGlvbiJ9")), "targetHandler") jsii_call_method("bind", [target, target_handler]) end |