Module Values.ResponseHeadersPolicyStrictTransportSecuritySource

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.

Sourcetype nonrec t = {
  1. override : Boolean.t;
    (*

    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.

    *)
  2. includeSubdomains : Boolean.t option;
    (*

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

    *)
  3. preload : Boolean.t option;
    (*

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

    *)
  4. accessControlMaxAgeSec : Integer.t;
    (*

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

    *)
}
Sourceval context_ : string
Sourceval make : ?includeSubdomains:??? -> ?preload:??? -> override:Boolean.t -> accessControlMaxAgeSec:Integer.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Integer of Integer.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t