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.60.tar.gz
(38.6 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.60-py3-none-any.whl
(45.2 kB
view details)
File details
Details for the file balcony-0.0.60.tar.gz.
File metadata
- Download URL: balcony-0.0.60.tar.gz
- Upload date:
- Size: 38.6 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 |
67efaa58d77565a98068cde4c3c4377c7c0a25258b8d4b9be6265b44c139c814
|
|
| MD5 |
4b5572b98a70316947eb6c95d847c9c0
|
|
| BLAKE2b-256 |
de59fde52a8ecff798f0c6f068a8f6f6ace2f9c2aeb29c1c83bcd55acf7f24e1
|
File details
Details for the file balcony-0.0.60-py3-none-any.whl.
File metadata
- Download URL: balcony-0.0.60-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 |
f6ea3b20261e9913a80d6c1936dcd4636863c07072dc31bbb7e305a8b20acc17
|
|
| MD5 |
d6ada787384f0d7a9d7a8982e60574b1
|
|
| BLAKE2b-256 |
b7534c580d057bb5248b22e9a8cd83586ec6d4425000ade18951eed65555adc5
|