Amazon S3 code examples using the AWS SDK for C++
Amazon S3
Note
Only the code that is necessary to demonstrate certain techniques is supplied in this Guide, but the
complete example code is available on GitHub
-
S3Client
class The
S3Client
library is a fully-featured Amazon S3 interface.The
list_buckets_disabling_dns_cache.cpp
example in this set is catered specifically to work with CURL on Linux/Mac (though can be modified to work on Windows). If you are on Windows, delete the filelist_buckets_disabling_dns_cache.cpp
before building the project because it relies on the curl HttpClient of Linux.The example code utilizing the
S3Client
is in thes3
folderon Github. See the Readme on Github for a full list of functions demonstrated by this example set. Portions of the
s3
example set are covered in additional detail in this guide: -
S3CrtClient
class The
S3CrtClient
was added in version 1.9 of the SDK.S3CrtClient
provides high throughput for Amazon S3 GET (download) and PUT (upload) operations. TheS3CrtClient
is implemented on the top of the AWS Common Runtime (CRT) libraries.The example code utilizing the
S3CrtClient
is in thes3-crt
folderon Github. See the Readme on Github for a full list of functions demonstrated by this example set. -
TransferManager
class TransferManager
is a fully managed service that enables the transfer of files over the File Transfer Protocol (FTP), File Transfer Protocol over SSL (FTPS), or Secure Shell (SSH) File Transfer Protocol (SFTP) directly into and out of Amazon S3.The example code utilizing the
TransferManager
is in thetransfer-manager
folderon Github. See the Readme on Github for a full list of functions demonstrated by this example set.