You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(parameters): stronger types for SSM getParameter (#1387)
* feat: stronger types for SSM getParameter
* feat: improved types for getParameters
* feat: added explicit type override
* chore: rebase
* chore: added type annotation to tests to use as canary
Copy file name to clipboardExpand all lines: packages/parameters/src/types/SSMProvider.ts
+94-7Lines changed: 94 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -50,15 +50,46 @@ type SSMProviderOptions = SSMProviderOptionsWithClientConfig | SSMProviderOption
50
50
* @extends {GetOptionsInterface}
51
51
* @property {number} maxAge - Maximum age of the value in the cache, in seconds.
52
52
* @property {boolean} forceFetch - Force fetch the value from the parameter store, ignoring the cache.
53
-
* @property {GetItemCommandInput} [sdkOptions] - Additional options to pass to the AWS SDK v3 client.
53
+
* @property {GetItemCommandInput} [sdkOptions] - Additional options to pass to the AWS SDK v3 client. Supports all options from `GetParameterCommandInput`.
54
54
* @property {TransformOptions} transform - Transform to be applied, can be 'json' or 'binary'.
55
-
* @property {boolean} decrypt - If true, the parameter will be decrypted.
55
+
* @property {boolean} decrypt - If true, the parameter will be decrypted. Defaults to `false`.
0 commit comments