io.burkard.cdk.services.cloudfront.CustomErrorResponseProperty.scala Maven / Gradle / Ivy
package io.burkard.cdk.services.cloudfront
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object CustomErrorResponseProperty {
def apply(
errorCode: Number,
responseCode: Option[Number] = None,
responsePagePath: Option[String] = None,
errorCachingMinTtl: Option[Number] = None
): software.amazon.awscdk.services.cloudfront.CfnDistribution.CustomErrorResponseProperty =
(new software.amazon.awscdk.services.cloudfront.CfnDistribution.CustomErrorResponseProperty.Builder)
.errorCode(errorCode)
.responseCode(responseCode.orNull)
.responsePagePath(responsePagePath.orNull)
.errorCachingMinTtl(errorCachingMinTtl.orNull)
.build()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy