-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Closed
Labels
@aws-cdk/aws-apigatewayv2Related to Amazon API Gateway v2Related to Amazon API Gateway v2effort/mediumMedium work item – several days of effortMedium work item – several days of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p1
Description
Currently there's no way on the HttpApi or HttpStage construct to enable access logging as specified via https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apigatewayv2-stage-accesslogsettings.html.
This is pretty easy to setup via sam but there's no equivalent atm for cdk.
Use Case
Enable access logs for HttpApi
Proposed Solution
- Implement AccessLogSettings on HttpStage
- Add
loggingprop to HttpApi which enables logging for all routes
I also think when the above is added to HttpApi that it should create its own log group and the permissions necessary for the HttpApi to write to it.
Other
- 👋 I may be able to implement this feature request
This is a 🚀 Feature Request
tehnrd, kazuya-iwami, delicb, johfer-bd, douglas-gibbons-lark and 98 more
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-apigatewayv2Related to Amazon API Gateway v2Related to Amazon API Gateway v2effort/mediumMedium work item – several days of effortMedium work item – several days of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p1