InstanceGroupConfig
public struct InstanceGroupConfig : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
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.
Declaration
Swift
public let autoScalingPolicy: AutoScalingPolicy?
-
The bid price for each EC2 Spot instance type as defined by InstanceType. Expressed in USD. If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided, BidPriceAsPercentageOfOnDemandPrice defaults to 100%.
Declaration
Swift
public let bidPrice: String?
-
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).
Declaration
Swift
public let configurations: [Configuration]?
-
EBS configurations that will be attached to each EC2 instance in the instance group.
Declaration
Swift
public let ebsConfiguration: EbsConfiguration?
-
Target number of instances for the instance group.
Declaration
Swift
public let instanceCount: Int
-
The role of the instance group in the cluster.
Declaration
Swift
public let instanceRole: InstanceRoleType
-
The EC2 instance type for all instances in the instance group.
Declaration
Swift
public let instanceType: String
-
Market type of the EC2 instances used to create a cluster node.
Declaration
Swift
public let market: MarketType?
-
Friendly name given to the instance group.
Declaration
Swift
public let name: String?
-
init(autoScalingPolicy:bidPrice:configurations:ebsConfiguration:instanceCount:instanceRole:instanceType:market:name:)
Undocumented
Declaration
Swift
public init(autoScalingPolicy: AutoScalingPolicy? = nil, bidPrice: String? = nil, configurations: [Configuration]? = nil, ebsConfiguration: EbsConfiguration? = nil, instanceCount: Int, instanceRole: InstanceRoleType, instanceType: String, market: MarketType? = nil, name: String? = nil)
-
Declaration
Swift
public func validate(name: String) throws