JobFlowInstancesConfig

public struct JobFlowInstancesConfig : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • A list of additional Amazon EC2 security group IDs for the master node.

    Declaration

    Swift

    public let additionalMasterSecurityGroups: [String]?
  • A list of additional Amazon EC2 security group IDs for the core and task nodes.

    Declaration

    Swift

    public let additionalSlaveSecurityGroups: [String]?
  • The name of the EC2 key pair that can be used to ssh to the master node as the user called “hadoop.”

    Declaration

    Swift

    public let ec2KeyName: String?
  • 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.

    Declaration

    Swift

    public let ec2SubnetId: String?
  • 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.

    Declaration

    Swift

    public let ec2SubnetIds: [String]?
  • The identifier of the Amazon EC2 security group for the master node.

    Declaration

    Swift

    public let emrManagedMasterSecurityGroup: String?
  • The identifier of the Amazon EC2 security group for the core and task nodes.

    Declaration

    Swift

    public let emrManagedSlaveSecurityGroup: String?
  • Applies only to Amazon EMR release versions earlier than 4.0. 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.

    Declaration

    Swift

    public let hadoopVersion: String?
  • The number of EC2 instances in the cluster.

    Declaration

    Swift

    public let instanceCount: Int?
  • 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.

    Declaration

    Swift

    public let instanceFleets: [InstanceFleetConfig]?
  • Configuration for the instance groups in a cluster.

    Declaration

    Swift

    public let instanceGroups: [InstanceGroupConfig]?
  • Specifies whether the cluster should remain available after completing all steps.

    Declaration

    Swift

    public let keepJobFlowAliveWhenNoSteps: Bool?
  • The EC2 instance type of the master node.

    Declaration

    Swift

    public let masterInstanceType: String?
  • The Availability Zone in which the cluster runs.

    Declaration

    Swift

    public let placement: PlacementType?
  • The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets.

    Declaration

    Swift

    public let serviceAccessSecurityGroup: String?
  • The EC2 instance type of the core and task nodes.

    Declaration

    Swift

    public let slaveInstanceType: String?
  • 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.

    Declaration

    Swift

    public let terminationProtected: Bool?
  • Undocumented

    Declaration

    Swift

    public init(additionalMasterSecurityGroups: [String]? = nil, additionalSlaveSecurityGroups: [String]? = nil, ec2KeyName: String? = nil, ec2SubnetId: String? = nil, ec2SubnetIds: [String]? = nil, emrManagedMasterSecurityGroup: String? = nil, emrManagedSlaveSecurityGroup: String? = nil, hadoopVersion: String? = nil, instanceCount: Int? = nil, instanceFleets: [InstanceFleetConfig]? = nil, instanceGroups: [InstanceGroupConfig]? = nil, keepJobFlowAliveWhenNoSteps: Bool? = nil, masterInstanceType: String? = nil, placement: PlacementType? = nil, serviceAccessSecurityGroup: String? = nil, slaveInstanceType: String? = nil, terminationProtected: Bool? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws