GetParameters
Source:
src/AWS/SSM/GetParameters.ts
Runtime binding for ssm:GetParameters.
Bind this operation to one or more Parameters inside a function runtime
to get a callable that fetches all of them in a single API call. The
binding grants ssm:GetParameters on the exact parameter ARNs and
kms:Decrypt on the encryption keys of any SecureString parameters.
Reading Multiple Parameters
Section titled “Reading Multiple Parameters”const getParameters = yield* SSM.GetParameters(dbUrl, apiKey);
const result = yield* getParameters({ WithDecryption: true });for (const parameter of result.Parameters ?? []) { yield* Effect.log(`${parameter.Name} = ${parameter.Value}`);}