AWS SDK for Javascript now fully componentized and Browserify-able!

With the v2.6.0 release of the aws-sdk for Javascript, all service classes are componentized and fully support browserify!  I asked for the support late last year and AWS came through.

What does this mean you ask?

  • No code bloat. You only require the specific services you are going to use.
  • Browserify support means that your code can get even smaller.
  • Less code means faster AWS Lambdas.  Lambda’s have faster cold starts, which means quicker response time and less cost for you.
  • Allows you to stay up to date with the most recent aws-sdk-js without paying a performance penalty.  The only option before this support was to a) stick with the outdated version of the pre-shipped aws-sdk-js or b) ship the sdk in your lambda .zip

If you would like to start taking advantage of this in your Lambda code, check out my Serverless browserify plugin for the Serverless platform.  My plugin handles all the heavy lifting with almost zero configuration.

 

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this:
search previous next tag category expand menu location phone mail time cart zoom edit close