io.burkard.cdk.services.autoscaling.TargetTrackingConfigurationProperty.scala Maven / Gradle / Ivy
package io.burkard.cdk.services.autoscaling
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object TargetTrackingConfigurationProperty {
def apply(
disableScaleIn: Option[Boolean] = None,
customizedMetricSpecification: Option[software.amazon.awscdk.services.autoscaling.CfnScalingPolicy.CustomizedMetricSpecificationProperty] = None,
targetValue: Option[Number] = None,
predefinedMetricSpecification: Option[software.amazon.awscdk.services.autoscaling.CfnScalingPolicy.PredefinedMetricSpecificationProperty] = None
): software.amazon.awscdk.services.autoscaling.CfnScalingPolicy.TargetTrackingConfigurationProperty =
(new software.amazon.awscdk.services.autoscaling.CfnScalingPolicy.TargetTrackingConfigurationProperty.Builder)
.disableScaleIn(disableScaleIn.map(Boolean.box).getOrElse(java.lang.Boolean.FALSE))
.customizedMetricSpecification(customizedMetricSpecification.orNull)
.targetValue(targetValue.orNull)
.predefinedMetricSpecification(predefinedMetricSpecification.orNull)
.build()
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy