io.burkard.cdk.services.eks.cfnNodegroup.ScalingConfigProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.eks.cfnNodegroup
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object ScalingConfigProperty {
def apply(
maxSize: Option[Number] = None,
desiredSize: Option[Number] = None,
minSize: Option[Number] = None
): software.amazon.awscdk.services.eks.CfnNodegroup.ScalingConfigProperty =
(new software.amazon.awscdk.services.eks.CfnNodegroup.ScalingConfigProperty.Builder)
.maxSize(maxSize.orNull)
.desiredSize(desiredSize.orNull)
.minSize(minSize.orNull)
.build()
}