No results for

Powered byAlgolia

The aws module is a JavaScript library that wraps around some Amazon AWS service APIs.

The library exposes a couple of configuration and client classes allowing to interact with a subset of AWS services in the context of k6 load test scripts:

  • The S3Client to list S3 buckets and the objects they contain, as well as uploading, downloading and deleting objects from them.
  • The SecretsManagerClient class allows listing, getting, creating, updating, and deleting secrets from the AWS secrets manager service.
  • The AWSConfig class is used by each client classes to provide them access to AWS credentials as well as configuration.

⭐️ Source code available on GitHub. Please request features and report bugs through GitHub issues.

This library is in active development

This library is stable enough to be useful, but pay attention to the new versions released on jslib.k6.io and k6-jslib-aws/releases.

This documentation is for the last version only. If you discover that some code below does not work, it most likely means that you are using an older version.

Classes

LibraryDescription
S3ClientClient class allowing to interact with AWS S3 buckets and objects.
SecretsManagerClient class allowing to interact with AWS secrets stored in Secrets Manager.
AWSConfigClass allowing to configure AWS client classes