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

io.burkard.cdk.services.sam.ApiEventProperty.scala Maven / Gradle / Ivy

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

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

  def apply(
    method: String,
    path: String,
    auth: Option[software.amazon.awscdk.services.sam.CfnFunction.AuthProperty] = None,
    restApiId: Option[String] = None
  ): software.amazon.awscdk.services.sam.CfnFunction.ApiEventProperty =
    (new software.amazon.awscdk.services.sam.CfnFunction.ApiEventProperty.Builder)
      .method(method)
      .path(path)
      .auth(auth.orNull)
      .restApiId(restApiId.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy