io.burkard.cdk.services.ecs.cfnTaskSet.ServiceRegistryProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.ecs.cfnTaskSet
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object ServiceRegistryProperty {
def apply(
port: Option[Number] = None,
registryArn: Option[String] = None,
containerName: Option[String] = None,
containerPort: Option[Number] = None
): software.amazon.awscdk.services.ecs.CfnTaskSet.ServiceRegistryProperty =
(new software.amazon.awscdk.services.ecs.CfnTaskSet.ServiceRegistryProperty.Builder)
.port(port.orNull)
.registryArn(registryArn.orNull)
.containerName(containerName.orNull)
.containerPort(containerPort.orNull)
.build()
}