GetResponseHeadersPolicyServerTimingHeadersConfig class

Constructors

GetResponseHeadersPolicyServerTimingHeadersConfig({required Input<bool> enabled, required Input<double> samplingRate})
Creates a new GetResponseHeadersPolicyServerTimingHeadersConfig. enabled 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 Number 0–100 (inclusive) that specifies the percentage of responses that you want CloudFront to add the Server-Timing header to.
const
GetResponseHeadersPolicyServerTimingHeadersConfig.fromMap(Map<String, dynamic> map)
factory

Properties

enabled → Input<bool>
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>
Number 0–100 (inclusive) that specifies the percentage of responses that you want CloudFront to add the Server-Timing header to.
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