Skip to main content

transit_gateway_registrations

Creates, updates, deletes, gets or lists a transit_gateway_registrations resource.

Overview

Nametransit_gateway_registrations
TypeResource
Idaws.networkmanager.transit_gateway_registrations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
global_network_idstringThe ID of the global network. (pattern: <code>[\s\S]*</code>)
stateobjectThe state of the transit gateway registration.
transit_gateway_arnstringThe Amazon Resource Name (ARN) of the transit gateway. (pattern: <code>[\s\S]*</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_transit_gateway_registrationsselectglobal_network_id, regiontransitGatewayArns, maxResults, nextTokenGets information about the transit gateway registrations in a specified global network.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
global_network_idstringThe ID of the global network.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of results to return.
nextTokenstringThe token for the next page of results.
transitGatewayArnsarrayThe Amazon Resource Names (ARNs) of one or more transit gateways. The maximum is 10.

SELECT examples

Gets information about the transit gateway registrations in a specified global network.

SELECT
global_network_id,
state,
transit_gateway_arn
FROM aws.networkmanager.transit_gateway_registrations
WHERE global_network_id = '{{ global_network_id }}' -- required
AND region = '{{ region }}' -- required
AND transitGatewayArns = '{{ transitGatewayArns }}'
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;