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.

32 lines (31 loc) 898 B
export declare enum envVariableNames { /** * Note that the function is subscribed to SQS, so we need to send spy events as it comes from SQS. */ SSPY_SUBSCRIBED_TO_SQS = "SSPY_SUBSCRIBED_TO_SQS", /** * Mapping of resource ARNs to service keys */ SSPY_INFRA_MAPPING = "SSPY_INFRA_MAPPING", /** * Web socket endpoint for sending and receiving spy events. */ SSPY_WS_ENDPOINT = "SSPY_WS_ENDPOINT", SSPY_FUNCTION_NAME = "SSPY_FUNCTION_NAME", /** * DynamoDB table name that stores active websocket connections. */ SSPY_WS_TABLE_NAME = "SSPY_WS_TABLE_NAME", /** * Log debugging details. */ SSPY_DEBUG = "SSPY_DEBUG", /** * The root stack */ SSPY_ROOT_STACK = "SSPY_ROOT_STACK", /** * The endpoint url for AWS IoT for the account */ SSPY_IOT_ENDPOINT = "SSPY_IOT_ENDPOINT" }