io.burkard.cdk.services.globalaccelerator.PortOverride.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.globalaccelerator
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object PortOverride {
def apply(
listenerPort: Number,
endpointPort: Number
): software.amazon.awscdk.services.globalaccelerator.PortOverride =
(new software.amazon.awscdk.services.globalaccelerator.PortOverride.Builder)
.listenerPort(listenerPort)
.endpointPort(endpointPort)
.build()
}