Skip to main content

aws_toolset

AWS Toolset These tools are intended to help AWS developers automate tasks that they frequently perform, making it simpler to manage cloud resources. In the course of working with AWS, you may find yourself performing the same tasks repeatedly, which can be time-consuming and monotonous. This toolset aims to simplify these tasks by providing a variety of scripts that automate tasks such as retrieving EC2 and ECS information, managing S3 buckets, and working with CloudFormation stacks. The scripts can be run as a command-line interface (CLI) or through the Python -m interface. Additionally, they can be easily installed with pip to facilitate access.

By using these tools, you can save time and focus on more critical aspects of your work. The aim of this toolset is to streamline your workflow and make your life as an AWS developer more straightforward.

pip install aws_toolset
aws_toolset module

or

python3 aws_toolset module

or

python3 -m aws_toolset module

Import

If you need to import then

from aws_toolset import aws_toolset

from aws_toolset.module import create_codestar_notifications

options

  • Module This is the module that it will run, The list of modules can be seen with the -h option

Modules

create_codestar_notifications

This module is to help in the creation of codestar notifications

options

  • --ta REQUIRED: The Amazon Resource Name (ARN) of the Chatbot topic or Chatbot client.
  • --tt REQUIRED: The target type. Can be an Chatbot topic or Chatbot client. The options are SNS or AWSChatbotSlack"
  • --n The name for the notification rule. Notification rule names must be unique in your Amazon Web Services account.
  • --eti Should be a list of all accepted notification events. See https://docs.aws.amazon.com/dtconsole/latest/userguide/concepts.html#concepts-api
  • --dt The level of detail to include in the notifications for this resource.
  • --r either the full arn of the resource. If we are helping you build this list, leave blank
  • -t A list(dict) of tags to apply to this notification rule. Key names cannot start with aws
  • -s The status of the notification rule. The default value is ENABLED . If the status is set to DISABLED , notifications aren't sent for the notification rule.

generate_ecs_execute_command

This module is to help create the ecs exec command from your cli. It can also run it. Must have AWS CLI and AWS Session Manager Plugin installed.

options

  • --c or --cluster The Amazon Resource Name (ARN) or short name of the cluster the task is running in. If you do not specify a cluster, the default cluster is assumed.
  • --t or --taskid The Amazon Resource Name (ARN) or ID of the task the container is part of.
  • --cn or --container-name The name of the container to execute the command on.
  • --i or --interactive Use this flag to run your command in interactive mode.
  • --cmd or --commandThe command to run on the container.
  • --r or --region The Region to use

get_ec2_ecs_info

This module is to get info about ecs. Specifically to get from a container and tell what ec2 instances it's running on.

options

  • --c or --cluster The Amazon Resource Name (ARN) or short name of the cluster the task is running in. If you do not specify a cluster, the default cluster is assumed.
  • --cn or --container-name Container name to give to filter by
  • --r or --region The Region to use
  • --f or --full-output Option to give all details or not

Metadata

Release files for aws-toolset 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aws-toolset 0.0.6
File Size Uploaded Provenance
aws_toolset-0.0.6.tar.gz 22.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for aws-toolset 0.0.6
File Interpreter ABI Platform
aws_toolset-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 47.9 kB

Release files / aws_toolset-0.0.6.tar.gz

Download URL aws_toolset-0.0.6.tar.gz
Size 22.6 kB
Tags Source
SHA-256 checksum
How to use checksums
890322d3841ba9d544026578910ebe2486db3d6f8f13218c8e7f8566ddab1454
BLAKE2b-256 checksum
How to use checksums
5ee2472e408716c318f714e6661a7676e0f7135ef9bd30a296957749277920fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / aws_toolset-0.0.6-py3-none-any.whl

Download URL aws_toolset-0.0.6-py3-none-any.whl
Size 25.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d10a25361cfa0af138d05d92afeb4c341968939b742e8a96dbb0653574a628a9
BLAKE2b-256 checksum
How to use checksums
b262b165f3f13c5b4789c8d7b5a33823a923f6d812342398fa2fa6cb44b084a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Security for aws-toolset 0.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page