RealmSecurityDefensesHeadersArgs

data class RealmSecurityDefensesHeadersArgs(val contentSecurityPolicy: Output<String>? = null, val contentSecurityPolicyReportOnly: Output<String>? = null, val referrerPolicy: Output<String>? = null, val strictTransportSecurity: Output<String>? = null, val xContentTypeOptions: Output<String>? = null, val xFrameOptions: Output<String>? = null, val xRobotsTag: Output<String>? = null, val xXssProtection: Output<String>? = null) : ConvertibleToJava<RealmSecurityDefensesHeadersArgs>

Constructors

Link copied to clipboard
constructor(contentSecurityPolicy: Output<String>? = null, contentSecurityPolicyReportOnly: Output<String>? = null, referrerPolicy: Output<String>? = null, strictTransportSecurity: Output<String>? = null, xContentTypeOptions: Output<String>? = null, xFrameOptions: Output<String>? = null, xRobotsTag: Output<String>? = null, xXssProtection: Output<String>? = null)

Properties

Link copied to clipboard
val contentSecurityPolicy: Output<String>? = null

Sets the Content Security Policy, which can be used for prevent pages from being included by non-origin iframes. More information can be found in the W3C-CSP Abstract.

Link copied to clipboard

Used for testing Content Security Policies.

Link copied to clipboard
val referrerPolicy: Output<String>? = null

The Referrer-Policy HTTP header controls how much referrer information (sent with the Referer header) should be included with requests.

Link copied to clipboard
val strictTransportSecurity: Output<String>? = null

The Script-Transport-Security HTTP header tells browsers to always use HTTPS.

Link copied to clipboard
val xContentTypeOptions: Output<String>? = null

Sets the X-Content-Type-Options, which can be used for prevent MIME-sniffing a response away from the declared content-type

Link copied to clipboard
val xFrameOptions: Output<String>? = null

Sets the x-frame-option, which can be used to prevent pages from being included by non-origin iframes. More information can be found in the RFC7034

Link copied to clipboard
val xRobotsTag: Output<String>? = null

Prevent pages from appearing in search engines.

Link copied to clipboard
val xXssProtection: Output<String>? = null

This header configures the Cross-site scripting (XSS) filter in your browser.

Functions

Link copied to clipboard
open override fun toJava(): RealmSecurityDefensesHeadersArgs