Creates an Amazon Lightsail bucket.
See https://www.paws-r-sdk.com/docs/lightsail_create_bucket/ for full documentation.
lightsail_create_bucket(
bucketName,
bundleId,
tags = NULL,
enableObjectVersioning = NULL
)
[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.
[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.
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.
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.