[−][src]Struct rusoto_cloudfront::OriginRequestPolicyConfig
An origin request policy configuration.
This configuration determines the values that CloudFront includes in requests that it sends to the origin. Each request that CloudFront sends to the origin includes the following:
-
The request body and the URL path (without the domain name) from the viewer request.
-
The headers that CloudFront automatically includes in every origin request, including
Host
,User-Agent
, andX-Amz-Cf-Id
. -
All HTTP headers, cookies, and URL query strings that are specified in the cache policy or the origin request policy. These can include items from the viewer request and, in the case of headers, additional ones that are added by CloudFront.
CloudFront sends a request when it can’t find an object in its cache that matches the request. If you want to send values to the origin and also include them in the cache key, use CachePolicy
.
Fields
comment: Option<String>
A comment to describe the origin request policy.
The cookies from viewer requests to include in origin requests.
headers_config: OriginRequestPolicyHeadersConfig
The HTTP headers to include in origin requests. These can include headers from viewer requests and additional headers added by CloudFront.
name: String
A unique name to identify the origin request policy.
query_strings_config: OriginRequestPolicyQueryStringsConfig
The URL query strings from viewer requests to include in origin requests.
Trait Implementations
impl Clone for OriginRequestPolicyConfig
[src]
pub fn clone(&self) -> OriginRequestPolicyConfig
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for OriginRequestPolicyConfig
[src]
impl Default for OriginRequestPolicyConfig
[src]
pub fn default() -> OriginRequestPolicyConfig
[src]
impl PartialEq<OriginRequestPolicyConfig> for OriginRequestPolicyConfig
[src]
pub fn eq(&self, other: &OriginRequestPolicyConfig) -> bool
[src]
pub fn ne(&self, other: &OriginRequestPolicyConfig) -> bool
[src]
impl StructuralPartialEq for OriginRequestPolicyConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for OriginRequestPolicyConfig
[src]
impl Send for OriginRequestPolicyConfig
[src]
impl Sync for OriginRequestPolicyConfig
[src]
impl Unpin for OriginRequestPolicyConfig
[src]
impl UnwindSafe for OriginRequestPolicyConfig
[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, 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>,