Search Results for

    Show / Hide Table of Contents

    Class CorrelationIdPaths

    Supported Event types from which Correlation ID can be extracted

    Inheritance
    object
    CorrelationIdPaths
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: AWS.Lambda.Powertools.Logging
    Assembly: AWS.Lambda.Powertools.Logging.dll
    Syntax
    public static class CorrelationIdPaths

    Fields

    ApiGatewayHttp

    To use when function is expecting API Gateway HTTP API request event

    Declaration
    public const string ApiGatewayHttp = "/RequestContext/RequestId"
    Field Value
    Type Description
    string

    ApiGatewayRest

    To use when function is expecting API Gateway Rest API request event

    Declaration
    public const string ApiGatewayRest = "/RequestContext/RequestId"
    Field Value
    Type Description
    string

    ApplicationLoadBalancer

    To use when function is expecting Application Load balancer request event

    Declaration
    public const string ApplicationLoadBalancer = "/Headers/x-amzn-trace-id"
    Field Value
    Type Description
    string

    EventBridge

    To use when function is expecting EventBridge request event

    Declaration
    public const string EventBridge = "/Id"
    Field Value
    Type Description
    string
    In this article
    Back to top Powertools for AWS Lambda (.NET) API Documentation