MethodLoggingLevel

class aws_cdk.aws_apigateway.MethodLoggingLevel(value)

Bases: Enum

ExampleMetadata:

infused

Example:

api = apigateway.RestApi(self, "books",
    deploy_options=apigateway.StageOptions(
        logging_level=apigateway.MethodLoggingLevel.INFO,
        data_trace_enabled=True
    )
)

Attributes

ERROR = 'ERROR'
INFO = 'INFO'
OFF = 'OFF'