(aws-apigatewayv2): CfnStage logging level ERROR not working #25930
Labels
@aws-cdk/aws-apigatewayv2
Related to Amazon API Gateway v2
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
p2
Describe the bug
Setting ApiGWv2.CfnStage.loggingLevel is not deploying correct value.
Expected Behavior
When setting logging level to
ERROR
, the resulting setting in the physical resource should be set to "Errors Only"Current Behavior
Setting logging level to
ERROR
, results in the physical resource being set to "Full Request and Response Logs".Reproduction Steps
LoggingLevel parameter VS physical resource
OFF: "OFF"
INFO: "Full Request and Response Logs"
ERROR: "Full Request and Response Logs" (WRONG!)
Possible Solution
When setting logging level to "ERROR", set physical resource to "Errors Only" mode.
Additional Information/Context
No response
CDK CLI Version
2.83.1 (build 006b542)
Framework Version
No response
Node.js Version
v16.20.0
OS
Windows 10
Language
Typescript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: