Class: AWSCDK::Pipes::CfnPipe::DeadLetterConfigProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
pipes/cfn_pipe.rb

Overview

A DeadLetterConfig object that contains information about a dead-letter queue configuration.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(arn: nil) ⇒ DeadLetterConfigProperty

Returns a new instance of DeadLetterConfigProperty.

Parameters:

  • arn (String, nil) (defaults to: nil)

    The ARN of the specified target for the dead-letter queue.



1191
1192
1193
1194
# File 'pipes/cfn_pipe.rb', line 1191

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

#arnString? (readonly)

The ARN of the specified target for the dead-letter queue.

For Amazon Kinesis stream and Amazon DynamoDB stream sources, specify either an Amazon SNS topic or Amazon SQS queue ARN.



1202
1203
1204
# File 'pipes/cfn_pipe.rb', line 1202

def arn
  @arn
end

Class Method Details

.jsii_propertiesObject



1204
1205
1206
1207
1208
# File 'pipes/cfn_pipe.rb', line 1204

def self.jsii_properties
  {
    :arn => "arn",
  }
end

Instance Method Details

#to_jsiiObject



1210
1211
1212
1213
1214
1215
1216
# File 'pipes/cfn_pipe.rb', line 1210

def to_jsii
  result = {}
  result.merge!({
    "arn" => @arn,
  })
  result.compact
end