Learn R Programming

paws.compute (version 0.7.0)

lightsail_delete_bucket: Deletes a Amazon Lightsail bucket

Description

Deletes a Amazon Lightsail bucket.

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

Usage

lightsail_delete_bucket(bucketName, forceDelete = NULL)

Arguments

bucketName

[required] The name of the bucket to delete.

Use the get_buckets action to get a list of bucket names that you can specify.

forceDelete

A Boolean value that indicates whether to force delete the bucket.

You must force delete the bucket if it has one of the following conditions:

  • The bucket is the origin of a distribution.

  • The bucket has instances that were granted access to it using the set_resource_access_for_bucket action.

  • The bucket has objects.

  • The bucket has access keys.

Force deleting a bucket might impact other resources that rely on the bucket, such as instances, distributions, or software that use the issued access keys.