aws-amplify / aws-amplify/amplify-cli

Limited experience with Lambda Triggers and Destinations in AWS Amplify

Open
#11,163 3 comments 0 reactions 0 assignees View on GitHub
feature-request interactions p4
Dominant language
TypeScript
Stars
2.9k
Forks
825
Avg merge
11d 23h
Merged PRs (30d)
2

Description

### Is this related to a new or existing framework?

_No response_

### Is this related to a new or existing API?

Interactions

### Is this related to another service?

AWS Lambda Triggers

### Describe the feature you'd like to request

Hello everyone, I'm trying to set up a project within AWS Amplify to automate the creation of an Events framework based on Lambda functions, with the intention of deploying a backup of the event framework.

In the project, my goal is to add a trigger from the Alexa Skill Kit, to trigger a lambda function that targets the AmazonEvent Bridge.

However, when I try to configure within AWS Amplify my settings for triggers are limited to the web application itself and in user-dependent situations like login authentication, email verification, and the like.

Does anyone know if it's possible to add extrinsic triggers to the application and if it's possible to add destinations for when a lambda function is executed because I couldn't identify this configuration option in any step within AWS Amplify? If so, which path should I follow to achieve this result?

This image below is how it was done in the original event-based project, I want to replicate something like this within Amplify.

![printscreen](https://user-images.githubusercontent.com/25926739/127555464-db40e0ac-a419-41a9-9397-23627574bcaa.png)

Thanks!

### Describe the solution you'd like

I would like to have a more comprehensive list of trigger options for lambdas, as the Lambda service within AWS makes available. Because the services I'm trying to use as a trigger for a lambda function are apparently not available.

### Describe alternatives you've considered

I can only configure the trigger and destination for lambda within the AWS Lambda console itself, I thought I would be able to do this within AWS Amplify since the service is provided by the same company.

### Additional context

_No response_

### Is this something that you'd be interested in working on?

- [X] 👋 I may be able to implement this feature request
- [x] ⚠️ This feature might incur a breaking change

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the Amplify CLI's Interactions and Lambda configuration areas, then compare the requested Alexa Skill Kit trigger, EventBridge target, and Lambda destinations with the options available in the AWS Lambda console. Done would mean a decided scope and documented or implemented support for the requested external trigger and destination configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cli, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.