# awslabs/aws-config-rules

[Node, Python, Java] Repository of sample Custom Rules for AWS Config.

Repository: https://github.com/awslabs/aws-config-rules
Canonical: https://ross.abutalabs.com/products/aws-config-rules
Homepage: http://aws.amazon.com/config/
Language: Python
License: CC0-1.0
License Family: permissive
Last push: 2026-05-27T19:56:58+00:00

## Health v2 (maintenance only)
Score: 70/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 84, release rhythm 35, longevity 100
- inputs: {"age_days": 3859, "days_push": 98, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1735, forks 878 (observed 2026-08-28T04:05:29.121595+00:00)

## What it is
A community repository of sample custom AWS Config rules written in Python, Node.js, and Java. These Lambda-based rules evaluate AWS resource configurations for compliance and can be deployed via the RDK tool or manually through AWS Lambda and AWS Config.

## Use cases
- write custom compliance rules for AWS resources
- audit AWS account configuration for security best practices
- deploy AWS Config rules as Lambda functions
- check S3 bucket encryption or public access settings
- implement compliance-as-code on AWS
- find sample code for AWS Config rule development

## When to choose
- you need ready-made examples of AWS Config custom rules
- you want to enforce organizational policies on AWS resource configurations
- you are building compliance checks with AWS Lambda and AWS Config
- you need reference implementations in Python, Node.js, or Java for Config rules

## When to avoid
- you need a managed policy/compliance solution without writing code (use AWS Conformance Packs or AWS Security Hub)
- you are not using AWS
- you need a production framework for deploying rules at scale (consider aws-config-engine-for-compliance-as-code or RDKLib instead)
- you want continuous runtime monitoring rather than configuration evaluation

## Facets
- artifact type: library
- maturity: active
- function: security, monitoring, developer-tools
- domain: cloud-computing, security, infrastructure-as-code
- platform: cloud, python, jvm, serverless
- tags: aws-config, compliance-as-code, cloud-security, sample-rules, aws-lambda, governance, devops, nodejs

## Member repositories
- awslabs/aws-config-rules (main) score 70

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:29.121595+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:30:49.264201+00:00, confidence not recorded.
  - readme: https://github.com/awslabs/aws-config-rules (fetched 2026-08-28T04:05:29.121595+00:00, sha a57608713f8c)
  - homepage: http://aws.amazon.com/config/ (fetched 2026-08-29T11:08:10.428118+00:00, sha ab2dcad4e354)
  - site_page: https://aws.amazon.com/getting-started?nc2=h_dsc_aa_gs (fetched 2026-08-29T11:08:10.435740+00:00, sha f35fd0664950)
  - site_page: https://aws.amazon.com/about-aws/global-infrastructure?nc2=h_dsc_aa_gi (fetched 2026-08-29T11:08:10.437764+00:00, sha 79a446e5fbd1)
  - site_page: https://aws.amazon.com/products/developer-tools/agent-toolkit-for-aws?nc2=h_dsc_ex_s5 (fetched 2026-08-29T11:08:10.433403+00:00, sha 3cc21b596f92)
  - site_page: https://aws.amazon.com/pricing?nc2=h_pr_hub (fetched 2026-08-29T11:08:10.439592+00:00, sha e2abd01d7981)
  - site_page: https://aws.amazon.com/savingsplans?nc2=h_pr_sp (fetched 2026-08-29T11:08:10.441235+00:00, sha 9ff3c7ad93e0)
  - site_page: https://aws.amazon.com/s3/pricing?nc2=h_pr_s3 (fetched 2026-08-29T11:08:10.442978+00:00, sha 97bbf99c3793)
  - site_page: https://aws.amazon.com/bedrock/pricing?nc2=h_pr_br (fetched 2026-08-29T11:08:10.446051+00:00, sha 4ccc538a3696)
  - site_page: https://aws.amazon.com/rds/pricing?nc2=h_pr_rds (fetched 2026-08-29T11:08:10.447783+00:00, sha 538280f30c8a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
