enableVgwRoutePropagation
inline suspend fun Ec2Client.enableVgwRoutePropagation(crossinline block: EnableVgwRoutePropagationRequest.Builder.() -> Unit): EnableVgwRoutePropagationResponse
Enables a virtual private gateway (VGW) to propagate routes to the specified route table of a VPC.
Samples
fun main() {
//sampleStart
// This example enables the specified virtual private gateway to propagate static routes to the
// specified route table.
ec2Client.enableVgwRoutePropagation {
routeTableId = "rtb-22574640"
gatewayId = "vgw-9a4cacf3"
}
//sampleEnd
}