aws / aws/chalice

Adding a new parameter on @app.on_kinesis_record

Open
#1,723 1 comment 0 reactions 0 assignees View on GitHub
feature-request
Dominant language
Python
Stars
11.1k
Forks
1k
Avg merge
1d 22h
Merged PRs (30d)
2

Description

As I know, there are more available "Event source options(Amazon kinesis)" than chalice supported now.
So, I tried to add an new parameter([maximum_batching_window_in_seconds](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lambda_event_source_mapping#maximum_batching_window_in_seconds)) by modifying below functions.


* ![image](https://user-images.githubusercontent.com/41746120/117680657-54eabc00-b1ec-11eb-9bf8-319babf2db57.png)
* ![image](https://user-images.githubusercontent.com/41746120/117680784-7350b780-b1ec-11eb-81de-ad01f4a52ba9.png)
* ![image](https://user-images.githubusercontent.com/41746120/117680842-7fd51000-b1ec-11eb-805f-bea790cef56c.png)
* ![image](https://user-images.githubusercontent.com/41746120/117680965-9d09de80-b1ec-11eb-9f65-015862cab139.png)

There was no error in deploying an lambda triggered by"kinesis", however, the new parameter did not applied to it.
And, I checked "chalice.tf.json" and there was no parameter in it.
![image](https://user-images.githubusercontent.com/41746120/117681752-5ec0ef00-b1ed-11eb-9371-7cd5a69277e5.png)

How can I add new parameter?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Kinesis deployment and inspect the generated chalice.tf.json alongside the functions shown in the issue screenshots. Trace where the @app.on_kinesis_record options become the Lambda event source mapping, then verify that maximum_batching_window_in_seconds appears in the generated configuration and is applied after deployment.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
backend, cloud
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.