LaunchTemplateCapacityReservationSpecification class

Constructors

LaunchTemplateCapacityReservationSpecification({Input<String?>? capacityReservationPreference, Input<LaunchTemplateCapacityReservationSpecificationCapacityReservationTarget?>? capacityReservationTarget})
Creates a new LaunchTemplateCapacityReservationSpecification. capacityReservationPreference Indicates the instance's Capacity Reservation preferences. Can be capacity-reservations-only, open or none. If capacityReservationId or capacityReservationResourceGroupArn is specified in capacityReservationTarget block, either omit capacityReservationPreference or set it to capacity-reservations-only. capacityReservationTarget Used to target a specific Capacity Reservation:
const
LaunchTemplateCapacityReservationSpecification.fromMap(Map<String, dynamic> map)
factory

Properties

capacityReservationPreference → Input<String?>?
Indicates the instance's Capacity Reservation preferences. Can be capacity-reservations-only, open or none. If capacityReservationId or capacityReservationResourceGroupArn is specified in capacityReservationTarget block, either omit capacityReservationPreference or set it to capacity-reservations-only.
final
capacityReservationTarget → Input<LaunchTemplateCapacityReservationSpecificationCapacityReservationTarget?>?
Used to target a specific Capacity Reservation:
final
hashCode int
The hash code for this object.
no setterinherited
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