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

io.burkard.cdk.services.lambda.AutoScalingOptions.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.lambda

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

  def apply(
    maxCapacity: Number,
    minCapacity: Option[Number] = None
  ): software.amazon.awscdk.services.lambda.AutoScalingOptions =
    (new software.amazon.awscdk.services.lambda.AutoScalingOptions.Builder)
      .maxCapacity(maxCapacity)
      .minCapacity(minCapacity.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy