AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::NetworkManager::TransitGatewayRegistration

CfnTransitGatewayRegistration

Registers a transit gateway in your global network. Not all Regions support transit gateways for global networks. For a list of the supported Regions, see [Region Availability](https://docs.aws.amazon.com/network-manager/latest/tgwnm/what-are-global-networks.html#nm-available-regions) in the *AWS Transit Gateways for Global Networks User Guide* . The transit gateway can be in any of the supported AWS Regions, but it must be owned by the same AWS account that owns the global network. You cannot register a transit gateway in more than one global network.

Import

import { CfnTransitGatewayRegistration } from 'aws-cdk-lib/aws-networkmanager';

Or use the module namespace:

import * as networkmanager from 'aws-cdk-lib/aws-networkmanager';
// networkmanager.CfnTransitGatewayRegistration

Properties

Configuration passed to the constructor as CfnTransitGatewayRegistrationProps.

globalNetworkIdRequired
string | IGlobalNetworkRef

The ID of the global network.

transitGatewayArnRequired
string

The Amazon Resource Name (ARN) of the transit gateway.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter