io.burkard.cdk.services.lightsail.cfnContainer.PortInfoProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.lightsail.cfnContainer
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object PortInfoProperty {
def apply(
port: Option[String] = None,
protocol: Option[String] = None
): software.amazon.awscdk.services.lightsail.CfnContainer.PortInfoProperty =
(new software.amazon.awscdk.services.lightsail.CfnContainer.PortInfoProperty.Builder)
.port(port.orNull)
.protocol(protocol.orNull)
.build()
}