AWS Developer Tools Blog

Category: C++

Setting up an Android application with AWS SDK for C++

The AWS SDK for C++ can build and run on many different platforms, including Android. In this post, I walk you through building and running a sample application on an Android device. Overview I cover the following topics: Building and installing the SDK for C++ and creating a desktop application that implements the basic functionality. […]

Generate an Amazon S3 presigned URL with SSE using the AWS SDK for C++

Amazon Simple Storage Service (Amazon S3) presigned URLs give you or your customers an option to access an Amazon S3 object identified in the URL, without having AWS credentials and permissions. With server-side encryption (SSE) specified, Amazon S3 will encrypt the data when the object is written to disks, and decrypt the data when the […]

Developer Experience of the AWS SDK for C++ Now Simplified by CMake

Building a cross-platform C or C++ project is tedious and time consuming. You often have to manage build files for each platform’s build system. On Unix-like systems, you might use Make, while on Windows you would have to use MSBuild. To make matters worse, in each of these build systems you have to manually maintain […]

Cross-Platform Text-to-Speech for C++ with Amazon Polly

Amazon Polly launched at re:invent 2016. Because C++ allows us direct access to sound drivers, we decided to try using Amazon Polly for cross-platform text-to-speech applications. The result of our experiment is the new text-to-speech library for the AWS SDK for C++. Let’s look at some Code Examples. List available output devices #include <aws/core/Aws.h> #include […]

Amazon S3 Encryption Client Now Available for C++ Developers

My colleague, Conor Campbell, has great news for C++ developers who need to store sensitive information in Amazon S3. — Jonathan Many customers have asked for an Amazon S3 Encryption Client that is compatible with the existing Java client, and today we are delighted to provide it. You can now use the AWS SDK for […]

AWS SDK for C++ Now Available via. NuGet

C++ has long suffered from the lack of good dependency management solutions. For .NET development, NuGet is one of the most commonly used tools. NuGet solves each of these problems for the Visual Studio C++ development environment: Native Windows developers often have to build against multiple Visual C++ runtimes. Companies often need to distribute flavors […]

Symmetric Encryption/Decryption in the AWS SDK for C++ with std::iostream

Cryptography is hard in any programming language. It is especially difficult in platform-portable native code where we don’t have the advantage of a constant platform implementation. Many customers have asked us for an Amazon S3 encryption client that is compatible with the Java and Ruby clients. Although we are not ready to release that yet, […]

AWS SDK for C++: Simplified Configuration and Initialization

Many of our users are confused by initializing and installing a memory manager, enabling logging, overriding the HTTP stack, and installing custom cryptography implementations. Not only are these tasks confusing, they are tedious and require an API call to set up and tear down each component. To make matters worse, on some platforms, we were […]

Using a Thread Pool with the AWS SDK for C++

The default thread executor implementation we provide for asynchronous operations spins up a thread and then detaches it. On modern operating systems, this is often exactly what we want. However, there are some other use cases for which this simply will not work. For example, suppose we want to fire off asynchronous calls to Amazon […]