io.burkard.cdk.services.cloudfront.cfnDistribution.LambdaFunctionAssociationProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.cloudfront.cfnDistribution
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object LambdaFunctionAssociationProperty {
def apply(
eventType: Option[String] = None,
includeBody: Option[Boolean] = None,
lambdaFunctionArn: Option[String] = None
): software.amazon.awscdk.services.cloudfront.CfnDistribution.LambdaFunctionAssociationProperty =
(new software.amazon.awscdk.services.cloudfront.CfnDistribution.LambdaFunctionAssociationProperty.Builder)
.eventType(eventType.orNull)
.includeBody(includeBody.map(Boolean.box).orNull)
.lambdaFunctionArn(lambdaFunctionArn.orNull)
.build()
}