io.burkard.cdk.services.codedeploy.CustomLambdaDeploymentConfigProps.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 CustomLambdaDeploymentConfigProps {
def apply(
`type`: software.amazon.awscdk.services.codedeploy.CustomLambdaDeploymentConfigType,
interval: software.amazon.awscdk.Duration,
percentage: Number,
deploymentConfigName: Option[String] = None
): software.amazon.awscdk.services.codedeploy.CustomLambdaDeploymentConfigProps =
(new software.amazon.awscdk.services.codedeploy.CustomLambdaDeploymentConfigProps.Builder)
.`type`(`type`)
.interval(interval)
.percentage(percentage)
.deploymentConfigName(deploymentConfigName.orNull)
.build()
}