Showing
3 changed files
with
37 additions
and
0 deletions
samples/cron/_src/simple.py
0 → 100644
samples/cron/_tests/test_one.json
0 → 100644
samples/cron/kappa.yml.sample
0 → 100644
1 | +--- | ||
2 | +name: kappa-cron | ||
3 | +environments: | ||
4 | + dev: | ||
5 | + profile: <your profile here> | ||
6 | + region: <your region here> | ||
7 | + policy: | ||
8 | + resources: | ||
9 | + - arn: arn:aws:logs:*:*:* | ||
10 | + actions: | ||
11 | + - "*" | ||
12 | + event_sources: | ||
13 | + - arn: arn:aws:events:<your region here>:<your account id>:rule/kappa-cron-dev | ||
14 | + schedule: rate(1 minute) | ||
15 | + description: cron to run this lambda function every minute | ||
16 | + enabled: true | ||
17 | +lambda: | ||
18 | + description: Kappa sample lambda that runs every minute | ||
19 | + handler: simple.handler | ||
20 | + runtime: python2.7 | ||
21 | + memory_size: 128 | ||
22 | + timeout: 3 | ||
23 | + |
-
Please register or login to post a comment