View a markdown version of this page

CapacityReservationRequest - AWS Batch

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 AWS SDKs, see the following: