TransitGatewayRouteTableAttachment

class TransitGatewayRouteTableAttachment : KotlinCustomResource

Creates a transit gateway route table attachment.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.networkmanager.TransitGatewayRouteTableAttachment;
import com.pulumi.aws.networkmanager.TransitGatewayRouteTableAttachmentArgs;
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 TransitGatewayRouteTableAttachment("example", TransitGatewayRouteTableAttachmentArgs.builder()
.peeringId(aws_networkmanager_transit_gateway_peering.example().id())
.transitGatewayRouteTableArn(aws_ec2_transit_gateway_route_table.example().arn())
.build());
}
}

Import

aws_networkmanager_transit_gateway_route_table_attachment can be imported using the attachment ID, e.g.

$ pulumi import aws:networkmanager/transitGatewayRouteTableAttachment:TransitGatewayRouteTableAttachment example attachment-0f8fa60d2238d1bd8

Properties

Link copied to clipboard
val arn: Output<String>

Attachment Amazon Resource Name (ARN).

Link copied to clipboard

The policy rule number associated with the attachment.

Link copied to clipboard
val attachmentType: Output<String>

The type of attachment.

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 the 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 attachment account owner.

Link copied to clipboard
val peeringId: Output<String>

The ID of the peer for the attachment.

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 attachment resource ARN.

Link copied to clipboard
val segmentName: Output<String>

The name of the segment attachment.

Link copied to clipboard
val state: Output<String>

The state of the attachment.

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

Key-value tags for the attachment. 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 route table for the attachment.

Link copied to clipboard
val urn: Output<String>