pub struct CacheBehavior {Show 20 fields
pub path_pattern: String,
pub target_origin_id: String,
pub trusted_signers: Option<TrustedSigners>,
pub trusted_key_groups: Option<TrustedKeyGroups>,
pub viewer_protocol_policy: String,
pub allowed_methods: Option<AllowedMethods>,
pub smooth_streaming: Option<bool>,
pub compress: Option<bool>,
pub lambda_function_associations: Option<LambdaFunctionAssociations>,
pub function_associations: Option<FunctionAssociations>,
pub field_level_encryption_id: Option<String>,
pub realtime_log_config_arn: Option<String>,
pub cache_policy_id: Option<String>,
pub origin_request_policy_id: Option<String>,
pub response_headers_policy_id: Option<String>,
pub grpc_config: Option<GrpcConfig>,
pub forwarded_values: Option<ForwardedValues>,
pub min_ttl: Option<i64>,
pub default_ttl: Option<i64>,
pub max_ttl: Option<i64>,
}Fields§
§path_pattern: String§target_origin_id: String§trusted_signers: Option<TrustedSigners>§trusted_key_groups: Option<TrustedKeyGroups>§viewer_protocol_policy: String§allowed_methods: Option<AllowedMethods>§smooth_streaming: Option<bool>§compress: Option<bool>§lambda_function_associations: Option<LambdaFunctionAssociations>§function_associations: Option<FunctionAssociations>§field_level_encryption_id: Option<String>§realtime_log_config_arn: Option<String>§cache_policy_id: Option<String>§origin_request_policy_id: Option<String>§response_headers_policy_id: Option<String>§grpc_config: Option<GrpcConfig>§forwarded_values: Option<ForwardedValues>§min_ttl: Option<i64>§default_ttl: Option<i64>§max_ttl: Option<i64>Trait Implementations§
Source§impl Clone for CacheBehavior
impl Clone for CacheBehavior
Source§fn clone(&self) -> CacheBehavior
fn clone(&self) -> CacheBehavior
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CacheBehavior
impl Debug for CacheBehavior
Source§impl Default for CacheBehavior
impl Default for CacheBehavior
Source§fn default() -> CacheBehavior
fn default() -> CacheBehavior
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CacheBehavior
impl<'de> Deserialize<'de> for CacheBehavior
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CacheBehavior
impl RefUnwindSafe for CacheBehavior
impl Send for CacheBehavior
impl Sync for CacheBehavior
impl Unpin for CacheBehavior
impl UnsafeUnpin for CacheBehavior
impl UnwindSafe for CacheBehavior
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more