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

io.burkard.cdk.services.codedeploy.CfnDeploymentConfig.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 CfnDeploymentConfig {

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy