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
Copy file name to clipboardExpand all lines: packages/parameters/src/types/SSMProvider.ts
+45-4
Original file line number
Diff line number
Diff line change
@@ -50,12 +50,18 @@ 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`.
56
56
*/
57
57
interfaceSSMGetOptionsextendsGetOptionsInterface{
58
+
/**
59
+
* If true, the parameter will be decrypted. Defaults to `false`.
60
+
*/
58
61
decrypt?: boolean
62
+
/**
63
+
* Additional options to pass to the AWS SDK v3 client. Supports all options from `GetParameterCommandInput`.
64
+
*/
59
65
sdkOptions?: Partial<GetParameterCommandInput>
60
66
}
61
67
@@ -93,13 +99,46 @@ type SSMGetOutput<O = undefined> =
93
99
* @property {boolean} recursive - If true, the parameter will be fetched recursively.
94
100
* @property {boolean} throwOnTransformError - If true, the method will throw an error if the transform fails.
0 commit comments