Created
June 12, 2018 01:37
-
-
Save lewisdaly/d0f745f3c095c125c453acb067463a1c to your computer and use it in GitHub Desktop.
This file contains 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
service: TangleTrigger | |
provider: | |
name: aws | |
runtime: nodejs6.10 | |
stage: dev | |
region: ap-southeast-2 | |
environment: | |
IOTA_URL: ${env:IOTA_URL} | |
IOTA_ADDRESS: ${env:IOTA_ADDRESS} | |
S3_BUCKET_NAME: ${env:S3_BUCKET_NAME} | |
functions: | |
checkAddress: | |
handler: handler.checkAddress | |
events: | |
- schedule: | |
name: shedule-check-address | |
description: check the tangle for a given address | |
rate: rate(30 minutes) | |
enabled: true | |
resources: | |
Resources: | |
ExistingTxs: | |
Type: AWS::S3::Bucket | |
Properties: | |
BucketName: ${env:S3_BUCKET_NAME} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment