AbstractProtected Abstract_getProtected Abstract_getRetrieve multiple parameter values from the underlying parameter store.
Parameter name
Optionaloptions: unknownOptions to pass to the underlying implementated method
Retrieve a parameter value or return the cached value.
Parameter name
Optionaloptions: GetOptionsInterfaceOptions to configure maximum age, trasformation, AWS SDK options, or force fetch
Retrieve multiple parameter values or return the cached values.
Parameters path
Optionaloptions: GetMultipleOptionsInterfaceOptions to configure maximum age, trasformation, AWS SDK options, or force fetch
Base class for all providers.
As an abstract class, it should not be used directly, but rather extended by other providers.
It implements the common logic for all providers, such as caching, transformation, etc. Each provider that extends this class must implement the
_getand_getMultipleabstract methods.These methods are responsible for retrieving the values from the underlying parameter store. They are called by the
getandgetMultiplemethods, which are responsible for caching and transformation.If there are multiple calls to the same parameter but in a different transform, they will be stored multiple times. This allows us to optimize by transforming the data only once per retrieval, thus there is no need to transform cached values multiple times.
However, this means that we need to make multiple calls to the underlying parameter store if we need to return it in different transforms.
Since the number of supported transform is small and the probability that a given parameter will always be used in a specific transform, this should be an acceptable tradeoff.