io.burkard.cdk.services.lambda.LambdaDestination.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.lambda
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object LambdaDestination {
def apply(
fn: software.amazon.awscdk.services.lambda.IFunction,
responseOnly: Option[Boolean] = None
): software.amazon.awscdk.services.lambda.destinations.LambdaDestination =
software.amazon.awscdk.services.lambda.destinations.LambdaDestination.Builder
.create(fn)
.responseOnly(responseOnly.map(Boolean.box).getOrElse(java.lang.Boolean.FALSE))
.build()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy