MethodLoggingLevel

class aws_cdk.aws_apigateway.MethodLoggingLevel(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

ExampleMetadata:

infused

Example:

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

Attributes

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