InvocationOptions is an object used to customize the invocation of a Lambda function.
It has the following properties:
Property
Type
Description
invocationType
string (optional)
Specifies the invocation type (synchronous or asynchronous). Possible values are: RequestResponse, which invokes the function synchronously, Event, which invokes the function asynchronously, and DryRun which validates the parameter values and verifies that the user or role has permission to invoke the function. Default is RequestResponse.
logType
string (optional)
Specifies the type of log to include in the response. Set to Tail to include the execution log in the response. Applies to synchronously invoked functions only. Default is None.
clientContext
string (optional)
Client context to pass to the function. Can be made up of up to 3,583 bytes of base64-encoded data. Default is null.