From a1a1f67ff0e1e99f7f41232450c0b31ca83e72f8 Mon Sep 17 00:00:00 2001
From: awstools
For introductory exercises for creating an Auto Scaling group, see Getting started with - * Amazon EC2 Auto Scaling and Tutorial: Set up a - * scaled and load-balanced application in the - * Amazon EC2 Auto Scaling User Guide. For more information, see Auto Scaling - * groups in the Amazon EC2 Auto Scaling User Guide.
+ *If you're new to Amazon EC2 Auto Scaling, see the introductory tutorials in Get started + * with Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.
*Every Auto Scaling group has three size properties (DesiredCapacity
,
* MaxSize
, and MinSize
). Usually, you set these sizes based
* on a specific number of instances. However, if you configure a mixed instances policy
diff --git a/clients/client-auto-scaling/src/models/models_0.ts b/clients/client-auto-scaling/src/models/models_0.ts
index 53897771c292..3604ea664205 100644
--- a/clients/client-auto-scaling/src/models/models_0.ts
+++ b/clients/client-auto-scaling/src/models/models_0.ts
@@ -1364,18 +1364,19 @@ export interface InstanceRequirements {
* types or, failing that, the lowest priced previous generation instance types that match
* your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will
* exclude instance types whose price exceeds your specified threshold.
The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage.
- *To turn off price protection, specify a high value, such as 999999
.
The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage.
*If you set DesiredCapacityType
to vcpu
or
* memory-mib
, the price protection threshold is based on the per-vCPU or
* per-memory price instead of the per instance price.
Only one of SpotMaxPricePercentageOverLowestPrice
or
- * MaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be
- * specified.
MaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. If
+ * you don't specify either, Amazon EC2 Auto Scaling will automatically apply optimal price protection
+ * to consistently select from a wide range of instance types. To indicate no price
+ * protection threshold for Spot Instances, meaning you want to consider all instance
+ * types that match your attributes, include one of these parameters and specify a high
+ * value, such as 999999
.
* Default: 100
- *
The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage.
- *To indicate no price protection threshold, specify a high value, such as
- * 999999
.
If you set DesiredCapacityType
to vcpu
or
* memory-mib
, the price protection threshold is based on the per-vCPU or
* per-memory price instead of the per instance price.
Only one of SpotMaxPricePercentageOverLowestPrice
or
* MaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. If
- * you don't specify either, then SpotMaxPricePercentageOverLowestPrice
is
- * used and the value for that parameter defaults to 100
.
999999
.
* For more information, see Target tracking - * scaling policies and Step and simple scaling + * scaling policies and Step and simple scaling * policies in the Amazon EC2 Auto Scaling User Guide.
*/ PolicyType?: string; @@ -5986,7 +5988,7 @@ export interface ScalingPolicy { /** * @public *The minimum value to scale by when the adjustment type is
- * PercentChangeInCapacity
.
PercentChangeInCapacity
.
*/
MinAdjustmentMagnitude?: number;
@@ -6014,7 +6016,7 @@ export interface ScalingPolicy {
/**
* @public
* The aggregation type for the CloudWatch metrics. The valid values are Minimum
,
- * Maximum
, and Average
.
Maximum
, and Average
.
*/
MetricAggregationType?: string;
diff --git a/codegen/sdk-codegen/aws-models/auto-scaling.json b/codegen/sdk-codegen/aws-models/auto-scaling.json
index 221405c3fa1f..db1764d5dbb9 100644
--- a/codegen/sdk-codegen/aws-models/auto-scaling.json
+++ b/codegen/sdk-codegen/aws-models/auto-scaling.json
@@ -2796,7 +2796,7 @@
}
],
"traits": {
- "smithy.api#documentation": "\n We strongly recommend using a launch template when calling this operation to ensure full functionality for Amazon EC2 Auto Scaling and Amazon EC2.\n
\nCreates an Auto Scaling group with the specified name and attributes.
\nIf you exceed your maximum limit of Auto Scaling groups, the call fails. To query this limit,\n call the DescribeAccountLimits API. For information about updating\n this limit, see Quotas for\n Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.
\nFor introductory exercises for creating an Auto Scaling group, see Getting started with\n Amazon EC2 Auto Scaling and Tutorial: Set up a\n scaled and load-balanced application in the\n Amazon EC2 Auto Scaling User Guide. For more information, see Auto Scaling\n groups in the Amazon EC2 Auto Scaling User Guide.
\nEvery Auto Scaling group has three size properties (DesiredCapacity
,\n MaxSize
, and MinSize
). Usually, you set these sizes based\n on a specific number of instances. However, if you configure a mixed instances policy\n that defines weights for the instance types, you must specify these sizes with the same\n units that you use for weighting instances.
\n We strongly recommend using a launch template when calling this operation to ensure full functionality for Amazon EC2 Auto Scaling and Amazon EC2.\n
\nCreates an Auto Scaling group with the specified name and attributes.
\nIf you exceed your maximum limit of Auto Scaling groups, the call fails. To query this limit,\n call the DescribeAccountLimits API. For information about updating\n this limit, see Quotas for\n Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.
\nIf you're new to Amazon EC2 Auto Scaling, see the introductory tutorials in Get started\n with Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.
\nEvery Auto Scaling group has three size properties (DesiredCapacity
,\n MaxSize
, and MinSize
). Usually, you set these sizes based\n on a specific number of instances. However, if you configure a mixed instances policy\n that defines weights for the instance types, you must specify these sizes with the same\n units that you use for weighting instances.
[Price protection] The price protection threshold for Spot Instances, as a percentage\n higher than an identified Spot price. The identified Spot price is the price of the\n lowest priced current generation C, M, or R instance type with your specified\n attributes. If no current generation C, M, or R instance type matches your attributes,\n then the identified price is from either the lowest priced current generation instance\n types or, failing that, the lowest priced previous generation instance types that match\n your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will\n exclude instance types whose price exceeds your specified threshold.
\nThe parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage.
\nTo turn off price protection, specify a high value, such as 999999
.
If you set DesiredCapacityType
to vcpu
or\n memory-mib
, the price protection threshold is based on the per-vCPU or\n per-memory price instead of the per instance price.
Only one of SpotMaxPricePercentageOverLowestPrice
or\n MaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be\n specified.
Default: 100
\n
[Price protection] The price protection threshold for Spot Instances, as a percentage\n higher than an identified Spot price. The identified Spot price is the price of the\n lowest priced current generation C, M, or R instance type with your specified\n attributes. If no current generation C, M, or R instance type matches your attributes,\n then the identified price is from either the lowest priced current generation instance\n types or, failing that, the lowest priced previous generation instance types that match\n your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will\n exclude instance types whose price exceeds your specified threshold.
\nThe parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage.
\nIf you set DesiredCapacityType
to vcpu
or\n memory-mib
, the price protection threshold is based on the per-vCPU or\n per-memory price instead of the per instance price.
Only one of SpotMaxPricePercentageOverLowestPrice
or\n MaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. If\n you don't specify either, Amazon EC2 Auto Scaling will automatically apply optimal price protection\n to consistently select from a wide range of instance types. To indicate no price\n protection threshold for Spot Instances, meaning you want to consider all instance\n types that match your attributes, include one of these parameters and specify a high\n value, such as 999999
.
[Price protection] The price protection threshold for Spot Instances, as a percentage\n of an identified On-Demand price. The identified On-Demand price is the price of the\n lowest priced current generation C, M, or R instance type with your specified\n attributes. If no current generation C, M, or R instance type matches your attributes,\n then the identified price is from either the lowest priced current generation instance\n types or, failing that, the lowest priced previous generation instance types that match\n your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will\n exclude instance types whose price exceeds your specified threshold.
\nThe parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage.
\nTo indicate no price protection threshold, specify a high value, such as\n 999999
.
If you set DesiredCapacityType
to vcpu
or\n memory-mib
, the price protection threshold is based on the per-vCPU or\n per-memory price instead of the per instance price.
Only one of SpotMaxPricePercentageOverLowestPrice
or\n MaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. If\n you don't specify either, then SpotMaxPricePercentageOverLowestPrice
is\n used and the value for that parameter defaults to 100
.
[Price protection] The price protection threshold for Spot Instances, as a percentage\n of an identified On-Demand price. The identified On-Demand price is the price of the\n lowest priced current generation C, M, or R instance type with your specified\n attributes. If no current generation C, M, or R instance type matches your attributes,\n then the identified price is from either the lowest priced current generation instance\n types or, failing that, the lowest priced previous generation instance types that match\n your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will\n exclude instance types whose price exceeds your specified threshold.
\nThe parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage.
\nIf you set DesiredCapacityType
to vcpu
or\n memory-mib
, the price protection threshold is based on the per-vCPU or\n per-memory price instead of the per instance price.
Only one of SpotMaxPricePercentageOverLowestPrice
or\n MaxSpotPriceAsPercentageOfOptimalOnDemandPrice
can be specified. If\n you don't specify either, Amazon EC2 Auto Scaling will automatically apply optimal price protection\n to consistently select from a wide range of instance types. To indicate no price\n protection threshold for Spot Instances, meaning you want to consider all instance\n types that match your attributes, include one of these parameters and specify a high\n value, such as 999999
.
One of the following policy types:
\n\n TargetTrackingScaling
\n
\n StepScaling
\n
\n SimpleScaling
(default)
\n PredictiveScaling
\n
For more information, see Target tracking\n scaling policies and Step and simple scaling\n policies in the Amazon EC2 Auto Scaling User Guide.
" + "smithy.api#documentation": "One of the following policy types:
\n\n TargetTrackingScaling
\n
\n StepScaling
\n
\n SimpleScaling
(default)
\n PredictiveScaling
\n
For more information, see Target tracking\n scaling policies and Step and simple scaling\n policies in the Amazon EC2 Auto Scaling User Guide.
" } }, "AdjustmentType": { @@ -9626,7 +9626,7 @@ "MinAdjustmentMagnitude": { "target": "com.amazonaws.autoscaling#MinAdjustmentMagnitude", "traits": { - "smithy.api#documentation": "The minimum value to scale by when the adjustment type is\n PercentChangeInCapacity
.
The minimum value to scale by when the adjustment type is\n PercentChangeInCapacity
.
The aggregation type for the CloudWatch metrics. The valid values are Minimum
,\n Maximum
, and Average
.
The aggregation type for the CloudWatch metrics. The valid values are Minimum
,\n Maximum
, and Average
.