https://github.com/kyhau/aws-tools
Some of my tools and sample code for building with AWS.
https://github.com/kyhau/aws-tools
aws aws-apigateway aws-aurora aws-cdk aws-cli aws-cloudformation aws-dynamodb aws-ec2 aws-lambda aws-rds aws-s3 aws-step-functions hacktoberfest python
Last synced: 26 days ago
JSON representation
Some of my tools and sample code for building with AWS.
- Host: GitHub
- URL: https://github.com/kyhau/aws-tools
- Owner: kyhau
- License: mit
- Created: 2018-06-01T08:18:18.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2026-01-10T01:30:57.000Z (about 1 month ago)
- Last Synced: 2026-01-10T23:35:03.477Z (about 1 month ago)
- Topics: aws, aws-apigateway, aws-aurora, aws-cdk, aws-cli, aws-cloudformation, aws-dynamodb, aws-ec2, aws-lambda, aws-rds, aws-s3, aws-step-functions, hacktoberfest, python
- Language: Python
- Homepage:
- Size: 2.83 MB
- Stars: 35
- Watchers: 0
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: CODEOWNERS
- Security: Security.md
Awesome Lists containing this project
- jimsghstars - kyhau/aws-tools - Some of my tools and sample code for building with AWS. (Python)
README
# aws-tools
[](https://github.com/kyhau/aws-tools/actions/workflows/common-helper-build.yml)
[](https://github.com/kyhau/aws-tools/actions/workflows/lint.yaml)
[](https://codecov.io/gh/kyhau/aws-tools)
[](https://github.com/kyhau/aws-tools/actions/workflows/codeql-analysis.yml)
[](https://github.com/kyhau/aws-tools/actions/workflows/secrets-scan.yml)



[](http://en.wikipedia.org/wiki/MIT_License)
This repository includes some tools and sample code I created for building with AWS.
All notable changes to this project are documented in [CHANGELOG](./CHANGELOG.md).
Jump to:
- [Built with](#built-with)
- [To run the scripts](#to-run-the-scripts)
- [AWS Login with saml2aws-multi](#aws-login)
- [For running Python scripts](#for-running-python-scripts)
- [For running CLI tools and shell scripts](#for-running-cli-tools-and-shell-scripts)
- [My notes](#my-notes)
- [Quick links for news, blogs and resources](#quick-links-for-news-blogs-and-resources)
---
## Built with
### 💻 Languages & Technologies
- **Python** (3.10, 3.11, 3.12, 3.13) - Primary language for automation and tools
- **Shell** (Bash) - System scripts and automation
- **PowerShell** - Windows automation
- **JavaScript/TypeScript** - AWS Lambda functions and CDK constructs
- **Go** - High-performance CLI tools
- **Docker** - Containerization
### 🏗️ Infrastructure as Code
- [**AWS CDK v2**](https://docs.aws.amazon.com/cdk/v2/guide/home.html) - Cloud Development Kit for infrastructure
- [**AWS SAM**](https://aws.amazon.com/serverless/sam/) - Serverless Application Model
- **AWS CloudFormation** - Infrastructure templates
- [**cfn-lint**](https://github.com/aws-cloudformation/cfn-lint) - CloudFormation template validation
### 🔧 Development Tools
- [**Poetry**](https://python-poetry.org/) - Python dependency management ([_common](./_common))
- [**pytest**](https://pytest.org/) - Testing framework with coverage reporting
- [**black**](https://github.com/psf/black) - Python code formatter
- [**flake8**](https://github.com/PyCQA/flake8) - Python linting
- [**yamllint**](https://yamllint.readthedocs.io/) - YAML file linting
### 🔐 Security & Code Quality
- [**CodeQL**](https://codeql.github.com) - Automated security analysis ([workflow](.github/workflows/codeql-analysis.yml))
- [**Gitleaks**](https://github.com/gitleaks/gitleaks) & [**TruffleHog**](https://github.com/trufflesecurity/trufflehog) - Secrets scanning ([workflow](.github/workflows/secrets-scan.yml))
- [**Snyk**](https://github.com/snyk/actions) - Vulnerability scanning ([workflow](.github/workflows/common-helper-build.yml))
- [**Dependabot**](https://docs.github.com/en/code-security/dependabot) - Automated dependency updates ([config](.github/dependabot.yml))
## To run the scripts
### AWS login
- [saml2aws-multi](https://github.com/kyhau/saml2aws-multi) is my version of AWS login tool providing an easy-to-use command line interface to support login and retrieve AWS temporary credentials for multiple roles of different accounts with [saml2aws](https://github.com/Versent/saml2aws).
### For running Python scripts
- Most of the Python scripts support processing multiple AWS accounts (via AWS profiles in `~/.aws/credentials`) and AWS regions using `AwsApiHelper` in the common [helper.aws.AwsApiHelper](./_common/helper/aws.py) module.
- Automated tests run with Python 3.10, 3.11, 3.12, 3.13
- To start, install dependencies by running:
```
pip3 install -r requirements.txt
```
- Set aliases (optional):
```
source .aliases
```
### For running CLI tools and shell scripts
- To start, install dependencies by running:
```
pip3 install -r requirements-cli.txt
```
## Quick links for news, blogs and resources
- [What's New with AWS?](https://aws.amazon.com/new/?nc2=h_ql_exm&whats-new-content-all.sort-by=item.additionalFields.postDateTime&whats-new-content-all.sort-order=desc&wn-featured-announcements.sort-by=item.additionalFields.numericSort&wn-featured-announcements.sort-order=asc) | feed https://aws.amazon.com/blogs/aws/feed/
- [AWS Architecture Blog](https://aws.amazon.com/blogs/architecture)
- [Amazon Serverless Land Blogs](https://serverlessland.com/blog)
- [AWS re:Post](https://repost.aws/)
- [Cloud Pegboard](https://cloudpegboard.com/detail.html)
- [AWS Edge Chat](https://soundcloud.com/awsedgechat)
### AWS design + build tools
- [AWS Workshops](https://workshops.aws/)
- [AWS Architecture Center](https://aws.amazon.com/architecture/?cards-all.sort-by=item.additionalFields.sortDate&cards-all.sort-order=desc&awsf.content-type=*all&awsf.methodology=*all&awsf.tech-category=*all&awsf.industries=*all&awsf.business-category=*all)
- [AWS Solutions Library](https://aws.amazon.com/solutions/)
- [Amazon Builder's Library](https://aws.amazon.com/builders-library)
- [Serverless Land](https://serverlessland.com/)
- [AWS Application Composer](https://aws.amazon.com/application-composer/)
### Other AWS related tools
- AWS CLI interactive productivity booster (aws-shell) [awslabs/aws-shell](https://github.com/awslabs/aws-shell)
- AWS Cloud Digital Interface (CDI) Software Development Kit (SDK) is a set of libraries and documentation for you to build - AWS Deployment Framework (ADF) [awslabs/aws-deployment-framework](https://github.com/awslabs/aws-deployment-framework)
- AWS ParallelCluster (enhanced version of CfnCluster) [aws/aws-parallelcluster](https://github.com/aws/aws-parallelcluster)
- AWS Region Comparison Tool - https://region-comparison-tool.com/
- AWS SaaS Boost - [awslabs/aws-saas-boost](https://github.com/awslabs/aws-saas-boost)
- Amazon Honeycode - [builder.honeycode.aws](https://builder.honeycode.aws/) - RETIRED
- Live video solutions on AWS - [aws/aws-cdi-sdk](https://github.com/aws/aws-cdi-sdk)
- awscii - render predefined AWS graphs in ASCII art - [mhlabs/awscii-cli](https://github.com/mhlabs/awscii-cli)
- bash-my-aws - [bash-my-universe/bash-my-aws](https://github.com/bash-my-universe/bash-my-aws.git)
### Data Sources
- Registry of Open Data on AWS - [registry.opendata.aws](https://registry.opendata.aws/)
- Landset 8 satellite imagery of all land on Earth - [registry.opendata.aws/landsat-8](https://registry.opendata.aws/landsat-8/), [landsatonaws.com](https://landsatonaws.com/)