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