Struct rusoto_cloudfront::CustomOriginConfig [−][src]
pub struct CustomOriginConfig { pub http_port: i64, pub https_port: i64, pub origin_keepalive_timeout: Option<i64>, pub origin_protocol_policy: String, pub origin_read_timeout: Option<i64>, pub origin_ssl_protocols: Option<OriginSslProtocols>, }
A customer origin.
Fields
http_port: i64
The HTTP port the custom origin listens on.
https_port: i64
The HTTPS port the custom origin listens on.
origin_keepalive_timeout: Option<i64>
You can create a custom keep-alive timeout. All timeout units are in seconds. The default keep-alive timeout is 5 seconds, but you can configure custom timeout lengths using the CloudFront API. The minimum timeout length is 1 second; the maximum is 60 seconds.
If you need to increase the maximum time limit, contact the AWS Support Center.
origin_protocol_policy: String
The origin protocol policy to apply to your origin.
origin_read_timeout: Option<i64>
You can create a custom origin read timeout. All timeout units are in seconds. The default origin read timeout is 30 seconds, but you can configure custom timeout lengths using the CloudFront API. The minimum timeout length is 4 seconds; the maximum is 60 seconds.
If you need to increase the maximum time limit, contact the AWS Support Center.
origin_ssl_protocols: Option<OriginSslProtocols>
The SSL/TLS protocols that you want CloudFront to use when communicating with your origin over HTTPS.
Trait Implementations
impl Default for CustomOriginConfig
[src]
impl Default for CustomOriginConfig
fn default() -> CustomOriginConfig
[src]
fn default() -> CustomOriginConfig
Returns the "default value" for a type. Read more
impl Debug for CustomOriginConfig
[src]
impl Debug for CustomOriginConfig
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for CustomOriginConfig
[src]
impl Clone for CustomOriginConfig
fn clone(&self) -> CustomOriginConfig
[src]
fn clone(&self) -> CustomOriginConfig
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for CustomOriginConfig
[src]
impl PartialEq for CustomOriginConfig
fn eq(&self, other: &CustomOriginConfig) -> bool
[src]
fn eq(&self, other: &CustomOriginConfig) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &CustomOriginConfig) -> bool
[src]
fn ne(&self, other: &CustomOriginConfig) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for CustomOriginConfig
impl Send for CustomOriginConfig
impl Sync for CustomOriginConfig
impl Sync for CustomOriginConfig