Class: Aws::Lightsail::Types::UpdateBucketRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lightsail::Types::UpdateBucketRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-lightsail/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#access_log_config ⇒ Types::BucketAccessLogConfig
An object that describes the access log configuration for the bucket.
-
#access_rules ⇒ Types::AccessRules
An object that sets the public accessibility of objects in the specified bucket.
-
#bucket_name ⇒ String
The name of the bucket to update.
-
#cors ⇒ Types::BucketCorsConfig
Sets the cross-origin resource sharing (CORS) configuration for your bucket.
-
#readonly_access_accounts ⇒ Array<String>
An array of strings to specify the Amazon Web Services account IDs that can access the bucket.
-
#versioning ⇒ String
Specifies whether to enable or suspend versioning of objects in the bucket.
Instance Attribute Details
#access_log_config ⇒ Types::BucketAccessLogConfig
An object that describes the access log configuration for the bucket.
14650 14651 14652 14653 14654 14655 14656 14657 14658 14659 |
# File 'lib/aws-sdk-lightsail/types.rb', line 14650 class UpdateBucketRequest < Struct.new( :bucket_name, :access_rules, :versioning, :readonly_access_accounts, :access_log_config, :cors) SENSITIVE = [] include Aws::Structure end |
#access_rules ⇒ Types::AccessRules
An object that sets the public accessibility of objects in the specified bucket.
14650 14651 14652 14653 14654 14655 14656 14657 14658 14659 |
# File 'lib/aws-sdk-lightsail/types.rb', line 14650 class UpdateBucketRequest < Struct.new( :bucket_name, :access_rules, :versioning, :readonly_access_accounts, :access_log_config, :cors) SENSITIVE = [] include Aws::Structure end |
#bucket_name ⇒ String
The name of the bucket to update.
14650 14651 14652 14653 14654 14655 14656 14657 14658 14659 |
# File 'lib/aws-sdk-lightsail/types.rb', line 14650 class UpdateBucketRequest < Struct.new( :bucket_name, :access_rules, :versioning, :readonly_access_accounts, :access_log_config, :cors) SENSITIVE = [] include Aws::Structure end |
#cors ⇒ Types::BucketCorsConfig
Sets the cross-origin resource sharing (CORS) configuration for your bucket. If a CORS configuration exists, it is replaced with the specified configuration. For AWS CLI operations, this parameter can also be passed as a file. For more information, see [Configuring cross-origin resource sharing (CORS)].
<note markdown=“1”> CORS information is only returned in a response when you update the CORS policy.
</note>
[1]: docs.aws.amazon.com/lightsail/latest/userguide/configure-cors.html
14650 14651 14652 14653 14654 14655 14656 14657 14658 14659 |
# File 'lib/aws-sdk-lightsail/types.rb', line 14650 class UpdateBucketRequest < Struct.new( :bucket_name, :access_rules, :versioning, :readonly_access_accounts, :access_log_config, :cors) SENSITIVE = [] include Aws::Structure end |
#readonly_access_accounts ⇒ Array<String>
An array of strings to specify the Amazon Web Services account IDs that can access the bucket.
You can give a maximum of 10 Amazon Web Services accounts access to a bucket.
14650 14651 14652 14653 14654 14655 14656 14657 14658 14659 |
# File 'lib/aws-sdk-lightsail/types.rb', line 14650 class UpdateBucketRequest < Struct.new( :bucket_name, :access_rules, :versioning, :readonly_access_accounts, :access_log_config, :cors) SENSITIVE = [] include Aws::Structure end |
#versioning ⇒ String
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.
14650 14651 14652 14653 14654 14655 14656 14657 14658 14659 |
# File 'lib/aws-sdk-lightsail/types.rb', line 14650 class UpdateBucketRequest < Struct.new( :bucket_name, :access_rules, :versioning, :readonly_access_accounts, :access_log_config, :cors) SENSITIVE = [] include Aws::Structure end |