@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
8 lines (7 loc) • 512 B
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as eventRule from "./eventRuleMixins";
/**
* Creates a CloudWatch event that will fire based on the specified schedule. This will create
* an EventRule which will then invoke the provided handler every time it fires.
*/
export declare function onSchedule(name: string, schedule: string, handler: eventRule.EventRuleEventHandler, args?: eventRule.EventRuleEventSubscriptionArgs, opts?: pulumi.ComponentResourceOptions): eventRule.EventRuleEventSubscription;