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.)

If the environment variables are not set, the module will try to use the default AWS credentials from the AWS CLI configuration file.

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

You can also use the available functions independently to create your own workflow instead of using the installed aws_tgws command line tool.

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.8.tar.gz (5.3 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.8-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aws_tgw_details-1.0.8.tar.gz
  • Upload date:
  • Size: 5.3 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.8.tar.gz
Algorithm Hash digest
SHA256 0efa0474b7e564a61ff1e18f4c7d9098cc2ace7ee331a11011dfd61a63c3a893
MD5 57908e9650252ce69e10817d9396d4ce
BLAKE2b-256 d7e3db6738c5309c0a56e040327c38840672752a78c1388eced3381293a51324

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aws_tgw_details-1.0.8-py3-none-any.whl
  • Upload date:
  • Size: 6.6 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 6fff243225f325d631e52b63d8e24b5bdc217878e22d01848e260714a0ed34f7
MD5 b230324c21ef716aae1207228b147c08
BLAKE2b-256 19dadacf7d6283469316c865323cb833ab608e0ec195e00612ed6045255279fe

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