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 ReservationFleetInstanceSpecification = ReservationFleetInstanceSpecification' {}
- newReservationFleetInstanceSpecification :: ReservationFleetInstanceSpecification
- reservationFleetInstanceSpecification_availabilityZone :: Lens' ReservationFleetInstanceSpecification (Maybe Text)
- reservationFleetInstanceSpecification_availabilityZoneId :: Lens' ReservationFleetInstanceSpecification (Maybe Text)
- reservationFleetInstanceSpecification_ebsOptimized :: Lens' ReservationFleetInstanceSpecification (Maybe Bool)
- reservationFleetInstanceSpecification_instancePlatform :: Lens' ReservationFleetInstanceSpecification (Maybe CapacityReservationInstancePlatform)
- reservationFleetInstanceSpecification_instanceType :: Lens' ReservationFleetInstanceSpecification (Maybe InstanceType)
- reservationFleetInstanceSpecification_priority :: Lens' ReservationFleetInstanceSpecification (Maybe Natural)
- reservationFleetInstanceSpecification_weight :: Lens' ReservationFleetInstanceSpecification (Maybe Double)
Documentation
data ReservationFleetInstanceSpecification Source #
Information about an instance type to use in a Capacity Reservation Fleet.
See: newReservationFleetInstanceSpecification
smart constructor.
ReservationFleetInstanceSpecification' | |
|
Instances
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.