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 |
Synopsis
- data FleetLaunchTemplateSpecificationRequest = FleetLaunchTemplateSpecificationRequest' {}
- newFleetLaunchTemplateSpecificationRequest :: FleetLaunchTemplateSpecificationRequest
- fleetLaunchTemplateSpecificationRequest_launchTemplateId :: Lens' FleetLaunchTemplateSpecificationRequest (Maybe Text)
- fleetLaunchTemplateSpecificationRequest_launchTemplateName :: Lens' FleetLaunchTemplateSpecificationRequest (Maybe Text)
- fleetLaunchTemplateSpecificationRequest_version :: Lens' FleetLaunchTemplateSpecificationRequest (Maybe Text)
Documentation
data FleetLaunchTemplateSpecificationRequest Source #
The Amazon EC2 launch template that can be used by an EC2 Fleet to configure Amazon EC2 instances. You must specify either the ID or name of the launch template in the request, but not both.
For information about launch templates, see Launch an instance from a launch template in the Amazon EC2 User Guide.
See: newFleetLaunchTemplateSpecificationRequest
smart constructor.
FleetLaunchTemplateSpecificationRequest' | |
|
Instances
newFleetLaunchTemplateSpecificationRequest :: FleetLaunchTemplateSpecificationRequest Source #
Create a value of FleetLaunchTemplateSpecificationRequest
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:FleetLaunchTemplateSpecificationRequest'
, fleetLaunchTemplateSpecificationRequest_launchTemplateId
- The ID of the launch template.
You must specify the LaunchTemplateId
or the LaunchTemplateName
, but
not both.
$sel:launchTemplateName:FleetLaunchTemplateSpecificationRequest'
, fleetLaunchTemplateSpecificationRequest_launchTemplateName
- The name of the launch template.
You must specify the LaunchTemplateName
or the LaunchTemplateId
, but
not both.
$sel:version:FleetLaunchTemplateSpecificationRequest'
, fleetLaunchTemplateSpecificationRequest_version
- The launch template version number, $Latest
, or $Default
. You must
specify a value, otherwise the request fails.
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.
fleetLaunchTemplateSpecificationRequest_launchTemplateId :: Lens' FleetLaunchTemplateSpecificationRequest (Maybe Text) Source #
The ID of the launch template.
You must specify the LaunchTemplateId
or the LaunchTemplateName
, but
not both.
fleetLaunchTemplateSpecificationRequest_launchTemplateName :: Lens' FleetLaunchTemplateSpecificationRequest (Maybe Text) Source #
The name of the launch template.
You must specify the LaunchTemplateName
or the LaunchTemplateId
, but
not both.
fleetLaunchTemplateSpecificationRequest_version :: Lens' FleetLaunchTemplateSpecificationRequest (Maybe Text) Source #
The launch template version number, $Latest
, or $Default
. You must
specify a value, otherwise the request fails.
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.