Class: AWSCDK::KinesisFirehose::CfnDeliveryStream::SnowflakeRetryOptionsProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::KinesisFirehose::CfnDeliveryStream::SnowflakeRetryOptionsProperty
- Defined in:
- kinesis_firehose/cfn_delivery_stream.rb
Overview
Specify how long Firehose retries sending data to the New Relic HTTP endpoint.
After sending data, Firehose first waits for an acknowledgment from the HTTP endpoint. If an error occurs or the acknowledgment doesn’t arrive within the acknowledgment timeout period, Firehose starts the retry duration counter. It keeps retrying until the retry duration expires. After that, Firehose considers it a data delivery failure and backs up the data to your Amazon S3 bucket. Every time that Firehose sends data to the HTTP endpoint (either the initial attempt or a retry), it restarts the acknowledgement timeout counter and waits for an acknowledgement from the HTTP endpoint. Even if the retry duration expires, Firehose still waits for the acknowledgment until it receives it or the acknowledgement timeout period is reached. If the acknowledgment times out, Firehose determines whether there's time left in the retry counter. If there is time left, it retries again and repeats the logic until it receives an acknowledgment or determines that the retry time has expired. If you don't want Firehose to retry sending data, set this value to 0.
Instance Attribute Summary collapse
-
#duration_in_seconds ⇒ Numeric?
readonly
the time period where Firehose will retry sending data to the chosen HTTP endpoint.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(duration_in_seconds: nil) ⇒ SnowflakeRetryOptionsProperty
constructor
A new instance of SnowflakeRetryOptionsProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(duration_in_seconds: nil) ⇒ SnowflakeRetryOptionsProperty
Returns a new instance of SnowflakeRetryOptionsProperty.
4793 4794 4795 4796 |
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 4793 def initialize(duration_in_seconds: nil) @duration_in_seconds = duration_in_seconds Jsii::Type.check_type(@duration_in_seconds, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "durationInSeconds") unless @duration_in_seconds.nil? end |
Instance Attribute Details
#duration_in_seconds ⇒ Numeric? (readonly)
the time period where Firehose will retry sending data to the chosen HTTP endpoint.
4802 4803 4804 |
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 4802 def duration_in_seconds @duration_in_seconds end |
Class Method Details
.jsii_properties ⇒ Object
4804 4805 4806 4807 4808 |
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 4804 def self.jsii_properties { :duration_in_seconds => "durationInSeconds", } end |
Instance Method Details
#to_jsii ⇒ Object
4810 4811 4812 4813 4814 4815 4816 |
# File 'kinesis_firehose/cfn_delivery_stream.rb', line 4810 def to_jsii result = {} result.merge!({ "durationInSeconds" => @duration_in_seconds, }) result.compact end |