Miserlou / Zappa

Serverless Python
https://blog.zappa.io/
MIT License
11.89k stars 1.21k forks source link

Kinesis event options #2169

Open bmittenzwey opened 3 years ago

bmittenzwey commented 3 years ago

Missing kinesis trigger options.

Context

I'm deploying a simple lambda function that is triggered by a Kinesis stream. I am able to build and deploy, but the event features I can adjust seems to be limited to BatchSize, Enabled, EventSourceArn, FunctionName and StartingPosition

Expected Behavior

I'd like to be able to use the BisectBatchOnFunctionError and MaximumBatchingWindowInSeconds options. There are a few others that I'm not using right now, but that I would probably consider as well: MaximumRecordAgeInSeconds MaximumRetryAttempts ParallelizationFactor

AWS Docs: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html

Your Environment