io.burkard.cdk.services.events.targets.LogGroupProps.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.events.targets
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object LogGroupProps {
def apply(
maxEventAge: Option[software.amazon.awscdk.Duration] = None,
event: Option[software.amazon.awscdk.services.events.RuleTargetInput] = None,
deadLetterQueue: Option[software.amazon.awscdk.services.sqs.IQueue] = None,
logEvent: Option[software.amazon.awscdk.services.events.targets.LogGroupTargetInput] = None,
retryAttempts: Option[Number] = None
): software.amazon.awscdk.services.events.targets.LogGroupProps =
(new software.amazon.awscdk.services.events.targets.LogGroupProps.Builder)
.maxEventAge(maxEventAge.orNull)
.event(event.orNull)
.deadLetterQueue(deadLetterQueue.orNull)
.logEvent(logEvent.orNull)
.retryAttempts(retryAttempts.orNull)
.build()
}