Interface CfnInstanceFleetConfig.IInstanceFleetProvisioningSpecificationsProperty
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
Namespace: Amazon.CDK.AWS.EMR
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IInstanceFleetProvisioningSpecificationsProperty
Syntax (vb)
Public Interface 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",
// the properties below are optional
CapacityReservationOptions = new OnDemandCapacityReservationOptionsProperty {
CapacityReservationPreference = "capacityReservationPreference",
CapacityReservationResourceGroupArn = "capacityReservationResourceGroupArn",
UsageStrategy = "usageStrategy"
}
},
SpotSpecification = new SpotProvisioningSpecificationProperty {
TimeoutAction = "timeoutAction",
TimeoutDurationMinutes = 123,
// the properties below are optional
AllocationStrategy = "allocationStrategy",
BlockDurationMinutes = 123
}
};
Synopsis
Properties
On |
The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy and capacity reservation options. |
Spot |
The launch specification for Spot instances in the fleet, which determines the allocation strategy, defined duration, and provisioning timeout behavior. |
Properties
OnDemandSpecification
The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy and capacity reservation options.
virtual object OnDemandSpecification { get; }
Property Value
System.
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 allocation strategy, defined duration, and provisioning timeout behavior.
virtual object SpotSpecification { get; }
Property Value
System.