{"id":13522702,"url":"https://github.com/jason-dour/pysnmp-aws-lambda-layer","last_synced_at":"2026-01-12T13:31:22.604Z","repository":{"id":88715519,"uuid":"234184967","full_name":"jason-dour/pysnmp-aws-lambda-layer","owner":"jason-dour","description":"AWS Lambda Layer for Python PySNMP module.","archived":false,"fork":false,"pushed_at":"2021-09-15T01:31:16.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-02T07:33:07.898Z","etag":null,"topics":["aws","aws-lambda","aws-lambda-layer","aws-lambda-layers","cloud","lambda","lambda-layer","lambda-layers","python","snmp"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jason-dour.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-01-15T22:20:30.000Z","updated_at":"2022-08-04T17:12:12.000Z","dependencies_parsed_at":"2023-05-01T21:00:52.688Z","dependency_job_id":null,"html_url":"https://github.com/jason-dour/pysnmp-aws-lambda-layer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jason-dour%2Fpysnmp-aws-lambda-layer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jason-dour%2Fpysnmp-aws-lambda-layer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jason-dour%2Fpysnmp-aws-lambda-layer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jason-dour%2Fpysnmp-aws-lambda-layer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jason-dour","download_url":"https://codeload.github.com/jason-dour/pysnmp-aws-lambda-layer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246558108,"owners_count":20796696,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","aws-lambda","aws-lambda-layer","aws-lambda-layers","cloud","lambda","lambda-layer","lambda-layers","python","snmp"],"created_at":"2024-08-01T06:00:51.366Z","updated_at":"2026-01-12T13:31:22.581Z","avatar_url":"https://github.com/jason-dour.png","language":"Shell","readme":"# pysnmp-aws-lambda-layer\n\nAWS Lambda Layer for Python PySNMP module.\n\n## Why SNMP?!\n\nBecause.\n\nTo be more clear: because I needed it as a cloud guy who works hard to integrate on-premises infrastructure with cloud.  And SNMP is a reasonable way for a Lambda to extract information from decades of existing on-premises infrastructure.\n\nThis is why SNMP.  :)\n\n## Building the Layers\n\n1. Confirm the build directory is clean.\n\n    ``` shell\n    $ ls -1 build\n    build-pysnmp.sh\n    ```\n\n2. Then execute the docker `public.ecr.aws/lambda/python` images to run the build script.\n\n    ``` shell\n    docker run --rm -v `pwd`/build:/var/task -it --entrypoint /bin/bash public.ecr.aws/lambda/python:3.6 ./build-pysnmp.sh\n\n    docker run --rm -v `pwd`/build:/var/task -it --entrypoint /bin/bash public.ecr.aws/lambda/python:3.7 ./build-pysnmp.sh\n\n    docker run --rm -v `pwd`/build:/var/task -it --entrypoint /bin/bash public.ecr.aws/lambda/python:3.8 ./build-pysnmp.sh\n\n    docker run --rm -v `pwd`/build:/var/task -it --entrypoint /bin/bash public.ecr.aws/lambda/python:3.9 ./build-pysnmp.sh\n    ```\n\n## Deploy the Layers\n\nOnce the layer zip files are created, you can deploy them to your AWS account with the following command:\n\n``` shell\naws lambda publish-layer-version --layer-name \"pysnmp-python36\" --description \"PySNMP Module for Python 3.6 Runtime\" --license-info \"BSD-2-Clause\" --compatible-runtimes \"python3.6\" --zip-file \"fileb://build/pysnmp-python3.6.zip\"\n\naws lambda publish-layer-version --layer-name \"pysnmp-python37\" --description \"PySNMP Module for Python 3.7 Runtime\" --license-info \"BSD-2-Clause\" --compatible-runtimes \"python3.7\" --zip-file \"fileb://build/pysnmp-python3.7.zip\"\n\naws lambda publish-layer-version --layer-name \"pysnmp-python38\" --description \"PySNMP Module for Python 3.8 Runtime\" --license-info \"BSD-2-Clause\" --compatible-runtimes \"python3.8\" --zip-file \"fileb://build/pysnmp-python3.8.zip\"\n\naws lambda publish-layer-version --layer-name \"pysnmp-python39\" --description \"PySNMP Module for Python 3.9 Runtime\" --license-info \"BSD-2-Clause\" --compatible-runtimes \"python3.9\" --zip-file \"fileb://build/pysnmp-python3.9.zip\"\n```\n","funding_links":[],"categories":["Layers"],"sub_categories":["Utilities"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjason-dour%2Fpysnmp-aws-lambda-layer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjason-dour%2Fpysnmp-aws-lambda-layer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjason-dour%2Fpysnmp-aws-lambda-layer/lists"}