io.burkard.cdk.services.codedeploy.cfnDeploymentGroup.TrafficRouteProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.codedeploy.cfnDeploymentGroup
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object TrafficRouteProperty {
def apply(
listenerArns: Option[List[String]] = None
): software.amazon.awscdk.services.codedeploy.CfnDeploymentGroup.TrafficRouteProperty =
(new software.amazon.awscdk.services.codedeploy.CfnDeploymentGroup.TrafficRouteProperty.Builder)
.listenerArns(listenerArns.map(_.asJava).orNull)
.build()
}