open-next-cdk
Version:
Deploy a NextJS app using OpenNext packaging to serverless AWS using CDK
12 lines (11 loc) • 541 B
TypeScript
import { AwsCredentialIdentityProvider } from "@smithy/types";
/**
* @internal
*
* Resolve the `credential_source` entry from the profile, and return the
* credential providers respectively. No memoization is needed for the
* credential source providers because memoization should be added outside the
* fromIni() provider. The source credential needs to be refreshed every time
* fromIni() is called.
*/
export declare const resolveCredentialSource: (credentialSource: string, profileName: string) => AwsCredentialIdentityProvider;