Struct rusoto_securityhub::AwsCloudFrontDistributionCacheBehavior [−][src]
Expand description
Information about a cache behavior for the distribution.
Fields
viewer_protocol_policy: Option<String>
The protocol that viewers can use to access the files in an origin. You can specify the following options:
-
allow-all
- Viewers can use HTTP or HTTPS. -
redirect-to-https
- CloudFront responds to HTTP requests with an HTTP status code of 301 (Moved Permanently) and the HTTPS URL. The viewer then uses the new URL to resubmit. -
https-only
- CloudFront responds to HTTP request with an HTTP status code of 403 (Forbidden).
Trait Implementations
Returns the “default value” for a type. Read more
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self