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 InstanceGroupConfig = InstanceGroupConfig' {}
- newInstanceGroupConfig :: InstanceRoleType -> Text -> Int -> InstanceGroupConfig
- instanceGroupConfig_ebsConfiguration :: Lens' InstanceGroupConfig (Maybe EbsConfiguration)
- instanceGroupConfig_bidPrice :: Lens' InstanceGroupConfig (Maybe Text)
- instanceGroupConfig_configurations :: Lens' InstanceGroupConfig (Maybe [Configuration])
- instanceGroupConfig_customAmiId :: Lens' InstanceGroupConfig (Maybe Text)
- instanceGroupConfig_market :: Lens' InstanceGroupConfig (Maybe MarketType)
- instanceGroupConfig_name :: Lens' InstanceGroupConfig (Maybe Text)
- instanceGroupConfig_autoScalingPolicy :: Lens' InstanceGroupConfig (Maybe AutoScalingPolicy)
- instanceGroupConfig_instanceRole :: Lens' InstanceGroupConfig InstanceRoleType
- instanceGroupConfig_instanceType :: Lens' InstanceGroupConfig Text
- instanceGroupConfig_instanceCount :: Lens' InstanceGroupConfig Int
Documentation
data InstanceGroupConfig Source #
Configuration defining a new instance group.
See: newInstanceGroupConfig
smart constructor.
InstanceGroupConfig' | |
|
Instances
newInstanceGroupConfig Source #
:: InstanceRoleType | |
-> Text | |
-> Int | |
-> InstanceGroupConfig |
Create a value of InstanceGroupConfig
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:ebsConfiguration:InstanceGroupConfig'
, instanceGroupConfig_ebsConfiguration
- EBS configurations that will be attached to each EC2 instance in the
instance group.
$sel:bidPrice:InstanceGroupConfig'
, instanceGroupConfig_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:configurations:InstanceGroupConfig'
, instanceGroupConfig_configurations
- Amazon EMR releases 4.x or later.
The list of configurations supplied for an EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).
$sel:customAmiId:InstanceGroupConfig'
, instanceGroupConfig_customAmiId
- The custom AMI ID to use for the provisioned instance group.
$sel:market:InstanceGroupConfig'
, instanceGroupConfig_market
- Market type of the EC2 instances used to create a cluster node.
$sel:name:InstanceGroupConfig'
, instanceGroupConfig_name
- Friendly name given to the instance group.
$sel:autoScalingPolicy:InstanceGroupConfig'
, instanceGroupConfig_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:instanceRole:InstanceGroupConfig'
, instanceGroupConfig_instanceRole
- The role of the instance group in the cluster.
$sel:instanceType:InstanceGroupConfig'
, instanceGroupConfig_instanceType
- The EC2 instance type for all instances in the instance group.
$sel:instanceCount:InstanceGroupConfig'
, instanceGroupConfig_instanceCount
- Target number of instances for the instance group.
instanceGroupConfig_ebsConfiguration :: Lens' InstanceGroupConfig (Maybe EbsConfiguration) Source #
EBS configurations that will be attached to each EC2 instance in the instance group.
instanceGroupConfig_bidPrice :: Lens' InstanceGroupConfig (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.
instanceGroupConfig_configurations :: Lens' InstanceGroupConfig (Maybe [Configuration]) Source #
Amazon EMR releases 4.x or later.
The list of configurations supplied for an EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).
instanceGroupConfig_customAmiId :: Lens' InstanceGroupConfig (Maybe Text) Source #
The custom AMI ID to use for the provisioned instance group.
instanceGroupConfig_market :: Lens' InstanceGroupConfig (Maybe MarketType) Source #
Market type of the EC2 instances used to create a cluster node.
instanceGroupConfig_name :: Lens' InstanceGroupConfig (Maybe Text) Source #
Friendly name given to the instance group.
instanceGroupConfig_autoScalingPolicy :: Lens' InstanceGroupConfig (Maybe AutoScalingPolicy) 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.
instanceGroupConfig_instanceRole :: Lens' InstanceGroupConfig InstanceRoleType Source #
The role of the instance group in the cluster.
instanceGroupConfig_instanceType :: Lens' InstanceGroupConfig Text Source #
The EC2 instance type for all instances in the instance group.
instanceGroupConfig_instanceCount :: Lens' InstanceGroupConfig Int Source #
Target number of instances for the instance group.