Create a Post and Get API as an Amazon S3 proxy in API Gateway

0

How to integrate API Gateway and S3 Bucket using CDK. I have created in CDK endpoint in Kotlin. now I need to integrate s3 .

** Kotlin Code :** public static void setupRoutes(HttpLambdaIntegration lambdaIntegration, HttpApi httpApi) { httpApi.addRoutes(AddRoutesOptions.builder() .path("/{proxy+}") .methods(Collections.singletonList(HttpMethod.ANY)) .integration(lambdaIntegration) .build()); }

**how to add s3 in above code. **

**Propose : Need to store files in s3 using API Gateway **

1回答
0

Did you try looking at the serverlessland.com patterns? specifically: https://serverlessland.com/patterns/apigw-s3?

profile pictureAWS
エキスパート
Uri
回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ