aws-toolbox-0.0.2
توضیحات
AWS Toolbox
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | aws-toolbox-0.0.2 |
| نام | aws-toolbox |
| نسخه کتابخانه | 0.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Giacomo Marciani |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/gmarciani/aws-toolbox |
| آدرس اینترنتی | https://pypi.org/project/aws-toolbox/ |
| مجوز | MIT License |
# AWS Toolbox
AWS Toolbox extends the AWS CLI commands with some handy solutions, such as
executing a command on every region and resources matching a given pattern.
## Installation
```
pip install aws-toolbox
```
## Usage
### DryRun Mode
Every command can be executed in dryrun mode, by adding the option `--dryrun`.
With dryrun mode, the actual AWS operations will be logged but not executed.
For example:
```
~> aws-toolbox s3 delete-bucket --name "test-.*" --dryrun
INFO:aws_toolbox.commands.s3.delete_bucket:Deleting Buckets with name pattern integ-tests-.*, dryrun True
INFO:botocore.credentials:Found credentials in shared credentials file: ~/.aws/credentials
INFO:aws_toolbox.commands.s3.delete_bucket:The following 2 buckets would be deleted, but dryrun mode is enabled and nothing will be done: test-1, test-2, test-3
```
### S3
Delete (emptying, if necessary) all buckets whose name matches the provided regular expression:
```
aws-toolbox s3 delete-bucket --name "cdk-hnb659fds-assets-319414405305-(?\!us-east-1|eu-west-1)"
```
### Secrets Manager
List all secrets whose name and regions match the provided regular expressions:
````
aws-toolbox secretsmanager list-secrets --region "us-west-.*" --name ".*"
````
Delete all secrets whose name and regions match the provided regular expressions:
````
aws-toolbox secretsmanager delete-secrets --region "us-west-.*" --name "Sample.*"
````
نیازمندی
| مقدار | نام |
|---|---|
| ~=63.2.0 | setuptools |
| ~=1.24.34 | boto3 |
| ~=8.1.3 | click |
| ~=1.4.3 | colored |
| ~=0.8.post1 | pyfiglet |
| ~=3.4.0 | python-ldap |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl aws-toolbox-0.0.2:
pip install aws-toolbox-0.0.2.whl
نصب پکیج tar.gz aws-toolbox-0.0.2:
pip install aws-toolbox-0.0.2.tar.gz