Hugo and syncing to S3

can you explain how to use s3cmd to invalidate cloudfront pages that have changed please?