Class: AWSCDK::Pipes::CfnPipe::DeadLetterConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Pipes::CfnPipe::DeadLetterConfigProperty
- Defined in:
- pipes/cfn_pipe.rb
Overview
A DeadLetterConfig object that contains information about a dead-letter queue configuration.
Instance Attribute Summary collapse
-
#arn ⇒ String?
readonly
The ARN of the specified target for the dead-letter queue.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(arn: nil) ⇒ DeadLetterConfigProperty
constructor
A new instance of DeadLetterConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(arn: nil) ⇒ DeadLetterConfigProperty
Returns a new instance of DeadLetterConfigProperty.
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
#arn ⇒ String? (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_properties ⇒ Object
1204 1205 1206 1207 1208 |
# File 'pipes/cfn_pipe.rb', line 1204 def self.jsii_properties { :arn => "arn", } end |
Instance Method Details
#to_jsii ⇒ Object
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 |