Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data LaunchTemplate Source #
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 in the UpdateAutoScalingGroup API call, 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.
See: newLaunchTemplate
smart constructor.
LaunchTemplate' | |
|
Instances
newLaunchTemplate :: LaunchTemplate Source #
Create a value of LaunchTemplate
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:overrides:LaunchTemplate'
, launchTemplate_overrides
- 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.
$sel:launchTemplateSpecification:LaunchTemplate'
, launchTemplate_launchTemplateSpecification
- The launch template to use.
launchTemplate_overrides :: Lens' LaunchTemplate (Maybe [LaunchTemplateOverrides]) Source #
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.
launchTemplate_launchTemplateSpecification :: Lens' LaunchTemplate (Maybe LaunchTemplateSpecification) Source #
The launch template to use.