Class CfnInstanceFleetConfig.InstanceFleetProvisioningSpecificationsProperty
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
Inheritance
Namespace: Amazon.CDK.AWS.EMR
Assembly: Amazon.CDK.AWS.EMR.dll
Syntax (csharp)
public class InstanceFleetProvisioningSpecificationsProperty : Object, CfnInstanceFleetConfig.IInstanceFleetProvisioningSpecificationsProperty
Syntax (vb)
Public Class InstanceFleetProvisioningSpecificationsProperty
Inherits Object
Implements CfnInstanceFleetConfig.IInstanceFleetProvisioningSpecificationsProperty
Remarks
InstanceTypeConfig
is a sub-property of InstanceFleetConfig
. InstanceTypeConfig
determines the EC2 instances that Amazon EMR attempts to provision to fulfill On-Demand and Spot target capacities.
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 instanceFleetProvisioningSpecificationsProperty = new InstanceFleetProvisioningSpecificationsProperty {
OnDemandSpecification = new OnDemandProvisioningSpecificationProperty {
AllocationStrategy = "allocationStrategy"
},
SpotSpecification = new SpotProvisioningSpecificationProperty {
TimeoutAction = "timeoutAction",
TimeoutDurationMinutes = 123,
// the properties below are optional
AllocationStrategy = "allocationStrategy",
BlockDurationMinutes = 123
}
};
Synopsis
Constructors
InstanceFleetProvisioningSpecificationsProperty() |
Properties
OnDemandSpecification | The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy. |
SpotSpecification | The launch specification for Spot instances in the fleet, which determines the defined duration, provisioning timeout behavior, and allocation strategy. |
Constructors
InstanceFleetProvisioningSpecificationsProperty()
public InstanceFleetProvisioningSpecificationsProperty()
Properties
OnDemandSpecification
The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy.
public object OnDemandSpecification { get; set; }
Property Value
System.Object
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.
SpotSpecification
The launch specification for Spot instances in the fleet, which determines the defined duration, provisioning timeout behavior, and allocation strategy.
public object SpotSpecification { get; set; }
Property Value
System.Object