Origin

Struct Origin 

Source
pub struct Origin {
    pub connection_attempts: Option<Value<u32>>,
    pub connection_timeout: Option<Value<u32>>,
    pub custom_origin_config: Option<Value<CustomOriginConfig>>,
    pub domain_name: Value<String>,
    pub id: Value<String>,
    pub origin_custom_headers: Option<ValueList<OriginCustomHeader>>,
    pub origin_path: Option<Value<String>>,
    pub origin_shield: Option<Value<OriginShield>>,
    pub s3_origin_config: Option<Value<S3OriginConfig>>,
}
Expand description

Fields§

§connection_attempts: Option<Value<u32>>

Property ConnectionAttempts.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§connection_timeout: Option<Value<u32>>

Property ConnectionTimeout.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§custom_origin_config: Option<Value<CustomOriginConfig>>

Property CustomOriginConfig.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§domain_name: Value<String>

Property DomainName.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§id: Value<String>

Property Id.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§origin_custom_headers: Option<ValueList<OriginCustomHeader>>

Property OriginCustomHeaders.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§origin_path: Option<Value<String>>

Property OriginPath.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§origin_shield: Option<Value<OriginShield>>

Property OriginShield.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

§s3_origin_config: Option<Value<S3OriginConfig>>

Property S3OriginConfig.

Update type: Mutable. AWS CloudFormation doesn’t replace the resource when you change this property.

Trait Implementations§

Source§

impl Debug for Origin

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Origin

Source§

fn default() -> Origin

Returns the “default value” for a type. Read more

Auto Trait Implementations§

§

impl Freeze for Origin

§

impl RefUnwindSafe for Origin

§

impl Send for Origin

§

impl Sync for Origin

§

impl Unpin for Origin

§

impl UnwindSafe for Origin

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.