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

io.burkard.cdk.services.ses.actions.Lambda.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.ses.actions

@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object Lambda {

  def apply(
    function: software.amazon.awscdk.services.lambda.IFunction,
    invocationType: Option[software.amazon.awscdk.services.ses.actions.LambdaInvocationType] = None,
    topic: Option[software.amazon.awscdk.services.sns.ITopic] = None
  ): software.amazon.awscdk.services.ses.actions.Lambda =
    software.amazon.awscdk.services.ses.actions.Lambda.Builder
      .create()
      .function(function)
      .invocationType(invocationType.orNull)
      .topic(topic.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy