0x4D31 /
honeyLambda
honeyλ - a simple, serverless application designed to create and monitor fake HTTP endpoints (i.e. URL honeytokens) automatically, on top of AWS Lambda and Amazon API Gateway
76/100 healthLoading repository data…
AdamMartinCote / repository
A simple serverless application to demonstrate the use of AWS Lambda to run python code on schedule
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
This is a simple recipe to deploy an AWS Lambda function that can run arbitrary code on schedule
make buildmake deploymake updatelambda_function and testsmake testtemplate.yamllambda_function/scheduled_function/app.pyThe Serverless Application Model Command Line Interface (SAM CLI) is an extension of the AWS CLI that adds functionality for building and testing Lambda applications. It uses Docker to run your functions in an Amazon Linux environment that matches Lambda.
To use the SAM CLI, you need the following tools.
To build and deploy your application for the first time, run the following in your shell:
sam build --use-container
sam deploy --guided
The first command will build the source of your application. The second command will package and deploy your application to AWS, with a series of prompts:
CAPABILITY_IAM value for capabilities must be provided. If permission isn't provided through this prompt, to deploy this example you must explicitly pass --capabilities CAPABILITY_IAM to the sam deploy command.sam deploy without parameters to deploy changes to your application.To simplify troubleshooting, SAM CLI has a command called sam logs. sam logs lets you fetch logs generated by your deployed Lambda function from the command line. In addition to printing the logs on the terminal, this command has several nifty features to help you quickly find the bug.
NOTE: This command works for all AWS Lambda functions; not just the ones you deploy using SAM.
serverless-python-cronjob-recipe$ sam logs -n HelloWorldFunction --stack-name serverless-python-cronjob-recipe --tail
You can find more information and examples about filtering Lambda function logs in the SAM CLI Documentation.
To delete the sample application that you created, use the AWS CLI. Assuming you used your project name for the stack name, you can run the following:
aws cloudformation delete-stack --stack-name serverless-python-cronjob-recipe
Selected from shared topics, language and repository description—not editorial ratings.
0x4D31 /
honeyλ - a simple, serverless application designed to create and monitor fake HTTP endpoints (i.e. URL honeytokens) automatically, on top of AWS Lambda and Amazon API Gateway
76/100 healthawslabs /
Serverless app designed for any customer with two or more accounts to view resources across accounts/regions in simple single pane of glass website
28/100 healthradiantone /
A lightweight (serverless) native python parallel processing framework based on simple decorators and call graphs.
bennybauer /
A simple serverless python sample with REST API endpoints and dependencies
46/100 healthpaulonteri /
django-serverless-cron 🦡 A Django library with a simpler approach running cron jobs in a serverless environment through HTTP requests. This allows you to run any task without having to manage always-on infrastructure. https://pypi.org/project/django-serverless-cron
73/100 healthDavisDmitry /
Simple echo Telegram bot example on aiogram framework using AWS API Gateway & Lambda
24/100 health