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

io.burkard.cdk.services.codedeploy.ServerDeploymentConfig.scala Maven / Gradle / Ivy

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

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

  def apply(
    internalResourceId: String,
    minimumHealthyHosts: software.amazon.awscdk.services.codedeploy.MinimumHealthyHosts,
    deploymentConfigName: Option[String] = None
  )(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.codedeploy.ServerDeploymentConfig =
    software.amazon.awscdk.services.codedeploy.ServerDeploymentConfig.Builder
      .create(stackCtx, internalResourceId)
      .minimumHealthyHosts(minimumHealthyHosts)
      .deploymentConfigName(deploymentConfigName.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy