Difference between revisions of "Aws s3api create-bucket"

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
 
<code>[[--acl]] [ private | public-read | public-read-write | authenticated-read ]</code>
 
<code>[[--acl]] [ private | public-read | public-read-write | authenticated-read ]</code>
  
 +
 +
[[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.
 
  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.

Revision as of 02:53, 6 June 2024

https://docs.aws.amazon.com/cli/latest/reference/s3api/create-bucket.html

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

See also

Advertising: