Clean Up Resources

Contents

Now let’s go through the steps required to delete the created resources.

Delete S3

  1. Go to S3
  • Select the created S3 bucket
  • Click Empty
  • Type permanently delete, then click Empty to delete the objects inside the bucket
  • Click Exit
  1. After all objects are deleted, click Delete
  • Enter the bucket name and click Delete bucket

Delete EventBridge Schedule

Delete Cloudwatch Alarm

  • Go to Cloudwatch Alarm
  • Select the Alarm
  • Click Action -> choose Delete
  • Confirm Delete

Delete API Gateway

  1. Delete API
  1. Delete Usage Plan
  • Go to Usage plans
  • Select the usage plans -> Click Delete
  • Type confirm and click Delete
  1. Delete API Key
  • Go to API Keys
  • Select the API Keys -> Click Action
  • Choose Delete -> Confirm Delete

Delete Lambda

  • Go to Lambda
  • Select the Lambda functions -> Click Action
  • Choose Delete -> type confirm -> Click Delete

Delete IAM Role

  • Go to IAM Role
  • Select the role and click Delete
  • Type the role name and click Delete