io.burkard.cdk.services.opsworks.cfnLayer.ShutdownEventConfigurationProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.opsworks.cfnLayer
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object ShutdownEventConfigurationProperty {
def apply(
delayUntilElbConnectionsDrained: Option[Boolean] = None,
executionTimeout: Option[Number] = None
): software.amazon.awscdk.services.opsworks.CfnLayer.ShutdownEventConfigurationProperty =
(new software.amazon.awscdk.services.opsworks.CfnLayer.ShutdownEventConfigurationProperty.Builder)
.delayUntilElbConnectionsDrained(delayUntilElbConnectionsDrained.map(Boolean.box).orNull)
.executionTimeout(executionTimeout.orNull)
.build()
}