xssProtection

@JvmName(name = "kxyrncfmwoupnjdm")
suspend fun xssProtection(value: Output<ResponseHeadersPolicyXssProtectionArgs>)
@JvmName(name = "lxmyimgcolqgrsmk")
suspend fun xssProtection(value: ResponseHeadersPolicyXssProtectionArgs?)

Parameters

value

Determines whether CloudFront includes the `X-XSS-Protection` HTTP response header and the header's value. For more information about the `X-XSS-Protection` HTTP response header, see X-XSS-Protection in the MDN Web Docs.


@JvmName(name = "fxhikxvevckwthkp")
suspend fun xssProtection(argument: suspend ResponseHeadersPolicyXssProtectionArgsBuilder.() -> Unit)

Parameters

argument

Determines whether CloudFront includes the `X-XSS-Protection` HTTP response header and the header's value. For more information about the `X-XSS-Protection` HTTP response header, see X-XSS-Protection in the MDN Web Docs.