@aws-sdk/client-auto-scaling 3.381.0 → 3.384.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -238,9 +238,10 @@ export interface CreateAutoScalingGroupCommandOutput extends __MetadataBearer {
|
|
|
238
238
|
* // This example creates an Auto Scaling group.
|
|
239
239
|
* const input = {
|
|
240
240
|
* "AutoScalingGroupName": "my-auto-scaling-group",
|
|
241
|
+
* "DefaultInstanceWarmup": 120,
|
|
241
242
|
* "LaunchTemplate": {
|
|
242
243
|
* "LaunchTemplateName": "my-template-for-auto-scaling",
|
|
243
|
-
* "Version": "$
|
|
244
|
+
* "Version": "$Default"
|
|
244
245
|
* },
|
|
245
246
|
* "MaxInstanceLifetime": 2592000,
|
|
246
247
|
* "MaxSize": 3,
|
|
@@ -261,7 +262,7 @@ export interface CreateAutoScalingGroupCommandOutput extends __MetadataBearer {
|
|
|
261
262
|
* "HealthCheckType": "ELB",
|
|
262
263
|
* "LaunchTemplate": {
|
|
263
264
|
* "LaunchTemplateName": "my-template-for-auto-scaling",
|
|
264
|
-
* "Version": "$
|
|
265
|
+
* "Version": "$Default"
|
|
265
266
|
* },
|
|
266
267
|
* "MaxSize": 3,
|
|
267
268
|
* "MinSize": 1,
|
|
@@ -287,19 +288,19 @@ export interface CreateAutoScalingGroupCommandOutput extends __MetadataBearer {
|
|
|
287
288
|
* "InstancesDistribution": {
|
|
288
289
|
* "OnDemandBaseCapacity": 1,
|
|
289
290
|
* "OnDemandPercentageAboveBaseCapacity": 50,
|
|
290
|
-
* "SpotAllocationStrategy": "capacity-optimized"
|
|
291
|
+
* "SpotAllocationStrategy": "price-capacity-optimized"
|
|
291
292
|
* },
|
|
292
293
|
* "LaunchTemplate": {
|
|
293
294
|
* "LaunchTemplateSpecification": {
|
|
294
295
|
* "LaunchTemplateName": "my-launch-template-for-x86",
|
|
295
|
-
* "Version": "$
|
|
296
|
+
* "Version": "$Default"
|
|
296
297
|
* },
|
|
297
298
|
* "Overrides": [
|
|
298
299
|
* {
|
|
299
300
|
* "InstanceType": "c6g.large",
|
|
300
301
|
* "LaunchTemplateSpecification": {
|
|
301
302
|
* "LaunchTemplateName": "my-launch-template-for-arm",
|
|
302
|
-
* "Version": "$
|
|
303
|
+
* "Version": "$Default"
|
|
303
304
|
* }
|
|
304
305
|
* },
|
|
305
306
|
* {
|
|
@@ -242,8 +242,13 @@ export interface DescribeInstanceRefreshesCommandOutput extends DescribeInstance
|
|
|
242
242
|
* "InstancesToUpdate": 0,
|
|
243
243
|
* "PercentageComplete": 50,
|
|
244
244
|
* "Preferences": {
|
|
245
|
+
* "AlarmSpecification": {
|
|
246
|
+
* "Alarms": [
|
|
247
|
+
* "my-alarm"
|
|
248
|
+
* ]
|
|
249
|
+
* },
|
|
245
250
|
* "AutoRollback": true,
|
|
246
|
-
* "InstanceWarmup":
|
|
251
|
+
* "InstanceWarmup": 200,
|
|
247
252
|
* "MinHealthyPercentage": 90,
|
|
248
253
|
* "ScaleInProtectedInstances": "Ignore",
|
|
249
254
|
* "SkipMatching": false,
|
|
@@ -260,8 +265,13 @@ export interface DescribeInstanceRefreshesCommandOutput extends DescribeInstance
|
|
|
260
265
|
* "InstancesToUpdate": 0,
|
|
261
266
|
* "PercentageComplete": 100,
|
|
262
267
|
* "Preferences": {
|
|
268
|
+
* "AlarmSpecification": {
|
|
269
|
+
* "Alarms": [
|
|
270
|
+
* "my-alarm"
|
|
271
|
+
* ]
|
|
272
|
+
* },
|
|
263
273
|
* "AutoRollback": true,
|
|
264
|
-
* "InstanceWarmup":
|
|
274
|
+
* "InstanceWarmup": 200,
|
|
265
275
|
* "MinHealthyPercentage": 90,
|
|
266
276
|
* "ScaleInProtectedInstances": "Ignore",
|
|
267
277
|
* "SkipMatching": false,
|
|
@@ -216,9 +216,14 @@ export interface StartInstanceRefreshCommandOutput extends StartInstanceRefreshA
|
|
|
216
216
|
* }
|
|
217
217
|
* },
|
|
218
218
|
* "Preferences": {
|
|
219
|
-
* "
|
|
220
|
-
*
|
|
221
|
-
*
|
|
219
|
+
* "AlarmSpecification": {
|
|
220
|
+
* "Alarms": [
|
|
221
|
+
* "my-alarm"
|
|
222
|
+
* ]
|
|
223
|
+
* },
|
|
224
|
+
* "AutoRollback": true,
|
|
225
|
+
* "InstanceWarmup": 200,
|
|
226
|
+
* "MinHealthyPercentage": 90
|
|
222
227
|
* }
|
|
223
228
|
* };
|
|
224
229
|
* const command = new StartInstanceRefreshCommand(input);
|