GatewayRouteTableAttachment

Provides a VPC Gateway Route Table Attachment resource. For information about VPC Gateway Route Table Attachment and how to use it, see What is Gateway Route Table Attachment.

NOTE: Available in v1.194.0+.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.vpc.GatewayRouteTableAttachment;
import com.pulumi.alicloud.vpc.GatewayRouteTableAttachmentArgs;
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 GatewayRouteTableAttachment("example", GatewayRouteTableAttachmentArgs.builder()
.ipv4GatewayId("example_value")
.routeTableId("example_value")
.build());
}
}

Import

VPC Gateway Route Table Attachment can be imported using the id, e.g.

$ pulumi import alicloud:vpc/gatewayRouteTableAttachment:GatewayRouteTableAttachment example <route_table_id>:<ipv4_gateway_id>

Properties

Link copied to clipboard
val dryRun: Output<Boolean>?

Specifies whether to only precheck this request. Default value: false.

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

The ID of the IPv4 Gateway instance.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val routeTableId: Output<String>

The ID of the Gateway route table to be bound.

Link copied to clipboard
val status: Output<String>

The status of the IPv4 Gateway instance. Value:

Link copied to clipboard
val urn: Output<String>