amazonka-ec2-2.0: Amazon Elastic Compute Cloud SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.EC2.Types.FleetLaunchTemplateSpecificationRequest

Description

 
Synopsis

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.

Constructors

FleetLaunchTemplateSpecificationRequest' 

Fields

  • launchTemplateId :: Maybe Text

    The ID of the launch template.

    You must specify the LaunchTemplateId or the LaunchTemplateName, but not both.

  • launchTemplateName :: Maybe Text

    The name of the launch template.

    You must specify the LaunchTemplateName or the LaunchTemplateId, but not both.

  • version :: Maybe Text

    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.

Instances

Instances details
ToQuery FleetLaunchTemplateSpecificationRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.FleetLaunchTemplateSpecificationRequest

Generic FleetLaunchTemplateSpecificationRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.FleetLaunchTemplateSpecificationRequest

Read FleetLaunchTemplateSpecificationRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.FleetLaunchTemplateSpecificationRequest

Show FleetLaunchTemplateSpecificationRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.FleetLaunchTemplateSpecificationRequest

NFData FleetLaunchTemplateSpecificationRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.FleetLaunchTemplateSpecificationRequest

Eq FleetLaunchTemplateSpecificationRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.FleetLaunchTemplateSpecificationRequest

Hashable FleetLaunchTemplateSpecificationRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.FleetLaunchTemplateSpecificationRequest

type Rep FleetLaunchTemplateSpecificationRequest Source # 
Instance details

Defined in Amazonka.EC2.Types.FleetLaunchTemplateSpecificationRequest

type Rep FleetLaunchTemplateSpecificationRequest = D1 ('MetaData "FleetLaunchTemplateSpecificationRequest" "Amazonka.EC2.Types.FleetLaunchTemplateSpecificationRequest" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "FleetLaunchTemplateSpecificationRequest'" 'PrefixI 'True) (S1 ('MetaSel ('Just "launchTemplateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "launchTemplateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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.