| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.EC2.Types.LaunchTemplateSpecification
Description
Synopsis
- data LaunchTemplateSpecification = LaunchTemplateSpecification' {}
- newLaunchTemplateSpecification :: LaunchTemplateSpecification
- launchTemplateSpecification_launchTemplateId :: Lens' LaunchTemplateSpecification (Maybe Text)
- launchTemplateSpecification_launchTemplateName :: Lens' LaunchTemplateSpecification (Maybe Text)
- launchTemplateSpecification_version :: Lens' LaunchTemplateSpecification (Maybe Text)
Documentation
data LaunchTemplateSpecification Source #
The launch template to use. You must specify either the launch template ID or launch template name in the request, but not both.
See: newLaunchTemplateSpecification smart constructor.
Constructors
| LaunchTemplateSpecification' | |
Fields
| |
Instances
newLaunchTemplateSpecification :: LaunchTemplateSpecification Source #
Create a value of LaunchTemplateSpecification 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:launchTemplateId:LaunchTemplateSpecification', launchTemplateSpecification_launchTemplateId - The ID of the launch template.
You must specify the LaunchTemplateId or the LaunchTemplateName, but
not both.
$sel:launchTemplateName:LaunchTemplateSpecification', launchTemplateSpecification_launchTemplateName - The name of the launch template.
You must specify the LaunchTemplateName or the LaunchTemplateId, but
not both.
$sel:version:LaunchTemplateSpecification', launchTemplateSpecification_version - The launch template version number, $Latest, or $Default.
If the value is $Latest, Amazon EC2 uses the latest version of the
launch template.
If the value is $Default, Amazon EC2 uses the default version of the
launch template.
Default: The default version of the launch template.
launchTemplateSpecification_launchTemplateId :: Lens' LaunchTemplateSpecification (Maybe Text) Source #
The ID of the launch template.
You must specify the LaunchTemplateId or the LaunchTemplateName, but
not both.
launchTemplateSpecification_launchTemplateName :: Lens' LaunchTemplateSpecification (Maybe Text) Source #
The name of the launch template.
You must specify the LaunchTemplateName or the LaunchTemplateId, but
not both.
launchTemplateSpecification_version :: Lens' LaunchTemplateSpecification (Maybe Text) Source #
The launch template version number, $Latest, or $Default.
If the value is $Latest, Amazon EC2 uses the latest version of the
launch template.
If the value is $Default, Amazon EC2 uses the default version of the
launch template.
Default: The default version of the launch template.