AWS Developer Blog

DynamoDB XSpec API

One of the most powerful tools for accessing Amazon DynamoDB is the use of a DynamoDB domain-specific language (DSL) called expressions. If you look closely, you will find the support of DynamoDB expressions everywhere. For instance, you can access the attributes of an item using projection expressions. You can query or scan items using filter […]

Read More

Generating Amazon S3 Pre-signed URLs with SSE-KMS (Part 2)

To continue from the previous blog, I will provide specific code examples that show how you can generate and consume pre-signed URLs using server-side encryption with AWS Key Management Service (SSE-KMS). A pre-requisite to this option is that you must be using Signature Version 4 (SigV4). You can enable SigV4 in the AWS SDK for […]

Read More

Modularization Released to NuGet in Preview

Today, we pushed our new modularized version of the AWS SDK for .NET to NuGet in preview. This means there are separate NuGet packages for each AWS service. For example, if your application uses Amazon S3 and Amazon DynamoDB, then instead of including the existing AWSSDK package that includes all the AWS services, you can […]

Read More

Authentication in the Browser with Amazon Cognito and Public Identity Providers

Our earlier blog post introduced authentication with Amazon Cognito in the browser. Amazon Cognito has since simplified the authentication workflow. This article describes authenticating the SDK in the browser using Amazon Cognito and supported public identity providers like Google, Facebook, and Amazon. Step 1 and Step 2 outline registering your application with a public identity […]

Read More

Uploading Files to Amazon S3

I blogged previously about downloading objects from Amazon S3 using the version 2 AWS SDK for Ruby. It was requested that I write about uploading objects as well. Managed File Uploads The simplest and most common task is upload a file from disk to a bucket in Amazon S3. This is very straightforward when using […]

Read More

Storing JSON documents in Amazon DynamoDB tables

DynamoDBMapper is a high-level abstraction layer in the AWS SDK for Java that allows you to transform java objects into items in Amazon DynamoDB tables and vice versa. All you need to do is annotate your java class in a few places, and the mapper takes care of getting the objects in and out of […]

Read More

Verifying Amazon SNS Message Authenticity

You can now use version 2 of the AWS SDK for Ruby to verify the signatures of Amazon SNS messages. To help prevent spoofing attacks, you should verify messages are sent by Amazon SNS. The new verifier follows the documented best practices for verification, including: Always use HTTPS when getting the certificate from Amazon SNS. […]

Read More

Polling Messages from a Amazon SQS Queue

We’ve recently added a utility class to the AWS SDK for Ruby that makes it easy to poll an Amazon SQS queue for messages. poller = Aws::SQS::QueuePoller.new(queue_url) poller.poll do |msg| puts msg.body end Messages are automatically deleted from the queue at the end of the block. This tool supports receiving and deleting messages in batches, […]

Read More