[−][src]Struct rusoto_autoscaling::LaunchTemplateSpecification
Describes the Amazon EC2 launch template and the launch template version that can be used by an Auto Scaling group to configure Amazon EC2 instances.
The launch template that is specified must be configured for use with an Auto Scaling group. For more information, see Creating a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.
Fields
launch_template_id: Option<String>
The ID of the launch template. To get the template ID, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created using the Amazon EC2 CreateLaunchTemplate API.
Conditional: You must specify either a LaunchTemplateId
or a LaunchTemplateName
.
launch_template_name: Option<String>
The name of the launch template. To get the template name, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created using the Amazon EC2 CreateLaunchTemplate API.
Conditional: You must specify either a LaunchTemplateId
or a LaunchTemplateName
.
version: Option<String>
The version number, $Latest
, or $Default
. To get the version number, use the Amazon EC2 DescribeLaunchTemplateVersions API operation. New launch template versions can be created using the Amazon EC2 CreateLaunchTemplateVersion API. If the value is $Latest
, Amazon EC2 Auto Scaling selects the latest version of the launch template when launching instances. If the value is $Default
, Amazon EC2 Auto Scaling selects the default version of the launch template when launching instances. The default value is $Default
.
Trait Implementations
impl Clone for LaunchTemplateSpecification
[src]
pub fn clone(&self) -> LaunchTemplateSpecification
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for LaunchTemplateSpecification
[src]
impl Default for LaunchTemplateSpecification
[src]
pub fn default() -> LaunchTemplateSpecification
[src]
impl PartialEq<LaunchTemplateSpecification> for LaunchTemplateSpecification
[src]
pub fn eq(&self, other: &LaunchTemplateSpecification) -> bool
[src]
pub fn ne(&self, other: &LaunchTemplateSpecification) -> bool
[src]
impl StructuralPartialEq for LaunchTemplateSpecification
[src]
Auto Trait Implementations
impl RefUnwindSafe for LaunchTemplateSpecification
[src]
impl Send for LaunchTemplateSpecification
[src]
impl Sync for LaunchTemplateSpecification
[src]
impl Unpin for LaunchTemplateSpecification
[src]
impl UnwindSafe for LaunchTemplateSpecification
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,