InstanceFleetState constructor
- Input<
String?> ? clusterId, - Input<
List< ? instanceTypeConfigs,InstanceFleetInstanceTypeConfig> ?> - Input<
InstanceFleetLaunchSpecifications?> ? launchSpecifications, - Input<
String?> ? name, - Input<
int?> ? provisionedOnDemandCapacity, - Input<
int?> ? provisionedSpotCapacity, - Input<
String?> ? region, - Input<
int?> ? targetOnDemandCapacity, - 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,
});