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.
Configuration for accessing Amazon S3 service
Namespace: Amazon.S3
Assembly: AWSSDK.S3.dll
Version: 3.x.y.z
public static class AmazonS3DefaultConfiguration
The AmazonS3DefaultConfiguration type exposes the following members
| Name | Type | Description | |
|---|---|---|---|
|
Auto | Amazon.Runtime.IDefaultConfiguration |
The AUTO mode is an experimental mode that builds on the standard mode. The SDK will attempt to discover the execution environment to determine the appropriate settings automatically. Note that the auto detection is heuristics-based and does not guarantee 100% accuracy. STANDARD mode will be used if the execution environment cannot be determined. The auto detection might query EC2 Instance Metadata service, which might introduce latency. Therefore we recommend choosing an explicit defaults_mode instead if startup latency is critical to your application |
|
CrossRegion | Amazon.Runtime.IDefaultConfiguration |
The CROSS_REGION mode builds on the standard mode and includes optimization tailored for applications which call AWS services in a different region Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK |
|
InRegion | Amazon.Runtime.IDefaultConfiguration |
The IN_REGION mode builds on the standard mode and includes optimization tailored for applications which call AWS services from within the same AWS region Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK |
|
Mobile | Amazon.Runtime.IDefaultConfiguration |
The MOBILE mode builds on the standard mode and includes optimization tailored for mobile applications Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK |
|
Standard | Amazon.Runtime.IDefaultConfiguration |
The STANDARD mode provides the latest recommended default values that should be safe to run in most scenarios Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK |
| Name | Description | |
|---|---|---|
|
GetAllConfigurations() |
Collection of all Amazon.Runtime.DefaultConfigurations supported by S3 |
Explore code examples in the AWS SDK Code Examples Code Library.
Create a photo asset management application that lets users manage photos using labels
Detect objects in images with Amazon Rekognition using an AWS SDK
Get started with encryption for Amazon S3 objects using an AWS SDK
Get started with tags for Amazon S3 objects using an AWS SDK
Manage access control lists (ACLs) for Amazon S3 buckets using an AWS SDK
Perform a multipart copy of an Amazon S3 object using an AWS SDK
Upload or download large files to and from Amazon S3 using an AWS SDK
.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