[−][src]Struct rusoto_cloudfront::CookiePreference
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 Caching Content Based on Cookies in the Amazon CloudFront Developer Guide.
Fields
forward: String
Specifies which cookies to forward to the origin for this cache behavior: all, none, or the list of cookies specified in the WhitelistedNames
complex type.
Amazon S3 doesn't process cookies. When the cache behavior is forwarding requests to an Amazon S3 origin, specify none for the Forward
element.
whitelisted_names: Option<CookieNames>
Required if you specify whitelist
for the value of Forward:
. A complex type that specifies how many different cookies you want CloudFront to forward to the origin for this cache behavior and, if you want to forward selected cookies, the names of those cookies.
If you specify all
or none for the value of Forward
, omit WhitelistedNames
. If you change the value of Forward
from whitelist
to all or none and you don't delete the WhitelistedNames
element and its child elements, CloudFront deletes them automatically.
For the current limit on the number of cookie names that you can whitelist for each cache behavior, see CloudFront Limits in the AWS General Reference.
Trait Implementations
impl Clone for CookiePreference
[src]
fn clone(&self) -> CookiePreference
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CookiePreference
[src]
impl Default for CookiePreference
[src]
fn default() -> CookiePreference
[src]
impl PartialEq<CookiePreference> for CookiePreference
[src]
fn eq(&self, other: &CookiePreference) -> bool
[src]
fn ne(&self, other: &CookiePreference) -> bool
[src]
impl StructuralPartialEq for CookiePreference
[src]
Auto Trait Implementations
impl RefUnwindSafe for CookiePreference
impl Send for CookiePreference
impl Sync for CookiePreference
impl Unpin for CookiePreference
impl UnwindSafe for CookiePreference
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[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.
fn to_owned(&self) -> T
[src]
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.
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>,