@aws-lambda-powertools/parameters
Version:
The parameters package for the Powertools for AWS Lambda (TypeScript) library
24 lines • 866 B
TypeScript
declare const DEFAULT_MAX_AGE_SECS = 5;
declare const TRANSFORM_METHOD_JSON = "json";
declare const TRANSFORM_METHOD_BINARY = "binary";
declare const TRANSFORM_METHOD_AUTO = "auto";
declare const APPCONFIG_TOKEN_EXPIRATION: number;
/**
* Transform methods for values retrieved by parameter providers.
*/
declare const Transform: {
/**
* Transform the retrieved value using `JSON.parse`.
*/
readonly JSON: "json";
/**
* Transform a base64-encoded value from `Uint8Array` to `string`.
*/
readonly BINARY: "binary";
/**
* Automatically detect the transform method based on the parameter' name suffix.
*/
readonly AUTO: "auto";
};
export { APPCONFIG_TOKEN_EXPIRATION, DEFAULT_MAX_AGE_SECS, TRANSFORM_METHOD_JSON, TRANSFORM_METHOD_BINARY, TRANSFORM_METHOD_AUTO, Transform, };
//# sourceMappingURL=constants.d.ts.map