Skip to main content

Get AWS Transit Gateway details.

Project description

Overview

Get AWS Transit Gateway details.

This module helps to retrieve AWS Transit Gateway details, including the following:

  • Transit Gateways

  • Transit Gateway Route Tables

  • Transit Gateway Routes

  • Transit Gateway Attachments

  • Customer Gateways

  • VPN Connections

The aws_authenticator module is installed with this module, and is used to login to AWS using IAM access key credentials from the following environment variables:

  • TGW_AWS_ACCESS_KEY_ID

  • TGW_AWS_SECRET_ACCESS_KEY

  • TGW_AWS_SESSION_TOKEN (Optional. Default: None.)

Usage

Installation:

pip3 install aws_tgw_details
# or
python3 -m pip install aws_tgw_details
  • Set environment variables.

export TGW_AWS_ACCESS_KEY_ID=your_access_key_id
export TGW_AWS_SECRET_ACCESS_KEY=your_secret_access_key
export TGW_AWS_SESSION_TOKEN=your_session_token
  • Examples.

# Overview.
aws_tgws

# Help.
aws_tgws -h

# Get all Transit Gateways.
aws_tgws -t ALL

# Get a specific Transit Gateway.
aws_tgws -t tgw-1234567890abcdef0

# Get all Customer Gateways.
aws_tgws -c ALL

Boto3 Functions

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aws_tgw_details-1.0.2.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aws_tgw_details-1.0.2-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file aws_tgw_details-1.0.2.tar.gz.

File metadata

  • Download URL: aws_tgw_details-1.0.2.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/5.15.154+

File hashes

Hashes for aws_tgw_details-1.0.2.tar.gz
Algorithm Hash digest
SHA256 3946db708d3231fe9160f28526e282ec0a0baaf607ff3f20a115c2f4915ddb34
MD5 2ea04c3a86033dae4bea2a3e8b73ebc4
BLAKE2b-256 97d69355ce25ae8a6e009a3fc027ec0cdb9e5e33ca2971001b4cbfbe45e8be39

See more details on using hashes here.

File details

Details for the file aws_tgw_details-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: aws_tgw_details-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/5.15.154+

File hashes

Hashes for aws_tgw_details-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 93624b97afa43934a439974af536ac2748fad8caf4cb8b7eb1b609d06c5d71cf
MD5 74055dd50654e326903600c34a3ef8f0
BLAKE2b-256 fd3c46d24805c9e29acb707cc40c3d4e63abd869669a24a959f98232dfb9f192

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page