AWS::NetworkManager::TransitGatewayRegistrationRegisters 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 { CfnTransitGatewayRegistration } from 'aws-cdk-lib/aws-networkmanager';Or use the module namespace:
import * as networkmanager from 'aws-cdk-lib/aws-networkmanager';
// networkmanager.CfnTransitGatewayRegistrationConfiguration passed to the constructor as CfnTransitGatewayRegistrationProps.
globalNetworkIdRequiredstring | IGlobalNetworkRefThe ID of the global network.
transitGatewayArnRequiredstringThe Amazon Resource Name (ARN) of the transit gateway.
This L1 construct maps directly to the following CloudFormation resource type.
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-networkmanagerAWS::NetworkManager::TransitGatewayRegistration