interface MaintenanceStrategiesProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.EC2.CfnEC2Fleet.MaintenanceStrategiesProperty |
Java | software.amazon.awscdk.services.ec2.CfnEC2Fleet.MaintenanceStrategiesProperty |
Python | aws_cdk.aws_ec2.CfnEC2Fleet.MaintenanceStrategiesProperty |
TypeScript | @aws-cdk/aws-ec2 » CfnEC2Fleet » MaintenanceStrategiesProperty |
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 * as ec2 from '@aws-cdk/aws-ec2';
const maintenanceStrategiesProperty: ec2.CfnEC2Fleet.MaintenanceStrategiesProperty = {
capacityRebalance: {
replacementStrategy: 'replacementStrategy',
terminationDelay: 123,
},
};
Properties
Name | Type | Description |
---|---|---|
capacity | IResolvable | Capacity | The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted. |
capacityRebalance?
Type:
IResolvable
|
Capacity
(optional)
The strategy to use when Amazon EC2 emits a signal that your Spot Instance is at an elevated risk of being interrupted.