All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.burkard.cdk.services.ses.cfnConfigurationSetEventDestination.EventDestinationProperty.scala Maven / Gradle / Ivy

package io.burkard.cdk.services.ses.cfnConfigurationSetEventDestination

import scala.collection.JavaConverters._

@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object EventDestinationProperty {

  def apply(
    matchingEventTypes: List[String],
    name: Option[String] = None,
    kinesisFirehoseDestination: Option[software.amazon.awscdk.services.ses.CfnConfigurationSetEventDestination.KinesisFirehoseDestinationProperty] = None,
    enabled: Option[Boolean] = None,
    cloudWatchDestination: Option[software.amazon.awscdk.services.ses.CfnConfigurationSetEventDestination.CloudWatchDestinationProperty] = None,
    snsDestination: Option[software.amazon.awscdk.services.ses.CfnConfigurationSetEventDestination.SnsDestinationProperty] = None
  ): software.amazon.awscdk.services.ses.CfnConfigurationSetEventDestination.EventDestinationProperty =
    (new software.amazon.awscdk.services.ses.CfnConfigurationSetEventDestination.EventDestinationProperty.Builder)
      .matchingEventTypes(matchingEventTypes.asJava)
      .name(name.orNull)
      .kinesisFirehoseDestination(kinesisFirehoseDestination.orNull)
      .enabled(enabled.map(Boolean.box).orNull)
      .cloudWatchDestination(cloudWatchDestination.orNull)
      .snsDestination(snsDestination.orNull)
      .build()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy