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

io.burkard.cdk.services.codebuild.CloudWatchLoggingOptions.scala Maven / Gradle / Ivy

There is a newer version: 0.5.0
Show newest version
package io.burkard.cdk.services.codebuild

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

  def apply(
    logGroup: Option[software.amazon.awscdk.services.logs.ILogGroup] = None,
    prefix: Option[String] = None,
    enabled: Option[Boolean] = None
  ): software.amazon.awscdk.services.codebuild.CloudWatchLoggingOptions =
    (new software.amazon.awscdk.services.codebuild.CloudWatchLoggingOptions.Builder)
      .logGroup(logGroup.orNull)
      .prefix(prefix.orNull)
      .enabled(enabled.map(Boolean.box).getOrElse(java.lang.Boolean.FALSE))
      .build()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy