Type alias DynamicMetadata

DynamicMetadata: {
    accountId?: string;
    correlationId?: string;
    functionMemorySize?: string;
    functionName?: string;
    functionVersion?: string;
    region?: string;
    resource?: string;
    runtime?: string;
    stage?: string;
    timestampRequest?: string;
    user?: string;
    viewerCountry?: string;
}

Description

Dynamic AWS metadata.

Type declaration

  • Optional accountId?: string

    Description

    The AWS account ID that the system is running in.

  • Optional correlationId?: string

    Description

    Correlation ID (AWS request ID) for this function call.

  • Optional functionMemorySize?: string

    Description

    Memory size of the current function.

  • Optional functionName?: string

    Description

    The name of the function.

  • Optional functionVersion?: string

    Description

    The version of the function.

  • Optional region?: string

    Description

    The region of the responding function/system.

  • Optional resource?: string

    Description

    The resource (channel, URL path...) that is responding.

  • Optional runtime?: string

    Description

    What runtime is used?

  • Optional stage?: string

    Description

    What AWS stage are we in?

  • Optional timestampRequest?: string

    Description

    Request time in Unix epoch of the incoming request.

  • Optional user?: string

    Description

    The user in this context.

  • Optional viewerCountry?: string

    Description

    Which country did AWS CloudFront infer the user to be in?

Generated using TypeDoc