lightsail_update_bucket: Updates an existing Amazon Lightsail bucket

View source: R/lightsail_operations.R

lightsail_update_bucketR Documentation

Updates an existing Amazon Lightsail bucket

Description

Updates an existing Amazon Lightsail bucket.

See https://www.paws-r-sdk.com/docs/lightsail_update_bucket/ for full documentation.

Usage

lightsail_update_bucket(
  bucketName,
  accessRules = NULL,
  versioning = NULL,
  readonlyAccessAccounts = NULL,
  accessLogConfig = NULL
)

Arguments

bucketName

[required] The name of the bucket to update.

accessRules

An object that sets the public accessibility of objects in the specified bucket.

versioning

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.

readonlyAccessAccounts

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.

accessLogConfig

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


paws.compute documentation built on Sept. 12, 2023, 1:28 a.m.