Class CfnInstanceFleetConfig.OnDemandProvisioningSpecificationProperty
The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy.
Inheritance
System.Object
CfnInstanceFleetConfig.OnDemandProvisioningSpecificationProperty
Namespace: Amazon.CDK.AWS.EMR
Assembly: Amazon.CDK.AWS.EMR.dll
Syntax (csharp)
public class OnDemandProvisioningSpecificationProperty : Object, CfnInstanceFleetConfig.IOnDemandProvisioningSpecificationProperty
Syntax (vb)
Public Class OnDemandProvisioningSpecificationProperty
Inherits Object
Implements CfnInstanceFleetConfig.IOnDemandProvisioningSpecificationProperty
Remarks
The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions. On-Demand Instances allocation strategy is available in Amazon EMR releases 5.12.1 and later.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EMR;
var onDemandProvisioningSpecificationProperty = new OnDemandProvisioningSpecificationProperty {
AllocationStrategy = "allocationStrategy"
};
Synopsis
Constructors
OnDemandProvisioningSpecificationProperty() |
Properties
AllocationStrategy | Specifies the strategy to use in launching On-Demand instance fleets. |
Constructors
OnDemandProvisioningSpecificationProperty()
public OnDemandProvisioningSpecificationProperty()
Properties
AllocationStrategy
Specifies the strategy to use in launching On-Demand instance fleets.
public string AllocationStrategy { get; set; }
Property Value
System.String
Remarks
Currently, the only option is lowest-price
(the default), which launches the lowest price first.