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

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

package io.burkard.cdk.services.cloudfront

sealed abstract class OriginProtocolPolicy(val underlying: software.amazon.awscdk.services.cloudfront.OriginProtocolPolicy)
  extends Product
    with Serializable

object OriginProtocolPolicy {
  implicit def toAws(value: OriginProtocolPolicy): software.amazon.awscdk.services.cloudfront.OriginProtocolPolicy =
    Option(value).map(_.underlying).orNull

  case object HttpOnly
    extends OriginProtocolPolicy(software.amazon.awscdk.services.cloudfront.OriginProtocolPolicy.HTTP_ONLY)

  case object HttpsOnly
    extends OriginProtocolPolicy(software.amazon.awscdk.services.cloudfront.OriginProtocolPolicy.HTTPS_ONLY)

  case object MatchViewer
    extends OriginProtocolPolicy(software.amazon.awscdk.services.cloudfront.OriginProtocolPolicy.MATCH_VIEWER)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy