lambda-live-debugger
Version:
Debug Lambda functions locally like it is running in the cloud
34 lines (33 loc) • 1.13 kB
TypeScript
import type { Logger, SharedConfigFiles } from "@smithy/types";
/**
* @public
*/
export interface SharedConfigInit {
/**
* The path at which to locate the ini credentials file. Defaults to the
* value of the `AWS_SHARED_CREDENTIALS_FILE` environment variable (if
* defined) or `~/.aws/credentials` otherwise.
*/
filepath?: string;
/**
* The path at which to locate the ini config file. Defaults to the value of
* the `AWS_CONFIG_FILE` environment variable (if defined) or
* `~/.aws/config` otherwise.
*/
configFilepath?: string;
/**
* Configuration files are normally cached after the first time they are loaded. When this
* property is set, the provider will always reload any configuration files loaded before.
*/
ignoreCache?: boolean;
/**
* For credential resolution trace logging.
*/
logger?: Logger;
}
export { CONFIG_PREFIX_SEPARATOR } from "./constants";
/**
* Loads the config and credentials files.
* @internal
*/
export declare const loadSharedConfigFiles: (init?: SharedConfigInit) => Promise<SharedConfigFiles>;