From the course: AWS Machine Learning: Building an Expense Tracker Using Amazon Textract

Unlock the full course today

Join today to access over 24,200 courses taught by industry experts.

Implementing an AWS blueprint to integrate Lambda with S3

Implementing an AWS blueprint to integrate Lambda with S3

- [Tutor] Here we are in the AWS Lambda console. And our first coding part for our project will be to create a Lambda function that reacts to files being dropped on history. You can use the AWS provider blueprint for this. And let me show you what we have. Click on the function. And once in here you'll see that there's an S3 trigger. I'll click on that and then show you the details. By the way if yours is not showing enable as you can see here, you can just select it. And then the button for enabling it will light up here and you can click it. Going into the details, It says that the event type is object created. Meaning that this will only trigger when a new file is dropped in. And the file need to be prefixed with receipts and the file name needs to NS and DOT PNG. Keep in mind this is case sensitive. Going back to our Lambda function now, this is the code that's actually going to be called, when that S3 trigger…

Contents