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