LaunchTemplateCapacityReservationTargetArgs

data class LaunchTemplateCapacityReservationTargetArgs(val capacityReservationId: Output<String>? = null, val capacityReservationResourceGroupArn: Output<String>? = null) : ConvertibleToJava<LaunchTemplateCapacityReservationTargetArgs>

Specifies a target Capacity Reservation. `CapacityReservationTarget` is a property of the Amazon EC2 LaunchTemplate LaunchTemplateData property type.

Constructors

constructor(capacityReservationId: Output<String>? = null, capacityReservationResourceGroupArn: Output<String>? = null)

Properties

Link copied to clipboard
val capacityReservationId: Output<String>? = null

The ID of the Capacity Reservation in which to run the instance.

Link copied to clipboard

The ARN of the Capacity Reservation resource group in which to run the instance.

Functions

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