Instance / Attribute / capacity_reservation_specification

capacity_reservation_specification#

EC2.Instance.capacity_reservation_specification#
  • (dict) –

    Information about the Capacity Reservation targeting option.

    • CapacityReservationPreference (string) –

      Describes the instance’s Capacity Reservation preferences. Possible preferences include:

      • open - The instance can run in any open 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.

    • CapacityReservationTarget (dict) –

      Information about the targeted Capacity Reservation or Capacity Reservation group.

      • CapacityReservationId (string) –

        The ID of the targeted Capacity Reservation.

      • CapacityReservationResourceGroupArn (string) –

        The ARN of the targeted Capacity Reservation group.