io.burkard.cdk.services.elasticbeanstalk.cfnApplication.ApplicationVersionLifecycleConfigProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.elasticbeanstalk.cfnApplication
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object ApplicationVersionLifecycleConfigProperty {
def apply(
maxAgeRule: Option[software.amazon.awscdk.services.elasticbeanstalk.CfnApplication.MaxAgeRuleProperty] = None,
maxCountRule: Option[software.amazon.awscdk.services.elasticbeanstalk.CfnApplication.MaxCountRuleProperty] = None
): software.amazon.awscdk.services.elasticbeanstalk.CfnApplication.ApplicationVersionLifecycleConfigProperty =
(new software.amazon.awscdk.services.elasticbeanstalk.CfnApplication.ApplicationVersionLifecycleConfigProperty.Builder)
.maxAgeRule(maxAgeRule.orNull)
.maxCountRule(maxCountRule.orNull)
.build()
}