def __init__(self, lambda_runner, port, host, stderr=None):
super(LocalLambdaInvokeService, self).__init__(lambda_runner.is_debugging(), port=port, host=host)<EOL>self.lambda_runner = lambda_runner<EOL>self.stderr = stderr<EOL>
Creates a Local Lambda Service that will only response to invoking a function

Parameters
----------
lambda_runner samcli.commands.local.lib.local_lambda.LocalLambdaRunner
    The Lambda runner class capable of invoking the function
port int
    Optional. port for the service to start listening on
host str
    Optional. host to start the service on
stderr io.BaseIO
    Optional stream where the stderr from Docker container should be written to