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

io.burkard.cdk.services.events.EventBus.scala Maven / Gradle / Ivy

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

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

  def apply(
    internalResourceId: String,
    eventSourceName: Option[String] = None,
    eventBusName: Option[String] = None
  )(implicit stackCtx: software.amazon.awscdk.Stack): software.amazon.awscdk.services.events.EventBus =
    software.amazon.awscdk.services.events.EventBus.Builder
      .create(stackCtx, internalResourceId)
      .eventSourceName(eventSourceName.orNull)
      .eventBusName(eventBusName.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy