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

io.burkard.cdk.services.autoscaling.MixedInstancesPolicyProperty.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 MixedInstancesPolicyProperty {

  def apply(
    launchTemplate: Option[software.amazon.awscdk.services.autoscaling.CfnAutoScalingGroup.LaunchTemplateProperty] = None,
    instancesDistribution: Option[software.amazon.awscdk.services.autoscaling.CfnAutoScalingGroup.InstancesDistributionProperty] = None
  ): software.amazon.awscdk.services.autoscaling.CfnAutoScalingGroup.MixedInstancesPolicyProperty =
    (new software.amazon.awscdk.services.autoscaling.CfnAutoScalingGroup.MixedInstancesPolicyProperty.Builder)
      .launchTemplate(launchTemplate.orNull)
      .instancesDistribution(instancesDistribution.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy