HttpBufferingHints
- class aws_cdk.aws_kinesisfirehose.HttpBufferingHints(*, interval=None, size=None)
Bases:
objectThe buffering options that can be used before data is delivered to the specified destination.
- Parameters:
interval (
Optional[Duration]) – The higher interval allows more time to collect data and the size of data may be bigger. The lower interval sends the data more frequently and may be more advantageous when looking at shorter cycles of data activity. Default: 300 secondssize (
Optional[Size]) – The higher buffer size may be lower in cost with higher latency. The lower buffer size will be faster in delivery with higher cost and less latency. Default: 5 MiB
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk as cdk from aws_cdk import aws_kinesisfirehose as kinesisfirehose # size: cdk.Size http_buffering_hints = kinesisfirehose.HttpBufferingHints( interval=cdk.Duration.minutes(30), size=size )
Attributes
- interval
The higher interval allows more time to collect data and the size of data may be bigger.
The lower interval sends the data more frequently and may be more advantageous when looking at shorter cycles of data activity.
- Default:
300 seconds
- size
The higher buffer size may be lower in cost with higher latency.
The lower buffer size will be faster in delivery with higher cost and less latency.
- Default:
5 MiB