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

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

profile pictureAWS
EXPERTO
Uri
respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas