Cleaning up resources

Clean up resources

Delete S3 buckets and its content:

aws s3 rm s3://$S3BucketEvents --recursive
aws s3api delete-bucket --bucket $S3BucketEvents

aws s3 rm s3://$S3BucketReplicationCode --recursive
aws s3api delete-bucket --bucket $S3BucketReplicationCode

Delete Glue crawler and database:

aws glue delete-crawler --name crawler-change-streams
aws glue delete-database --name change-streams

Delete the CloudFormation Stack you created in setting up the Lambda function.