1.1.0 • Published 5 years ago

@cfn-modules/lambda-event-source-cron v1.1.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
5 years ago

Build Status NPM version

cfn-modules: AWS Lambda event source: cron

Cron event source for AWS Lambda function with alerting.

Install

Install Node.js and npm first!

npm i @cfn-modules/lambda-event-source-cron

Usage

---
AWSTemplateFormatVersion: '2010-09-09'
Description: 'cfn-modules example'
Resources:
  Cron:
    Type: 'AWS::CloudFormation::Stack'
    Properties:
      Parameters:
        LambdaModule: !GetAtt 'Function.Outputs.StackName' # required
        AlertingModule: !GetAtt 'Alerting.Outputs.StackName' # optional
        ScheduleExpression: 'rate(1 day)' # optional
      TemplateURL: './node_modules/@cfn-modules/lambda-event-source-cron/module.yml'

Examples

Related modules

Parameters

1.1.0

5 years ago

1.0.0

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago