f. Configure the function

Now that you have added the code of the serverless function, you will add an environment variable to access your S3 bucket created earlier and also change the timeout of Lambda function. Then you will change the timeout of the function, it is the maximum time that this function will be allowed to run.