disableVgwRoutePropagation
inline suspend fun Ec2Client.disableVgwRoutePropagation(crossinline block: DisableVgwRoutePropagationRequest.Builder.() -> Unit): DisableVgwRoutePropagationResponse
Disables a virtual private gateway (VGW) from propagating routes to a specified route table of a VPC.
Samples
fun main() {
//sampleStart
// This example disables the specified virtual private gateway from propagating static routes to the
// specified route table.
ec2Client.disableVgwRoutePropagation {
routeTableId = "rtb-22574640"
gatewayId = "vgw-9a4cacf3"
}
//sampleEnd
}