interface SpotMaintenanceStrategiesProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.EC2.CfnSpotFleetPropsMixin.SpotMaintenanceStrategiesProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsec2#CfnSpotFleetPropsMixin_SpotMaintenanceStrategiesProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnSpotFleetPropsMixin.SpotMaintenanceStrategiesProperty |
Python | aws_cdk.cfn_property_mixins.aws_ec2.CfnSpotFleetPropsMixin.SpotMaintenanceStrategiesProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_ec2 » CfnSpotFleetPropsMixin » SpotMaintenanceStrategiesProperty |
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 { aws_ec2 as ec2 } from '@aws-cdk/cfn-property-mixins';
const spotMaintenanceStrategiesProperty: ec2.CfnSpotFleetPropsMixin.SpotMaintenanceStrategiesProperty = {
capacityRebalance: {
replacementStrategy: 'replacementStrategy',
terminationDelay: 123,
},
};
Properties
| Name | Type | Description |
|---|---|---|
| capacity | IResolvable | Spot | 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. |
capacityRebalance?
Type:
IResolvable | Spot
(optional)
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 .

.NET
Go
Java
Python
TypeScript