[][src]Struct rusoto_cloudfront::OriginRequestPolicyCookiesConfig

pub struct OriginRequestPolicyCookiesConfig {
    pub cookie_behavior: String,
    pub cookies: Option<CookieNames>,
}

An object that determines whether any cookies in viewer requests (and if so, which cookies) are included in requests that CloudFront sends to the origin.

Fields

cookie_behavior: String

Determines whether cookies in viewer requests are included in requests that CloudFront sends to the origin. Valid values are:

  • none – Cookies in viewer requests are not included in requests that CloudFront sends to the origin. Even when this field is set to none, any cookies that are listed in a CachePolicy are included in origin requests.

  • whitelist – The cookies in viewer requests that are listed in the CookieNames type are included in requests that CloudFront sends to the origin.

  • all – All cookies in viewer requests are included in requests that CloudFront sends to the origin.

cookies: Option<CookieNames>

Trait Implementations

impl Clone for OriginRequestPolicyCookiesConfig[src]

impl Debug for OriginRequestPolicyCookiesConfig[src]

impl Default for OriginRequestPolicyCookiesConfig[src]

impl PartialEq<OriginRequestPolicyCookiesConfig> for OriginRequestPolicyCookiesConfig[src]

impl StructuralPartialEq for OriginRequestPolicyCookiesConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.