Learn R Programming

paws.compute (version 0.7.0)

lightsail_update_bucket: 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.