Class: Aws::Lightsail::Types::CreateBucketRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lightsail::Types::CreateBucketRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-lightsail/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#bucket_name ⇒ String
The name for the bucket.
-
#bundle_id ⇒ String
The ID of the bundle to use for the bucket.
-
#enable_object_versioning ⇒ Boolean
A Boolean value that indicates whether to enable versioning of objects in the bucket.
-
#tags ⇒ Array<Types::Tag>
The tag keys and optional values to add to the bucket during creation.
Instance Attribute Details
#bucket_name ⇒ String
The name for the bucket.
For more information about bucket names, see [Bucket naming rules in Amazon Lightsail] in the *Amazon Lightsail Developer Guide*.
[1]: lightsail.aws.amazon.com/ls/docs/en_us/articles/bucket-naming-rules-in-amazon-lightsail
2929 2930 2931 2932 2933 2934 2935 2936 |
# File 'lib/aws-sdk-lightsail/types.rb', line 2929 class CreateBucketRequest < Struct.new( :bucket_name, :bundle_id, :tags, :enable_object_versioning) SENSITIVE = [] include Aws::Structure end |
#bundle_id ⇒ String
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.
[1]: docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetBucketBundles.html [2]: docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_UpdateBucketBundle.html
2929 2930 2931 2932 2933 2934 2935 2936 |
# File 'lib/aws-sdk-lightsail/types.rb', line 2929 class CreateBucketRequest < Struct.new( :bucket_name, :bundle_id, :tags, :enable_object_versioning) SENSITIVE = [] include Aws::Structure end |
#enable_object_versioning ⇒ 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*.
[1]: lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-managing-bucket-object-versioning
2929 2930 2931 2932 2933 2934 2935 2936 |
# File 'lib/aws-sdk-lightsail/types.rb', line 2929 class CreateBucketRequest < Struct.new( :bucket_name, :bundle_id, :tags, :enable_object_versioning) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
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.
[1]: docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_TagResource.html
2929 2930 2931 2932 2933 2934 2935 2936 |
# File 'lib/aws-sdk-lightsail/types.rb', line 2929 class CreateBucketRequest < Struct.new( :bucket_name, :bundle_id, :tags, :enable_object_versioning) SENSITIVE = [] include Aws::Structure end |