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.
19 lines (18 loc) • 538 B
TypeScript
import { AwsCredentialIdentity, Profile } from "@smithy/types";
import { FromIniInit } from "./fromIni";
/**
* @internal
*/
export interface WebIdentityProfile extends Profile {
web_identity_token_file: string;
role_arn: string;
role_session_name?: string;
}
/**
* @internal
*/
export declare const isWebIdentityProfile: (arg: any) => arg is WebIdentityProfile;
/**
* @internal
*/
export declare const resolveWebIdentityCredentials: (profile: WebIdentityProfile, options: FromIniInit) => Promise<AwsCredentialIdentity>;