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

io.burkard.cdk.services.logs.LogGroupProps.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 LogGroupProps {

  def apply(
    retention: Option[software.amazon.awscdk.services.logs.RetentionDays] = None,
    encryptionKey: Option[software.amazon.awscdk.services.kms.IKey] = None,
    logGroupName: Option[String] = None,
    removalPolicy: Option[software.amazon.awscdk.RemovalPolicy] = None
  ): software.amazon.awscdk.services.logs.LogGroupProps =
    (new software.amazon.awscdk.services.logs.LogGroupProps.Builder)
      .retention(retention.orNull)
      .encryptionKey(encryptionKey.orNull)
      .logGroupName(logGroupName.orNull)
      .removalPolicy(removalPolicy.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy