{"id":22372413,"url":"https://github.com/1chooo/an-aws-a-day","last_synced_at":"2026-04-11T11:02:44.432Z","repository":{"id":213131704,"uuid":"733106757","full_name":"1chooo/an-aws-a-day","owner":"1chooo","description":"🤖 An AWS a Day - AWS Certificate Preparation Series with AWS Lambda Functions, linebot.v3","archived":false,"fork":false,"pushed_at":"2024-04-27T16:18:03.000Z","size":23862,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-11T10:39:19.838Z","etag":null,"topics":["aws","lambda-functions","linebot","python","v3"],"latest_commit_sha":null,"homepage":"https://1chooo.github.io/an-aws-a-day/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/1chooo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-18T15:21:06.000Z","updated_at":"2025-02-19T17:39:39.000Z","dependencies_parsed_at":"2024-12-04T20:38:58.822Z","dependency_job_id":"00147813-ed7b-494d-ace1-36259923cd06","html_url":"https://github.com/1chooo/an-aws-a-day","commit_stats":null,"previous_names":["1chooo/aws-educate-101-line-bot","1chooo/an-aws-a-day"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/1chooo/an-aws-a-day","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1chooo%2Fan-aws-a-day","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1chooo%2Fan-aws-a-day/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1chooo%2Fan-aws-a-day/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1chooo%2Fan-aws-a-day/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/1chooo","download_url":"https://codeload.github.com/1chooo/an-aws-a-day/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1chooo%2Fan-aws-a-day/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31677819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T08:18:19.405Z","status":"ssl_error","status_checked_at":"2026-04-11T08:17:08.892Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","lambda-functions","linebot","python","v3"],"created_at":"2024-12-04T20:38:35.359Z","updated_at":"2026-04-11T11:02:44.397Z","avatar_url":"https://github.com/1chooo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# An AWS a Day - AWS Certificate Preparation Series\n\n![](./docs/imgs/an-aws-a-day-arch.png)\n\nDevelop a Line bot using AWS Lambda Functions and `linebot.v3` library, utilizing `Python 3.12` runtime. \n\n\u003e [!IMPORTANT]\n\u003e Note that `Python 3.12` operates on an **Amazon Linux 2023 Amazon Machine Image (AMI)**. Hence, ensure the creation of the layer on an **Amazon Linux 2023 OS**. [^3]\n\n\n## Create `Lambda Function` Layer\n\n### Create `line-bot-sdk` Layer [^3]\n\n```shell\n$ mkdir -p lambda-layer/python\n$ cd lambda-layer/python\n$ pip3 install --platform manylinux2014_x86_64 --target . --python-version 3.12 --only-binary=:all: line-bot-sdk\n```\n\n### or With shell script\n```shell\n$ ./scripts/build_layer.sh\n```\n\n### or just click the link below to download the `line-bot-sdk` layer\n\n👉🏻 [Download `line-bot-sdk`](https://raw.githubusercontent.com/1chooo/aws-educate-101-line-bot/main/lambda_layers/linebot_lambda_layer.zip)\n\n## Add Permission with s3 [^2]\n```json\n{\n    \"Version\": \"2012-10-17\",\n    \"Statement\": [\n        {\n            \"Sid\": \"AddPerm\",\n            \"Effect\": \"Allow\",\n            \"Principal\": \"*\",\n            \"Action\": \"s3:GetObject\",\n            \"Resource\": [\n                \"arn:aws:s3:::\u003cyour-bucket-name\u003e\",\n                \"arn:aws:s3:::\u003cyour-bucket-name\u003e/*\"\n            ]\n        }\n    ]\n}\n```\n\n## CONTACT INFO.\n\n\u003e AWS Educate Cloud Ambassador, Technical Support \u003c/br\u003e\n\u003e **Hugo ChunHo Lin**\n\u003e \n\u003e \u003caside\u003e\n\u003e   📩 E-mail: \u003ca href=\"mailto:hugo970217@gmail.com\"\u003ehugo970217@gmail.com\u003c/a\u003e\n\u003e \u003cbr\u003e\n\u003e   🧳 Linkedin: \u003ca href=\"https://www.linkedin.com/in/1chooo/\"\u003eHugo ChunHo Lin\u003c/a\u003e\n\u003e \u003cbr\u003e\n\u003e   👨🏻‍💻 GitHub: \u003ca href=\"https://github.com/1chooo\"\u003e1chooo\u003c/a\u003e\n\u003e    \n\u003e \u003c/aside\u003e\n\n## License\nReleased under [MIT](./LICENSE) by [Hugo ChunHo Lin](https://github.com/1chooo).\n\nThis software can be modified and reused without restriction.\nThe original license must be included with any copies of this software.\nIf a significant portion of the source code is used, please provide a link back to this repository.\n\n[^1]: [使用 .zip 封存檔部署 Python Lambda 函數](https://docs.aws.amazon.com/zh_tw/lambda/latest/dg/python-package.html)\n[^2]: [Policies and Permissions in Amazon S3](https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-policy-language-overview.html?icmpid=docs_amazons3_console)\n[^3]: [How do I resolve the \"Unable to import module\" error that I receive when I run Lambda code in Python?](https://repost.aws/knowledge-center/lambda-import-module-error-python)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1chooo%2Fan-aws-a-day","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F1chooo%2Fan-aws-a-day","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1chooo%2Fan-aws-a-day/lists"}