io.burkard.cdk.services.codedeploy.cfnDeploymentGroup.BlueGreenDeploymentConfigurationProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.codedeploy.cfnDeploymentGroup
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object BlueGreenDeploymentConfigurationProperty {
def apply(
deploymentReadyOption: Option[software.amazon.awscdk.services.codedeploy.CfnDeploymentGroup.DeploymentReadyOptionProperty] = None,
greenFleetProvisioningOption: Option[software.amazon.awscdk.services.codedeploy.CfnDeploymentGroup.GreenFleetProvisioningOptionProperty] = None,
terminateBlueInstancesOnDeploymentSuccess: Option[software.amazon.awscdk.services.codedeploy.CfnDeploymentGroup.BlueInstanceTerminationOptionProperty] = None
): software.amazon.awscdk.services.codedeploy.CfnDeploymentGroup.BlueGreenDeploymentConfigurationProperty =
(new software.amazon.awscdk.services.codedeploy.CfnDeploymentGroup.BlueGreenDeploymentConfigurationProperty.Builder)
.deploymentReadyOption(deploymentReadyOption.orNull)
.greenFleetProvisioningOption(greenFleetProvisioningOption.orNull)
.terminateBlueInstancesOnDeploymentSuccess(terminateBlueInstancesOnDeploymentSuccess.orNull)
.build()
}