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

io.burkard.cdk.services.logs.LogStreamProps.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.logs

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

  def apply(
    logGroup: software.amazon.awscdk.services.logs.ILogGroup,
    logStreamName: Option[String] = None,
    removalPolicy: Option[software.amazon.awscdk.RemovalPolicy] = None
  ): software.amazon.awscdk.services.logs.LogStreamProps =
    (new software.amazon.awscdk.services.logs.LogStreamProps.Builder)
      .logGroup(logGroup)
      .logStreamName(logStreamName.orNull)
      .removalPolicy(removalPolicy.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy