class Aws::Lightsail::Types::Bucket
Describes an Amazon Lightsail
bucket.
@!attribute [rw] resource_type
The Lightsail resource type of the bucket (for example, `Bucket`). @return [String]
@!attribute [rw] access_rules
An object that describes the access rules of the bucket. @return [Types::AccessRules]
@!attribute [rw] arn
The Amazon Resource Name (ARN) of the bucket. @return [String]
@!attribute [rw] bundle_id
The ID of the bundle currently applied to the bucket. A bucket bundle specifies the monthly cost, storage space, and data transfer quota for a bucket. Use the UpdateBucketBundle action to change the bundle of a bucket. @return [String]
@!attribute [rw] created_at
The timestamp when the distribution was created. @return [Time]
@!attribute [rw] url
The URL of the bucket. @return [String]
@!attribute [rw] location
Describes the resource location. @return [Types::ResourceLocation]
@!attribute [rw] name
The name of the bucket. @return [String]
@!attribute [rw] support_code
The support code for a bucket. Include this code in your email to support when you have questions about a Lightsail bucket. This code enables our support team to look up your Lightsail information more easily. @return [String]
@!attribute [rw] tags
The tag keys and optional values for the bucket. For more information, see [Tags in Amazon Lightsail][1] in the *Amazon Lightsail Developer Guide*. [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags @return [Array<Types::Tag>]
@!attribute [rw] object_versioning
Indicates whether object versioning is enabled for the bucket. The following options can be configured: * `Enabled` - Object versioning is enabled. * `Suspended` - Object versioning was previously enabled but is currently suspended. Existing object versions are retained. * `NeverEnabled` - Object versioning has never been enabled. @return [String]
@!attribute [rw] able_to_update_bundle
Indicates whether the bundle that is currently applied to a bucket can be changed to another bundle. You can update a bucket's bundle only one time within a monthly AWS billing cycle. Use the UpdateBucketBundle action to change a bucket's bundle. @return [Boolean]
@!attribute [rw] readonly_access_accounts
An array of strings that specify the AWS account IDs that have read-only access to the bucket. @return [Array<String>]
@!attribute [rw] resources_receiving_access
An array of objects that describe Lightsail instances that have access to the bucket. Use the SetResourceAccessForBucket action to update the instances that have access to a bucket. @return [Array<Types::ResourceReceivingAccess>]
@!attribute [rw] state
An object that describes the state of the bucket. @return [Types::BucketState]
@see docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Bucket AWS API Documentation
Constants
- SENSITIVE