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

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

The 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,
    autoScalingGroupName: String,
    maxGroupPreparedCapacity: Option[Number] = None,
    instanceReusePolicy: Option[software.amazon.awscdk.services.autoscaling.CfnWarmPool.InstanceReusePolicyProperty] = None,
    poolState: 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)
      .autoScalingGroupName(autoScalingGroupName)
      .maxGroupPreparedCapacity(maxGroupPreparedCapacity.orNull)
      .instanceReusePolicy(instanceReusePolicy.orNull)
      .poolState(poolState.orNull)
      .minSize(minSize.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy