List CloudFront distributions
Configure AWS CLI credentials
List S3 buckets
Invalidate objects in CloudFront cache
aws cloudfront create-invalidation --distribution-id DIST_ID --paths "/*"
Invalidate all objects
aws cloudfront create-invalidation --distribution-id E123456 --paths "/*"
Create a new S3 bucket
Delete files from S3
Sync local directory to S3 bucket