lemon-engine
Version:
Lemon Engine Module to Synchronize Node over DynamoDB + ElastiCache + Elasticsearch by [lemoncloud](https://lemoncloud.io)
24 lines (23 loc) • 707 B
TypeScript
/**
* CRON Proxy Service Exports
* - proxy call to cron(CloudWatch Rule) service.
*
*
*
* @author steve@lemoncloud.io
* @date 2019-05-23
* @copyright (C) lemoncloud.io 2019 - All Rights Reserved.
*/
import { EnginePluggable, EnginePluginBuilder } from '../common/types';
export interface CronProxy extends EnginePluggable {
/**
* get the current endpoint address.
*/
endpoint: () => string;
do_list_rules: (limit: any, prefix: any, token: any) => any;
do_describe_rule: (name: any) => any;
do_enable_rule: (name: any, enabled: any) => any;
do_save_rule: (name: any, node: any) => any;
}
declare const maker: EnginePluginBuilder<CronProxy>;
export default maker;