Response Headers Policy Server Timing Headers Config Args
data class ResponseHeadersPolicyServerTimingHeadersConfigArgs(val enabled: Output<Boolean>, val samplingRate: Output<Double>? = null) : ConvertibleToJava<ResponseHeadersPolicyServerTimingHeadersConfigArgs>
Properties
Link copied to clipboard
A number 0–100 (inclusive) that specifies the percentage of responses that you want CloudFront to add the Server-Timing
header to. When you set the sampling rate to 100, CloudFront adds the Server-Timing
header to the HTTP response for every request that matches the cache behavior that this response headers policy is attached to. When you set it to 50, CloudFront adds the header to 50% of the responses for requests that match the cache behavior. You can set the sampling rate to any number 0–100 with up to four decimal places.