{"id":43026300,"url":"https://github.com/yhidetoshi/python-awscli-tool","last_synced_at":"2026-01-31T07:08:29.340Z","repository":{"id":57444299,"uuid":"132221341","full_name":"yhidetoshi/python-awscli-tool","owner":"yhidetoshi","description":"pythonで自作aws-cli-tools作ってみた","archived":false,"fork":false,"pushed_at":"2018-05-14T08:26:30.000Z","size":40,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-30T07:02:12.556Z","etag":null,"topics":["aws","boto3","cli","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yhidetoshi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-05T06:28:49.000Z","updated_at":"2019-01-13T12:10:59.000Z","dependencies_parsed_at":"2022-09-26T16:51:02.667Z","dependency_job_id":null,"html_url":"https://github.com/yhidetoshi/python-awscli-tool","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yhidetoshi/python-awscli-tool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yhidetoshi%2Fpython-awscli-tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yhidetoshi%2Fpython-awscli-tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yhidetoshi%2Fpython-awscli-tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yhidetoshi%2Fpython-awscli-tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yhidetoshi","download_url":"https://codeload.github.com/yhidetoshi/python-awscli-tool/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yhidetoshi%2Fpython-awscli-tool/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28932644,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T04:05:25.756Z","status":"ssl_error","status_checked_at":"2026-01-31T04:02:35.005Z","response_time":128,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","boto3","cli","python"],"created_at":"2026-01-31T07:08:28.857Z","updated_at":"2026-01-31T07:08:29.336Z","avatar_url":"https://github.com/yhidetoshi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# README\n\n![Alt Text](https://github.com/yhidetoshi/Pictures/raw/master/aws/aws-python.png)\n\n- [Pythonについて]\n  - Python 3.6.5 と boto3(1.7.11)実装\n  - Python 3x系だと動くと思います\n  \n#### [準備]\n  - python 3系をインストール\n  - `$ git clone https://github.com/yhidetoshi/python-awscli-tool`\n  - `$ cd python-awscli-tool`\n  - `$ pip install prettytable click boto3 json tqdm`\n  - awscli.pyをコマンドオプションをつけて実行する(実行オプションは以下に記載)\n\n#### [参考]\n  - boto3\n    - https://boto3.readthedocs.io/en/latest/\n  - click\n    - http://click.pocoo.org/5/api/\n  - aws-sdk-goで独自実装した版はこちら\n    - https://github.com/yhidetoshi/go-awscli-tool\n \n#### [コマンド help1]\n- **`$ ./awscli.py --help`**\n```\nUsage: awscli.py [OPTIONS] COMMAND [ARGS]...\n\n  Subcommand click CLI\n\nOptions:\n  -p, --profile TEXT\n  --help              Show this message and exit.\n\nCommands:\n  asg      AutoScaling API\n  ec2      EC2 API\n  rds      RDS API\n  route53  Route53 API\n  s3       S3 API\n```\n#### [コマンド help2]\n\n- **`$ ./awscli.py ec2 --help`**\n```\nUsage: awscli.py ec2 [OPTIONS] COMMAND [ARGS]...\n\n  EC2 API\n\nOptions:\n  --help  Show this message and exit.\n\nCommands:\n  create_ami           Amazon Linux Image Create API\n  delete_ami           Amazon Linux Image Delete API\n  describe_ami         Amazon Linux Image List API\n  describe_instances   EC2 DescribeInstances API\n  start_instances      EC2 RunInstances API\n  stop_instances       EC2 StopInstances API\n  terminate_instances  EC2 TerminateInstances API\n```\n\n### EC2\n```\n■ Instance一覧\n  \u003e $ ./awscli.py ec2 describe_instances\n    ■ profileの場合\n    \u003e $ ./awscli.py -p \u003cPROFILENAME\u003e ec2 describe_instances\n  \n■ Instance起動\n  \u003e $ ./awscli.py ec2 run_instances --instance-id=i-xxxxxxxxxxx\n\n■ Instance停止\n  \u003e $ ./awscli.py ec2 stop_instances --instance-id=i-xxxxxxxxxxx\n\n■ Instance削除\n  \u003e $ ./awscli.py ec2 terminate_instances --instance-id=i-xxxxxxxxxxx \n\n■ AMI一覧(作成順にソート)\n  \u003e $ ./awscli.py ec2 describe_ami\n\n■ AMI作成(Register)\n  \u003e $ ./awscli.py ec2 create_ami --imageid=ami-xxxxxxx --aminame=NAME\n\n■ AMI削除(Deregister)\n  \u003e $ ./awscli.py ec2 delete_ami --imageid=ami-xxxxxxx\n```\n\n### AutoScaling\n```\n■ AutoScaling情報一覧\n  \u003e $ ./awscli.py asg describe_asg\n\n■ AutoScaling Maxの変更\n  \u003e $ ./awscli.py asg update_max --asgname=ASGNAME --max=NUM\n\n■ AutoScaling Minの変更\n  \u003e $ ./awscli.py asg update_min --asgname=ASGNAME --min=NUM\n\n■ AutoScaling Desireの変更\n  \u003e $ ./awscli.py asg update_desire --asgname=ASGNAME --desire=NUM\n```\n\n### RDS\n```\n■ インスタンス一覧\n  \u003e $ ./awscli.py rds describe_instances\n\n■ インスタンス起動\n  \u003e $ ./awscli.py rds start_instances --name={DBInstanceIdentifier}\n\n■ インスタンス停止\n  \u003e $ ./awscli.py rds stop_instances --name={DBInstanceIdentifier} \n```\n\n\n\n### Route53\n```\n■ Zone一覧\n  \u003e $ ./awscli.py route53 describe_zones\n■ Zoneid指定のレコード情報取得\n  \u003e $ ./awscli.py route53 describe_records --zone-id=ID\n```\n\n### S3\n```\n■ バケット一覧\n  \u003e $ ./awscli.py s3 list_buckets \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyhidetoshi%2Fpython-awscli-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyhidetoshi%2Fpython-awscli-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyhidetoshi%2Fpython-awscli-tool/lists"}