#cors.json
{
"CORSRules": [
{
"AllowedOrigins": ["*"],
"AllowedMethods": ["PUT", "POST", "DELETE"],
"AllowedMethods": ["GET"],
"MaxAgeSeconds": 3000
}
]
}
: aws s3api put-bucket-cors --bucket acme-experiments --cors-configuration file://cors.json