Class CfnInstanceFleetConfig.OnDemandResizingSpecificationProperty
The resize specification for On-Demand Instances in the instance fleet, which contains the resize timeout period.
Inheritance
Namespace: Amazon.CDK.AWS.EMR
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class OnDemandResizingSpecificationProperty : Object, CfnInstanceFleetConfig.IOnDemandResizingSpecificationProperty
Syntax (vb)
Public Class OnDemandResizingSpecificationProperty
Inherits Object
Implements CfnInstanceFleetConfig.IOnDemandResizingSpecificationProperty
Remarks
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 onDemandResizingSpecificationProperty = new OnDemandResizingSpecificationProperty {
AllocationStrategy = "allocationStrategy",
CapacityReservationOptions = new OnDemandCapacityReservationOptionsProperty {
CapacityReservationPreference = "capacityReservationPreference",
CapacityReservationResourceGroupArn = "capacityReservationResourceGroupArn",
UsageStrategy = "usageStrategy"
},
TimeoutDurationMinutes = 123
};
Synopsis
Constructors
On |
Properties
Allocation |
Specifies the allocation strategy to use to launch On-Demand instances during a resize. |
Capacity |
|
Timeout |
On-Demand resize timeout in minutes. |
Constructors
OnDemandResizingSpecificationProperty()
public OnDemandResizingSpecificationProperty()
Properties
AllocationStrategy
Specifies the allocation strategy to use to launch On-Demand instances during a resize.
public string AllocationStrategy { get; set; }
Property Value
System.
Remarks
CapacityReservationOptions
public object CapacityReservationOptions { get; set; }
Property Value
System.
Remarks
TimeoutDurationMinutes
On-Demand resize timeout in minutes.
public Nullable<double> TimeoutDurationMinutes { get; set; }
Property Value
System.
Remarks
If On-Demand Instances are not provisioned within this time, the resize workflow stops. The minimum value is 5 minutes, and the maximum value is 10,080 minutes (7 days). The timeout applies to all resize workflows on the Instance Fleet. The resize could be triggered by Amazon EMR Managed Scaling or by the customer (via Amazon EMR Console, Amazon EMR CLI modify-instance-fleet or Amazon EMR SDK ModifyInstanceFleet API) or by Amazon EMR due to Amazon EC2 Spot Reclamation.