GatewayRouteTableAttachmentArgs

data class GatewayRouteTableAttachmentArgs(val dryRun: Output<Boolean>? = null, val ipv4GatewayId: Output<String>? = null, val routeTableId: Output<String>? = null) : ConvertibleToJava<GatewayRouteTableAttachmentArgs>

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>

Constructors

Link copied to clipboard
fun GatewayRouteTableAttachmentArgs(dryRun: Output<Boolean>? = null, ipv4GatewayId: Output<String>? = null, routeTableId: Output<String>? = null)

Functions

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

Properties

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

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

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

The ID of the IPv4 Gateway instance.

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

The ID of the Gateway route table to be bound.