Serverless handler stub created

This commit is contained in:
Senad Uka
2019-03-07 06:24:08 +01:00
parent 4726031c8e
commit 3f8e6438b2
17 changed files with 1575 additions and 43 deletions

View File

@@ -1 +0,0 @@
{}

View File

@@ -1 +0,0 @@
SECRET_VARIABLE=mysecretval

View File

@@ -1,5 +0,0 @@
{
"key": "value",
"key2": "value2",
"other_key": "other_value"
}

View File

@@ -1,36 +0,0 @@
{
"EventSourceMappings": [
{
"EventSourceArn": "your event source arn",
"StartingPosition": "LATEST",
"BatchSize": 100,
"Enabled": true
}
],
"ScheduleEvents": [
{
"ScheduleName": "node-lambda-test-schedule",
"ScheduleState": "ENABLED",
"ScheduleExpression": "rate(1 hour)",
"Input":
{
"key1": "value",
"key2": "value"
}
}
],
"S3Events": [{
"Bucket": "BUCKET_NAME",
"Events": [
"s3:ObjectCreated:*"
],
"Filter": {
"Key": {
"FilterRules": [{
"Name": "prefix",
"Value": "STRING_VALUE"
}]
}
}
}]
}