AWS API for humans
Project description
balcony
AWS API for us humans.
Balcony helps to lift the undifferentiated heavy lifting that is reading from AWS SDK & API.
Balcony fills out the required parameters for any operation, automatically.
Installation
pip3 install balcony
python3 -m pip install balcony
Basic Usage
List all available AWS Services
balcony aws
List all Resource Nodes of a Service
balcony aws iam
balcony aws ec2
See the documentation of a Resource Node and its Operations
balcony aws iam Policy -l
# or
balcony aws iam Policy --list
Read a Resource Node
balcony aws iam Policy
# if you are curious to see what's going on
# under the hood, enable the debug messages
balcony aws iam Policy -d
# or
balcony aws iam Policy --debug
Read a Resource Nodes specific operation
balcony aws iam Policy get
balcony aws iam Policy list
Filter generated parameters with UNIX style pattern matching
balcony aws iam Policy get -p "*service-role/*"
# supports multiple patterns
balcony aws iam Policy -p "*service-role/*" -p "*prod-*"
Use queries for the json data -- like jq
balcony aws iam Policy \
--jmespath-selector "GetPolicy[*].Policy"
# or
balcony aws iam Policy \
-js "GetPolicy[*].Policy"
Use --format option for customized output
# create stop-instances script for running instances
balcony aws ec2 Instances \
-js "DescribeInstances[*].Reservations[*].Instances[?State.Name=='running'][][]" \
--format "aws ec2 stop-instances --instance-ids {InstanceId} # {Tags}"
# create delete-policy script
balcony aws iam Policy \
--jmespath-selector "GetPolicy[*].Policy" \
--format "aws iam delete-policy --policy-arn {Arn}"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
balcony-0.0.62.tar.gz
(38.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
balcony-0.0.62-py3-none-any.whl
(45.2 kB
view details)
File details
Details for the file balcony-0.0.62.tar.gz.
File metadata
- Download URL: balcony-0.0.62.tar.gz
- Upload date:
- Size: 38.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.10.8 Darwin/21.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13f75ee9fc970740d332f66b694b94c78dec60450ecb3d6a4645d46b86d438a4
|
|
| MD5 |
183afd56153d46e95095955be87a3e5b
|
|
| BLAKE2b-256 |
e8200f3b164f56bffd0d3a7ac828e788abac826a81984ede4d56119ffc317c8e
|
File details
Details for the file balcony-0.0.62-py3-none-any.whl.
File metadata
- Download URL: balcony-0.0.62-py3-none-any.whl
- Upload date:
- Size: 45.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.10.8 Darwin/21.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0937f40959e40a7c51a7664675516c66133f6ffbd26340b54e876c13393a01f
|
|
| MD5 |
78de430c111999b889d98b3f70989242
|
|
| BLAKE2b-256 |
7cc166da897cf240c986ad25cfaaa3ba39d5df3265a8158f5ed14abbc064793d
|