You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Firehose::Types::ElasticsearchBufferingHints

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-firehose/lib/aws-sdk-firehose/types.rb

Overview

Note:

When making an API call, you may pass ElasticsearchBufferingHints data as a hash:

{
  interval_in_seconds: 1,
  size_in_m_bs: 1,
}

Describes the buffering to perform before delivering data to the Amazon ES destination.

Instance Attribute Summary collapse

Instance Attribute Details

#interval_in_secondsInteger

Buffer incoming data for the specified period of time, in seconds, before delivering it to the destination. The default value is 300 (5 minutes).

Returns:

  • (Integer)


624
625
626
627
628
# File 'gems/aws-sdk-firehose/lib/aws-sdk-firehose/types.rb', line 624

class ElasticsearchBufferingHints < Struct.new(
  :interval_in_seconds,
  :size_in_m_bs)
  include Aws::Structure
end

#size_in_m_bsInteger

Buffer incoming data to the specified size, in MBs, before delivering it to the destination. The default value is 5.

We recommend setting this parameter to a value greater than the amount of data you typically ingest into the delivery stream in 10 seconds. For example, if you typically ingest data at 1 MB/sec, the value should be 10 MB or higher.

Returns:

  • (Integer)


624
625
626
627
628
# File 'gems/aws-sdk-firehose/lib/aws-sdk-firehose/types.rb', line 624

class ElasticsearchBufferingHints < Struct.new(
  :interval_in_seconds,
  :size_in_m_bs)
  include Aws::Structure
end