InstanceGroup
public struct InstanceGroup : 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: AutoScalingPolicyDescription?
-
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]?
-
The version number of the requested configuration specification for this instance group.
Declaration
Swift
public let configurationsVersion: Int64?
-
The EBS block devices that are mapped to this instance group.
Declaration
Swift
public let ebsBlockDevices: [EbsBlockDevice]?
-
If the instance group is EBS-optimized. An Amazon EBS-optimized instance uses an optimized configuration stack and provides additional, dedicated capacity for Amazon EBS I/O.
Declaration
Swift
public let ebsOptimized: Bool?
-
The identifier of the instance group.
Declaration
Swift
public let id: String?
-
The type of the instance group. Valid values are MASTER, CORE or TASK.
Declaration
Swift
public let instanceGroupType: InstanceGroupType?
-
The EC2 instance type for all instances in the instance group.
Declaration
Swift
public let instanceType: String?
-
A list of configurations that were successfully applied for an instance group last time.
Declaration
Swift
public let lastSuccessfullyAppliedConfigurations: [Configuration]?
-
The version number of a configuration specification that was successfully applied for an instance group last time.
Declaration
Swift
public let lastSuccessfullyAppliedConfigurationsVersion: Int64?
-
The marketplace to provision instances for this group. Valid values are ON_DEMAND or SPOT.
Declaration
Swift
public let market: MarketType?
-
The name of the instance group.
Declaration
Swift
public let name: String?
-
The target number of instances for the instance group.
Declaration
Swift
public let requestedInstanceCount: Int?
-
The number of instances currently running in this instance group.
Declaration
Swift
public let runningInstanceCount: Int?
-
Policy for customizing shrink operations.
Declaration
Swift
public let shrinkPolicy: ShrinkPolicy?
-
The current status of the instance group.
Declaration
Swift
public let status: InstanceGroupStatus?
-
init(autoScalingPolicy:bidPrice:configurations:configurationsVersion:ebsBlockDevices:ebsOptimized:id:instanceGroupType:instanceType:lastSuccessfullyAppliedConfigurations:lastSuccessfullyAppliedConfigurationsVersion:market:name:requestedInstanceCount:runningInstanceCount:shrinkPolicy:status:)
Undocumented
Declaration
Swift
public init(autoScalingPolicy: AutoScalingPolicyDescription? = nil, bidPrice: String? = nil, configurations: [Configuration]? = nil, configurationsVersion: Int64? = nil, ebsBlockDevices: [EbsBlockDevice]? = nil, ebsOptimized: Bool? = nil, id: String? = nil, instanceGroupType: InstanceGroupType? = nil, instanceType: String? = nil, lastSuccessfullyAppliedConfigurations: [Configuration]? = nil, lastSuccessfullyAppliedConfigurationsVersion: Int64? = nil, market: MarketType? = nil, name: String? = nil, requestedInstanceCount: Int? = nil, runningInstanceCount: Int? = nil, shrinkPolicy: ShrinkPolicy? = nil, status: InstanceGroupStatus? = nil)