InstanceFleetState constructor

const InstanceFleetState({
  1. Input<String?>? clusterId,
  2. Input<List<InstanceFleetInstanceTypeConfig>?>? instanceTypeConfigs,
  3. Input<InstanceFleetLaunchSpecifications?>? launchSpecifications,
  4. Input<String?>? name,
  5. Input<int?>? provisionedOnDemandCapacity,
  6. Input<int?>? provisionedSpotCapacity,
  7. Input<String?>? region,
  8. Input<int?>? targetOnDemandCapacity,
  9. Input<int?>? targetSpotCapacity,
})

Creates a new InstanceFleetState. clusterId ID of the EMR Cluster to attach to. Changing this forces a new resource to be created. instanceTypeConfigs Configuration block for instance fleet launchSpecifications Configuration block for launch specification name Friendly name given to the instance fleet. provisionedOnDemandCapacity The number of On-Demand units that have been provisioned for the instance provisionedSpotCapacity The number of Spot units that have been provisioned for this instance fleet region Region where this resource will be managed. Defaults to the Region set in the provider configuration. targetOnDemandCapacity The target capacity of On-Demand units for the instance fleet, which determines how many On-Demand instances to provision. targetSpotCapacity The target capacity of Spot units for the instance fleet, which determines how many Spot instances to provision.

Implementation

const InstanceFleetState({
  this.clusterId,
  this.instanceTypeConfigs,
  this.launchSpecifications,
  this.name,
  this.provisionedOnDemandCapacity,
  this.provisionedSpotCapacity,
  this.region,
  this.targetOnDemandCapacity,
  this.targetSpotCapacity,
});