All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.burkard.cdk.services.stepfunctions.tasks.emrModifyInstanceGroupByName.ShrinkPolicyProperty.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.stepfunctions.tasks.emrModifyInstanceGroupByName

@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object ShrinkPolicyProperty {

  def apply(
    decommissionTimeout: Option[software.amazon.awscdk.Duration] = None,
    instanceResizePolicy: Option[software.amazon.awscdk.services.stepfunctions.tasks.EmrModifyInstanceGroupByName.InstanceResizePolicyProperty] = None
  ): software.amazon.awscdk.services.stepfunctions.tasks.EmrModifyInstanceGroupByName.ShrinkPolicyProperty =
    (new software.amazon.awscdk.services.stepfunctions.tasks.EmrModifyInstanceGroupByName.ShrinkPolicyProperty.Builder)
      .decommissionTimeout(decommissionTimeout.orNull)
      .instanceResizePolicy(instanceResizePolicy.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy