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

io.burkard.cdk.services.ses.S3ActionConfig.scala Maven / Gradle / Ivy

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

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

  def apply(
    bucketName: String,
    topicArn: Option[String] = None,
    objectKeyPrefix: Option[String] = None,
    kmsKeyArn: Option[String] = None
  ): software.amazon.awscdk.services.ses.S3ActionConfig =
    (new software.amazon.awscdk.services.ses.S3ActionConfig.Builder)
      .bucketName(bucketName)
      .topicArn(topicArn.orNull)
      .objectKeyPrefix(objectKeyPrefix.orNull)
      .kmsKeyArn(kmsKeyArn.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy