aws / aws/aws-lambda-runtime-interface-emulator
Is it possible to test LambdaFunctionURL lambdas with aws-lambda-rie ?
- Langage dominant
- Go
- Étoiles
- 1.1k
- Forks
- 118
- Merge moyen
- 42 min
- PR mergées (30 j)
- 2
Description
I have a 2 lambdas:
* One that take a `CloudWatchEvent` as the second argument of the `Handle()`function
* One that take a `LambdaFunctionURLRequest`as the second argument of the `Handle()`function
I'm able to successfully test with `aws-lambda-rie`the first Lambda but not the second one
Even with a quite naive handler:
```
func Handle(ctx context.Context, request events.LambdaFunctionURLRequest) error {
log.Printf("body: %s", request.RawPath)
return nil
}
```
Is it possible to test this "new" kind of lambdas using `aws-lambda-runtime` ? Am I doing something wrong ?
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par reproduire la requête avec aws-lambda-rie en utilisant la fonction Go Handle et en comparant les cas CloudWatchEvent et LambdaFunctionURLRequest. L’issue ne nomme aucun fichier ni test du dépôt ; terminer signifie établir si LambdaFunctionURLRequest est pris en charge et documenter ou implémenter le comportement requis.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- aws, go
- Domaine
- cloud, tooling
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100