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

Description

 
Synopsis

Documentation

data ReservationFleetInstanceSpecification Source #

Information about an instance type to use in a Capacity Reservation Fleet.

See: newReservationFleetInstanceSpecification smart constructor.

Constructors

ReservationFleetInstanceSpecification' 

Fields

  • availabilityZone :: Maybe Text

    The Availability Zone in which the Capacity Reservation Fleet reserves the capacity. A Capacity Reservation Fleet can't span Availability Zones. All instance type specifications that you specify for the Fleet must use the same Availability Zone.

  • availabilityZoneId :: Maybe Text

    The ID of the Availability Zone in which the Capacity Reservation Fleet reserves the capacity. A Capacity Reservation Fleet can't span Availability Zones. All instance type specifications that you specify for the Fleet must use the same Availability Zone.

  • ebsOptimized :: Maybe Bool

    Indicates whether the Capacity Reservation Fleet supports EBS-optimized instances types. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using EBS-optimized instance types.

  • instancePlatform :: Maybe CapacityReservationInstancePlatform

    The type of operating system for which the Capacity Reservation Fleet reserves capacity.

  • instanceType :: Maybe InstanceType

    The instance type for which the Capacity Reservation Fleet reserves capacity.

  • priority :: Maybe Natural

    The priority to assign to the instance type. This value is used to determine which of the instance types specified for the Fleet should be prioritized for use. A lower value indicates a high priority. For more information, see Instance type priority in the Amazon EC2 User Guide.

  • weight :: Maybe Double

    The number of capacity units provided by the specified instance type. This value, together with the total target capacity that you specify for the Fleet determine the number of instances for which the Fleet reserves capacity. Both values are based on units that make sense for your workload. For more information, see Total target capacity in the Amazon EC2 User Guide.

Instances

Instances details
ToQuery ReservationFleetInstanceSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservationFleetInstanceSpecification

Generic ReservationFleetInstanceSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservationFleetInstanceSpecification

Read ReservationFleetInstanceSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservationFleetInstanceSpecification

Show ReservationFleetInstanceSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservationFleetInstanceSpecification

NFData ReservationFleetInstanceSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservationFleetInstanceSpecification

Eq ReservationFleetInstanceSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservationFleetInstanceSpecification

Hashable ReservationFleetInstanceSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservationFleetInstanceSpecification

type Rep ReservationFleetInstanceSpecification Source # 
Instance details

Defined in Amazonka.EC2.Types.ReservationFleetInstanceSpecification

type Rep ReservationFleetInstanceSpecification = D1 ('MetaData "ReservationFleetInstanceSpecification" "Amazonka.EC2.Types.ReservationFleetInstanceSpecification" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "ReservationFleetInstanceSpecification'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "availabilityZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "availabilityZoneId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ebsOptimized") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "instancePlatform") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CapacityReservationInstancePlatform)) :*: S1 ('MetaSel ('Just "instanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceType))) :*: (S1 ('MetaSel ('Just "priority") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "weight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))))))

newReservationFleetInstanceSpecification :: ReservationFleetInstanceSpecification Source #

Create a value of ReservationFleetInstanceSpecification 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:availabilityZone:ReservationFleetInstanceSpecification', reservationFleetInstanceSpecification_availabilityZone - The Availability Zone in which the Capacity Reservation Fleet reserves the capacity. A Capacity Reservation Fleet can't span Availability Zones. All instance type specifications that you specify for the Fleet must use the same Availability Zone.

$sel:availabilityZoneId:ReservationFleetInstanceSpecification', reservationFleetInstanceSpecification_availabilityZoneId - The ID of the Availability Zone in which the Capacity Reservation Fleet reserves the capacity. A Capacity Reservation Fleet can't span Availability Zones. All instance type specifications that you specify for the Fleet must use the same Availability Zone.

$sel:ebsOptimized:ReservationFleetInstanceSpecification', reservationFleetInstanceSpecification_ebsOptimized - Indicates whether the Capacity Reservation Fleet supports EBS-optimized instances types. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using EBS-optimized instance types.

$sel:instancePlatform:ReservationFleetInstanceSpecification', reservationFleetInstanceSpecification_instancePlatform - The type of operating system for which the Capacity Reservation Fleet reserves capacity.

$sel:instanceType:ReservationFleetInstanceSpecification', reservationFleetInstanceSpecification_instanceType - The instance type for which the Capacity Reservation Fleet reserves capacity.

$sel:priority:ReservationFleetInstanceSpecification', reservationFleetInstanceSpecification_priority - The priority to assign to the instance type. This value is used to determine which of the instance types specified for the Fleet should be prioritized for use. A lower value indicates a high priority. For more information, see Instance type priority in the Amazon EC2 User Guide.

$sel:weight:ReservationFleetInstanceSpecification', reservationFleetInstanceSpecification_weight - The number of capacity units provided by the specified instance type. This value, together with the total target capacity that you specify for the Fleet determine the number of instances for which the Fleet reserves capacity. Both values are based on units that make sense for your workload. For more information, see Total target capacity in the Amazon EC2 User Guide.

reservationFleetInstanceSpecification_availabilityZone :: Lens' ReservationFleetInstanceSpecification (Maybe Text) Source #

The Availability Zone in which the Capacity Reservation Fleet reserves the capacity. A Capacity Reservation Fleet can't span Availability Zones. All instance type specifications that you specify for the Fleet must use the same Availability Zone.

reservationFleetInstanceSpecification_availabilityZoneId :: Lens' ReservationFleetInstanceSpecification (Maybe Text) Source #

The ID of the Availability Zone in which the Capacity Reservation Fleet reserves the capacity. A Capacity Reservation Fleet can't span Availability Zones. All instance type specifications that you specify for the Fleet must use the same Availability Zone.

reservationFleetInstanceSpecification_ebsOptimized :: Lens' ReservationFleetInstanceSpecification (Maybe Bool) Source #

Indicates whether the Capacity Reservation Fleet supports EBS-optimized instances types. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using EBS-optimized instance types.

reservationFleetInstanceSpecification_instancePlatform :: Lens' ReservationFleetInstanceSpecification (Maybe CapacityReservationInstancePlatform) Source #

The type of operating system for which the Capacity Reservation Fleet reserves capacity.

reservationFleetInstanceSpecification_instanceType :: Lens' ReservationFleetInstanceSpecification (Maybe InstanceType) Source #

The instance type for which the Capacity Reservation Fleet reserves capacity.

reservationFleetInstanceSpecification_priority :: Lens' ReservationFleetInstanceSpecification (Maybe Natural) Source #

The priority to assign to the instance type. This value is used to determine which of the instance types specified for the Fleet should be prioritized for use. A lower value indicates a high priority. For more information, see Instance type priority in the Amazon EC2 User Guide.

reservationFleetInstanceSpecification_weight :: Lens' ReservationFleetInstanceSpecification (Maybe Double) Source #

The number of capacity units provided by the specified instance type. This value, together with the total target capacity that you specify for the Fleet determine the number of instances for which the Fleet reserves capacity. Both values are based on units that make sense for your workload. For more information, see Total target capacity in the Amazon EC2 User Guide.