CreateBucketRequest
¶
Source code in docs_src/capo_lightsail/types/create_bucket_request.py
bucket_name
instance-attribute
¶
bucket_name: BucketName
The name for the bucket.
For more information about bucket names, see Bucket naming rules in Amazon Lightsail in the Amazon Lightsail Developer Guide.
bundle_id
instance-attribute
¶
bundle_id: NonEmptyString
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 GetBucketBundles action to get a list of bundle IDs that you can specify.
Use the UpdateBucketBundle action to change the bundle after the bucket is created.
enable_object_versioning
instance-attribute
¶
enable_object_versioning: NotRequired[boolean]
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.
tags
instance-attribute
¶
tags: NotRequired[TagList]
The tag keys and optional values to add to the bucket during creation.
Use the TagResource action to tag the bucket after it's created.