@@ -287,7 +287,8 @@ export interface Alarm {
287
287
export interface AlarmSpecification {
288
288
/**
289
289
* @public
290
- * <p>The names of one or more CloudWatch alarms to monitor for the instance refresh. You can specify up to 10 alarms.</p>
290
+ * <p>The names of one or more CloudWatch alarms to monitor for the instance refresh. You can
291
+ * specify up to 10 alarms.</p>
291
292
*/
292
293
Alarms ?: string [ ] ;
293
294
}
@@ -753,8 +754,7 @@ export interface InstanceMaintenancePolicy {
753
754
* <p>Specifies the lower threshold as a percentage of the desired capacity of the Auto Scaling
754
755
* group. It represents the minimum percentage of the group to keep in service, healthy,
755
756
* and ready to use to support your workload when replacing instances. Value range is 0 to
756
- * 100. After it's set, a value of <code>-1</code> will clear the previously set
757
- * value.</p>
757
+ * 100. To clear a previously set value, specify a value of <code>-1</code>.</p>
758
758
*/
759
759
MinHealthyPercentage ?: number ;
760
760
@@ -763,8 +763,7 @@ export interface InstanceMaintenancePolicy {
763
763
* <p>Specifies the upper threshold as a percentage of the desired capacity of the Auto Scaling
764
764
* group. It represents the maximum percentage of the group that can be in service and
765
765
* healthy, or pending, to support your workload when replacing instances. Value range is
766
- * 100 to 200. After it's set, a value of <code>-1</code> will clear the previously set
767
- * value. </p>
766
+ * 100 to 200. To clear a previously set value, specify a value of <code>-1</code>.</p>
768
767
* <p>Both <code>MinHealthyPercentage</code> and <code>MaxHealthyPercentage</code> must be
769
768
* specified, and the difference between them cannot be greater than 100. A large range
770
769
* increases the number of instances that can be replaced at the same time.</p>
@@ -1357,33 +1356,70 @@ export interface InstanceRequirements {
1357
1356
1358
1357
/**
1359
1358
* @public
1360
- * <p>The price protection threshold for Spot Instances. This is the maximum you’ll pay for
1361
- * a Spot Instance, expressed as a percentage higher than the least expensive current
1362
- * generation M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling
1363
- * selects instance types with your attributes, we will exclude instance types whose price
1364
- * is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling
1365
- * interprets as a percentage. To turn off price protection, specify a high value, such as
1366
- * <code>999999</code>. </p>
1359
+ * <p>[Price protection] The price protection threshold for Spot Instances, as a percentage
1360
+ * higher than an identified Spot price. The identified Spot price is the price of the
1361
+ * lowest priced current generation C, M, or R instance type with your specified
1362
+ * attributes. If no current generation C, M, or R instance type matches your attributes,
1363
+ * then the identified price is from either the lowest priced current generation instance
1364
+ * types or, failing that, the lowest priced previous generation instance types that match
1365
+ * your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will
1366
+ * exclude instance types whose price exceeds your specified threshold.</p>
1367
+ * <p>The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage.</p>
1368
+ * <p>To turn off price protection, specify a high value, such as <code>999999</code>. </p>
1367
1369
* <p>If you set <code>DesiredCapacityType</code> to <code>vcpu</code> or
1368
- * <code>memory-mib</code>, the price protection threshold is applied based on the per
1369
- * vCPU or per memory price instead of the per instance price. </p>
1370
+ * <code>memory-mib</code>, the price protection threshold is based on the per-vCPU or
1371
+ * per-memory price instead of the per instance price. </p>
1372
+ * <note>
1373
+ * <p>Only one of <code>SpotMaxPricePercentageOverLowestPrice</code> or
1374
+ * <code>MaxSpotPriceAsPercentageOfOptimalOnDemandPrice</code> can be
1375
+ * specified.</p>
1376
+ * </note>
1370
1377
* <p>Default: <code>100</code>
1371
1378
* </p>
1372
1379
*/
1373
1380
SpotMaxPricePercentageOverLowestPrice ?: number ;
1374
1381
1375
1382
/**
1376
1383
* @public
1377
- * <p>The price protection threshold for On-Demand Instances. This is the maximum you’ll pay
1378
- * for an On-Demand Instance, expressed as a percentage higher than the least expensive
1379
- * current generation M, C, or R instance type with your specified attributes. When
1380
- * Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types
1381
- * whose price is higher than your threshold. The parameter accepts an integer, which
1382
- * Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value,
1383
- * such as <code>999999</code>. </p>
1384
+ * <p>[Price protection] The price protection threshold for Spot Instances, as a percentage
1385
+ * of an identified On-Demand price. The identified On-Demand price is the price of the
1386
+ * lowest priced current generation C, M, or R instance type with your specified
1387
+ * attributes. If no current generation C, M, or R instance type matches your attributes,
1388
+ * then the identified price is from either the lowest priced current generation instance
1389
+ * types or, failing that, the lowest priced previous generation instance types that match
1390
+ * your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will
1391
+ * exclude instance types whose price exceeds your specified threshold.</p>
1392
+ * <p>The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage.</p>
1393
+ * <p>To indicate no price protection threshold, specify a high value, such as
1394
+ * <code>999999</code>. </p>
1384
1395
* <p>If you set <code>DesiredCapacityType</code> to <code>vcpu</code> or
1385
- * <code>memory-mib</code>, the price protection threshold is applied based on the per
1386
- * vCPU or per memory price instead of the per instance price. </p>
1396
+ * <code>memory-mib</code>, the price protection threshold is based on the per-vCPU or
1397
+ * per-memory price instead of the per instance price. </p>
1398
+ * <note>
1399
+ * <p>Only one of <code>SpotMaxPricePercentageOverLowestPrice</code> or
1400
+ * <code>MaxSpotPriceAsPercentageOfOptimalOnDemandPrice</code> can be specified. If
1401
+ * you don't specify either, then <code>SpotMaxPricePercentageOverLowestPrice</code> is
1402
+ * used and the value for that parameter defaults to <code>100</code>.</p>
1403
+ * </note>
1404
+ */
1405
+ MaxSpotPriceAsPercentageOfOptimalOnDemandPrice ?: number ;
1406
+
1407
+ /**
1408
+ * @public
1409
+ * <p>[Price protection] The price protection threshold for On-Demand Instances, as a
1410
+ * percentage higher than an identified On-Demand price. The identified On-Demand price is
1411
+ * the price of the lowest priced current generation C, M, or R instance type with your
1412
+ * specified attributes. If no current generation C, M, or R instance type matches your
1413
+ * attributes, then the identified price is from either the lowest priced current
1414
+ * generation instance types or, failing that, the lowest priced previous generation
1415
+ * instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with
1416
+ * your attributes, we will exclude instance types whose price exceeds your specified
1417
+ * threshold. </p>
1418
+ * <p>The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage.</p>
1419
+ * <p>To turn off price protection, specify a high value, such as <code>999999</code>. </p>
1420
+ * <p>If you set <code>DesiredCapacityType</code> to <code>vcpu</code> or
1421
+ * <code>memory-mib</code>, the price protection threshold is applied based on the
1422
+ * per-vCPU or per-memory price instead of the per instance price. </p>
1387
1423
* <p>Default: <code>20</code>
1388
1424
* </p>
1389
1425
*/
@@ -5017,8 +5053,8 @@ export interface Metric {
5017
5053
5018
5054
/**
5019
5055
* @public
5020
- * <p>This structure defines the CloudWatch metric to return, along with the statistic, period,
5021
- * and unit.</p>
5056
+ * <p>This structure defines the CloudWatch metric to return, along with the statistic and
5057
+ * unit.</p>
5022
5058
* <p>For more information about the CloudWatch terminology below, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html">Amazon CloudWatch
5023
5059
* concepts</a> in the <i>Amazon CloudWatch User Guide</i>.</p>
5024
5060
*/
0 commit comments