ServiceResource / Sub-Resource / ObjectAcl

ObjectAcl#

S3.ServiceResource.ObjectAcl(bucket_name, object_key)#

Creates a ObjectAcl resource.:

object_acl = s3.ObjectAcl('bucket_name','object_key')
Parameters:
  • bucket_name (string) – The ObjectAcl’s bucket_name identifier. This must be set.

  • object_key (string) – The ObjectAcl’s object_key identifier. This must be set.

Return type:

S3.ObjectAcl

Returns:

A ObjectAcl resource