You can use the Invoke Lambda Function action with the following integrations:
The Invoke Lambda Function action requires sufficient IAM permissions - an adequate IAM policy similar to the one provisioned by the Automation with AWS (Core) CloudFormation template might look as follows:
Specify the action parameters according to the following skeleton in JSON format – refer to lambda . invoke for details:
You typically only specify the FunctionName and Payload parameters, and not all parameters documented for lambda . invoke are applicable here (invocation-type and log-type are not meaningful, and outfile is not supported).
You can inject contextual variables into the remote action payload, refer to Entity Variables for details.