aws s3api create-bucket
Jump to navigation
Jump to search
aws s3api create-bucket --bucket My_Bucket_Name
--acl [ private | public-read | public-read-write | authenticated-read ]
aws s3api create-bucket --acl public-read
An error occurred (IllegalLocationConstraintException) when calling the CreateBucket operation: The unspecified location constraint is incompatible for the region specific endpoint this request was sent to.
Related[edit]
aws s3 mbaws s3api get-bucket-aclCloudformation AWS::S3::Bucketexampleaws s3api put-bucket-versioning
See also[edit]
Advertising: