Are you worried you're not giving your cat enough attention? Don't fret because Kitty Cuddles is a serverless application that lets your cat send you an email to tell you to come pet them!
Configure SES to add verified emails that AWS can use.
Create an IAM Role for a Lambda Function so it can assume the role and interact with other AWS Services. Create a Lambda Function to send an email via SES.
Create an IAM Role for the StateMachine so it can assume the role and interact with other AWS Services. Create the StateMachine using the contents from the ASL file. The StateMachine is created to wait for a timer to expire before the next task of sending an email happens.
Create a Lambda Function which will support the API Gateway.
Build a REST API, this will be what the frontend part of the serverless application will communicate with.
Create an S3 bucket that allows public access and enable static website hosting. Create a bucket policy that allows anyone to GetObject. Upload the contents of "serverless_frontend" into the bucket.
Use the bucket endpoint URL to open the application in your browser. Input your timer, message, and email and press Email Minion. If sent successfully, it will say so.
If successful the StateMachine will wait for the timeout and then send the email.
You can also access the logs via CloudWatch Logs.
When the StateMachine task is complete, you will receive an email with the message from your cat.