{"id":13541612,"url":"https://github.com/awslabs/aws-config-rdklib","last_synced_at":"2026-03-05T21:23:19.857Z","repository":{"id":42521322,"uuid":"234652938","full_name":"awslabs/aws-config-rdklib","owner":"awslabs","description":"Python library to enable you to run custom AWS Config Rules at scale, using Lambda Layer.","archived":false,"fork":false,"pushed_at":"2024-11-19T17:36:39.000Z","size":392,"stargazers_count":97,"open_issues_count":5,"forks_count":26,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-09T12:18:56.537Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/awslabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2020-01-17T23:17:18.000Z","updated_at":"2025-02-06T15:45:29.000Z","dependencies_parsed_at":"2023-02-04T15:16:53.446Z","dependency_job_id":"a57df9c9-be92-4319-a230-c839a4a9c410","html_url":"https://github.com/awslabs/aws-config-rdklib","commit_stats":{"total_commits":88,"total_committers":12,"mean_commits":7.333333333333333,"dds":0.3977272727272727,"last_synced_commit":"804669f6072a69ddfd31a8088e70a2262a9ca0ea"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awslabs%2Faws-config-rdklib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awslabs%2Faws-config-rdklib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awslabs%2Faws-config-rdklib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awslabs%2Faws-config-rdklib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/awslabs","download_url":"https://codeload.github.com/awslabs/aws-config-rdklib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246788655,"owners_count":20834134,"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":[],"created_at":"2024-08-01T10:00:51.985Z","updated_at":"2026-03-05T21:23:14.814Z","avatar_url":"https://github.com/awslabs.png","language":"Python","funding_links":[],"categories":["Public Cloud Governance"],"sub_categories":["AWS Governance"],"readme":"# RDKlib\n\n[![image](https://github.com/awslabs/aws-config-rdklib/workflows/ci/badge.svg?branch=master)](https://github.com/awslabs/aws-config-rdklib/actions?query=workflow%3Aci+branch%3Amaster)\n\nRDKlib is a Python library to enable you to **run custom AWS Config\nRules at scale**. The library can be used to:\n\n- Help you to focus only on the compliance logic, while the library\n  does the heavy lifting\n- Ease maintenance by moving the boilerplate code as a AWS Lambda\n  Layer\n- Ease deployment by using AWS Serverless Application Repository\n\nRDKLib works in synergy with the [AWS Config Rule Development Kit](https://github.com/awslabs/aws-config-rdk).\n\n# Getting Started\n\n## Install the library locally\n\n```bash\npip install rdklib\n```\n\n## Create a rule using the RDK\n\nThe runtime of your RDK rule have to be set to python3.11-lib in the RDK\nto provide you the Rule template.\n\n- For periodic trigger:\n\n```bash\n    rdk create YOUR_RULE_NAME --runtime python3.11-lib --maximum-frequency TwentyFour_Hours\n```\n\n- For configuration change trigger (for example S3 Bucket):\n\n```bash\n    rdk create YOUR_RULE_NAME --runtime python3.11-lib --resource-types AWS::S3::Bucket\n```\n\n\u003e Note: you need to [install the RDK](https://github.com/awslabs/aws-config-rdk#getting-started) first.\n\n## Deploy your rule with RDKlib layer\n\nRDKLib is designed to work as a AWS Lambda Layer. It allows you to use the library without needing to include it in your deployment package.\n\n1.  Install RDKlib layer (with AWS CLI)\n\n```bash\n    aws serverlessrepo create-cloud-formation-change-set --application-id arn:aws:serverlessrepo:ap-southeast-1:711761543063:applications/rdklib --stack-name RDKlib-Layer\n\n    # Copy/paste the full change-set ARN to customize the following command\n    aws cloudformation execute-change-set --change-set-name NAME_OF_THE_CHANGE_SET\n\n    aws cloudformation describe-stack-resources --stack-name serverlessrepo-RDKlib-Layer\n    # Copy the ARN of the Lambda layer in the \"PhysicalResourceId\" key (i.e. arn:aws:lambda:YOUR_REGION:YOUR_ACCOUNT:layer:rdklib-layer:1).\n```\n\n\u003e Note: You can do the same step manually going to \u003chttps://console.aws.amazon.com/lambda/home#/create/function?tab=serverlessApps\u003e and find \"rdklib\"\n\n1.  Deploy the rule\n\n```bash\n    rdk deploy YOUR_RULE_NAME --rdklib-layer-arn YOUR_RDKLIB_LAYER_ARN\n```\n\n# License\n\nThis project is licensed under the Apache-2.0 License.\n\n# Feedback / Questions\n\nFeel free to email \u003crdk-maintainers@amazon.com\u003e\n\n# Contacts\n\n- **Benjamin Morris** - _Maintainer, code, testing_\n\n# Acknowledgements\n\n- **Mark Beacom** - _Maintainer, code, testing_\n- **Michael Borchert** - _Design, code, testing, feedback_\n- **Ricky Chau** - _Maintainer, code, testing_\n- **Julio Delgado Jr.** - *Design, testing, feedback*\n- **Chris Gutierrez** - _Design, feedback_\n- **Joe Lee** - _Design, feedback_\n- **Jonathan Rault** - _Maintainer, design, code, testing, feedback_\n- **Carlo DePaolis** - _Maintainer, code, testing_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawslabs%2Faws-config-rdklib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fawslabs%2Faws-config-rdklib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawslabs%2Faws-config-rdklib/lists"}