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 Resposta
0

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

profile pictureAWS
ESPECIALISTA
Uri
respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas