UpdateBucketRequest
import type { UpdateBucketRequest } from "https://aws-api.deno.dev/v0.4/services/lightsail.ts?docs=full";
interface UpdateBucketRequest {
accessLogConfig?: BucketAccessLogConfig | null;
accessRules?: AccessRules | null;
bucketName: string;
readonlyAccessAccounts?: string[] | null;
versioning?: string | null;
}§Properties
§
accessLogConfig?: BucketAccessLogConfig | null
[src]An object that describes the access log configuration for the bucket.
§
accessRules?: AccessRules | null
[src]An object that sets the public accessibility of objects in the specified bucket.
§
readonlyAccessAccounts?: string[] | null
[src]An array of strings to specify the Amazon Web Services account IDs that can access the bucket.
You can give a maximum of 10 Amazon Web Services accounts access to a bucket.
§
versioning?: string | null
[src]Specifies whether to enable or suspend versioning of objects in the bucket.
The following options can be specified:
Enabled
- Enables versioning of objects in the specified bucket.Suspended
- Suspends versioning of objects in the specified bucket. Existing object versions are retained.