io.burkard.cdk.services.sam.cfnFunction.S3EventProperty.scala Maven / Gradle / Ivy
The newest version!
package io.burkard.cdk.services.sam.cfnFunction
import scala.collection.JavaConverters._
@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object S3EventProperty {
def apply(
events0: List[String],
events1: String,
bucket: String,
filter: Option[software.amazon.awscdk.services.sam.CfnFunction.S3NotificationFilterProperty] = None
): software.amazon.awscdk.services.sam.CfnFunction.S3EventProperty =
(new software.amazon.awscdk.services.sam.CfnFunction.S3EventProperty.Builder)
.events(events0.asJava)
.events(events1)
.bucket(bucket)
.filter(filter.orNull)
.build()
}