lightsail_create_bucket: Creates an Amazon Lightsail bucket

View source: R/lightsail_operations.R

lightsail_create_bucketR Documentation

Creates an Amazon Lightsail bucket

Description

Creates an Amazon Lightsail bucket.

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

Usage

lightsail_create_bucket(
  bucketName,
  bundleId,
  tags = NULL,
  enableObjectVersioning = NULL
)

Arguments

bucketName

[required] The name for the bucket.

For more information about bucket names, see Bucket naming rules in Amazon Lightsail in the Amazon Lightsail Developer Guide.

bundleId

[required] The ID of the bundle to use for the bucket.

A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a bucket.

Use the get_bucket_bundles action to get a list of bundle IDs that you can specify.

Use the update_bucket_bundle action to change the bundle after the bucket is created.

tags

The tag keys and optional values to add to the bucket during creation.

Use the tag_resource action to tag the bucket after it's created.

enableObjectVersioning

A Boolean value that indicates whether to enable versioning of objects in the bucket.

For more information about versioning, see Enabling and suspending object versioning in a bucket in Amazon Lightsail in the Amazon Lightsail Developer Guide.


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