LaunchTemplateCapacityReservationSpecification constructor

const LaunchTemplateCapacityReservationSpecification({
  1. Input<String?>? capacityReservationPreference,
  2. Input<LaunchTemplateCapacityReservationSpecificationCapacityReservationTarget?>? capacityReservationTarget,
})

Creates a new LaunchTemplateCapacityReservationSpecification. capacityReservationPreference Indicates the instance's Capacity Reservation preferences. Can be capacity-reservations-only, open or none. If capacityReservationId or capacityReservationResourceGroupArn is specified in capacityReservationTarget block, either omit capacityReservationPreference or set it to capacity-reservations-only. capacityReservationTarget Used to target a specific Capacity Reservation:

Implementation

const LaunchTemplateCapacityReservationSpecification({
  this.capacityReservationPreference,
  this.capacityReservationTarget,
});