ServiceResource / Sub-Resource / Object

Object#

S3.ServiceResource.Object(bucket_name, key)#

Creates a Object resource.:

object = s3.Object('bucket_name','key')
Parameters:
  • bucket_name (string) – The Object’s bucket_name identifier. This must be set.

  • key (string) – The Object’s key identifier. This must be set.

Return type:

S3.Object

Returns:

A Object resource