Struct rusoto_emr::JobFlowInstancesConfig [] [src]

pub struct JobFlowInstancesConfig {
    pub additional_master_security_groups: Option<Vec<String>>,
    pub additional_slave_security_groups: Option<Vec<String>>,
    pub ec_2_key_name: Option<String>,
    pub ec_2_subnet_id: Option<String>,
    pub ec_2_subnet_ids: Option<Vec<String>>,
    pub emr_managed_master_security_group: Option<String>,
    pub emr_managed_slave_security_group: Option<String>,
    pub hadoop_version: Option<String>,
    pub instance_count: Option<i64>,
    pub instance_fleets: Option<Vec<InstanceFleetConfig>>,
    pub instance_groups: Option<Vec<InstanceGroupConfig>>,
    pub keep_job_flow_alive_when_no_steps: Option<bool>,
    pub master_instance_type: Option<String>,
    pub placement: Option<PlacementType>,
    pub service_access_security_group: Option<String>,
    pub slave_instance_type: Option<String>,
    pub termination_protected: Option<bool>,
}

A description of the Amazon EC2 instance on which the cluster (job flow) runs. A valid JobFlowInstancesConfig must contain either InstanceGroups or InstanceFleets, which is the recommended configuration. 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.

Fields

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

A list of additional Amazon EC2 security group IDs for the slave nodes.

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

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, the cluster launches in the normal Amazon Web Services cloud, outside of an Amazon VPC, if the account launching the cluster supports EC2 Classic networks in the region where the cluster launches.

Amazon VPC currently does not support cluster compute quadruple extra large (cc1.4xlarge) instances. Thus you cannot specify the cc1.4xlarge instance type for clusters launched in an Amazon VPC.

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.

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

The identifier of the Amazon EC2 security group for the slave nodes.

The Hadoop version for the cluster. Valid inputs are "0.18" (deprecated), "0.20" (deprecated), "0.20.205" (deprecated), "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.

The number of EC2 instances in the cluster.

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.

Configuration for the instance groups in a cluster.

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

The EC2 instance type of the master node.

The Availability Zone in which the cluster runs.

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

The EC2 instance type of the slave nodes.

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.

Trait Implementations

impl Default for JobFlowInstancesConfig
[src]

Returns the "default value" for a type. Read more

impl Debug for JobFlowInstancesConfig
[src]

Formats the value using the given formatter.

impl Clone for JobFlowInstancesConfig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more