AWS SDK Version 4 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.

In terms of implementation, a Bucket is a resource.

Inheritance Hierarchy

System.Object
  Amazon.S3.Model.S3Bucket

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

Syntax

C#
public class S3Bucket

The S3Bucket type exposes the following members

Constructors

NameDescription
Public Method S3Bucket()

Properties

NameTypeDescription
Public Property BucketName System.String

Gets and sets the property BucketName.

The name of the bucket.

Public Property BucketRegion System.String

Gets and sets the property BucketRegion.

BucketRegion indicates the Amazon Web Services region where the bucket is located. If the request contains at least one valid parameter, it is included in the response.

Public Property CreationDate System.Nullable<System.DateTime>

Gets and sets the property CreationDate.

Date the bucket was created. This date can change when making changes to your bucket, such as editing its bucket policy.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer