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

io.burkard.cdk.services.stepfunctions.LogOptions.scala Maven / Gradle / Ivy

package io.burkard.cdk.services.stepfunctions

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

  def apply(
    destination: software.amazon.awscdk.services.logs.ILogGroup,
    level: Option[software.amazon.awscdk.services.stepfunctions.LogLevel] = None,
    includeExecutionData: Option[Boolean] = None
  ): software.amazon.awscdk.services.stepfunctions.LogOptions =
    (new software.amazon.awscdk.services.stepfunctions.LogOptions.Builder)
      .destination(destination)
      .level(level.orNull)
      .includeExecutionData(includeExecutionData.map(Boolean.box).orNull)
      .build()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy