Creates an Amazon Lightsail bucket.
See https://www.paws-r-sdk.com/docs/lightsail_create_bucket/ for full documentation.
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_bundlesaction to get a list of bundle IDs that you can specify.Use the
update_bucket_bundleaction 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_resourceaction 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.