Struct rusoto_autoscaling::LaunchTemplate
source · [−]pub struct LaunchTemplate {
pub launch_template_specification: Option<LaunchTemplateSpecification>,
pub overrides: Option<Vec<LaunchTemplateOverrides>>,
}
Expand description
Describes a launch template and overrides.
You specify these properties as part of a mixed instances policy.
When you update the launch template or overrides, existing Amazon EC2 instances continue to run. When scale out occurs, Amazon EC2 Auto Scaling launches instances to match the new settings. When scale in occurs, Amazon EC2 Auto Scaling terminates instances according to the group's termination policies.
Fields
launch_template_specification: Option<LaunchTemplateSpecification>
The launch template to use.
overrides: Option<Vec<LaunchTemplateOverrides>>
Any properties that you specify override the same properties in the launch template. If not provided, Amazon EC2 Auto Scaling uses the instance type specified in the launch template when it launches an instance.
Trait Implementations
sourceimpl Clone for LaunchTemplate
impl Clone for LaunchTemplate
sourcefn clone(&self) -> LaunchTemplate
fn clone(&self) -> LaunchTemplate
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 LaunchTemplate
impl Debug for LaunchTemplate
sourceimpl Default for LaunchTemplate
impl Default for LaunchTemplate
sourcefn default() -> LaunchTemplate
fn default() -> LaunchTemplate
Returns the “default value” for a type. Read more
sourceimpl PartialEq<LaunchTemplate> for LaunchTemplate
impl PartialEq<LaunchTemplate> for LaunchTemplate
sourcefn eq(&self, other: &LaunchTemplate) -> bool
fn eq(&self, other: &LaunchTemplate) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &LaunchTemplate) -> bool
fn ne(&self, other: &LaunchTemplate) -> bool
This method tests for !=
.
impl StructuralPartialEq for LaunchTemplate
Auto Trait Implementations
impl RefUnwindSafe for LaunchTemplate
impl Send for LaunchTemplate
impl Sync for LaunchTemplate
impl Unpin for LaunchTemplate
impl UnwindSafe for LaunchTemplate
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