Interface CfnInstanceFleetConfig.InstanceFleetResizingSpecificationsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnInstanceFleetConfig.InstanceFleetResizingSpecificationsProperty.Jsii$Proxy
- Enclosing class:
CfnInstanceFleetConfig
@Stability(Stable)
public static interface CfnInstanceFleetConfig.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();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
static final class
An implementation forCfnInstanceFleetConfig.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.- See Also:
-
getSpotResizeSpecification
The resize specification for Spot Instances in the instance fleet, which contains the allocation strategy and the resize timeout period.- See Also:
-
builder
@Stability(Stable) static CfnInstanceFleetConfig.InstanceFleetResizingSpecificationsProperty.Builder builder()
-