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