``` aws s3api put-bucket-cors --bucket bucketname --cors-configuration file://cors.json ```