Class CfnInstanceFleetConfig.OnDemandResizingSpecificationProperty
The resize specification for On-Demand Instances in the instance fleet, which contains the resize timeout period.
Inherited Members
Namespace: Amazon.CDK.AWS.EMR
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnInstanceFleetConfig.OnDemandResizingSpecificationProperty : CfnInstanceFleetConfig.IOnDemandResizingSpecificationProperty
Syntax (vb)
Public Class CfnInstanceFleetConfig.OnDemandResizingSpecificationProperty 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
OnDemandResizingSpecificationProperty() | The resize specification for On-Demand Instances in the instance fleet, which contains the resize timeout period. |
Properties
AllocationStrategy | Specifies the allocation strategy to use to launch On-Demand instances during a resize. |
CapacityReservationOptions | The resize specification for On-Demand Instances in the instance fleet, which contains the resize timeout period. |
TimeoutDurationMinutes | On-Demand resize timeout in minutes. |
Constructors
OnDemandResizingSpecificationProperty()
The resize specification for On-Demand Instances in the instance fleet, which contains the resize timeout period.
public OnDemandResizingSpecificationProperty()
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
};
Properties
AllocationStrategy
Specifies the allocation strategy to use to launch On-Demand instances during a resize.
public string? AllocationStrategy { get; set; }
Property Value
Remarks
CapacityReservationOptions
The resize specification for On-Demand Instances in the instance fleet, which contains the resize timeout period.
public object? CapacityReservationOptions { get; set; }
Property Value
Remarks
TimeoutDurationMinutes
On-Demand resize timeout in minutes.
public double? TimeoutDurationMinutes { get; set; }
Property Value
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.