aws / aws/aws-lambda-runtime-interface-emulator

Is it possible to test LambdaFunctionURL lambdas with aws-lambda-rie ?

Aperta
#99 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
1.1k
Fork
118
Merge medio
42m
PR unite (30g)
2

Descrizione

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 ?

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia riproducendo la richiesta con aws-lambda-rie usando la funzione Go Handle e confrontando i casi CloudWatchEvent e LambdaFunctionURLRequest. L’issue non indica file o test del repository; completare significa stabilire se LambdaFunctionURLRequest è supportato e documentare o implementare il comportamento richiesto.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
aws, go
Ambito
cloud, tooling
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.