Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data InstanceGroup = InstanceGroup' {
- status :: Maybe InstanceGroupStatus
- lastSuccessfullyAppliedConfigurationsVersion :: Maybe Integer
- bidPrice :: Maybe Text
- requestedInstanceCount :: Maybe Int
- runningInstanceCount :: Maybe Int
- lastSuccessfullyAppliedConfigurations :: Maybe [Configuration]
- configurations :: Maybe [Configuration]
- customAmiId :: Maybe Text
- instanceGroupType :: Maybe InstanceGroupType
- ebsBlockDevices :: Maybe [EbsBlockDevice]
- instanceType :: Maybe Text
- configurationsVersion :: Maybe Integer
- ebsOptimized :: Maybe Bool
- market :: Maybe MarketType
- name :: Maybe Text
- autoScalingPolicy :: Maybe AutoScalingPolicyDescription
- shrinkPolicy :: Maybe ShrinkPolicy
- id :: Maybe Text
- newInstanceGroup :: InstanceGroup
- instanceGroup_status :: Lens' InstanceGroup (Maybe InstanceGroupStatus)
- instanceGroup_lastSuccessfullyAppliedConfigurationsVersion :: Lens' InstanceGroup (Maybe Integer)
- instanceGroup_bidPrice :: Lens' InstanceGroup (Maybe Text)
- instanceGroup_requestedInstanceCount :: Lens' InstanceGroup (Maybe Int)
- instanceGroup_runningInstanceCount :: Lens' InstanceGroup (Maybe Int)
- instanceGroup_lastSuccessfullyAppliedConfigurations :: Lens' InstanceGroup (Maybe [Configuration])
- instanceGroup_configurations :: Lens' InstanceGroup (Maybe [Configuration])
- instanceGroup_customAmiId :: Lens' InstanceGroup (Maybe Text)
- instanceGroup_instanceGroupType :: Lens' InstanceGroup (Maybe InstanceGroupType)
- instanceGroup_ebsBlockDevices :: Lens' InstanceGroup (Maybe [EbsBlockDevice])
- instanceGroup_instanceType :: Lens' InstanceGroup (Maybe Text)
- instanceGroup_configurationsVersion :: Lens' InstanceGroup (Maybe Integer)
- instanceGroup_ebsOptimized :: Lens' InstanceGroup (Maybe Bool)
- instanceGroup_market :: Lens' InstanceGroup (Maybe MarketType)
- instanceGroup_name :: Lens' InstanceGroup (Maybe Text)
- instanceGroup_autoScalingPolicy :: Lens' InstanceGroup (Maybe AutoScalingPolicyDescription)
- instanceGroup_shrinkPolicy :: Lens' InstanceGroup (Maybe ShrinkPolicy)
- instanceGroup_id :: Lens' InstanceGroup (Maybe Text)
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:status:InstanceGroup'
, instanceGroup_status
- The current status of the instance group.
$sel:lastSuccessfullyAppliedConfigurationsVersion:InstanceGroup'
, instanceGroup_lastSuccessfullyAppliedConfigurationsVersion
- The version number of a configuration specification that was
successfully applied for an instance group last time.
$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.
$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:lastSuccessfullyAppliedConfigurations:InstanceGroup'
, instanceGroup_lastSuccessfullyAppliedConfigurations
- A list of configurations that were successfully applied for an instance
group last time.
$sel:configurations: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:customAmiId:InstanceGroup'
, instanceGroup_customAmiId
- The custom AMI ID to use for the provisioned instance group.
$sel:instanceGroupType:InstanceGroup'
, instanceGroup_instanceGroupType
- The type of the instance group. Valid values are MASTER, CORE or TASK.
$sel:ebsBlockDevices:InstanceGroup'
, instanceGroup_ebsBlockDevices
- The EBS block devices that are mapped to this instance group.
$sel:instanceType:InstanceGroup'
, instanceGroup_instanceType
- The EC2 instance type for all instances in the instance group.
$sel:configurationsVersion:InstanceGroup'
, instanceGroup_configurationsVersion
- The version number of the requested configuration specification for 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: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: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:shrinkPolicy:InstanceGroup'
, instanceGroup_shrinkPolicy
- Policy for customizing shrink operations.
$sel:id:InstanceGroup'
, instanceGroup_id
- The identifier of the instance group.
instanceGroup_status :: Lens' InstanceGroup (Maybe InstanceGroupStatus) Source #
The current status of the instance group.
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_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_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_lastSuccessfullyAppliedConfigurations :: Lens' InstanceGroup (Maybe [Configuration]) Source #
A list of configurations that were successfully applied for an instance group last time.
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_customAmiId :: Lens' InstanceGroup (Maybe Text) Source #
The custom AMI ID to use for the provisioned instance group.
instanceGroup_instanceGroupType :: Lens' InstanceGroup (Maybe InstanceGroupType) Source #
The type of the instance group. Valid values are MASTER, CORE or TASK.
instanceGroup_ebsBlockDevices :: Lens' InstanceGroup (Maybe [EbsBlockDevice]) Source #
The EBS block devices that are mapped to this instance group.
instanceGroup_instanceType :: Lens' InstanceGroup (Maybe Text) Source #
The EC2 instance type for all instances in the instance group.
instanceGroup_configurationsVersion :: Lens' InstanceGroup (Maybe Integer) Source #
The version number of the requested configuration specification for 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_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_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_shrinkPolicy :: Lens' InstanceGroup (Maybe ShrinkPolicy) Source #
Policy for customizing shrink operations.
instanceGroup_id :: Lens' InstanceGroup (Maybe Text) Source #
The identifier of the instance group.