LaunchTemplateCapacityReservationSpecificationArgs

data class LaunchTemplateCapacityReservationSpecificationArgs(val capacityReservationPreference: Output<String>? = null, val capacityReservationTarget: Output<LaunchTemplateCapacityReservationTargetArgs>? = null) : ConvertibleToJava<LaunchTemplateCapacityReservationSpecificationArgs>

Specifies an instance's Capacity Reservation targeting option. You can specify only one option at a time. `CapacityReservationSpecification` is a property of AWS::EC2::LaunchTemplate LaunchTemplateData.

Constructors

constructor(capacityReservationPreference: Output<String>? = null, capacityReservationTarget: Output<LaunchTemplateCapacityReservationTargetArgs>? = null)

Properties

Link copied to clipboard

Indicates the instance's Capacity Reservation preferences. Possible preferences include:

Link copied to clipboard

Information about the target Capacity Reservation or Capacity Reservation group.

Functions

Link copied to clipboard
open override fun toJava(): LaunchTemplateCapacityReservationSpecificationArgs