Resource: awsNetworkmanagerTransitGatewayConnectPeerAssociation
Associates a transit gateway Connect peer with a device, and optionally, with a link. If you specify a link, it must be associated with the specified device.
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.networkmanagerTransitGatewayConnectPeerAssociation.NetworkmanagerTransitGatewayConnectPeerAssociation(
this,
"example",
{
deviceId: "${aws_networkmanager_device.example.id}",
globalNetworkId: "${aws_networkmanager_global_network.example.id}",
transitGatewayConnectPeerArn:
"${aws_ec2_transit_gateway_connect_peer.example.arn}",
}
);
Argument Reference
The following arguments are supported:
deviceId
- (Required) The ID of the device.globalNetworkId
- (Required) The ID of the global network.linkId
- (Optional) The ID of the link.transitGatewayConnectPeerArn
- (Required) The Amazon Resource Name (ARN) of the Connect peer.
Attributes Reference
No additional attributes are exported.
Import
awsNetworkmanagerTransitGatewayConnectPeerAssociation
can be imported using the global network ID and customer gateway ARN, e.g.