-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.sh
More file actions
executable file
·29 lines (25 loc) · 1.11 KB
/
constants.sh
File metadata and controls
executable file
·29 lines (25 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/usr/bin/env bash
##########################################################################
# Customize these values, according to how you configure your deployment.
#
# Name of the S3 bucket where Lambda function code will be uploaded to.
export S3BUCKET="lambda-node-template"
#
# ARN of the role you created for the Lambda function to execute and
# implement policies.
export LAMBDA_ROLE="arn:aws:iam::225162606092:role/lambda-node-template"
#
# Arbitrary name for your Lambda function.
export LAMBDA_NAME="lambda-node-template"
#
##########################################################################
# AWS Lambda compatible schedule specification. E.g.,
# cron(5 * * * ? *) will invoke at 5 minutes after each hour.
# rate(5 minutes) will invole every 5 minutes.
# http://docs.aws.amazon.com/lambda/latest/dg/tutorial-scheduled-events-schedule-expressions.html
export LAMBDA_SCHEDULE='cron(5 * * * ? *)'
# Arbitrary name of the ZIP file to upload.
export CODE_ZIPFILE="lambda-code.zip"
# Names and IDs used for scheduling Lambda function.
export STATEMENT_ID="$LAMBDA_NAME-statement"
export SCHEDULE_RULE="$LAMBDA_NAME-rule"