Class CfnSpotFleet.SpotMaintenanceStrategiesProperty
The strategies for managing your Spot Instances that are at an elevated risk of being interrupted.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.EC2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnSpotFleet.SpotMaintenanceStrategiesProperty : CfnSpotFleet.ISpotMaintenanceStrategiesProperty
Syntax (vb)
Public Class CfnSpotFleet.SpotMaintenanceStrategiesProperty 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() | The strategies for managing your Spot Instances that are at an elevated risk of being interrupted. |
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()
The strategies for managing your Spot Instances that are at an elevated risk of being interrupted.
public SpotMaintenanceStrategiesProperty()
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
}
};
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
Remarks
For more information, see Capacity rebalancing in the Amazon EC2 User Guide .
Type union: either IResolvable or CfnSpotFleet.ISpotCapacityRebalanceProperty