ServiceResource / Sub-Resource / BucketProtection
BucketProtection#
- S3.ServiceResource.BucketProtection(bucket_name)#
Creates a BucketProtection resource.:
bucket_protection = s3.BucketProtection('bucket_name')
- Parameters:
bucket_name (string) – The BucketProtection’s bucket_name identifier. This must be set.
- Return type:
- Returns:
A BucketProtection resource