🌐
GitHub
github.com › grantcooksey › aws-lambda-python-examples
GitHub - grantcooksey/aws-lambda-python-examples: Lessons and examples to get started using aws lambda function in python · GitHub
Moves the python module defined in template.yaml into a .aws-sam/build directory, ie the event-selector-service · Spins up an aws compatible docker container with a volume mapped to the build folder · Installs dependencies into the fresh container using PyPI. Native dependencies get built here. We can locally run the lambda in a docker container to test.
Starred by 61 users
Forked by 41 users
🌐
GitHub
github.com › shreyasgaonkar › aws-lambda-code-samples
GitHub - shreyasgaonkar/aws-lambda-code-samples: Lambda sample codes for EC2, Lambda, API Gateway and SNS in python runtime. · GitHub
A few of the sample AWS Lambda function codes for common use-cases with Amazon EC2, AWS Lambda, API Gateway & Amazon SNS using Python runtime.
Starred by 29 users
Forked by 19 users
Languages   Python
🌐
GitHub
github.com › nficano › python-lambda
GitHub - nficano/python-lambda: A toolkit for developing and deploying serverless Python code in AWS Lambda. · GitHub
First, you must create an IAM Role on your AWS account called lambda_basic_execution with the LambdaBasicExecution policy attached. On your computer, create a new virtualenv and project folder. $ mkvirtualenv pylambda (pylambda) $ mkdir pylambda · Next, download Python-Lambda using pip via pypi.
Starred by 1.5K users
Forked by 225 users
Languages   Python 97.3% | Makefile 2.7%
🌐
GitHub
github.com › alfonsof › aws-python-examples
GitHub - alfonsof/aws-python-examples: Python examples on AWS (Amazon Web Services) using AWS SDK for Python (Boto3). How to manage EC2 instances, Lambda Functions, S3 buckets, etc.
awslambdadelete-capi - AWS Lambda Function Delete: Example of how to handle an AWS Lambda function and delete it. It uses the Client API (low-level) of Boto 3. ... awss3create-capi - AWS S3 Create (Client API): Example of how to handle S3 buckets ...
Starred by 64 users
Forked by 60 users
Languages   Python 100.0% | Python 100.0%
🌐
GitHub
github.com › aws › aws-lambda-builders
GitHub - aws/aws-lambda-builders: Python library to compile, build & package AWS Lambda functions for several runtimes & framework
Python library to compile, build & package AWS Lambda functions for several runtimes & framework - aws/aws-lambda-builders
Starred by 375 users
Forked by 152 users
Languages   Python 99.9% | Makefile 0.1% | Python 99.9% | Makefile 0.1%
🌐
GitHub
github.com › aws-samples › aws-lambda-extensions
GitHub - aws-samples/aws-lambda-extensions: A collection of sample extensions to help you get started with AWS Lambda Extensions · GitHub
Custom runtime extension: A demo showing how to learn about the Extensions API as explained in the blog post Building Extensions for AWS Lambda. Caching Extension: The cache demo code sample is written in Go and acts as a companion process which a Lambda function can use as both a data cache (using DynamoDB) and configuration cache (using Systems Manager Parameter Store). Go Extension: Sample: how to get a basic extension written in Go up and running. Python Extension: Sample: how to get a basic extension written in Python 3 up and running.
Starred by 486 users
Forked by 147 users
Languages   Go 46.1% | Python 18.5% | Shell 11.3% | JavaScript 8.1% | Rust 7.6% | C# 4.2%
🌐
GitHub
github.com › awsdocs › aws-doc-sdk-examples › blob › main › python › example_code › lambda › lambda_basics.py
aws-doc-sdk-examples/python/example_code/lambda/lambda_basics.py at main · awsdocs/aws-doc-sdk-examples
Welcome to the AWS Code Examples Repository. This repo contains code examples used in the AWS documentation, AWS SDK Developer Guides, and more. For more information, see the Readme.md file below. - aws-doc-sdk-examples/python/example_code/lambda/lambda_basics.py at main · awsdocs/aws-doc...
Author   awsdocs
🌐
GitHub
github.com › awslabs › aws_lambda_sample_events_python
GitHub - awslabs/aws_lambda_sample_events_python: A Python module for creating sample events to test AWS Lambda functions.
A Python module for creating sample events to test AWS Lambda functions. - GitHub - awslabs/aws_lambda_sample_events_python: A Python module for creating sample events to test AWS Lambda functions.
Starred by 57 users
Forked by 22 users
Languages   Python 100.0% | Python 100.0%
Find elsewhere
🌐
GitHub
github.com › aws › aws-lambda-python-runtime-interface-client
GitHub - aws/aws-lambda-python-runtime-interface-client · GitHub
Example Dockerfile (to keep the image light we use a multi-stage build): # Define custom function directory ARG FUNCTION_DIR="/function" FROM public.ecr.aws/docker/library/python:buster as build-image # Include global arg in this stage of the build ARG FUNCTION_DIR # Install aws-lambda-cpp build dependencies RUN apt-get update && \ apt-get install -y \ g++ \ make \ cmake \ unzip \ libcurl4-openssl-dev # Copy function code RUN mkdir -p ${FUNCTION_DIR} COPY app/* ${FUNCTION_DIR} # Install the function's dependencies RUN pip install \ --target ${FUNCTION_DIR} \ awslambdaric FROM public.ecr.aws/do
Starred by 289 users
Forked by 82 users
Languages   Python 87.5% | Shell 8.0% | C++ 3.3% | Makefile 1.2%
🌐
GitHub
github.com › topics › aws-lambda-python
aws-lambda-python · GitHub Topics · GitHub
aws aws-lambda terraform cloudwatch sqs python3 aws-lambda-python localstack tfvm ... In this example Amazon EventBridge rules that are used to invoke Lambda functions when events are added to the EventBus.
🌐
GitHub
github.com › TailorDev › hello-lambda
GitHub - TailorDev/hello-lambda: :fire: An example of a Python (AWS) Lambda exposed with API Gateway, configured with Terraform.
April 6, 2021 - :fire: An example of a Python (AWS) Lambda exposed with API Gateway, configured with Terraform. - TailorDev/hello-lambda
Starred by 119 users
Forked by 59 users
Languages   HCL 93.8% | Makefile 3.7% | Python 2.5% | HCL 93.8% | Makefile 3.7% | Python 2.5%
🌐
GitHub
github.com › aws-samples › aws-cloudformation-inline-python-lambda-example
GitHub - aws-samples/aws-cloudformation-inline-python-lambda-example: Example AWS Lambda function deployed inline in a CloudFormation template · GitHub
This CloudFormation template deploys an AWS Lambda function, Amazon DynamoDB table, Amazon CloudWatch Logs log group, and all IAM roles with the minimum necessary permissions. The Lambda function itself inserts a random 10-character alphabetic ...
Starred by 2 users
Forked by 8 users
🌐
GitHub
github.com › LukasRychtecky › aws-lambda-python-example
GitHub - LukasRychtecky/aws-lambda-python-example: An example of AWS Lambda in Python with libraries.
An example of AWS Lambda in Python with libraries. - LukasRychtecky/aws-lambda-python-example
Starred by 4 users
Forked by 3 users
Languages   Python 55.9% | Makefile 44.1% | Python 55.9% | Makefile 44.1%
🌐
GitHub
github.com › nicor88 › aws-python-lambdas
GitHub - nicor88/aws-python-lambdas: Collection of AWS Lambda functions in Python
# create env conda create --name aws-python-lambdas python=3.6.2 # activate env source activate aws-python-lambdas pip install boto3 pip install pytest # install libs from the requirements of each single lambda for i in src/*/; do pip install -r $i"requirements.txt"; done
Starred by 11 users
Forked by 9 users
Languages   Python 97.6% | Shell 2.4% | Python 97.6% | Shell 2.4%
🌐
GitHub
github.com › aws-samples › aws-lambda-deploy
GitHub - aws-samples/aws-lambda-deploy: A collection of tools to enable canary deployments of AWS Lambda functions. · GitHub
$ git clone https://github.com/awslabs/aws-lambda-deploy $ cd aws-lambda-deploy $ export BUCKET_NAME=[S3_BUCKET_NAME_FOR_BUILD_ARTIFACTS] $ ./install.sh · This simple Python script runs as a Lambda function and deploys another function by incrementally increasing the weight of the new function version over a prescribed number of steps, while checking the health of the new version.
Starred by 157 users
Forked by 59 users
Languages   Python 92.9% | Shell 7.1%
🌐
GitHub
gist.github.com › steinwaywhw › 9d64db15518099c1f26f254ee35c4217
An extremely simple AWS Lambda example in Python 3. · GitHub
In [1]: import main ...: main.setup_roles() ...: main.create_function() ...: main.invoke_function('Jeff', 'Bezos') Out[1]: ... To see the logs generated from the lambda function, we can do
🌐
GitHub
github.com › joelparkerhenderson › demo_aws_lambda_function_hello_world_as_python
GitHub - joelparkerhenderson/demo_aws_lambda_function_hello_world_as_python: Demo AWS lambda function HelloWorld.py as python
aws lambda create-function \ --function-name HelloWorld \ --runtime python3.6 \ --role arn:aws:iam::048251220134:role/demo-aws-cloudwatch-lambda-role \ --handler HelloWorld.lambda_handler \ --zip-file fileb://HelloWorld.zip
Author   joelparkerhenderson
🌐
GitHub
github.com › alfonsof › aws-python-examples › blob › master › awslambdas3copy-rapi › README.md
aws-python-examples/awslambdas3copy-rapi/README.md at master · alfonsof/aws-python-examples
Python examples on AWS (Amazon Web Services) using AWS SDK for Python (Boto3). How to manage EC2 instances, Lambda Functions, S3 buckets, etc. - aws-python-examples/awslambdas3copy-rapi/README.md at master · alfonsof/aws-python-examples
Author   alfonsof
🌐
GitHub
github.com › Moesif › moesif-aws-lambda-python-example
GitHub - Moesif/moesif-aws-lambda-python-example: Example using Moesif API Analytics with AWS Lambda
Moesif is an API analytics platform. moesif-aws-lambda-python is a middleware that logs API calls to Moesif for AWS Lambda. This example is a Python application with Moesif's API analytics and monitoring integrated.
Forked by 4 users
Languages   Python 100.0% | Python 100.0%