LaunchTemplate class

Describes a launch template and overrides.

You specify these parameters 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.

Constructors

LaunchTemplate({LaunchTemplateSpecification? launchTemplateSpecification, List<LaunchTemplateOverrides>? overrides})
LaunchTemplate.fromXml(XmlElement elem)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
launchTemplateSpecification LaunchTemplateSpecification?
The launch template to use.
final
overrides List<LaunchTemplateOverrides>?
Any parameters that you specify override the same parameters 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.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited