Values.InstanceGroupSourceThis entity represents an instance group, which is a group of instances that have common purpose. For example, CORE instance group is used for HDFS.
type nonrec t = {id : InstanceGroupId.t option;The identifier of the instance group.
*)name : String_.t option;The name of the instance group.
*)market : MarketType.t option;The marketplace to provision instances for this group. Valid values are ON_DEMAND or SPOT.
*)instanceGroupType : InstanceGroupType.t option;The type of the instance group. Valid values are MASTER, CORE or TASK.
*)bidPrice : String_.t option;The bid price for each Amazon EC2 Spot Instance type as defined by InstanceType. Expressed in USD. If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided, BidPriceAsPercentageOfOnDemandPrice defaults to 100%.
*)instanceType : InstanceType.t option;The Amazon EC2 instance type for all instances in the instance group.
*)requestedInstanceCount : Integer.t option;The target number of instances for the instance group.
*)runningInstanceCount : Integer.t option;The number of instances currently running in this instance group.
*)status : InstanceGroupStatus.t option;The current status of the instance group.
*)configurations : ConfigurationList.t option;Amazon EMR releases 4.x or later. The list of configurations supplied for an Amazon EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).
*)configurationsVersion : Long.t option;The version number of the requested configuration specification for this instance group.
*)lastSuccessfullyAppliedConfigurations : ConfigurationList.t option;A list of configurations that were successfully applied for an instance group last time.
*)lastSuccessfullyAppliedConfigurationsVersion : Long.t option;The version number of a configuration specification that was successfully applied for an instance group last time.
*)ebsBlockDevices : EbsBlockDeviceList.t option;The EBS block devices that are mapped to this instance group.
*)ebsOptimized : BooleanObject.t option;If the instance group is EBS-optimized. An Amazon EBS-optimized instance uses an optimized configuration stack and provides additional, dedicated capacity for Amazon EBS I/O.
*)shrinkPolicy : ShrinkPolicy.t option;Policy for customizing shrink operations.
*)autoScalingPolicy : AutoScalingPolicyDescription.t option;An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates Amazon EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.
*)customAmiId : XmlStringMaxLen256.t option;The custom AMI ID to use for the provisioned instance group.
*)}val make :
?id:??? ->
?name:??? ->
?market:??? ->
?instanceGroupType:??? ->
?bidPrice:??? ->
?instanceType:??? ->
?requestedInstanceCount:??? ->
?runningInstanceCount:??? ->
?status:??? ->
?configurations:??? ->
?configurationsVersion:??? ->
?lastSuccessfullyAppliedConfigurations:??? ->
?lastSuccessfullyAppliedConfigurationsVersion:??? ->
?ebsBlockDevices:??? ->
?ebsOptimized:??? ->
?shrinkPolicy:??? ->
?autoScalingPolicy:??? ->
?customAmiId:??? ->
unit ->
t