Created
April 29, 2020 00:47
-
-
Save thanakijwanavit/ae5cecf975333d54774c73ba8c0899f1 to your computer and use it in GitHub Desktop.
sam template to add a trigger event every hour
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AWSTemplateFormatVersion: '2010-09-09' | |
Transform: AWS::Serverless-2016-10-31 | |
Parameters: | |
NotificationEmail: | |
Type: String | |
Resources: | |
CheckWebsitePeriodically: | |
Type: AWS::Serverless::Function | |
Properties: | |
Handler: LambdaFunctionOverHttps.handler | |
Runtime: runtime | |
Policies: AmazonDynamoDBFullAccess | |
Events: | |
CheckWebsiteScheduledEvent: | |
Type: Schedule | |
Properties: | |
Schedule: rate(1 hour) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment