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

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

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

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

  def apply(
    `override`: Boolean,
    protection: Boolean,
    modeBlock: Option[Boolean] = None,
    reportUri: Option[String] = None
  ): software.amazon.awscdk.services.cloudfront.ResponseHeadersXSSProtection =
    (new software.amazon.awscdk.services.cloudfront.ResponseHeadersXSSProtection.Builder)
      .`override`(`override`)
      .protection(protection)
      .modeBlock(modeBlock.map(Boolean.box).orNull)
      .reportUri(reportUri.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy