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:
{ "Version": "2012-10-17", "Statement": [ { "Action": [ "lambda:GetAlias", "lambda:GetFunctionConfiguration", "lambda:GetPolicy", "lambda:InvokeFunction", "lambda:ListAliases", "lambda:ListFunctions", "lambda:ListVersionsByFunction" ], "Resource": "*", "Effect": "Allow", "Sid": "LambdaInvokeFunctionAndDiscoverFunctions" } ] } |
Refer to Overview of Managing Access Permissions to Your AWS Lambda Resources for details on how to create more granular/secure policies.
To configure an Invoke Lambda Function action:
Complete the following settings:
Parameters | Specify the action parameters according to the following skeleton in JSON format – refer to lambda . invoke for details:
|