Skip to content

๐Ÿˆ๐ŸพA Serverless Application that notifies a cats human to come pet them via State Machine, Lambda Functions, Rest API, SES, and S3.

Notifications You must be signed in to change notification settings

CloudyBae/Kitty-Cuddles

Repository files navigation

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. InkedScreenshot_1

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. Screenshot_5

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. Screenshot_2 Screenshot_9

Create a Lambda Function which will support the API Gateway. Screenshot_3

Build a REST API, this will be what the frontend part of the serverless application will communicate with. Screenshot_4

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. Screenshot_6

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. Screenshot_8 InkedScreenshot_7

If successful the StateMachine will wait for the timeout and then send the email. InkedScreenshot_10

You can also access the logs via CloudWatch Logs. InkedScreenshot_11

When the StateMachine task is complete, you will receive an email with the message from your cat. InkedScreenshot_12

About

๐Ÿˆ๐ŸพA Serverless Application that notifies a cats human to come pet them via State Machine, Lambda Functions, Rest API, SES, and S3.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published