AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Represents an S3 Object. Contains all attributes that an S3 Object has. For more information about S3 Objects refer:

Inheritance Hierarchy


Namespace: Amazon.S3.Model
Assembly: AWSSDK.S3.dll
Version: 3.x.y.z


public class S3Object

The S3Object type exposes the following members


Public Method S3Object()


Public Property BucketName System.String

The name of the bucket containing this object.

Public Property ETag System.String

Any ETag set on the object.

Public Property Key System.String

The key of the object.

Public Property LastModified System.DateTime

The date and time the object was last modified. The date retrieved from S3 is in ISO8601 format. A GMT formatted date is passed back to the user.

Public Property Owner Amazon.S3.Model.Owner

The owner of the object.

Public Property Size System.Int64

The size of the object.

Public Property StorageClass Amazon.S3.S3StorageClass

The class of storage used to store the object.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

Supported Versions: 4.6 and above
Supported Platforms: Android, iOS, Standalone