[−][src]Struct rusoto_cloudfront::ForwardedValues
A complex type that specifies how CloudFront handles query strings, cookies, and HTTP headers.
Fields
A complex type that specifies whether you want CloudFront to forward cookies to the origin and, if so, which ones. For more information about forwarding cookies to the origin, see How CloudFront Forwards, Caches, and Logs Cookies in the Amazon CloudFront Developer Guide.
headers: Option<Headers>
A complex type that specifies the Headers
, if any, that you want CloudFront to forward to the origin for this cache behavior (whitelisted headers). For the headers that you specify, CloudFront also caches separate versions of a specified object that is based on the header values in viewer requests.
For more information, see Caching Content Based on Request Headers in the Amazon CloudFront Developer Guide.
query_string: bool
Indicates whether you want CloudFront to forward query strings to the origin that is associated with this cache behavior and cache based on the query string parameters. CloudFront behavior depends on the value of QueryString
and on the values that you specify for QueryStringCacheKeys
, if any:
If you specify true for QueryString
and you don't specify any values for QueryStringCacheKeys
, CloudFront forwards all query string parameters to the origin and caches based on all query string parameters. Depending on how many query string parameters and values you have, this can adversely affect performance because CloudFront must forward more requests to the origin.
If you specify true for QueryString
and you specify one or more values for QueryStringCacheKeys
, CloudFront forwards all query string parameters to the origin, but it only caches based on the query string parameters that you specify.
If you specify false for QueryString
, CloudFront doesn't forward any query string parameters to the origin, and doesn't cache based on query string parameters.
For more information, see Configuring CloudFront to Cache Based on Query String Parameters in the Amazon CloudFront Developer Guide.
query_string_cache_keys: Option<QueryStringCacheKeys>
A complex type that contains information about the query string parameters that you want CloudFront to use for caching for this cache behavior.
Trait Implementations
impl Clone for ForwardedValues
[src]
pub fn clone(&self) -> ForwardedValues
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ForwardedValues
[src]
impl Default for ForwardedValues
[src]
pub fn default() -> ForwardedValues
[src]
impl PartialEq<ForwardedValues> for ForwardedValues
[src]
pub fn eq(&self, other: &ForwardedValues) -> bool
[src]
pub fn ne(&self, other: &ForwardedValues) -> bool
[src]
impl StructuralPartialEq for ForwardedValues
[src]
Auto Trait Implementations
impl RefUnwindSafe for ForwardedValues
[src]
impl Send for ForwardedValues
[src]
impl Sync for ForwardedValues
[src]
impl Unpin for ForwardedValues
[src]
impl UnwindSafe for ForwardedValues
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,