Ec2FleetTargetCapacitySpecificationRequestArgs

data class Ec2FleetTargetCapacitySpecificationRequestArgs(val defaultTargetCapacityType: Output<Ec2FleetTargetCapacitySpecificationRequestDefaultTargetCapacityType>? = null, val onDemandTargetCapacity: Output<Int>? = null, val spotTargetCapacity: Output<Int>? = null, val targetCapacityUnitType: Output<Ec2FleetTargetCapacitySpecificationRequestTargetCapacityUnitType>? = null, val totalTargetCapacity: Output<Int>) : ConvertibleToJava<Ec2FleetTargetCapacitySpecificationRequestArgs>

Constructors

constructor(defaultTargetCapacityType: Output<Ec2FleetTargetCapacitySpecificationRequestDefaultTargetCapacityType>? = null, onDemandTargetCapacity: Output<Int>? = null, spotTargetCapacity: Output<Int>? = null, targetCapacityUnitType: Output<Ec2FleetTargetCapacitySpecificationRequestTargetCapacityUnitType>? = null, totalTargetCapacity: Output<Int>)

Properties

Link copied to clipboard
Link copied to clipboard
val onDemandTargetCapacity: Output<Int>? = null

The number of On-Demand units to request.

Link copied to clipboard
val spotTargetCapacity: Output<Int>? = null

The number of Spot units to request.

Link copied to clipboard

The unit for the target capacity. You can specify this parameter only when using attributed-based instance type selection. Default: units (the number of instances)

Link copied to clipboard

The number of units to request, filled using the default target capacity type.

Functions

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