Struct aws_sdk_lightsail::model::InputOrigin [−][src]
#[non_exhaustive]pub struct InputOrigin {
pub name: Option<String>,
pub region_name: Option<RegionName>,
pub protocol_policy: Option<OriginProtocolPolicyEnum>,
}
Expand description
Describes the origin resource of an Amazon Lightsail content delivery network (CDN) distribution.
An origin can be a Lightsail instance or load balancer. A distribution pulls content from an origin, caches it, and serves it to viewers via a worldwide network of edge servers.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
The name of the origin resource.
region_name: Option<RegionName>
The AWS Region name of the origin resource.
protocol_policy: Option<OriginProtocolPolicyEnum>
The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.
Implementations
The AWS Region name of the origin resource.
The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.
Creates a new builder-style object to manufacture InputOrigin
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for InputOrigin
impl Send for InputOrigin
impl Sync for InputOrigin
impl Unpin for InputOrigin
impl UnwindSafe for InputOrigin
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more