An archive containing function code and dependencies that is uploaded directly to AWS Lambda or supplied through Amazon…