Bucket / Sub-Resource / Protection

Protection#

S3.Bucket.Protection()#

Creates a BucketProtection resource.:

bucket_protection = bucket.Protection()
Return type:

S3.BucketProtection

Returns:

A BucketProtection resource