libZSservicesZSamazonka-emrZSamazonka-emr
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.EMR.Types.InstanceGroupConfig

Description

 
Synopsis

Documentation

data InstanceGroupConfig Source #

Configuration defining a new instance group.

See: newInstanceGroupConfig smart constructor.

Constructors

InstanceGroupConfig' 

Fields

  • ebsConfiguration :: Maybe EbsConfiguration

    EBS configurations that will be attached to each EC2 instance in the instance group.

  • bidPrice :: Maybe Text

    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.

  • configurations :: Maybe [Configuration]

    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).

  • customAmiId :: Maybe Text

    The custom AMI ID to use for the provisioned instance group.

  • market :: Maybe MarketType

    Market type of the EC2 instances used to create a cluster node.

  • name :: Maybe Text

    Friendly name given to the instance group.

  • autoScalingPolicy :: Maybe 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.

  • instanceRole :: InstanceRoleType

    The role of the instance group in the cluster.

  • instanceType :: Text

    The EC2 instance type for all instances in the instance group.

  • instanceCount :: Int

    Target number of instances for the instance group.

Instances

Instances details
Eq InstanceGroupConfig Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceGroupConfig

Read InstanceGroupConfig Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceGroupConfig

Show InstanceGroupConfig Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceGroupConfig

Generic InstanceGroupConfig Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceGroupConfig

Associated Types

type Rep InstanceGroupConfig :: Type -> Type #

NFData InstanceGroupConfig Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceGroupConfig

Methods

rnf :: InstanceGroupConfig -> () #

Hashable InstanceGroupConfig Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceGroupConfig

ToJSON InstanceGroupConfig Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceGroupConfig

type Rep InstanceGroupConfig Source # 
Instance details

Defined in Amazonka.EMR.Types.InstanceGroupConfig

newInstanceGroupConfig Source #

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.