ark::aws::LambdaHost

Defined in header “ark/aws/lambda_host.hh”.


You can use this to host a function this will interact with the AWS lambda APIs to allow you to run a function as a lambda on the AWS architecture.

See https://docs.aws.amazon.com/lambda/latest/dg/runtimes-api.html for more details.

Methods

  • LambdaHost(LambdaFunction function)
    Constructor. The given function will be executed with each incoming request from AWS.

  • void run()
    Call this to turn control over to the host ths host will loop endlessly (until shutdown), executing functions as necessary.

  • void shutdown()
    Call to signal the host to shutdown.