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

io.burkard.cdk.services.cloudfront.ErrorResponse.scala Maven / Gradle / Ivy

package io.burkard.cdk.services.cloudfront

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

  def apply(
    httpStatus: Number,
    ttl: Option[software.amazon.awscdk.Duration] = None,
    responseHttpStatus: Option[Number] = None,
    responsePagePath: Option[String] = None
  ): software.amazon.awscdk.services.cloudfront.ErrorResponse =
    (new software.amazon.awscdk.services.cloudfront.ErrorResponse.Builder)
      .httpStatus(httpStatus)
      .ttl(ttl.orNull)
      .responseHttpStatus(responseHttpStatus.orNull)
      .responsePagePath(responsePagePath.orNull)
      .build()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy