Skip to content
This repository has been archived by the owner on Jun 16, 2020. It is now read-only.
/ modular-aws-sdk Public archive

A tool to create aws package with only the services you need.

Notifications You must be signed in to change notification settings

Junkern/modular-aws-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

modular-aws-sdk


AWS has now published the version 3 of its SDK and it is now modularized: https://github.com/aws/aws-sdk-js-v3

A tool to build a smaller aws-sdk with only the things you need for your application.

Currently it is only possible to build a package with one AWS lib (e.g. only EC2)

The original code of the aws-sdk is not altered in any way.

Benefits

You have a smaller packages which saves time and costs.

Example (version 2.460.0):

Full aws-sdk: 40 MB Package created with bash create.sh dynamodb: 3,6 MB

Execution

For building a version with only one AWS service

Simply call bash create.sh SOFTWARE where SOFTWARE is a property from https://github.com/aws/aws-sdk-js/blob/master/apis/metadata.json

Building the full SDK containg only the files needed for Node.js

npm install
bash scripts/createPureNodeJsAWSSDK.sh
# the final sdk will be in the "modular-aws-sdk-pure-node" folder

Examples

About

A tool to create aws package with only the services you need.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published