tigris buckets create
Create a new bucket with optional access, tier, and location settings.
Alias: c
Usage
tigris buckets create [name] [flags]
t3 b c [name] [flags]
Flags
| Name | Required | Default | Description |
|---|---|---|---|
--access, -a | No | private | Access level. Options: public, private |
--public | No | — | Shorthand for --access public |
--enable-snapshots, -s | No | false | Enable snapshots for the bucket |
--default-tier, -t | No | STANDARD | Default storage tier. Options: STANDARD (Standard), STANDARD_IA (Infrequent Access), GLACIER (Archive), GLACIER_IR (Instant Retrieval Archive) |
--locations, -l | No | global | Bucket location. Options: global, usa, eur, ams, fra, gru, iad, jnb, lhr, nrt, ord, sin, sjc, syd. Supports comma-separated values for dual region (e.g. ams,fra). See locations docs. |
--consistency, -c | No | — | Deprecated. Use --locations instead. |
--region, -r | No | — | Deprecated. Use --locations instead. |
Examples
# Create a private bucket
tigris buckets create my-bucket
# Create a public bucket in a specific region
tigris buckets create my-bucket --access public --locations iad
# Create with snapshots and infrequent access tier
tigris buckets create my-bucket --enable-snapshots --default-tier STANDARD_IA