io.burkard.cdk.services.autoscaling.cfnScalingPolicy.PredictiveScalingPredefinedLoadMetricProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.autoscaling.cfnScalingPolicy
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object PredictiveScalingPredefinedLoadMetricProperty {
def apply(
predefinedMetricType: String,
resourceLabel: Option[String] = None
): software.amazon.awscdk.services.autoscaling.CfnScalingPolicy.PredictiveScalingPredefinedLoadMetricProperty =
(new software.amazon.awscdk.services.autoscaling.CfnScalingPolicy.PredictiveScalingPredefinedLoadMetricProperty.Builder)
.predefinedMetricType(predefinedMetricType)
.resourceLabel(resourceLabel.orNull)
.build()
}