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 LaunchTemplateCapacityReservationSpecificationResponse = LaunchTemplateCapacityReservationSpecificationResponse' {}
- newLaunchTemplateCapacityReservationSpecificationResponse :: LaunchTemplateCapacityReservationSpecificationResponse
- launchTemplateCapacityReservationSpecificationResponse_capacityReservationPreference :: Lens' LaunchTemplateCapacityReservationSpecificationResponse (Maybe CapacityReservationPreference)
- launchTemplateCapacityReservationSpecificationResponse_capacityReservationTarget :: Lens' LaunchTemplateCapacityReservationSpecificationResponse (Maybe CapacityReservationTargetResponse)
Documentation
data LaunchTemplateCapacityReservationSpecificationResponse Source #
Information about the Capacity Reservation targeting option.
See: newLaunchTemplateCapacityReservationSpecificationResponse
smart constructor.
LaunchTemplateCapacityReservationSpecificationResponse' | |
|
Instances
newLaunchTemplateCapacityReservationSpecificationResponse :: LaunchTemplateCapacityReservationSpecificationResponse Source #
Create a value of LaunchTemplateCapacityReservationSpecificationResponse
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:capacityReservationPreference:LaunchTemplateCapacityReservationSpecificationResponse'
, launchTemplateCapacityReservationSpecificationResponse_capacityReservationPreference
- Indicates the instance's Capacity Reservation preferences. Possible
preferences include:
open
- The instance can run in anyopen
Capacity Reservation that has matching attributes (instance type, platform, Availability Zone).none
- The instance avoids running in a Capacity Reservation even if one is available. The instance runs in On-Demand capacity.
$sel:capacityReservationTarget:LaunchTemplateCapacityReservationSpecificationResponse'
, launchTemplateCapacityReservationSpecificationResponse_capacityReservationTarget
- Information about the target Capacity Reservation or Capacity
Reservation group.
launchTemplateCapacityReservationSpecificationResponse_capacityReservationPreference :: Lens' LaunchTemplateCapacityReservationSpecificationResponse (Maybe CapacityReservationPreference) Source #
Indicates the instance's Capacity Reservation preferences. Possible preferences include:
open
- The instance can run in anyopen
Capacity Reservation that has matching attributes (instance type, platform, Availability Zone).none
- The instance avoids running in a Capacity Reservation even if one is available. The instance runs in On-Demand capacity.
launchTemplateCapacityReservationSpecificationResponse_capacityReservationTarget :: Lens' LaunchTemplateCapacityReservationSpecificationResponse (Maybe CapacityReservationTargetResponse) Source #
Information about the target Capacity Reservation or Capacity Reservation group.