Interface CfnSpotFleetPropsMixin.SpotMaintenanceStrategiesProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSpotFleetPropsMixin.SpotMaintenanceStrategiesProperty.Jsii$Proxy
- Enclosing class:
CfnSpotFleetPropsMixin
@Stability(Stable)
public static interface CfnSpotFleetPropsMixin.SpotMaintenanceStrategiesProperty
extends software.amazon.jsii.JsiiSerializable
The strategies for managing your Spot Instances that are at an elevated risk of being interrupted.
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.ec2.*;
SpotMaintenanceStrategiesProperty spotMaintenanceStrategiesProperty = SpotMaintenanceStrategiesProperty.builder()
.capacityRebalance(SpotCapacityRebalanceProperty.builder()
.replacementStrategy("replacementStrategy")
.terminationDelay(123)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSpotFleetPropsMixin.SpotMaintenanceStrategiesPropertystatic final classAn implementation forCfnSpotFleetPropsMixin.SpotMaintenanceStrategiesProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCapacityRebalance
The Spot Instance replacement strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted.For more information, see Capacity rebalancing in the Amazon EC2 User Guide .
Returns union: either
IResolvableorCfnSpotFleetPropsMixin.SpotCapacityRebalanceProperty- See Also:
-
builder
@Stability(Stable) static CfnSpotFleetPropsMixin.SpotMaintenanceStrategiesProperty.Builder builder()
-