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

io.burkard.cdk.services.cloudfront.ResponseHeadersPolicyProps.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 ResponseHeadersPolicyProps {

  def apply(
    comment: Option[String] = None,
    securityHeadersBehavior: Option[software.amazon.awscdk.services.cloudfront.ResponseSecurityHeadersBehavior] = None,
    corsBehavior: Option[software.amazon.awscdk.services.cloudfront.ResponseHeadersCorsBehavior] = None,
    customHeadersBehavior: Option[software.amazon.awscdk.services.cloudfront.ResponseCustomHeadersBehavior] = None,
    responseHeadersPolicyName: Option[String] = None
  ): software.amazon.awscdk.services.cloudfront.ResponseHeadersPolicyProps =
    (new software.amazon.awscdk.services.cloudfront.ResponseHeadersPolicyProps.Builder)
      .comment(comment.orNull)
      .securityHeadersBehavior(securityHeadersBehavior.orNull)
      .corsBehavior(corsBehavior.orNull)
      .customHeadersBehavior(customHeadersBehavior.orNull)
      .responseHeadersPolicyName(responseHeadersPolicyName.orNull)
      .build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy