UNPKG

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.

9 lines (8 loc) 360 B
import { CredentialProviderOptions, TokenIdentity, TokenIdentityProvider } from "@aws-sdk/types"; export interface FromStaticInit extends CredentialProviderOptions { token?: TokenIdentity; } /** * Creates a token provider that will read from static token. */ export declare const fromStatic: ({ token, logger }: FromStaticInit) => TokenIdentityProvider;