A few examples of using AWS CLI for common use-cases dealing with few AWS services.
- Hyperplane ENIs created by Lambda - lambda-created-enis.sh
- Lambda Provisioned Concurrency finder - lambda-provisioned-concurrency-finder.sh
-
List all Alternate Domain names attached to all CloudFront Distribution - list-alternate-domain-names.sh
-
List all Lambda@Edge functions attached to all CloudFront Distribution - list-lambda-at-edge-functions.sh
- Get SMS month to date spend in USD - sms_dashboard.sh
- Refer to the individual .md files for additional information.
-
😰 Something broken? Open an issue with a few sample inputs where it breaks. Screenshots help!
-
More additional services/use-cases, open a new issue
This is an iterative repository, I'll keep adding more sample codes for more use-cases as I come across them. I have tested all scripts using aws-cli/1.18.46
or above version.
- Fork repo
- Upgrade AWS CLI:
$ pip install --upgrade awscli --user
- Send your awesome 🙌 Pull Request with code/.md changes
- Commit using the Seven Rules
- Your PR gets merged ✅ and a shoutout 📢
$ tree
.
├── CODE_OF_CONDUCT.md
├── LICENSE
├── README.md
├── cloudfront-samples
│ ├── list-alternate-domain-names
│ │ ├── README.md
│ │ └── list-alternate-domain-names.sh
│ └── list-lambda-at-edge-functions
│ ├── README.md
│ └── list-lambda-at-edge-functions.sh
├── lambda-samples
│ ├── lambda-created-enis
│ │ ├── README.md
│ │ └── lambda-created-enis.sh
│ └── lambda-using-an-eni
│ ├── README.md
│ └── lambda-created-enis.sh
└── sns-samples
└── sms-dashboard
├── README.md
└── sms-dashboard.sh