CapacityProviderManagedInstancesProviderInstanceLaunchTemplateCapacityReservations class

Constructors

CapacityProviderManagedInstancesProviderInstanceLaunchTemplateCapacityReservations({Input<String?>? reservationGroupArn, Input<String?>? reservationPreference})
Creates a new CapacityProviderManagedInstancesProviderInstanceLaunchTemplateCapacityReservations. reservationGroupArn ARN of the Capacity Reservation resource group in which to run instances. Can only be set when reservationPreference is RESERVATIONS_ONLY. reservationPreference Preference for when Capacity Reservations should be used. Valid values are RESERVATIONS_ONLY, RESERVATIONS_FIRST, and RESERVATIONS_EXCLUDED. instanceRequirements must be provided when set to RESERVATIONS_ONLY or RESERVATIONS_FIRST.
const
CapacityProviderManagedInstancesProviderInstanceLaunchTemplateCapacityReservations.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
reservationGroupArn → Input<String?>?
ARN of the Capacity Reservation resource group in which to run instances. Can only be set when reservationPreference is RESERVATIONS_ONLY.
final
reservationPreference → Input<String?>?
Preference for when Capacity Reservations should be used. Valid values are RESERVATIONS_ONLY, RESERVATIONS_FIRST, and RESERVATIONS_EXCLUDED. instanceRequirements must be provided when set to RESERVATIONS_ONLY or RESERVATIONS_FIRST.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited