aws / aws/aws-lambda-runtime-interface-emulator
Is it possible to test LambdaFunctionURL lambdas with aws-lambda-rie ?
- 主要言語
- Go
- スター
- 1.1k
- フォーク
- 118
- 平均マージ
- 42分
- マージ済み PR(30日)
- 2
説明
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 ?
コントリビューションガイド
調査の方向性
まず、Go Handle関数を使用して aws-lambda-rie でリクエストを再現し、CloudWatchEvent と LambdaFunctionURLRequest のケースを比較します。Issue ではリポジトリのファイルやテストが指定されていません。完了条件は、LambdaFunctionURLRequest がサポートされているかを確認し、必要な動作を文書化または実装することです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- aws, go
- 領域
- cloud, tooling
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100