Dynamic metadata.

interface DynamicMetadataOutput {
    accountId: string;
    correlationId: string;
    functionMemorySize: string;
    functionName: string;
    functionVersion: string;
    id: string;
    isColdStart: boolean;
    region: string;
    resource: string;
    runtime: string;
    stage: string;
    timestamp: string;
    timestampEpoch: string;
    timestampRequest: string;
    user: string;
    viewerCountry: string;
}

Hierarchy (view full)

Properties

accountId: string

The AWS account ID that the system is running in.

correlationId: string

Correlation ID for this function call.

functionMemorySize: string

Memory size of the current function.

functionName: string

The name of the function.

functionVersion: string

The version of the function.

id: string

ID of the log.

isColdStart: boolean

Is this a Lambda cold start?

region: string

The region of the responding function/system.

resource: string

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

`/doSomething`
runtime: string

What runtime is used?

stage: string

What AWS stage are we in?

timestamp: string

Timestamp of this message in ISO 8601 (RFC 3339) format.

timestampEpoch: string

Timestamp of this message in Unix epoch.

timestampRequest: string

Request time in Unix epoch of the incoming request.

user: string

The user in this log context.

viewerCountry: string

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