InstanceTypeConfig
public struct InstanceTypeConfig : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
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?
-
The bid price, as a percentage of On-Demand price, for each EC2 Spot instance as defined by InstanceType. Expressed as a number (for example, 20 specifies 20%). If neither BidPrice nor BidPriceAsPercentageOfOnDemandPrice is provided, BidPriceAsPercentageOfOnDemandPrice defaults to 100%.
Declaration
Swift
public let bidPriceAsPercentageOfOnDemandPrice: Double?
-
A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software that run on the cluster.
Declaration
Swift
public let configurations: [Configuration]?
-
The configuration of Amazon Elastic Block Storage (EBS) attached to each instance as defined by InstanceType.
Declaration
Swift
public let ebsConfiguration: EbsConfiguration?
-
An EC2 instance type, such as m3.xlarge.
Declaration
Swift
public let instanceType: String
-
The number of units that a provisioned instance of this type provides toward fulfilling the target capacities defined in InstanceFleetConfig. This value is 1 for a master instance fleet, and must be 1 or greater for core and task instance fleets. Defaults to 1 if not specified.
Declaration
Swift
public let weightedCapacity: Int?
-
init(bidPrice:bidPriceAsPercentageOfOnDemandPrice:configurations:ebsConfiguration:instanceType:weightedCapacity:)
Undocumented
Declaration
Swift
public init(bidPrice: String? = nil, bidPriceAsPercentageOfOnDemandPrice: Double? = nil, configurations: [Configuration]? = nil, ebsConfiguration: EbsConfiguration? = nil, instanceType: String, weightedCapacity: Int? = nil)
-
Declaration
Swift
public func validate(name: String) throws