Class: AWSCDK::SAM::CfnFunction::DeadLetterQueueProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SAM::CfnFunction::DeadLetterQueueProperty
- Defined in:
- sam/cfn_function.rb
Overview
Instance Attribute Summary collapse
- #target_arn ⇒ String readonly
- #type ⇒ String readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(target_arn:, type:) ⇒ DeadLetterQueueProperty
constructor
A new instance of DeadLetterQueueProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(target_arn:, type:) ⇒ DeadLetterQueueProperty
Returns a new instance of DeadLetterQueueProperty.
1388 1389 1390 1391 1392 1393 |
# File 'sam/cfn_function.rb', line 1388 def initialize(target_arn:, type:) @target_arn = target_arn Jsii::Type.check_type(@target_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "targetArn") @type = type Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "type") end |
Instance Attribute Details
#target_arn ⇒ String (readonly)
1397 1398 1399 |
# File 'sam/cfn_function.rb', line 1397 def target_arn @target_arn end |
#type ⇒ String (readonly)
1400 1401 1402 |
# File 'sam/cfn_function.rb', line 1400 def type @type end |
Class Method Details
.jsii_properties ⇒ Object
1402 1403 1404 1405 1406 1407 |
# File 'sam/cfn_function.rb', line 1402 def self.jsii_properties { :target_arn => "targetArn", :type => "type", } end |
Instance Method Details
#to_jsii ⇒ Object
1409 1410 1411 1412 1413 1414 1415 1416 |
# File 'sam/cfn_function.rb', line 1409 def to_jsii result = {} result.merge!({ "targetArn" => @target_arn, "type" => @type, }) result.compact end |