Optional
bodyThe body of the request.
Optional
eventThe EventBridge destination of the request.
If the bus name or ARN isn't specified, the default one is used.
The target
maps into the DetailType
of the event.
Note: the invocation is always asyncronous.
Either this attribute or lambda
must be set.
The http method to use.
Optional
lambdaThe name of the Lambda function receiving the request; e.g. project_memberships
.
Note: the invocation is always syncronous.
Either this attribute or eventBus
must be set.
Optional
pathThe parameters to substitute in the path.
Optional
queryThe parameters to substitute in the path.
The path (in the internal API) to the resource we need; e.g. teams/{teamId}/memberships/{userId}
.
Optional
stageThe alias of the lambda function to invoke. Default: the value of the current API stage.
The parameters needed to invoke an internal API request.
Deprecated
don't run a Lambda from another Lambda (bad practice).