aws / aws/chalice

Add support for Cognito event sources

Open
#1,648 2 comments 4 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

SAM provides ability to add triggers for Cognito events. Documentation here:
https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-property-function-cognito.html

Currently Chalice does not support Cognito as an event source:
https://aws.github.io/chalice/topics/events.html

Other than creating a custom resource lambda, I'm not sure if there's a way to attach a lambda function created in chalice to a Cognito event. It would be great if we can just configure Cognito events from within Chalice.

Please close if this functionality already exists.

Contributor guide

Open the contributing guide

Research direction

Start with Chalice's events documentation and the linked AWS SAM Cognito event-source documentation to identify the Cognito event types and configuration that need support. Determine how a Chalice-created Lambda can be attached without a custom resource, then verify that the supported configuration creates the expected Cognito event wiring.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
backend, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.