capabilities.work

Redeploy Discovered Function

A 3-step recipe with Amazon Lambda. We can help you get access.

Recipe · 3 steps

Redeploy Discovered Function

Discover a function from the list, update its code, and wait for Active.

  1. List the functions in the account so the target can be confirmed before any code is pushed.
  2. Push the new deployment package to the target function.
  3. Poll the function until the update finishes and the State returns to Active.
What you'll need to have ready
  • FunctionName: The name of the Lambda function to redeploy.
  • ZipFile: Base64-encoded contents of the new deployment package zip.
  • S3Bucket: An S3 bucket holding the new deployment package.
  • S3Key: The S3 key of the new deployment package object.
For your developer

Arazzo workflow amazon-lambda:redeploy-discovered-function, 3 operations: ListFunctions → UpdateFunctionCode → GetFunction. Specs on APIs.io.