Struct rusoto_lightsail::LightsailDistribution
source · [−]pub struct LightsailDistribution {Show 20 fields
pub able_to_update_bundle: Option<bool>,
pub alternative_domain_names: Option<Vec<String>>,
pub arn: Option<String>,
pub bundle_id: Option<String>,
pub cache_behavior_settings: Option<CacheSettings>,
pub cache_behaviors: Option<Vec<CacheBehaviorPerPath>>,
pub certificate_name: Option<String>,
pub created_at: Option<f64>,
pub default_cache_behavior: Option<CacheBehavior>,
pub domain_name: Option<String>,
pub ip_address_type: Option<String>,
pub is_enabled: Option<bool>,
pub location: Option<ResourceLocation>,
pub name: Option<String>,
pub origin: Option<Origin>,
pub origin_public_dns: Option<String>,
pub resource_type: Option<String>,
pub status: Option<String>,
pub support_code: Option<String>,
pub tags: Option<Vec<Tag>>,
}
Expand description
Describes an Amazon Lightsail content delivery network (CDN) distribution.
Fields
able_to_update_bundle: Option<bool>
Indicates whether the bundle that is currently applied to your distribution, specified using the distributionName
parameter, can be changed to another bundle.
Use the UpdateDistributionBundle
action to change your distribution's bundle.
alternative_domain_names: Option<Vec<String>>
The alternate domain names of the distribution.
arn: Option<String>
The Amazon Resource Name (ARN) of the distribution.
bundle_id: Option<String>
The ID of the bundle currently applied to the distribution.
cache_behavior_settings: Option<CacheSettings>
An object that describes the cache behavior settings of the distribution.
cache_behaviors: Option<Vec<CacheBehaviorPerPath>>
An array of objects that describe the per-path cache behavior of the distribution.
certificate_name: Option<String>
The name of the SSL/TLS certificate attached to the distribution, if any.
created_at: Option<f64>
The timestamp when the distribution was created.
default_cache_behavior: Option<CacheBehavior>
An object that describes the default cache behavior of the distribution.
domain_name: Option<String>
The domain name of the distribution.
ip_address_type: Option<String>
The IP address type of the distribution.
The possible values are ipv4
for IPv4 only, and dualstack
for IPv4 and IPv6.
is_enabled: Option<bool>
Indicates whether the distribution is enabled.
location: Option<ResourceLocation>
An object that describes the location of the distribution, such as the AWS Region and Availability Zone.
Lightsail distributions are global resources that can reference an origin in any AWS Region, and distribute its content globally. However, all distributions are located in the us-east-1
Region.
name: Option<String>
The name of the distribution.
origin: Option<Origin>
An object that describes the origin resource of the distribution, such as a Lightsail instance or load balancer.
The distribution pulls, caches, and serves content from the origin.
origin_public_dns: Option<String>
The public DNS of the origin.
resource_type: Option<String>
The Lightsail resource type (e.g., Distribution
).
status: Option<String>
The status of the distribution.
support_code: Option<String>
The support code. Include this code in your email to support when you have questions about your Lightsail distribution. This code enables our support team to look up your Lightsail information more easily.
The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Lightsail Dev Guide.
Trait Implementations
sourceimpl Clone for LightsailDistribution
impl Clone for LightsailDistribution
sourcefn clone(&self) -> LightsailDistribution
fn clone(&self) -> LightsailDistribution
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for LightsailDistribution
impl Debug for LightsailDistribution
sourceimpl Default for LightsailDistribution
impl Default for LightsailDistribution
sourcefn default() -> LightsailDistribution
fn default() -> LightsailDistribution
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for LightsailDistribution
impl<'de> Deserialize<'de> for LightsailDistribution
sourcefn 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
sourceimpl PartialEq<LightsailDistribution> for LightsailDistribution
impl PartialEq<LightsailDistribution> for LightsailDistribution
sourcefn eq(&self, other: &LightsailDistribution) -> bool
fn eq(&self, other: &LightsailDistribution) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &LightsailDistribution) -> bool
fn ne(&self, other: &LightsailDistribution) -> bool
This method tests for !=
.
impl StructuralPartialEq for LightsailDistribution
Auto Trait Implementations
impl RefUnwindSafe for LightsailDistribution
impl Send for LightsailDistribution
impl Sync for LightsailDistribution
impl Unpin for LightsailDistribution
impl UnwindSafe for LightsailDistribution
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more