Module Values.ResponseHeadersPolicyConfigSource

A response headers policy configuration. A response headers policy configuration contains metadata about the response headers policy, and configurations for sets of HTTP response headers.

Sourcetype nonrec t = {
  1. comment : String_.t option;
    (*

    A comment to describe the response headers policy. The comment cannot be longer than 128 characters.

    *)
  2. name : String_.t;
    (*

    A name to identify the response headers policy. The name must be unique for response headers policies in this Amazon Web Services account.

    *)
  3. corsConfig : ResponseHeadersPolicyCorsConfig.t option;
    (*

    A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).

    *)
  4. securityHeadersConfig : ResponseHeadersPolicySecurityHeadersConfig.t option;
    (*

    A configuration for a set of security-related HTTP response headers.

    *)
  5. serverTimingHeadersConfig : ResponseHeadersPolicyServerTimingHeadersConfig.t option;
    (*

    A configuration for enabling the Server-Timing header in HTTP responses sent from CloudFront.

    *)
  6. customHeadersConfig : ResponseHeadersPolicyCustomHeadersConfig.t option;
    (*

    A configuration for a set of custom HTTP response headers.

    *)
  7. removeHeadersConfig : ResponseHeadersPolicyRemoveHeadersConfig.t option;
    (*

    A configuration for a set of HTTP headers to remove from the HTTP response.

    *)
}
Sourceval context_ : string
Sourceval make : ?comment:??? -> ?corsConfig:??? -> ?securityHeadersConfig:??? -> ?serverTimingHeadersConfig:??? -> ?customHeadersConfig:??? -> ?removeHeadersConfig:??? -> name:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of String_.t | `Structure of (string * [> `Boolean of Boolean.t | `Double of SamplingRate.t | `Integer of Integer.t | `List of [> `Structure of (string * [> `Boolean of Boolean.t | `String of String_.t ]) list ] list | `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Integer of Integer.t | `List of [> `Enum of string | `String of String_.t ] list | `String of String_.t ]) list ]) list ]) 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