@Stability(value=Stable)
public static interface CfnSpotFleet.SpotMaintenanceStrategiesProperty
extends software.amazon.jsii.JsiiSerializable
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.ec2.*;
SpotMaintenanceStrategiesProperty spotMaintenanceStrategiesProperty = SpotMaintenanceStrategiesProperty.builder()
.capacityRebalance(SpotCapacityRebalanceProperty.builder()
.replacementStrategy("replacementStrategy")
.terminationDelay(123)
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnSpotFleet.SpotMaintenanceStrategiesProperty.Builder
A builder for
CfnSpotFleet.SpotMaintenanceStrategiesProperty |
static class |
CfnSpotFleet.SpotMaintenanceStrategiesProperty.Jsii$Proxy
An implementation for
CfnSpotFleet.SpotMaintenanceStrategiesProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnSpotFleet.SpotMaintenanceStrategiesProperty.Builder |
builder() |
default Object |
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.
|
@Stability(value=Stable) @Nullable default Object getCapacityRebalance()
For more information, see Capacity rebalancing in the Amazon EC2 User Guide for Linux Instances .
@Stability(value=Stable) static CfnSpotFleet.SpotMaintenanceStrategiesProperty.Builder builder()
Copyright © 2022. All rights reserved.