io.burkard.cdk.services.lambda.cfnFunction.DeadLetterConfigProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.lambda.cfnFunction
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object DeadLetterConfigProperty {
def apply(
targetArn: Option[String] = None
): software.amazon.awscdk.services.lambda.CfnFunction.DeadLetterConfigProperty =
(new software.amazon.awscdk.services.lambda.CfnFunction.DeadLetterConfigProperty.Builder)
.targetArn(targetArn.orNull)
.build()
}