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