ResponseHeadersPolicyServerTimingHeadersConfig class

Constructors

ResponseHeadersPolicyServerTimingHeadersConfig({required Input<bool> enabled, required Input<double> samplingRate})
Creates a new ResponseHeadersPolicyServerTimingHeadersConfig. enabled 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. samplingRate 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.
const
ResponseHeadersPolicyServerTimingHeadersConfig.fromMap(Map<String, dynamic> map)
factory

Properties

enabled → Input<bool>
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.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
samplingRate → Input<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.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited