grafana / k6-jslib-aws

Javascript Library allowing to interact with AWS resources from k6 scripts
Apache License 2.0
18 stars 28 forks source link

Refactor client classes to make their properties private and readonly #79

Closed oleiade closed 7 months ago

oleiade commented 8 months ago

I was inspired by #76 and how @nickcaballero switched the LambdaClient properties as private and/or readonly. This ensures that we only expose properties and/or let them be modified by users of the clients selectively.

I thought this is a good practice to follow and aligned the codebase accordingly 🙇🏻

oleiade commented 8 months ago

Rebased on main to remove the conflicts 👍🏻