The AWS AWS::ApiGateway::Deployment StageDescription docs don't seem to reference the option "Log full requests/responses data" in the API gateway stage settings. I want to ensure it is turned off in cloudformation, how can I do this?
This shows the option I am refering to:
The MethodSetting are not property of AWS::ApiGateway::Deployment. Instead, they are property of AWS::ApiGateway::Stage - MethodSetting:
The MethodSetting property type configures settings for all methods in a stage.
The DataTraceEnabled is the setting on the screenshot. Thus if you don't want it, set it to false:
Indicates whether data trace logging is enabled for methods in the stage. API Gateway pushes these logs to Amazon CloudWatch Logs.