Skip to content

AWS-SDK/template

🟡 AWS SDK for JavaScript v3 – Universal CDN Package

This is a browser-ready distribution of @aws-sdk/{repoName} modules from AWS SDK for JavaScript v3. It is automatically built and published to a CDN, so developers can use AWS SDKs directly in the browser with zero bundling.

⚡️ No build step needed. Just import from a URL and use immediately.


📦 Usage

Use directly in the browser via jsDelivr:

Latest version

<script type="module">
  import { } from "https://cdn.jsdelivr.net/gh/aws-sdk/{repoName}/index.min.mjs";
  // your logic here
</script>

Specific version

<script type="module">
  import { S3Client } from "https://cdn.jsdelivr.net/gh/aws-sdk/client-s3@{repoVersion}/index.min.mjs";

  const client = new S3Client({ region: "us-east-1" });
</script>

Replace client-s3 with any other AWS SDK v3 client like:

  • client-dynamodb
  • client-iam
  • client-ses
  • etc.

📚 Available Clients

You can request any official @aws-sdk/client-* module from npm.

If a package you want isn’t available yet, create an issue


🔧 What This Contains

Each client directory contains:

  • index.min.mjs – ES Module bundle
  • entry.mjs – Source ES module export
  • Example files (examples/index.html, examples/main.mjs, examples/main.css)

📤 CDN Link Format

  • Latest: https://cdn.jsdelivr.net/gh/aws-sdk/<service>/index.min.mjs

  • Specific version: https://cdn.jsdelivr.net/gh/aws-sdk/<service>@<version>/index.min.mjs

Examples:

// Latest
https://cdn.jsdelivr.net/gh/aws-sdk/{repoName}/index.min.mjs

// Specific
https://cdn.jsdelivr.net/gh/aws-sdk/{repoName}@{repoVersion}/index.min.mjs

🔒 Security Warning

Using external scripts from a CDN in production requires care. To lock versions and ensure consistency:

✅ Use fixed versions (@{repoVersion}) ❌ Avoid always pointing to latest in production.


🤝 Contributing

To request support for a new AWS SDK v3 browder package, open an issue.


📜 License

Apache-2.0


About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published