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.AWS.EMR.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"
},
SpotSpecification = new SpotProvisioningSpecificationProperty {
TimeoutAction = "timeoutAction",
TimeoutDurationMinutes = 123,
// the properties below are optional
AllocationStrategy = "allocationStrategy",
BlockDurationMinutes = 123
}
};
Synopsis
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. |
Properties
OnDemandSpecification
The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy.
virtual object OnDemandSpecification { get; }
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.
virtual object SpotSpecification { get; }
Property Value
System.Object