Clean up resources
Clean up resources
S3 bucket
- From Cloud9, to get a list of buckers used for theme parks, enter:
aws s3 ls | grep theme-park
- Delete each bucket and its contents, replacing your-bucket-name with the name of each bucket:
aws s3 rb --force s3://your-bucket-name
- From Cloud9, enter the command
aws cloudformation list-stacks | grep theme-park
- Clear each stack
aws cloudformation delete-stack --stack-name your-stack-name
Lambda function
- From cloud9, enter the command
aws lambda list-functions | grep theme-park
- Delete each function
aws lambda delete-function --function-name your-function-name
Code Commit
- From cloud9, enter the command
aws codecommit delete-repository --repository-name 'theme-park-frontend'
Amplify Console
- Enter the command
aws amplify list-apps
- Delete the app
aws amplify delete-app --app-id 'your-app-id'