TransitGatewayPeering

class TransitGatewayPeering : KotlinCustomResource

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

Properties

Link copied to clipboard
val arn: Output<String>

Peering Amazon Resource Name (ARN).

Link copied to clipboard
val coreNetworkArn: Output<String>

The ARN of the core network.

Link copied to clipboard
val coreNetworkId: Output<String>

The ID of a core network.

Link copied to clipboard
val edgeLocation: Output<String>

The edge location for the peer.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val ownerAccountId: Output<String>

The ID of the account owner.

Link copied to clipboard
val peeringType: Output<String>

The type of peering. This will be TRANSIT_GATEWAY.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val resourceArn: Output<String>

The resource ARN of the peer.

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

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 tagsAll: Output<Map<String, String>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard

The ARN of the transit gateway for the peering request.

Link copied to clipboard

The ID of the transit gateway peering attachment.

Link copied to clipboard
val urn: Output<String>