Module awsrun.commands.aws

Contains the built-in commands for AWS.

Each module represents an individual awsrun Command that can be invoked via the command line awsrun.cli tool. When specifying the name of the command to invoke, only the last portion of the dotted module name is required as awsrun.commands.aws is included by default in the path used by awsrun.cmdmgr.

Users can build their own commands as well. Please refer to the awsrun documentation for instructions on how to define and install your own commands.

Expand source code
#
# Copyright 2019 FMR LLC <opensource@fidelity.com>
#
# SPDX-License-Identifier: Apache-2.0
#
"""Contains the built-in commands for AWS.

Each module represents an individual awsrun `awsrun.runner.Command` that can be
invoked via the command line `awsrun.cli` tool. When specifying the name of the
command to invoke, only the last portion of the dotted module name is required
as `awsrun.commands.aws` is included by default in the path used by
`awsrun.cmdmgr`.

Users can build their own commands as well. Please refer to the `awsrun`
documentation for instructions on how to define and install your own commands.
"""

Sub-modules

awsrun.commands.aws.access_report

Test role access to the accounts specified …

awsrun.commands.aws.aws

Adapter for the AWS Command Line Interface (CLI) …

awsrun.commands.aws.cidr_overlap

Display overlapping CIDR blocks between VPCs …

awsrun.commands.aws.console

Obtain a sign-in URL for the AWS Console …

awsrun.commands.aws.dx_maint

Display Direct Connect maintenance events from AWS Health …

awsrun.commands.aws.dx_status

Display the status of Direct Connects and VIFs …

awsrun.commands.aws.kubectl

Execute kubectl commands on EKS clusters …

awsrun.commands.aws.last

Display the last CloudTrail events in an account …

awsrun.commands.aws.list_hosted_zones

Display the Route53 hosted zones in an account …

awsrun.commands.aws.list_iam_policies

Display the IAM policies (inline and attached) in an account …

awsrun.commands.aws.list_iam_roles

Display the IAM roles in an account and its trust relationships …

awsrun.commands.aws.list_igws

Display the Internet Gateways (IGWs) attached to an account …

awsrun.commands.aws.list_lambdas

Display the Lambda functions deployed within an account …

awsrun.commands.aws.list_public_ips

Display the Public IPs in an account …

awsrun.commands.aws.list_vpc_attribute

Display the VPC attributes associated with a VPC …

awsrun.commands.aws.list_vpcs

Display the Virtual Private Clouds (VPCs) configured in an account …