Class: Aws::Batch::Types::CapacityReservationRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Batch::Types::CapacityReservationRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-batch/types.rb
Overview
The capacity reservation configuration for Amazon ECS Managed Instances. Use this to target On-Demand Capacity Reservations or Reserved Instances.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#reservation_group_arn ⇒ String
The Amazon Resource Name (ARN) of the capacity reservation group to target.
-
#reservation_preference ⇒ String
The capacity reservation preference.
Instance Attribute Details
#reservation_group_arn ⇒ String
The Amazon Resource Name (ARN) of the capacity reservation group to target.
338 339 340 341 342 343 |
# File 'lib/aws-sdk-batch/types.rb', line 338 class CapacityReservationRequest < Struct.new( :reservation_group_arn, :reservation_preference) SENSITIVE = [] include Aws::Structure end |
#reservation_preference ⇒ String
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.
338 339 340 341 342 343 |
# File 'lib/aws-sdk-batch/types.rb', line 338 class CapacityReservationRequest < Struct.new( :reservation_group_arn, :reservation_preference) SENSITIVE = [] include Aws::Structure end |