io.burkard.cdk.services.autoscaling.BaseTargetTrackingProps.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.autoscaling
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object BaseTargetTrackingProps {
def apply(
disableScaleIn: Option[Boolean] = None,
cooldown: Option[software.amazon.awscdk.Duration] = None,
estimatedInstanceWarmup: Option[software.amazon.awscdk.Duration] = None
): software.amazon.awscdk.services.autoscaling.BaseTargetTrackingProps =
(new software.amazon.awscdk.services.autoscaling.BaseTargetTrackingProps.Builder)
.disableScaleIn(disableScaleIn.map(Boolean.box).orNull)
.cooldown(cooldown.orNull)
.estimatedInstanceWarmup(estimatedInstanceWarmup.orNull)
.build()
}