VpnGatewayRoutePropagation

class VpnGatewayRoutePropagation : KotlinCustomResource

Requests automatic route propagation between a VPN gateway and a route table.

Note: This resource should not be used with a route table that has the propagating_vgws argument set. If that argument is set, any route propagation not explicitly listed in its value will be removed.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ec2.VpnGatewayRoutePropagation;
import com.pulumi.aws.ec2.VpnGatewayRoutePropagationArgs;
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 VpnGatewayRoutePropagation("example", VpnGatewayRoutePropagationArgs.builder()
.vpnGatewayId(aws_vpn_gateway.example().id())
.routeTableId(aws_route_table.example().id())
.build());
}
}

Properties

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

The id of the aws.ec2.RouteTable to propagate routes into.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val vpnGatewayId: Output<String>

The id of the aws.ec2.VpnGateway to propagate routes from.