Step one: Create a Lambda function to check a file's extension. Step two: Create a second Lambda to process supported files. Step three: Create an Amazon SNS topic and subscribe your email. Step four: Create the Step Function state machine combining these. Step five: Configure your S3 bucket to generate CloudTrail data events—because object-level events aren't logged by default. Step six: Create an EventBridge rule with a defined pattern targeting your state machine.
Step one: Create a Lambda function to check a file's extension. Step two: Create a second Lambda to process supported files. Step three: Create an Amazon SNS topic and subscribe your email. Step four: Create the Step Function state machine combining these. Step five: Configure your S3 bucket to generate CloudTrail data events—because object-level events aren't logged by default. Step six: Create an EventBridge rule with a defined pattern targeting your state machine.