ClusterCoreInstanceFleet constructor
const
ClusterCoreInstanceFleet({
- Input<
String?> ? id, - Input<
List< ? instanceTypeConfigs,ClusterCoreInstanceFleetInstanceTypeConfig> ?> - Input<
ClusterCoreInstanceFleetLaunchSpecifications?> ? launchSpecifications, - Input<
String?> ? name, - Input<
int?> ? provisionedOnDemandCapacity, - Input<
int?> ? provisionedSpotCapacity, - Input<
int?> ? targetOnDemandCapacity, - Input<
int?> ? targetSpotCapacity,
Creates a new ClusterCoreInstanceFleet.
id ID of the cluster.
instanceTypeConfigs Configuration block for instance fleet.
launchSpecifications Configuration block for launch specification.
name Friendly name given to the instance fleet.
provisionedOnDemandCapacity Optional.
provisionedSpotCapacity Optional.
targetOnDemandCapacity The target capacity of On-Demand units for the instance fleet, which determines how many On-Demand instances to provision.
targetSpotCapacity Target capacity of Spot units for the instance fleet, which determines how many Spot instances to provision.
Implementation
const ClusterCoreInstanceFleet({
this.id,
this.instanceTypeConfigs,
this.launchSpecifications,
this.name,
this.provisionedOnDemandCapacity,
this.provisionedSpotCapacity,
this.targetOnDemandCapacity,
this.targetSpotCapacity,
});