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.CreateFleetInstance

Description

 
Synopsis

Documentation

data CreateFleetInstance Source #

Describes the instances that were launched by the fleet.

See: newCreateFleetInstance smart constructor.

Constructors

CreateFleetInstance' 

Fields

Instances

Instances details
FromXML CreateFleetInstance Source # 
Instance details

Defined in Amazonka.EC2.Types.CreateFleetInstance

Generic CreateFleetInstance Source # 
Instance details

Defined in Amazonka.EC2.Types.CreateFleetInstance

Associated Types

type Rep CreateFleetInstance :: Type -> Type #

Read CreateFleetInstance Source # 
Instance details

Defined in Amazonka.EC2.Types.CreateFleetInstance

Show CreateFleetInstance Source # 
Instance details

Defined in Amazonka.EC2.Types.CreateFleetInstance

NFData CreateFleetInstance Source # 
Instance details

Defined in Amazonka.EC2.Types.CreateFleetInstance

Methods

rnf :: CreateFleetInstance -> () #

Eq CreateFleetInstance Source # 
Instance details

Defined in Amazonka.EC2.Types.CreateFleetInstance

Hashable CreateFleetInstance Source # 
Instance details

Defined in Amazonka.EC2.Types.CreateFleetInstance

type Rep CreateFleetInstance Source # 
Instance details

Defined in Amazonka.EC2.Types.CreateFleetInstance

type Rep CreateFleetInstance = D1 ('MetaData "CreateFleetInstance" "Amazonka.EC2.Types.CreateFleetInstance" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "CreateFleetInstance'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "instanceIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "instanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceType))) :*: (S1 ('MetaSel ('Just "launchTemplateAndOverrides") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LaunchTemplateAndOverridesResponse)) :*: (S1 ('MetaSel ('Just "lifecycle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceLifecycle)) :*: S1 ('MetaSel ('Just "platform") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PlatformValues))))))

newCreateFleetInstance :: CreateFleetInstance Source #

Create a value of CreateFleetInstance 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:instanceIds:CreateFleetInstance', createFleetInstance_instanceIds - The IDs of the instances.

$sel:instanceType:CreateFleetInstance', createFleetInstance_instanceType - The instance type.

$sel:launchTemplateAndOverrides:CreateFleetInstance', createFleetInstance_launchTemplateAndOverrides - The launch templates and overrides that were used for launching the instances. The values that you specify in the Overrides replace the values in the launch template.

$sel:lifecycle:CreateFleetInstance', createFleetInstance_lifecycle - Indicates if the instance that was launched is a Spot Instance or On-Demand Instance.

$sel:platform:CreateFleetInstance', createFleetInstance_platform - The value is Windows for Windows instances. Otherwise, the value is blank.

createFleetInstance_launchTemplateAndOverrides :: Lens' CreateFleetInstance (Maybe LaunchTemplateAndOverridesResponse) Source #

The launch templates and overrides that were used for launching the instances. The values that you specify in the Overrides replace the values in the launch template.

createFleetInstance_lifecycle :: Lens' CreateFleetInstance (Maybe InstanceLifecycle) Source #

Indicates if the instance that was launched is a Spot Instance or On-Demand Instance.

createFleetInstance_platform :: Lens' CreateFleetInstance (Maybe PlatformValues) Source #

The value is Windows for Windows instances. Otherwise, the value is blank.