serverless-spy
Version:
CDK-based library for writing elegant integration tests on AWS serverless architecture and an additional web console to monitor events in real time.
21 lines (20 loc) • 605 B
TypeScript
import { AwsCredentialIdentity, Profile } from "@smithy/types";
import { FromIniInit } from "./fromIni";
/**
* @internal
*/
export interface StaticCredsProfile extends Profile {
aws_access_key_id: string;
aws_secret_access_key: string;
aws_session_token?: string;
aws_credential_scope?: string;
aws_account_id?: string;
}
/**
* @internal
*/
export declare const isStaticCredsProfile: (arg: any) => arg is StaticCredsProfile;
/**
* @internal
*/
export declare const resolveStaticCredentials: (profile: StaticCredsProfile, options?: FromIniInit) => Promise<AwsCredentialIdentity>;