api-gw-execution-logging-enabled - Amazon Config
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

api-gw-execution-logging-enabled

Checks if all methods in Amazon API Gateway stages have logging enabled. The rule is NON_COMPLIANT if logging is not enabled, or if loggingLevel is neither ERROR nor INFO.

Identifier: API_GW_EXECUTION_LOGGING_ENABLED

Resource Types: AWS::ApiGateway::Stage, AWS::ApiGatewayV2::Stage

Trigger type: Configuration changes

Amazon Web Services Region: All supported Amazon regions except US ISO West, Asia Pacific (Jakarta), US ISO East, Asia Pacific (Osaka), Asia Pacific (Malaysia), US ISOB East, Canada West (Calgary) Region

Parameters:

loggingLevel (Optional)
Type: String
Default: ERROR,INFO

Comma-separated list of specific logging levels (for example, ERROR, INFO or ERROR,INFO).

Amazon CloudFormation template

To create Amazon Config managed rules with Amazon CloudFormation templates, see Creating Amazon Config Managed Rules With Amazon CloudFormation Templates.