Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Bucket

import type { Bucket } from "https://aws-api.deno.dev/v0.4/services/lightsail.ts?docs=full";

Describes an Amazon Lightsail bucket.

interface Bucket {
ableToUpdateBundle?: boolean | null;
accessLogConfig?: BucketAccessLogConfig | null;
accessRules?: AccessRules | null;
arn?: string | null;
bundleId?: string | null;
createdAt?: Date | number | null;
location?: ResourceLocation | null;
name?: string | null;
objectVersioning?: string | null;
readonlyAccessAccounts?: string[] | null;
resourcesReceivingAccess?: ResourceReceivingAccess[] | null;
resourceType?: string | null;
state?: BucketState | null;
supportCode?: string | null;
tags?: Tag[] | null;
url?: string | null;
}

§Properties

§
ableToUpdateBundle?: boolean | null
[src]

Indicates whether the bundle that is currently applied to a bucket can be changed to another bundle.

You can update a bucket's bundle only one time within a monthly Amazon Web Services billing cycle.

Use the UpdateBucketBundle action to change a bucket's bundle.

§
accessLogConfig?: BucketAccessLogConfig | null
[src]

An object that describes the access log configuration for the bucket.

§
accessRules?: AccessRules | null
[src]

An object that describes the access rules of the bucket.

§
arn?: string | null
[src]

The Amazon Resource Name (ARN) of the bucket.

§
bundleId?: string | null
[src]

The ID of the bundle currently applied to the bucket.

A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a bucket.

Use the UpdateBucketBundle action to change the bundle of a bucket.

§
createdAt?: Date | number | null
[src]

The timestamp when the distribution was created.

§
location?: ResourceLocation | null
[src]

An object that describes the location of the bucket, such as the Amazon Web Services Region and Availability Zone.

§
name?: string | null
[src]

The name of the bucket.

§
objectVersioning?: string | null
[src]

Indicates whether object versioning is enabled for the bucket.

The following options can be configured:

  • Enabled - Object versioning is enabled.
  • Suspended - Object versioning was previously enabled but is currently suspended. Existing object versions are retained.
  • NeverEnabled - Object versioning has never been enabled.
§
readonlyAccessAccounts?: string[] | null
[src]

An array of strings that specify the Amazon Web Services account IDs that have read-only access to the bucket.

§
resourcesReceivingAccess?: ResourceReceivingAccess[] | null
[src]

An array of objects that describe Lightsail instances that have access to the bucket.

Use the SetResourceAccessForBucket action to update the instances that have access to a bucket.

§
resourceType?: string | null
[src]

The Lightsail resource type of the bucket (for example, Bucket).

§
state?: BucketState | null
[src]

An object that describes the state of the bucket.

§
supportCode?: string | null
[src]

The support code for a bucket. Include this code in your email to support when you have questions about a Lightsail bucket. This code enables our support team to look up your Lightsail information more easily.

§
tags?: Tag[] | null
[src]

The tag keys and optional values for the bucket. For more information, see Tags in Amazon Lightsail in the Amazon Lightsail Developer Guide.

§
url?: string | null
[src]

The URL of the bucket.