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

io.burkard.cdk.services.stepfunctions.tasks.Monitoring.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.stepfunctions.tasks

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

  def apply(
    logGroup: Option[software.amazon.awscdk.services.logs.ILogGroup] = None,
    logging: Option[Boolean] = None,
    logStreamNamePrefix: Option[String] = None,
    logBucket: Option[software.amazon.awscdk.services.s3.IBucket] = None,
    persistentAppUi: Option[Boolean] = None
  ): software.amazon.awscdk.services.stepfunctions.tasks.Monitoring =
    (new software.amazon.awscdk.services.stepfunctions.tasks.Monitoring.Builder)
      .logGroup(logGroup.orNull)
      .logging(logging.map(Boolean.box).orNull)
      .logStreamNamePrefix(logStreamNamePrefix.orNull)
      .logBucket(logBucket.orNull)
      .persistentAppUi(persistentAppUi.map(Boolean.box).orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy