NAME

Paws::EMR::JobFlowInstancesConfig

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::EMR::JobFlowInstancesConfig object:

$service_obj->Method(Att1 => { AdditionalMasterSecurityGroups => $value, ..., TerminationProtected => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::EMR::JobFlowInstancesConfig object:

$result = $service_obj->Method(...);
$result->Att1->AdditionalMasterSecurityGroups

DESCRIPTION

A description of the Amazon EC2 instance on which the cluster (job flow) runs. A valid JobFlowInstancesConfig must contain either InstanceGroups or InstanceFleets. They cannot be used together. You may also have MasterInstanceType, SlaveInstanceType, and InstanceCount (all three must be present), but we don't recommend this configuration.

ATTRIBUTES

AdditionalMasterSecurityGroups => ArrayRef[Str|Undef]

A list of additional Amazon EC2 security group IDs for the master node.

AdditionalSlaveSecurityGroups => ArrayRef[Str|Undef]

A list of additional Amazon EC2 security group IDs for the core and task nodes.

Ec2KeyName => Str

The name of the EC2 key pair that can be used to connect to the master node using SSH as the user called "hadoop."

Ec2SubnetId => Str

Applies to clusters that use the uniform instance group configuration. To launch the cluster in Amazon Virtual Private Cloud (Amazon VPC), set this parameter to the identifier of the Amazon VPC subnet where you want the cluster to launch. If you do not specify this value and your account supports EC2-Classic, the cluster launches in EC2-Classic.

Ec2SubnetIds => ArrayRef[Str|Undef]

Applies to clusters that use the instance fleet configuration. When multiple EC2 subnet IDs are specified, Amazon EMR evaluates them and launches instances in the optimal subnet.

The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.

EmrManagedMasterSecurityGroup => Str

The identifier of the Amazon EC2 security group for the master node.

EmrManagedSlaveSecurityGroup => Str

The identifier of the Amazon EC2 security group for the core and task nodes.

HadoopVersion => Str

Applies only to Amazon EMR release versions earlier than 4.0. The Hadoop version for the cluster. Valid inputs are "0.18" (no longer maintained), "0.20" (no longer maintained), "0.20.205" (no longer maintained), "1.0.3", "2.2.0", or "2.4.0". If you do not set this value, the default of 0.18 is used, unless the AmiVersion parameter is set in the RunJobFlow call, in which case the default version of Hadoop for that AMI version is used.

InstanceCount => Int

The number of EC2 instances in the cluster.

InstanceFleets => ArrayRef[Paws::EMR::InstanceFleetConfig]

The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.

Describes the EC2 instances and instance configurations for clusters that use the instance fleet configuration.

InstanceGroups => ArrayRef[Paws::EMR::InstanceGroupConfig]

Configuration for the instance groups in a cluster.

KeepJobFlowAliveWhenNoSteps => Bool

Specifies whether the cluster should remain available after completing all steps.

MasterInstanceType => Str

The EC2 instance type of the master node.

Placement => Paws::EMR::PlacementType

The Availability Zone in which the cluster runs.

ServiceAccessSecurityGroup => Str

The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets.

SlaveInstanceType => Str

The EC2 instance type of the core and task nodes.

TerminationProtected => Bool

Specifies whether to lock the cluster to prevent the Amazon EC2 instances from being terminated by API call, user intervention, or in the event of a job-flow error.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::EMR

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues