Struct rusoto_cloudfront::CachePolicyHeadersConfig [−][src]
Expand description
An object that determines whether any HTTP headers (and if so, which headers) are included in the cache key and automatically included in requests that CloudFront sends to the origin.
Fields
header_behavior: String
Determines whether any HTTP headers are included in the cache key and automatically included in requests that CloudFront sends to the origin. Valid values are:
-
none
– HTTP headers are not included in the cache key and are not automatically included in requests that CloudFront sends to the origin. Even when this field is set tonone
, any headers that are listed in anOriginRequestPolicy
are included in origin requests. -
whitelist
– The HTTP headers that are listed in theHeaders
type are included in the cache key and are automatically included in requests that CloudFront sends to the origin.
headers: Option<Headers>
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CachePolicyHeadersConfig
impl Send for CachePolicyHeadersConfig
impl Sync for CachePolicyHeadersConfig
impl Unpin for CachePolicyHeadersConfig
impl UnwindSafe for CachePolicyHeadersConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self