Interface CfnClusterPropsMixin.InstanceFleetResizingSpecificationsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnClusterPropsMixin.InstanceFleetResizingSpecificationsProperty.Jsii$Proxy
- Enclosing class:
CfnClusterPropsMixin
@Stability(Stable)
public static interface CfnClusterPropsMixin.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.cfnpropertymixins.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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnClusterPropsMixin.InstanceFleetResizingSpecificationsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe resize specification for On-Demand Instances in the instance fleet, which contains the allocation strategy, capacity reservation options, and the resize timeout period.default ObjectThe 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.Returns union: either
IResolvableorCfnClusterPropsMixin.OnDemandResizingSpecificationProperty- See Also:
-
getSpotResizeSpecification
The resize specification for Spot Instances in the instance fleet, which contains the allocation strategy and the resize timeout period.Returns union: either
IResolvableorCfnClusterPropsMixin.SpotResizingSpecificationProperty- See Also:
-
builder
@Stability(Stable) static CfnClusterPropsMixin.InstanceFleetResizingSpecificationsProperty.Builder builder()
-