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

io.burkard.cdk.services.cloudfront.cfnDistribution.ForwardedValuesProperty.scala Maven / Gradle / Ivy

The newest version!
package io.burkard.cdk.services.cloudfront.cfnDistribution

import scala.collection.JavaConverters._

@scala.annotation.nowarn("cat=deprecation")
@SuppressWarnings(Array("org.wartremover.warts.DefaultArguments", "org.wartremover.warts.Null", "DisableSyntax.null"))
object ForwardedValuesProperty {

  def apply(
    queryString: Boolean,
    cookies: Option[software.amazon.awscdk.services.cloudfront.CfnDistribution.CookiesProperty] = None,
    headers: Option[List[String]] = None,
    queryStringCacheKeys: Option[List[String]] = None
  ): software.amazon.awscdk.services.cloudfront.CfnDistribution.ForwardedValuesProperty =
    (new software.amazon.awscdk.services.cloudfront.CfnDistribution.ForwardedValuesProperty.Builder)
      .queryString(queryString)
      .cookies(cookies.orNull)
      .headers(headers.map(_.asJava).orNull)
      .queryStringCacheKeys(queryStringCacheKeys.map(_.asJava).orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy