Updates an existing Amazon Lightsail bucket.
See https://www.paws-r-sdk.com/docs/lightsail_update_bucket/ for full documentation.
lightsail_update_bucket(
bucketName,
accessRules = NULL,
versioning = NULL,
readonlyAccessAccounts = NULL,
accessLogConfig = NULL
)
[required] The name of the bucket to update.
An object that sets the public accessibility of objects in the specified bucket.
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.
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.
An object that describes the access log configuration for the bucket.