create-bucket

Creates a new bucket.

Usage

create-bucket --bucket <value>

Supported Options

--bucket: Bucket name
--acl <value>: The Access Control List (ACL) lets you manage access to buckets and objects.
  <value> specifies the following Hedvig-supported options:
    private: Object owner permission only
    public-read: Read permission by any user
    public-read-write: Read and write permission by any user
    authenticated-read: Read permission by authenticated users
[--grant-full-control]: Grants full control (read, write, read ACP, write ACP permissions) on this bucket
[--grant-read]: Grants read control (list) for objects in this bucket
[--grant-read-acp]: Grants read control for the bucket ACL
[--grant-write]: Grants write control (create, overwrite, delete) for objects in this bucket
[--grant-write-acp]: Grants write control for the bucket ACL

Example

aws s3api create-bucket --endpoint http://<hostname>:<port_number> --profile testuser1 --bucket example_bucket --create-bucket-configuration '{"LocationConstraint": "x-amz-meta-hedvig-blocksize=64"}'

Loading...