Skip to main content

transit_gateway

Gets an individual transit_gateway resource

Overview

Nametransit_gateway
TypeResource
Descriptiontransit_gateway
Idawscc.ec2.transit_gateway

Fields

NameDatatypeDescription
descriptionstring
association_default_route_table_idstring
auto_accept_shared_attachmentsstring
transit_gateway_arnstring
default_route_table_propagationstring
transit_gateway_cidr_blocksarray
propagation_default_route_table_idstring
default_route_table_associationstring
idstring
vpn_ecmp_supportstring
dns_supportstring
multicast_supportstring
amazon_side_asninteger
tagsarray
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
description,
association_default_route_table_id,
auto_accept_shared_attachments,
transit_gateway_arn,
default_route_table_propagation,
transit_gateway_cidr_blocks,
propagation_default_route_table_id,
default_route_table_association,
id,
vpn_ecmp_support,
dns_support,
multicast_support,
amazon_side_asn,
tags
FROM awscc.ec2.transit_gateway
WHERE data__Identifier = '<Id>';

Permissions

To operate on the transit_gateway resource, the following permissions are required:

Read

ec2:CreateTransitGateway,
ec2:CreateTags,
ec2:DescribeTransitGateways,
ec2:DescribeTags,
ec2:DeleteTransitGateway,
ec2:DeleteTags,
ec2:ModifyTransitGateway,
ec2:ModifyTransitGatewayOptions

Update

ec2:CreateTransitGateway,
ec2:CreateTags,
ec2:DescribeTransitGateways,
ec2:DescribeTags,
ec2:DeleteTransitGateway,
ec2:DeleteTags,
ec2:ModifyTransitGateway,
ec2:ModifyTransitGatewayOptions

Delete

ec2:CreateTransitGateway,
ec2:CreateTags,
ec2:DescribeTransitGateways,
ec2:DescribeTags,
ec2:DeleteTransitGateway,
ec2:DeleteTags,
ec2:ModifyTransitGateway,
ec2:ModifyTransitGatewayOptions