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

io.burkard.cdk.services.autoscaling.CfnWarmPool.scala Maven / Gradle / Ivy

There is a newer version: 0.5.0
Show newest version
package io.burkard.cdk.services.autoscaling

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

  def apply(
    internalResourceId: String,
    maxGroupPreparedCapacity: Option[Number] = None,
    poolState: Option[String] = None,
    autoScalingGroupName: Option[String] = None,
    minSize: Option[Number] = None
  )(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.autoscaling.CfnWarmPool =
    software.amazon.awscdk.services.autoscaling.CfnWarmPool.Builder
      .create(stackCtx, internalResourceId)
      .maxGroupPreparedCapacity(maxGroupPreparedCapacity.orNull)
      .poolState(poolState.orNull)
      .autoScalingGroupName(autoScalingGroupName.orNull)
      .minSize(minSize.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy