Difference between revisions of "Aws s3api create-bucket"
Jump to navigation
Jump to search
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
− | https:// | + | https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3api/create-bucket.html |
<code>[[aws s3api]] create-bucket --bucket My_Bucket_Name</code> | <code>[[aws s3api]] create-bucket --bucket My_Bucket_Name</code> | ||
− | <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. | ||
== Related == | == Related == | ||
* <code>[[aws s3 mb]]</code> | * <code>[[aws s3 mb]]</code> | ||
+ | * <code>[[aws s3api get-bucket-acl]]</code> | ||
+ | * <code>[[Cloudformation AWS::S3::Bucket example|Cloudformation AWS::S3::Bucket]]</code> example | ||
+ | * <code>[[aws s3api put-bucket-versioning]]</code> | ||
==See also== | ==See also== |
Latest revision as of 05:18, 11 July 2024
https://awscli.amazonaws.com/v2/documentation/api/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[edit]
aws s3 mb
aws s3api get-bucket-acl
Cloudformation AWS::S3::Bucket
exampleaws s3api put-bucket-versioning
See also[edit]
Advertising: