serverless-aws-kinesis-firehose
v0.0.1
Published
Serverless plugin for attaching a lambda function as the processor of a given Kinesis Firehose Stream.
Downloads
3
Maintainers
Readme
kinesis-firehose-serverless-plugin
Serverless framework plugin to configure lambda functions to transform Kinesis Firehose delivery streams
Installation
$ npm install --save kinesis-firehose-serverless-plugin
Usage
Add the plugin to your serverless.yml
# serverless.yml
plugins:
- kinesis-firehose-serverless-plugin
Add a firehose event to your function
# serverless.yml
functions:
firehoseConsumer:
handler: handler.consume
events:
- firehose:
deliveryStreamName: my-delivery-stream
numberOfRetries: '1'
bufferSizeInMBs: '1' # Between 1.0 and 3
bufferIntervalInSeconds: '900' # Between 60 and 900