UpdateBucketRequest
¶
Source code in docs_src/capo_lightsail/types/update_bucket_request.py
access_log_config
instance-attribute
¶
access_log_config: NotRequired[BucketAccessLogConfig]
An object that describes the access log configuration for the bucket.
access_rules
instance-attribute
¶
access_rules: NotRequired[AccessRules]
An object that sets the public accessibility of objects in the specified bucket.
cors
instance-attribute
¶
cors: NotRequired[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).
CORS information is only returned in a response when you update the CORS policy.
readonly_access_accounts
instance-attribute
¶
readonly_access_accounts: NotRequired[PartnerIdList]
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.
versioning
instance-attribute
¶
versioning: NotRequired[NonEmptyString]
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.