AWS Lambda

Get lambda execution history

Get logs for the last execution of a specified Lambda function.

Inputs

Field

Type

Description

region [required]

enum

default: us-east-1

functionName [required]

string

The name of the Lambda function, version, or alias. This can only be the function name (my-function).

executionCount

number

default: 1

Outputs

Expand All

Field

Type

Description

executions [required]

[object]

firstEventTime

number

lastEventTime

number

logStreamArn

string

logStreamName

string

events [required]

[object]

logStreamName

string

The name of the log stream to which this event belongs.

timestamp

number

The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

message

string

The data contained in the log event.

ingestionTime

number

The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

eventId

string

The ID of the event.