Class CfnSpotFleet.SpotMaintenanceStrategiesProperty
The strategies for managing your Spot Instances that are at an elevated risk of being interrupted.
Inheritance
System.Object
CfnSpotFleet.SpotMaintenanceStrategiesProperty
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.AWS.EC2.dll
Syntax (csharp)
public class SpotMaintenanceStrategiesProperty : Object, CfnSpotFleet.ISpotMaintenanceStrategiesProperty
Syntax (vb)
Public Class SpotMaintenanceStrategiesProperty
Inherits Object
Implements CfnSpotFleet.ISpotMaintenanceStrategiesProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;
var spotMaintenanceStrategiesProperty = new SpotMaintenanceStrategiesProperty {
CapacityRebalance = new SpotCapacityRebalanceProperty {
ReplacementStrategy = "replacementStrategy",
TerminationDelay = 123
}
};
Synopsis
Constructors
SpotMaintenanceStrategiesProperty() |
Properties
CapacityRebalance | 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. |
Constructors
SpotMaintenanceStrategiesProperty()
public SpotMaintenanceStrategiesProperty()
Properties
CapacityRebalance
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.
public object CapacityRebalance { get; set; }
Property Value
System.Object
Remarks
For more information, see Capacity rebalancing in the Amazon EC2 User Guide for Linux Instances .