Class: AWSCDK::SAM::CfnFunction::DeadLetterQueueProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
sam/cfn_function.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(target_arn:, type:) ⇒ DeadLetterQueueProperty

Returns a new instance of DeadLetterQueueProperty.

Parameters:

  • target_arn (String)
  • type (String)


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_arnString (readonly)



1397
1398
1399
# File 'sam/cfn_function.rb', line 1397

def target_arn
  @target_arn
end

#typeString (readonly)



1400
1401
1402
# File 'sam/cfn_function.rb', line 1400

def type
  @type
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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