[][src]Struct rusoto_cloudfront::CustomOriginConfig

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 or an Amazon S3 bucket configured as a website endpoint.

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 Clone for CustomOriginConfig[src]

impl Default for CustomOriginConfig[src]

impl PartialEq<CustomOriginConfig> for CustomOriginConfig[src]

impl Debug for CustomOriginConfig[src]

impl StructuralPartialEq for CustomOriginConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self