Interface CfnCluster.IInstanceFleetProvisioningSpecificationsProperty
InstanceFleetProvisioningSpecification
is a subproperty of InstanceFleetConfig
.
Namespace: Amazon.CDK.AWS.EMR
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IInstanceFleetProvisioningSpecificationsProperty
Syntax (vb)
Public Interface IInstanceFleetProvisioningSpecificationsProperty
Remarks
InstanceFleetProvisioningSpecification
defines the launch specification for Spot instances in an instance fleet, which determines the defined duration and provisioning timeout behavior for Spot instances.
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
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