This project contains a simple AWS Lambda function that logs the name of a newly uploaded file in an S3 bucket.
- Open the lambda_function.py file and update the commented code with the necessary changes. Hint: read all the hints!!
- Save the changes and you are good to go!
-
Install AWS CLI (if you don't have it already).
-
Update deploy.sh with your AWS Account ID and IAM Role ARN.
-
Run the deployment script:
chmod +x deploy.sh && ./deploy.sh -
Add an S3 trigger to the Lambda function for your bucket.