io.burkard.cdk.services.emr.cfnCluster.ScalingConstraintsProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.emr.cfnCluster
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object ScalingConstraintsProperty {
def apply(
minCapacity: Number,
maxCapacity: Number
): software.amazon.awscdk.services.emr.CfnCluster.ScalingConstraintsProperty =
(new software.amazon.awscdk.services.emr.CfnCluster.ScalingConstraintsProperty.Builder)
.minCapacity(minCapacity)
.maxCapacity(maxCapacity)
.build()
}