View a markdown version of this page

CapacityReservationRequest - Amazon Batch
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

CapacityReservationRequest

The capacity reservation configuration for Amazon ECS Managed Instances. Use this to target On-Demand Capacity Reservations or Reserved Instances.

Contents

reservationGroupArn

The Amazon Resource Name (ARN) of the capacity reservation group to target.

Type: String

Required: No

reservationPreference

The capacity reservation preference. Valid values:

  • RESERVATIONS_ONLY — Use only capacity reservations.

  • RESERVATIONS_FIRST — Prefer capacity reservations but fall back to On-Demand if unavailable.

  • RESERVATIONS_EXCLUDED — Do not use capacity reservations.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: