bucketName | string | | | length 8 to 63; pattern ^etorm-[a-z0-9][a-z0-9-]*$ | The bucket's name at the provider. Starts with etorm- (the platform's ownership mark: nothing else can be described here). Defaults to the name of this object. Cannot be changed. |
description | string | | | up to 1000 characters | What the bucket is for, for people. |
location | string (one of) | | "WEUR" | WNAM, ENAM, WEUR, EEUR, APAC, OC | Where the bucket's data is kept: western or eastern North America, western or eastern Europe, Asia-Pacific or Oceania. Chosen when the bucket is made and cannot be changed afterwards: a bucket in another place is reported as a difference and left as it is. |
storageClass | string (one of) | | "Standard" | Standard, InfrequentAccess | The storage class of new objects, chosen when the bucket is made; a different class is reported, not changed. |
mode | string (one of) | | "plan" | plan, apply | plan reports what would change and changes nothing; apply makes the provider match this object (creating a missing bucket, replacing lifecycle and cross-origin rules, changing public access). A bucket is never deleted and objects are never touched in either mode. |
syncSeconds | integer | | 21600 | 300 to 86400 | How often the bucket is read and compared with this object, in seconds. A change to this object is compared at once. |
managedDomain | boolean | | false | | Whether the bucket is public on the provider's own address. Off for every platform bucket that is not meant to be public. |
customDomains | list of object | | | up to 10 items | Domains under which the bucket is served. |
customDomains[].domain | string | yes | | up to 253 characters | The domain name, for example console.etorm.com. |
customDomains[].zoneId | string | yes | | up to 64 characters | The identifier of the DNS zone the domain is in. |
customDomains[].minTLS | string (one of) | | "1.2" | 1.0, 1.1, 1.2, 1.3 | The lowest TLS version accepted. |
lifecycle | list of object | | | up to 25 items | The bucket's lifecycle rules, complete: a rule at the provider that is not listed here is a difference. The provider's own default rule for abandoned uploads is left as it is. |
lifecycle[].id | string | yes | | length 1 to 255 | The rule's name, unique in the bucket. |
lifecycle[].prefix | string | | | up to 1024 characters | Objects whose key starts with this. Empty means all objects. |
lifecycle[].expireAfterDays | integer | | | 1 to 36500 | Delete objects this many days after they were written. |
lifecycle[].abortIncompleteUploadsAfterDays | integer | | | 1 to 365 | Abandon uploads that were not completed within this many days. |
cors | list of object | | | up to 100 items | The bucket's cross-origin rules, complete. None by default. |
cors[].id | string | | | up to 255 characters | The rule's name. |
cors[].allowedOrigins | list of string | yes | | | Origins allowed to read the bucket from a browser. |
cors[].allowedMethods | list of string | yes | | | Methods allowed. |
cors[].allowedHeaders | list of string | | | | Request headers allowed. |
cors[].exposeHeaders | list of string | | | | Response headers a browser may read. |
cors[].maxAgeSeconds | integer | | | 0 to 86400 | How long a browser may remember the answer. |