Lunker - Gone Fishing!

blog.lukach.io

Amazon Cloud

GitHub Profile

December 24, 2025

ClickOps #18 - Deploy API Gateway Logging

by John Lukach

I always want everything to be Infrastructure as Code (IaC); however, that is not always possible! While I can create the API Gateway Role for writing logs to CloudWatch, I do not have a way to perform the one-time configuration per region using the Cloud Development Kit (CDK).

api gateway logs

api gateway logs

api gateway logs

The API Gateway for HTTP has an issue with the CDK constructs on the automatic $Default stage for the logging configuration.

api gateway logs

api gateway logs

api gateway logs

api gateway logs

tags: aws - api - gateway - logs