TransitGatewayPeeringArgs

data class TransitGatewayPeeringArgs(val coreNetworkId: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val transitGatewayArn: Output<String>? = null) : ConvertibleToJava<TransitGatewayPeeringArgs>

Creates a peering connection between an AWS Cloud WAN core network and an AWS Transit Gateway.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.networkmanager.TransitGatewayPeering;
import com.pulumi.aws.networkmanager.TransitGatewayPeeringArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new TransitGatewayPeering("example", TransitGatewayPeeringArgs.builder()
.coreNetworkId(awscc_networkmanager_core_network.example().id())
.transitGatewayArn(aws_ec2_transit_gateway.example().arn())
.build());
}
}

Import

aws_networkmanager_transit_gateway_peering can be imported using the peering ID, e.g.

$ pulumi import aws:networkmanager/transitGatewayPeering:TransitGatewayPeering example peering-444555aaabbb11223

Constructors

Link copied to clipboard
constructor(coreNetworkId: Output<String>? = null, tags: Output<Map<String, String>>? = null, transitGatewayArn: Output<String>? = null)

Properties

Link copied to clipboard
val coreNetworkId: Output<String>? = null

The ID of a core network.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Key-value tags for the peering. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val transitGatewayArn: Output<String>? = null

The ARN of the transit gateway for the peering request.

Functions

Link copied to clipboard
open override fun toJava(): TransitGatewayPeeringArgs