AWS Developer Tools Blog
Category: Java
DevOps Meets Security: Security Testing Your AWS Application: Part III – Continuous Testing
This is part III of a blog post series in which we do a deep dive on automated security testing for AWS applications. In part I, we discussed how AWS Java developers can create security unit tests to verify the correctness of their AWS applications by testing individual units of code in isolation. In part […]
DevOps Meets Security: Security Testing Your AWS Application: Part II – Integration Testing
This is part II of a blog post series in which we do a deep dive on automated security testing for AWS applications. In part I, we discussed how AWS Java developers can create security unit tests to verify the correctness of their AWS applications by testing individual units of code in isolation. In this […]
DevOps Meets Security: Security Testing Your AWS Application: Part I – Unit Testing
The adoption of DevOps practices allows organizations to be agile while deploying high-quality software to customers on a regular basis. The CI/CD pipeline is an important component of the DevOps model. It automates critical verification tasks, making fully automated software deployments possible. Security tests are critical to the CI/CD pipeline. These tests verify whether the […]
New Additions to Exception Handling
Exception handling in the AWS SDK for Java just got a little easier! We just introduced base exception classes for all AWS services in the SDK. Now all modeled exceptions extend from this service-specific base exception and all unmodeled exceptions (unknown exceptions thrown by the service) will be unmarshalled into the service-specific base exception, and […]
Fluent Client Builders
We are pleased to announce a better, more intuitive way to construct and configure service clients in the AWS SDK for Java. Previously, the only way to construct a service client was through one of the many overloaded constructors in the client class. Finding the right constructor was difficult and sometimes required duplicating the default […]
Encrypting Message Payloads Using the Amazon SQS Extended Client and the Amazon S3 Encryption Client
The Amazon SQS Extended Client is an open-source Java library that lets you manage Amazon SQS message payloads with Amazon S3. This is especially useful for storing and retrieving messages with a message payload size larger than the SQS limit of 256 KB. Some customers have asked us about encryption. This blog post explains how […]
Parallelizing Large Downloads for Optimal Speed
TransferManager now supports a feature that parallelizes large downloads from Amazon S3. You do not need to change your code to use this feature. You only need to upgrade the AWS SDK for Java to version 1.11.0 or later. When you download a file using TransferManager, the utility automatically determines if the object is multipart. If so, […]
Creating Lambda Stream Functions Using the AWS Toolkit for Eclipse
In this blog post, I will introduce two new features in the AWS Toolkit for Eclipse: creating an AWS Lambda stream function and creating multiple AWS Lambda functions in a single project. Unlike the normal AWS Lambda functions which take in POJOs for handler Input/Output, the AWS Lambda stream functions let you use the InputStream and OutputStream […]
AWS SDK for Java Developer Guide Is Now Open Source
We are happy to announce that the AWS SDK for Java Developer Guide and AWS Toolkit for Eclipse User Guide are now open-sourced on GitHub! You can edit content and code inline, make pull requests, file issues, and send content suggestions to the documentation and SDK teams. The AWS SDKs have always embraced openness as a […]
Testing Lambda functions using the AWS Toolkit for Eclipse
In this blog post, I will introduce how to test AWS Lambda functions in Eclipse by using the AWS Toolkit for Eclipse. The AWS Toolkit for Eclipse Lambda Plugin provides a feature in which a JUnit test class is created automatically upon creation of a new AWS Lambda Java project. I will give you step-by-step instructions for creating […]