Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data InstanceGroup = InstanceGroup' {
- autoScalingPolicy :: Maybe AutoScalingPolicyDescription
- bidPrice :: Maybe Text
- configurations :: Maybe [Configuration]
- configurationsVersion :: Maybe Integer
- customAmiId :: Maybe Text
- ebsBlockDevices :: Maybe [EbsBlockDevice]
- ebsOptimized :: Maybe Bool
- id :: Maybe Text
- instanceGroupType :: Maybe InstanceGroupType
- instanceType :: Maybe Text
- lastSuccessfullyAppliedConfigurations :: Maybe [Configuration]
- lastSuccessfullyAppliedConfigurationsVersion :: Maybe Integer
- market :: Maybe MarketType
- name :: Maybe Text
- requestedInstanceCount :: Maybe Int
- runningInstanceCount :: Maybe Int
- shrinkPolicy :: Maybe ShrinkPolicy
- status :: Maybe InstanceGroupStatus
- newInstanceGroup :: InstanceGroup
- instanceGroup_autoScalingPolicy :: Lens' InstanceGroup (Maybe AutoScalingPolicyDescription)
- instanceGroup_bidPrice :: Lens' InstanceGroup (Maybe Text)
- instanceGroup_configurations :: Lens' InstanceGroup (Maybe [Configuration])
- instanceGroup_configurationsVersion :: Lens' InstanceGroup (Maybe Integer)
- instanceGroup_customAmiId :: Lens' InstanceGroup (Maybe Text)
- instanceGroup_ebsBlockDevices :: Lens' InstanceGroup (Maybe [EbsBlockDevice])
- instanceGroup_ebsOptimized :: Lens' InstanceGroup (Maybe Bool)
- instanceGroup_id :: Lens' InstanceGroup (Maybe Text)
- instanceGroup_instanceGroupType :: Lens' InstanceGroup (Maybe InstanceGroupType)
- instanceGroup_instanceType :: Lens' InstanceGroup (Maybe Text)
- instanceGroup_lastSuccessfullyAppliedConfigurations :: Lens' InstanceGroup (Maybe [Configuration])
- instanceGroup_lastSuccessfullyAppliedConfigurationsVersion :: Lens' InstanceGroup (Maybe Integer)
- instanceGroup_market :: Lens' InstanceGroup (Maybe MarketType)
- instanceGroup_name :: Lens' InstanceGroup (Maybe Text)
- instanceGroup_requestedInstanceCount :: Lens' InstanceGroup (Maybe Int)
- instanceGroup_runningInstanceCount :: Lens' InstanceGroup (Maybe Int)
- instanceGroup_shrinkPolicy :: Lens' InstanceGroup (Maybe ShrinkPolicy)
- instanceGroup_status :: Lens' InstanceGroup (Maybe InstanceGroupStatus)
Documentation
data InstanceGroup Source #
This entity represents an instance group, which is a group of instances that have common purpose. For example, CORE instance group is used for HDFS.
See: newInstanceGroup
smart constructor.
InstanceGroup' | |
|
Instances
newInstanceGroup :: InstanceGroup Source #
Create a value of InstanceGroup
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:autoScalingPolicy:InstanceGroup'
, instanceGroup_autoScalingPolicy
- 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 EC2 instances in
response to the value of a CloudWatch metric. See PutAutoScalingPolicy.
$sel:bidPrice:InstanceGroup'
, instanceGroup_bidPrice
- If specified, indicates that the instance group uses Spot Instances.
This is the maximum price you are willing to pay for Spot Instances.
Specify OnDemandPrice
to set the amount equal to the On-Demand price,
or specify an amount in USD.
InstanceGroup
, instanceGroup_configurations
- 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).
$sel:configurationsVersion:InstanceGroup'
, instanceGroup_configurationsVersion
- The version number of the requested configuration specification for this
instance group.
$sel:customAmiId:InstanceGroup'
, instanceGroup_customAmiId
- The custom AMI ID to use for the provisioned instance group.
$sel:ebsBlockDevices:InstanceGroup'
, instanceGroup_ebsBlockDevices
- The EBS block devices that are mapped to this instance group.
$sel:ebsOptimized:InstanceGroup'
, instanceGroup_ebsOptimized
- 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.
$sel:id:InstanceGroup'
, instanceGroup_id
- The identifier of the instance group.
$sel:instanceGroupType:InstanceGroup'
, instanceGroup_instanceGroupType
- The type of the instance group. Valid values are MASTER, CORE or TASK.
$sel:instanceType:InstanceGroup'
, instanceGroup_instanceType
- The EC2 instance type for all instances in the instance group.
$sel:lastSuccessfullyAppliedConfigurations:InstanceGroup'
, instanceGroup_lastSuccessfullyAppliedConfigurations
- A list of configurations that were successfully applied for an instance
group last time.
$sel:lastSuccessfullyAppliedConfigurationsVersion:InstanceGroup'
, instanceGroup_lastSuccessfullyAppliedConfigurationsVersion
- The version number of a configuration specification that was
successfully applied for an instance group last time.
$sel:market:InstanceGroup'
, instanceGroup_market
- The marketplace to provision instances for this group. Valid values are
ON_DEMAND or SPOT.
$sel:name:InstanceGroup'
, instanceGroup_name
- The name of the instance group.
$sel:requestedInstanceCount:InstanceGroup'
, instanceGroup_requestedInstanceCount
- The target number of instances for the instance group.
$sel:runningInstanceCount:InstanceGroup'
, instanceGroup_runningInstanceCount
- The number of instances currently running in this instance group.
$sel:shrinkPolicy:InstanceGroup'
, instanceGroup_shrinkPolicy
- Policy for customizing shrink operations.
InstanceGroup
, instanceGroup_status
- The current status of the instance group.
instanceGroup_autoScalingPolicy :: Lens' InstanceGroup (Maybe AutoScalingPolicyDescription) Source #
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 EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.
instanceGroup_bidPrice :: Lens' InstanceGroup (Maybe Text) Source #
If specified, indicates that the instance group uses Spot Instances.
This is the maximum price you are willing to pay for Spot Instances.
Specify OnDemandPrice
to set the amount equal to the On-Demand price,
or specify an amount in USD.
instanceGroup_configurations :: Lens' InstanceGroup (Maybe [Configuration]) Source #
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).
instanceGroup_configurationsVersion :: Lens' InstanceGroup (Maybe Integer) Source #
The version number of the requested configuration specification for this instance group.
instanceGroup_customAmiId :: Lens' InstanceGroup (Maybe Text) Source #
The custom AMI ID to use for the provisioned instance group.
instanceGroup_ebsBlockDevices :: Lens' InstanceGroup (Maybe [EbsBlockDevice]) Source #
The EBS block devices that are mapped to this instance group.
instanceGroup_ebsOptimized :: Lens' InstanceGroup (Maybe Bool) Source #
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.
instanceGroup_id :: Lens' InstanceGroup (Maybe Text) Source #
The identifier of the instance group.
instanceGroup_instanceGroupType :: Lens' InstanceGroup (Maybe InstanceGroupType) Source #
The type of the instance group. Valid values are MASTER, CORE or TASK.
instanceGroup_instanceType :: Lens' InstanceGroup (Maybe Text) Source #
The EC2 instance type for all instances in the instance group.
instanceGroup_lastSuccessfullyAppliedConfigurations :: Lens' InstanceGroup (Maybe [Configuration]) Source #
A list of configurations that were successfully applied for an instance group last time.
instanceGroup_lastSuccessfullyAppliedConfigurationsVersion :: Lens' InstanceGroup (Maybe Integer) Source #
The version number of a configuration specification that was successfully applied for an instance group last time.
instanceGroup_market :: Lens' InstanceGroup (Maybe MarketType) Source #
The marketplace to provision instances for this group. Valid values are ON_DEMAND or SPOT.
instanceGroup_name :: Lens' InstanceGroup (Maybe Text) Source #
The name of the instance group.
instanceGroup_requestedInstanceCount :: Lens' InstanceGroup (Maybe Int) Source #
The target number of instances for the instance group.
instanceGroup_runningInstanceCount :: Lens' InstanceGroup (Maybe Int) Source #
The number of instances currently running in this instance group.
instanceGroup_shrinkPolicy :: Lens' InstanceGroup (Maybe ShrinkPolicy) Source #
Policy for customizing shrink operations.
instanceGroup_status :: Lens' InstanceGroup (Maybe InstanceGroupStatus) Source #
The current status of the instance group.