class Aws::Lightsail::Types::UpdateBucketRequest
@note When making an API call, you may pass UpdateBucketRequest
data as a hash: { bucket_name: "BucketName", # required access_rules: { get_object: "public", # accepts public, private allow_public_overrides: false, }, versioning: "NonEmptyString", readonly_access_accounts: ["NonEmptyString"], }
@!attribute [rw] bucket_name
The name of the bucket to update. @return [String]
@!attribute [rw] access_rules
An object that sets the public accessibility of objects in the specified bucket. @return [Types::AccessRules]
@!attribute [rw] versioning
Specifies whether to enable or suspend versioning of objects in the bucket. The following options can be specified: * `Enabled` - Enables versioning of objects in the specified bucket. * `Suspended` - Suspends versioning of objects in the specified bucket. Existing object versions are retained. @return [String]
@!attribute [rw] readonly_access_accounts
An array of strings to specify the AWS account IDs that can access the bucket. You can give a maximum of 10 AWS accounts access to a bucket. @return [Array<String>]
@see docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateBucketRequest AWS API Documentation
Constants
- SENSITIVE