OptionalbodyThe body of the request.
OptionaleventThe 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.
OptionallambdaThe 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.
OptionalpathThe parameters to substitute in the path.
OptionalqueryThe parameters to substitute in the path.
The path (in the internal API) to the resource we need; e.g. teams/{teamId}/memberships/{userId}.
OptionalstageThe 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).