CapacityReservationRequest - AWS Batch
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

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: