Class: AWSCDK::Lambda::CfnFunction::DeadLetterConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Lambda::CfnFunction::DeadLetterConfigProperty
- Defined in:
- lambda/cfn_function.rb
Overview
The dead-letter queue for failed asynchronous invocations.
Instance Attribute Summary collapse
-
#target_arn ⇒ String?
readonly
The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(target_arn: nil) ⇒ DeadLetterConfigProperty
constructor
A new instance of DeadLetterConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(target_arn: nil) ⇒ DeadLetterConfigProperty
Returns a new instance of DeadLetterConfigProperty.
1115 1116 1117 1118 |
# File 'lambda/cfn_function.rb', line 1115 def initialize(target_arn: nil) @target_arn = target_arn Jsii::Type.check_type(@target_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "targetArn") unless @target_arn.nil? end |
Instance Attribute Details
#target_arn ⇒ String? (readonly)
The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic.
1124 1125 1126 |
# File 'lambda/cfn_function.rb', line 1124 def target_arn @target_arn end |
Class Method Details
.jsii_properties ⇒ Object
1126 1127 1128 1129 1130 |
# File 'lambda/cfn_function.rb', line 1126 def self.jsii_properties { :target_arn => "targetArn", } end |
Instance Method Details
#to_jsii ⇒ Object
1132 1133 1134 1135 1136 1137 1138 |
# File 'lambda/cfn_function.rb', line 1132 def to_jsii result = {} result.merge!({ "targetArn" => @target_arn, }) result.compact end |