Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Is it possible to download v3 without using node.js? #4893

Discussion options

I want to use the v3 SDK but there does not seem to be a way to just include the js library or download it like vs 2.

i.e. <script src="https://sdk.amazonaws.com/js/aws-sdk-SDK_VERSION_NUMBER.min.js"></script>

We don't use or want to install NODE.JS.

Is there a download or CDN for the latest version or is node.js the only option?

You must be logged in to vote

Hi @jaimefuhr, basically that is not possible in V3. You could download the source code from GitHub but however you still need to resolve the dependencies, which are npm dependencies anyways, in order to build the whole SDK.

I hope this helps!

Thanks!

Replies: 3 comments

Comment options

Hi @jaimefuhr, basically that is not possible in V3. You could download the source code from GitHub but however you still need to resolve the dependencies, which are npm dependencies anyways, in order to build the whole SDK.

I hope this helps!

Thanks!

You must be logged in to vote
0 replies
Answer selected by yenfryherrerafeliz
Comment options

Hello! Reopening this discussion to make it searchable.

You must be logged in to vote
0 replies
Comment options

@jaimefuhr @yenfryherrerafeliz

It's possible now

Use @aws-sdk/client-* or @aws-sdk/lib-* Directly in Browser via importmap + jsDelivr
Thanks to the AWS SDK's modular packaging via webpack, public hosting on GitHub, and delivery via the jsDelivr CDN, you can now use AWS SDK v3 clients like @aws-sdk/client-s3 directly in the browser — no bundlers or build steps required!

✅ Example: Use @aws-sdk/client-s3 via import map and jsDelivr CDN in HTML

This example shows how to use the @aws-sdk/client-s3 package in a simple HTML file using an import map that loads the module directly from the jsDelivr CDN.

📄 HTML Code:

<!DOCTYPE html>
<html lang="en">
<head>
 <meta charset="UTF-8">
 <script type="importmap">
 {
 "imports": {
 "@aws-sdk/client-s3": "https://cdn.jsdelivr.net/gh/aws-sdk/client-s3@3.844.0/index.min.mjs"
 }
 }
 </script>
</head>
<body>
 <script type="module">
 import { S3Client, GetObjectCommand } from "@aws-sdk/client-s3";
 const client = new S3Client({
 region: "us-east-1"
});
 </script>
</body>
</html>

🔁 Use Other AWS SDK Clients

You can replace client-s3 with any other AWS SDK v3 client. For example:

  • @aws-sdk/client-dynamodb:

    "https://cdn.jsdelivr.net/gh/aws-sdk/client-dynamodb@3.844.0/index.min.mjs"
  • @aws-sdk/client-ses:

    "https://cdn.jsdelivr.net/gh/aws-sdk/client-ses/index.min.mjs" // gets latest version

If you omit the version, you will automatically get the latest version available on GitHub, e.g.:

{
 "imports": {
 "@aws-sdk/client-s3": "https://cdn.jsdelivr.net/gh/aws-sdk/client-s3/index.min.mjs"
 }
}

📚 References:

#7201

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

AltStyle によって変換されたページ (->オリジナル) /