A Lambda function contains code that a developer wants to execute in response to certain events. The developer takes care of configuring this code and specifying the requirements in terms of resources within the console of the reference provider. Everything else, including the sizing of resources, is managed automatically by the provider, based on the workload required.