ResponseHeadersPolicyServerTimingHeadersConfigArgs

data class ResponseHeadersPolicyServerTimingHeadersConfigArgs(val enabled: Output<Boolean>, val samplingRate: Output<Double>) : ConvertibleToJava<ResponseHeadersPolicyServerTimingHeadersConfigArgs>

Constructors

constructor(enabled: Output<Boolean>, samplingRate: Output<Double>)

Properties

Link copied to clipboard
val enabled: Output<Boolean>

A Whether CloudFront adds the Server-Timing header to HTTP responses that it sends in response to requests that match a cache behavior that's associated with this response headers policy.

Link copied to clipboard
val samplingRate: Output<Double>

A number 0–100 (inclusive) that specifies the percentage of responses that you want CloudFront to add the Server-Timing header to. Valid range: Minimum value of 0.0. Maximum value of 100.0.

Functions

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