Values.ResponseHeadersPolicyConfigSourceA response headers policy configuration. A response headers policy configuration contains metadata about the response headers policy, and configurations for sets of HTTP response headers.
type nonrec t = {comment : String_.t option;A comment to describe the response headers policy. The comment cannot be longer than 128 characters.
*)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.
*)corsConfig : ResponseHeadersPolicyCorsConfig.t option;A configuration for a set of HTTP response headers that are used for cross-origin resource sharing (CORS).
*)securityHeadersConfig : ResponseHeadersPolicySecurityHeadersConfig.t option;A configuration for a set of security-related HTTP response headers.
*)serverTimingHeadersConfig : ResponseHeadersPolicyServerTimingHeadersConfig.t
option;A configuration for enabling the Server-Timing header in HTTP responses sent from CloudFront.
*)customHeadersConfig : ResponseHeadersPolicyCustomHeadersConfig.t option;A configuration for a set of custom HTTP response headers.
*)removeHeadersConfig : ResponseHeadersPolicyRemoveHeadersConfig.t option;A configuration for a set of HTTP headers to remove from the HTTP response.
*)}val 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 ]