Interface CfnCluster.InstanceFleetResizingSpecificationsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCluster.InstanceFleetResizingSpecificationsProperty.Jsii$Proxy
- Enclosing class:
- CfnCluster
@Stability(Stable)
public static interface CfnCluster.InstanceFleetResizingSpecificationsProperty
extends software.amazon.jsii.JsiiSerializable
The resize specification for On-Demand and Spot Instances in the fleet.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.emr.*; InstanceFleetResizingSpecificationsProperty instanceFleetResizingSpecificationsProperty = InstanceFleetResizingSpecificationsProperty.builder() .onDemandResizeSpecification(OnDemandResizingSpecificationProperty.builder() .allocationStrategy("allocationStrategy") .capacityReservationOptions(OnDemandCapacityReservationOptionsProperty.builder() .capacityReservationPreference("capacityReservationPreference") .capacityReservationResourceGroupArn("capacityReservationResourceGroupArn") .usageStrategy("usageStrategy") .build()) .timeoutDurationMinutes(123) .build()) .spotResizeSpecification(SpotResizingSpecificationProperty.builder() .allocationStrategy("allocationStrategy") .timeoutDurationMinutes(123) .build()) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnCluster.InstanceFleetResizingSpecificationsProperty
static final class
An implementation forCfnCluster.InstanceFleetResizingSpecificationsProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
The resize specification for On-Demand Instances in the instance fleet, which contains the allocation strategy, capacity reservation options, and the resize timeout period.default Object
The resize specification for Spot Instances in the instance fleet, which contains the allocation strategy and the resize timeout period.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getOnDemandResizeSpecification
The resize specification for On-Demand Instances in the instance fleet, which contains the allocation strategy, capacity reservation options, and the resize timeout period. -
getSpotResizeSpecification
The resize specification for Spot Instances in the instance fleet, which contains the allocation strategy and the resize timeout period. -
builder
-