io.burkard.cdk.services.ec2.ClientVpnRoute.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.ec2
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object ClientVpnRoute {
def apply(
internalResourceId: String,
target: Option[software.amazon.awscdk.services.ec2.ClientVpnRouteTarget] = None,
description: Option[String] = None,
cidr: Option[String] = None,
clientVpnEndpoint: Option[software.amazon.awscdk.services.ec2.IClientVpnEndpoint] = None
)(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.ec2.ClientVpnRoute =
software.amazon.awscdk.services.ec2.ClientVpnRoute.Builder
.create(stackCtx, internalResourceId)
.target(target.orNull)
.description(description.orNull)
.cidr(cidr.orNull)
.clientVpnEndpoint(clientVpnEndpoint.orNull)
.build()
}