All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.burkard.cdk.services.sagemaker.cfnEndpoint.BlueGreenUpdatePolicyProperty.scala Maven / Gradle / Ivy

package io.burkard.cdk.services.sagemaker.cfnEndpoint

@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object BlueGreenUpdatePolicyProperty {

  def apply(
    trafficRoutingConfiguration: software.amazon.awscdk.services.sagemaker.CfnEndpoint.TrafficRoutingConfigProperty,
    maximumExecutionTimeoutInSeconds: Option[Number] = None,
    terminationWaitInSeconds: Option[Number] = None
  ): software.amazon.awscdk.services.sagemaker.CfnEndpoint.BlueGreenUpdatePolicyProperty =
    (new software.amazon.awscdk.services.sagemaker.CfnEndpoint.BlueGreenUpdatePolicyProperty.Builder)
      .trafficRoutingConfiguration(trafficRoutingConfiguration)
      .maximumExecutionTimeoutInSeconds(maximumExecutionTimeoutInSeconds.orNull)
      .terminationWaitInSeconds(terminationWaitInSeconds.orNull)
      .build()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy