Module aws_lambda_powertools.logging.correlation_paths
Built-in correlation paths
Expand source code
"""Built-in correlation paths"""
API_GATEWAY_REST = "requestContext.requestId"
API_GATEWAY_HTTP = API_GATEWAY_REST
APPSYNC_RESOLVER = 'request.headers."x-amzn-trace-id"'
APPLICATION_LOAD_BALANCER = 'headers."x-amzn-trace-id"'
EVENT_BRIDGE = "id"
S3_OBJECT_LAMBDA = "xAmzRequestId"