Skip to main content

prefect_aws.microvm.entrypoint

Process entrypoint for a Prefect flow run in an AWS Lambda MicroVM.

Functions

main

Serve the lifecycle hooks, run the flow run from the first /run request, and return the process exit code. Args:
  • port: The port to serve the lifecycle hooks on.
Returns:
  • 0 if the flow run’s process exited 0. 1 if the /run request was
  • rejected or the flow run’s process failed.