[−][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.
You must specify either a template ID or a template name.
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.
You must specify either a template ID or a template name.
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]
fn clone(&self) -> LaunchTemplateSpecification
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for LaunchTemplateSpecification
[src]
impl Default for LaunchTemplateSpecification
[src]
impl PartialEq<LaunchTemplateSpecification> for LaunchTemplateSpecification
[src]
fn eq(&self, other: &LaunchTemplateSpecification) -> bool
[src]
fn ne(&self, other: &LaunchTemplateSpecification) -> bool
[src]
impl StructuralPartialEq for LaunchTemplateSpecification
[src]
Auto Trait Implementations
impl RefUnwindSafe for LaunchTemplateSpecification
impl Send for LaunchTemplateSpecification
impl Sync for LaunchTemplateSpecification
impl Unpin for LaunchTemplateSpecification
impl UnwindSafe for LaunchTemplateSpecification
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[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> Sealed<T> for T where
T: ?Sized,
T: ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
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.
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>,