ResponseHeadersPolicyStrictTransportSecurityArgs

data class ResponseHeadersPolicyStrictTransportSecurityArgs(val accessControlMaxAgeSec: Output<Int>, val includeSubdomains: Output<Boolean>? = null, val override: Output<Boolean>, val preload: Output<Boolean>? = null) : ConvertibleToJava<ResponseHeadersPolicyStrictTransportSecurityArgs>

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

Constructors

constructor(accessControlMaxAgeSec: Output<Int>, includeSubdomains: Output<Boolean>? = null, override: Output<Boolean>, preload: Output<Boolean>? = null)

Properties

Link copied to clipboard

A number that CloudFront uses as the value for the `max-age` directive in the `Strict-Transport-Security` HTTP response header.

Link copied to clipboard
val includeSubdomains: Output<Boolean>? = null

A Boolean that determines whether CloudFront includes the `includeSubDomains` directive in the `Strict-Transport-Security` HTTP response header.

Link copied to clipboard
val override: Output<Boolean>

A Boolean that determines whether CloudFront overrides the `Strict-Transport-Security` HTTP response header received from the origin with the one specified in this response headers policy.

Link copied to clipboard
val preload: Output<Boolean>? = null

A Boolean that determines whether CloudFront includes the `preload` directive in the `Strict-Transport-Security` HTTP response header.

Functions

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