io.burkard.cdk.services.autoscaling.StepScalingActionProps.scala Maven / Gradle / Ivy
package io.burkard.cdk.services.autoscaling
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object StepScalingActionProps {
def apply(
minAdjustmentMagnitude: Option[Number] = None,
metricAggregationType: Option[software.amazon.awscdk.services.autoscaling.MetricAggregationType] = None,
autoScalingGroup: Option[software.amazon.awscdk.services.autoscaling.IAutoScalingGroup] = None,
cooldown: Option[software.amazon.awscdk.Duration] = None,
estimatedInstanceWarmup: Option[software.amazon.awscdk.Duration] = None,
adjustmentType: Option[software.amazon.awscdk.services.autoscaling.AdjustmentType] = None
): software.amazon.awscdk.services.autoscaling.StepScalingActionProps =
(new software.amazon.awscdk.services.autoscaling.StepScalingActionProps.Builder)
.minAdjustmentMagnitude(minAdjustmentMagnitude.orNull)
.metricAggregationType(metricAggregationType.orNull)
.autoScalingGroup(autoScalingGroup.orNull)
.cooldown(cooldown.orNull)
.estimatedInstanceWarmup(estimatedInstanceWarmup.orNull)
.adjustmentType(adjustmentType.orNull)
.build()
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy