class Aws::Lightsail::Types::CreateBucketRequest
@note When making an API call, you may pass CreateBucketRequest
data as a hash: { bucket_name: "BucketName", # required bundle_id: "NonEmptyString", # required tags: [ { key: "TagKey", value: "TagValue", }, ], enable_object_versioning: false, }
@!attribute [rw] bucket_name
The name for the bucket. For more information about bucket names, see [Bucket naming rules in Amazon Lightsail][1] in the *Amazon Lightsail Developer Guide*. [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/bucket-naming-rules-in-amazon-lightsail @return [String]
@!attribute [rw] bundle_id
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. @return [String]
@!attribute [rw] tags
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. @return [Array<Types::Tag>]
@!attribute [rw] enable_object_versioning
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][1] in the *Amazon Lightsail Developer Guide*. [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-managing-bucket-object-versioning @return [Boolean]
@see docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateBucketRequest AWS API Documentation
Constants
- SENSITIVE