Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add a trigger to a Lambda? #185

Open
blundell opened this issue Dec 7, 2019 · 0 comments
Open

How to add a trigger to a Lambda? #185

blundell opened this issue Dec 7, 2019 · 0 comments

Comments

@blundell
Copy link

blundell commented Dec 7, 2019

Looking how to add a DynamoDB trigger to the lambda (or any trigger).

As in how to programatically do this:

Screenshot 2019-12-07 at 9 22 27 pm

Someone else asking: #163

Related request: #72

This is how you would do it with the AWS CLI:

aws lambda create-event-source-mapping \
--function-name my-function \
--batch-size 500 \
--starting-position LATEST \
--event-source-arn arn:aws:dynamodb:us-east-2:123456789012:table/my-table/stream/2019-06-10T19:26:16.525

Related:

https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventsourcemapping.html

https://docs.aws.amazon.com/lambda/latest/dg/lambda-services.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant