@aws-sdk/client-auto-scaling 3.451.0 → 3.452.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.
- package/dist-cjs/protocols/Aws_query.js +43 -0
- package/dist-es/protocols/Aws_query.js +43 -0
- package/dist-types/commands/CreateAutoScalingGroupCommand.d.ts +4 -0
- package/dist-types/commands/CreateLaunchConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAutoScalingGroupsCommand.d.ts +4 -0
- package/dist-types/commands/DescribeInstanceRefreshesCommand.d.ts +1 -0
- package/dist-types/commands/StartInstanceRefreshCommand.d.ts +2 -3
- package/dist-types/commands/UpdateAutoScalingGroupCommand.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +105 -47
- package/dist-types/ts3.4/models/models_0.d.ts +8 -0
- package/package.json +1 -1
|
@@ -3585,6 +3585,13 @@ const se_CreateAutoScalingGroupType = (input, context) => {
|
|
|
3585
3585
|
entries[loc] = value;
|
|
3586
3586
|
});
|
|
3587
3587
|
}
|
|
3588
|
+
if (input.InstanceMaintenancePolicy != null) {
|
|
3589
|
+
const memberEntries = se_InstanceMaintenancePolicy(input.InstanceMaintenancePolicy, context);
|
|
3590
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3591
|
+
const loc = `InstanceMaintenancePolicy.${key}`;
|
|
3592
|
+
entries[loc] = value;
|
|
3593
|
+
});
|
|
3594
|
+
}
|
|
3588
3595
|
return entries;
|
|
3589
3596
|
};
|
|
3590
3597
|
const se_CreateLaunchConfigurationType = (input, context) => {
|
|
@@ -4335,6 +4342,16 @@ const se_InstanceIds = (input, context) => {
|
|
|
4335
4342
|
}
|
|
4336
4343
|
return entries;
|
|
4337
4344
|
};
|
|
4345
|
+
const se_InstanceMaintenancePolicy = (input, context) => {
|
|
4346
|
+
const entries = {};
|
|
4347
|
+
if (input.MinHealthyPercentage != null) {
|
|
4348
|
+
entries["MinHealthyPercentage"] = input.MinHealthyPercentage;
|
|
4349
|
+
}
|
|
4350
|
+
if (input.MaxHealthyPercentage != null) {
|
|
4351
|
+
entries["MaxHealthyPercentage"] = input.MaxHealthyPercentage;
|
|
4352
|
+
}
|
|
4353
|
+
return entries;
|
|
4354
|
+
};
|
|
4338
4355
|
const se_InstanceMetadataOptions = (input, context) => {
|
|
4339
4356
|
const entries = {};
|
|
4340
4357
|
if (input.HttpTokens != null) {
|
|
@@ -5349,6 +5366,9 @@ const se_RefreshPreferences = (input, context) => {
|
|
|
5349
5366
|
entries[loc] = value;
|
|
5350
5367
|
});
|
|
5351
5368
|
}
|
|
5369
|
+
if (input.MaxHealthyPercentage != null) {
|
|
5370
|
+
entries["MaxHealthyPercentage"] = input.MaxHealthyPercentage;
|
|
5371
|
+
}
|
|
5352
5372
|
return entries;
|
|
5353
5373
|
};
|
|
5354
5374
|
const se_RollbackInstanceRefreshType = (input, context) => {
|
|
@@ -5809,6 +5829,13 @@ const se_UpdateAutoScalingGroupType = (input, context) => {
|
|
|
5809
5829
|
if (input.DefaultInstanceWarmup != null) {
|
|
5810
5830
|
entries["DefaultInstanceWarmup"] = input.DefaultInstanceWarmup;
|
|
5811
5831
|
}
|
|
5832
|
+
if (input.InstanceMaintenancePolicy != null) {
|
|
5833
|
+
const memberEntries = se_InstanceMaintenancePolicy(input.InstanceMaintenancePolicy, context);
|
|
5834
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5835
|
+
const loc = `InstanceMaintenancePolicy.${key}`;
|
|
5836
|
+
entries[loc] = value;
|
|
5837
|
+
});
|
|
5838
|
+
}
|
|
5812
5839
|
return entries;
|
|
5813
5840
|
};
|
|
5814
5841
|
const se_Values = (input, context) => {
|
|
@@ -6153,6 +6180,9 @@ const de_AutoScalingGroup = (output, context) => {
|
|
|
6153
6180
|
else if (output["TrafficSources"] !== undefined && output["TrafficSources"]["member"] !== undefined) {
|
|
6154
6181
|
contents.TrafficSources = de_TrafficSources((0, smithy_client_1.getArrayIfSingleItem)(output["TrafficSources"]["member"]), context);
|
|
6155
6182
|
}
|
|
6183
|
+
if (output["InstanceMaintenancePolicy"] !== undefined) {
|
|
6184
|
+
contents.InstanceMaintenancePolicy = de_InstanceMaintenancePolicy(output["InstanceMaintenancePolicy"], context);
|
|
6185
|
+
}
|
|
6156
6186
|
return contents;
|
|
6157
6187
|
};
|
|
6158
6188
|
const de_AutoScalingGroups = (output, context) => {
|
|
@@ -6724,6 +6754,16 @@ const de_InstanceGenerations = (output, context) => {
|
|
|
6724
6754
|
return (0, smithy_client_1.expectString)(entry);
|
|
6725
6755
|
});
|
|
6726
6756
|
};
|
|
6757
|
+
const de_InstanceMaintenancePolicy = (output, context) => {
|
|
6758
|
+
const contents = {};
|
|
6759
|
+
if (output["MinHealthyPercentage"] !== undefined) {
|
|
6760
|
+
contents.MinHealthyPercentage = (0, smithy_client_1.strictParseInt32)(output["MinHealthyPercentage"]);
|
|
6761
|
+
}
|
|
6762
|
+
if (output["MaxHealthyPercentage"] !== undefined) {
|
|
6763
|
+
contents.MaxHealthyPercentage = (0, smithy_client_1.strictParseInt32)(output["MaxHealthyPercentage"]);
|
|
6764
|
+
}
|
|
6765
|
+
return contents;
|
|
6766
|
+
};
|
|
6727
6767
|
const de_InstanceMetadataOptions = (output, context) => {
|
|
6728
6768
|
const contents = {};
|
|
6729
6769
|
if (output["HttpTokens"] !== undefined) {
|
|
@@ -7640,6 +7680,9 @@ const de_RefreshPreferences = (output, context) => {
|
|
|
7640
7680
|
if (output["AlarmSpecification"] !== undefined) {
|
|
7641
7681
|
contents.AlarmSpecification = de_AlarmSpecification(output["AlarmSpecification"], context);
|
|
7642
7682
|
}
|
|
7683
|
+
if (output["MaxHealthyPercentage"] !== undefined) {
|
|
7684
|
+
contents.MaxHealthyPercentage = (0, smithy_client_1.strictParseInt32)(output["MaxHealthyPercentage"]);
|
|
7685
|
+
}
|
|
7643
7686
|
return contents;
|
|
7644
7687
|
};
|
|
7645
7688
|
const de_ResourceContentionFault = (output, context) => {
|
|
@@ -3450,6 +3450,13 @@ const se_CreateAutoScalingGroupType = (input, context) => {
|
|
|
3450
3450
|
entries[loc] = value;
|
|
3451
3451
|
});
|
|
3452
3452
|
}
|
|
3453
|
+
if (input.InstanceMaintenancePolicy != null) {
|
|
3454
|
+
const memberEntries = se_InstanceMaintenancePolicy(input.InstanceMaintenancePolicy, context);
|
|
3455
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
3456
|
+
const loc = `InstanceMaintenancePolicy.${key}`;
|
|
3457
|
+
entries[loc] = value;
|
|
3458
|
+
});
|
|
3459
|
+
}
|
|
3453
3460
|
return entries;
|
|
3454
3461
|
};
|
|
3455
3462
|
const se_CreateLaunchConfigurationType = (input, context) => {
|
|
@@ -4200,6 +4207,16 @@ const se_InstanceIds = (input, context) => {
|
|
|
4200
4207
|
}
|
|
4201
4208
|
return entries;
|
|
4202
4209
|
};
|
|
4210
|
+
const se_InstanceMaintenancePolicy = (input, context) => {
|
|
4211
|
+
const entries = {};
|
|
4212
|
+
if (input.MinHealthyPercentage != null) {
|
|
4213
|
+
entries["MinHealthyPercentage"] = input.MinHealthyPercentage;
|
|
4214
|
+
}
|
|
4215
|
+
if (input.MaxHealthyPercentage != null) {
|
|
4216
|
+
entries["MaxHealthyPercentage"] = input.MaxHealthyPercentage;
|
|
4217
|
+
}
|
|
4218
|
+
return entries;
|
|
4219
|
+
};
|
|
4203
4220
|
const se_InstanceMetadataOptions = (input, context) => {
|
|
4204
4221
|
const entries = {};
|
|
4205
4222
|
if (input.HttpTokens != null) {
|
|
@@ -5214,6 +5231,9 @@ const se_RefreshPreferences = (input, context) => {
|
|
|
5214
5231
|
entries[loc] = value;
|
|
5215
5232
|
});
|
|
5216
5233
|
}
|
|
5234
|
+
if (input.MaxHealthyPercentage != null) {
|
|
5235
|
+
entries["MaxHealthyPercentage"] = input.MaxHealthyPercentage;
|
|
5236
|
+
}
|
|
5217
5237
|
return entries;
|
|
5218
5238
|
};
|
|
5219
5239
|
const se_RollbackInstanceRefreshType = (input, context) => {
|
|
@@ -5674,6 +5694,13 @@ const se_UpdateAutoScalingGroupType = (input, context) => {
|
|
|
5674
5694
|
if (input.DefaultInstanceWarmup != null) {
|
|
5675
5695
|
entries["DefaultInstanceWarmup"] = input.DefaultInstanceWarmup;
|
|
5676
5696
|
}
|
|
5697
|
+
if (input.InstanceMaintenancePolicy != null) {
|
|
5698
|
+
const memberEntries = se_InstanceMaintenancePolicy(input.InstanceMaintenancePolicy, context);
|
|
5699
|
+
Object.entries(memberEntries).forEach(([key, value]) => {
|
|
5700
|
+
const loc = `InstanceMaintenancePolicy.${key}`;
|
|
5701
|
+
entries[loc] = value;
|
|
5702
|
+
});
|
|
5703
|
+
}
|
|
5677
5704
|
return entries;
|
|
5678
5705
|
};
|
|
5679
5706
|
const se_Values = (input, context) => {
|
|
@@ -6018,6 +6045,9 @@ const de_AutoScalingGroup = (output, context) => {
|
|
|
6018
6045
|
else if (output["TrafficSources"] !== undefined && output["TrafficSources"]["member"] !== undefined) {
|
|
6019
6046
|
contents.TrafficSources = de_TrafficSources(__getArrayIfSingleItem(output["TrafficSources"]["member"]), context);
|
|
6020
6047
|
}
|
|
6048
|
+
if (output["InstanceMaintenancePolicy"] !== undefined) {
|
|
6049
|
+
contents.InstanceMaintenancePolicy = de_InstanceMaintenancePolicy(output["InstanceMaintenancePolicy"], context);
|
|
6050
|
+
}
|
|
6021
6051
|
return contents;
|
|
6022
6052
|
};
|
|
6023
6053
|
const de_AutoScalingGroups = (output, context) => {
|
|
@@ -6589,6 +6619,16 @@ const de_InstanceGenerations = (output, context) => {
|
|
|
6589
6619
|
return __expectString(entry);
|
|
6590
6620
|
});
|
|
6591
6621
|
};
|
|
6622
|
+
const de_InstanceMaintenancePolicy = (output, context) => {
|
|
6623
|
+
const contents = {};
|
|
6624
|
+
if (output["MinHealthyPercentage"] !== undefined) {
|
|
6625
|
+
contents.MinHealthyPercentage = __strictParseInt32(output["MinHealthyPercentage"]);
|
|
6626
|
+
}
|
|
6627
|
+
if (output["MaxHealthyPercentage"] !== undefined) {
|
|
6628
|
+
contents.MaxHealthyPercentage = __strictParseInt32(output["MaxHealthyPercentage"]);
|
|
6629
|
+
}
|
|
6630
|
+
return contents;
|
|
6631
|
+
};
|
|
6592
6632
|
const de_InstanceMetadataOptions = (output, context) => {
|
|
6593
6633
|
const contents = {};
|
|
6594
6634
|
if (output["HttpTokens"] !== undefined) {
|
|
@@ -7505,6 +7545,9 @@ const de_RefreshPreferences = (output, context) => {
|
|
|
7505
7545
|
if (output["AlarmSpecification"] !== undefined) {
|
|
7506
7546
|
contents.AlarmSpecification = de_AlarmSpecification(output["AlarmSpecification"], context);
|
|
7507
7547
|
}
|
|
7548
|
+
if (output["MaxHealthyPercentage"] !== undefined) {
|
|
7549
|
+
contents.MaxHealthyPercentage = __strictParseInt32(output["MaxHealthyPercentage"]);
|
|
7550
|
+
}
|
|
7508
7551
|
return contents;
|
|
7509
7552
|
};
|
|
7510
7553
|
const de_ResourceContentionFault = (output, context) => {
|
|
@@ -201,6 +201,10 @@ export interface CreateAutoScalingGroupCommandOutput extends __MetadataBearer {
|
|
|
201
201
|
* Type: "STRING_VALUE",
|
|
202
202
|
* },
|
|
203
203
|
* ],
|
|
204
|
+
* InstanceMaintenancePolicy: { // InstanceMaintenancePolicy
|
|
205
|
+
* MinHealthyPercentage: Number("int"),
|
|
206
|
+
* MaxHealthyPercentage: Number("int"),
|
|
207
|
+
* },
|
|
204
208
|
* };
|
|
205
209
|
* const command = new CreateAutoScalingGroupCommand(input);
|
|
206
210
|
* const response = await client.send(command);
|
|
@@ -29,7 +29,7 @@ export interface CreateLaunchConfigurationCommandOutput extends __MetadataBearer
|
|
|
29
29
|
* updating this limit, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-quotas.html">Quotas for
|
|
30
30
|
* Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
31
31
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/LaunchConfiguration.html">Launch
|
|
32
|
-
*
|
|
32
|
+
* configurations</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
33
33
|
* <note>
|
|
34
34
|
* <p>Amazon EC2 Auto Scaling configures instances launched as part of an Auto Scaling group using either a
|
|
35
35
|
* launch template or a launch configuration. We strongly recommend that you do not use
|
|
@@ -236,6 +236,10 @@ export interface DescribeAutoScalingGroupsCommandOutput extends AutoScalingGroup
|
|
|
236
236
|
* // Type: "STRING_VALUE",
|
|
237
237
|
* // },
|
|
238
238
|
* // ],
|
|
239
|
+
* // InstanceMaintenancePolicy: { // InstanceMaintenancePolicy
|
|
240
|
+
* // MinHealthyPercentage: Number("int"),
|
|
241
|
+
* // MaxHealthyPercentage: Number("int"),
|
|
242
|
+
* // },
|
|
239
243
|
* // },
|
|
240
244
|
* // ],
|
|
241
245
|
* // NextToken: "STRING_VALUE",
|
|
@@ -86,6 +86,7 @@ export interface DescribeInstanceRefreshesCommandOutput extends DescribeInstance
|
|
|
86
86
|
* // "STRING_VALUE",
|
|
87
87
|
* // ],
|
|
88
88
|
* // },
|
|
89
|
+
* // MaxHealthyPercentage: Number("int"),
|
|
89
90
|
* // },
|
|
90
91
|
* // DesiredConfiguration: { // DesiredConfiguration
|
|
91
92
|
* // LaunchTemplate: { // LaunchTemplateSpecification
|
|
@@ -23,9 +23,7 @@ export interface StartInstanceRefreshCommandOutput extends StartInstanceRefreshA
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Starts an instance refresh
|
|
27
|
-
* update of instances in an Auto Scaling group. Instances are terminated first and then replaced,
|
|
28
|
-
* which temporarily reduces the capacity available within your Auto Scaling group.</p>
|
|
26
|
+
* <p>Starts an instance refresh.</p>
|
|
29
27
|
* <p>This operation is part of the <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html">instance refresh
|
|
30
28
|
* feature</a> in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group.
|
|
31
29
|
* This feature is helpful, for example, when you have a new AMI or a new user data script.
|
|
@@ -171,6 +169,7 @@ export interface StartInstanceRefreshCommandOutput extends StartInstanceRefreshA
|
|
|
171
169
|
* "STRING_VALUE",
|
|
172
170
|
* ],
|
|
173
171
|
* },
|
|
172
|
+
* MaxHealthyPercentage: Number("int"),
|
|
174
173
|
* },
|
|
175
174
|
* };
|
|
176
175
|
* const command = new StartInstanceRefreshCommand(input);
|
|
@@ -194,6 +194,10 @@ export interface UpdateAutoScalingGroupCommandOutput extends __MetadataBearer {
|
|
|
194
194
|
* Context: "STRING_VALUE",
|
|
195
195
|
* DesiredCapacityType: "STRING_VALUE",
|
|
196
196
|
* DefaultInstanceWarmup: Number("int"),
|
|
197
|
+
* InstanceMaintenancePolicy: { // InstanceMaintenancePolicy
|
|
198
|
+
* MinHealthyPercentage: Number("int"),
|
|
199
|
+
* MaxHealthyPercentage: Number("int"),
|
|
200
|
+
* },
|
|
197
201
|
* };
|
|
198
202
|
* const command = new UpdateAutoScalingGroupCommand(input);
|
|
199
203
|
* const response = await client.send(command);
|
|
@@ -633,6 +633,35 @@ export interface CompleteLifecycleActionType {
|
|
|
633
633
|
*/
|
|
634
634
|
InstanceId?: string;
|
|
635
635
|
}
|
|
636
|
+
/**
|
|
637
|
+
* @public
|
|
638
|
+
* <p>Describes an instance maintenance policy.</p>
|
|
639
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-maintenance-policy.html">Set instance maintenance policy</a> in the
|
|
640
|
+
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
641
|
+
*/
|
|
642
|
+
export interface InstanceMaintenancePolicy {
|
|
643
|
+
/**
|
|
644
|
+
* @public
|
|
645
|
+
* <p>Specifies the lower threshold as a percentage of the desired capacity of the Auto Scaling
|
|
646
|
+
* group. It represents the minimum percentage of the group to keep in service, healthy,
|
|
647
|
+
* and ready to use to support your workload when replacing instances. Value range is 0 to
|
|
648
|
+
* 100. After it's set, a value of <code>-1</code> will clear the previously set
|
|
649
|
+
* value.</p>
|
|
650
|
+
*/
|
|
651
|
+
MinHealthyPercentage?: number;
|
|
652
|
+
/**
|
|
653
|
+
* @public
|
|
654
|
+
* <p>Specifies the upper threshold as a percentage of the desired capacity of the Auto Scaling
|
|
655
|
+
* group. It represents the maximum percentage of the group that can be in service and
|
|
656
|
+
* healthy, or pending, to support your workload when replacing instances. Value range is
|
|
657
|
+
* 100 to 200. After it's set, a value of <code>-1</code> will clear the previously set
|
|
658
|
+
* value. </p>
|
|
659
|
+
* <p>Both <code>MinHealthyPercentage</code> and <code>MaxHealthyPercentage</code> must be
|
|
660
|
+
* specified, and the difference between them cannot be greater than 100. A large range
|
|
661
|
+
* increases the number of instances that can be replaced at the same time.</p>
|
|
662
|
+
*/
|
|
663
|
+
MaxHealthyPercentage?: number;
|
|
664
|
+
}
|
|
636
665
|
/**
|
|
637
666
|
* @public
|
|
638
667
|
* <p>Describes the launch template and the version of the launch template that Amazon EC2 Auto Scaling
|
|
@@ -1812,6 +1841,12 @@ export interface CreateAutoScalingGroupType {
|
|
|
1812
1841
|
* VPC Lattice.</p>
|
|
1813
1842
|
*/
|
|
1814
1843
|
TrafficSources?: TrafficSourceIdentifier[];
|
|
1844
|
+
/**
|
|
1845
|
+
* @public
|
|
1846
|
+
* <p>An instance maintenance policy. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-maintenance-policy.html">Set instance maintenance policy</a> in the
|
|
1847
|
+
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
1848
|
+
*/
|
|
1849
|
+
InstanceMaintenancePolicy?: InstanceMaintenancePolicy;
|
|
1815
1850
|
}
|
|
1816
1851
|
/**
|
|
1817
1852
|
* @public
|
|
@@ -1855,9 +1890,9 @@ export interface Ebs {
|
|
|
1855
1890
|
/**
|
|
1856
1891
|
* @public
|
|
1857
1892
|
* <p>The volume type. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html">Amazon EBS volume types</a> in the
|
|
1858
|
-
*
|
|
1893
|
+
* <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
1859
1894
|
* <p>Valid values: <code>standard</code> | <code>io1</code> | <code>gp2</code> |
|
|
1860
|
-
*
|
|
1895
|
+
* <code>st1</code> | <code>sc1</code> | <code>gp3</code>
|
|
1861
1896
|
* </p>
|
|
1862
1897
|
*/
|
|
1863
1898
|
VolumeType?: string;
|
|
@@ -1886,11 +1921,11 @@ export interface Ebs {
|
|
|
1886
1921
|
* </li>
|
|
1887
1922
|
* </ul>
|
|
1888
1923
|
* <p>For <code>io1</code> volumes, we guarantee 64,000 IOPS only for <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances">Instances
|
|
1889
|
-
*
|
|
1924
|
+
* built on the Nitro System</a>. Other instance families guarantee performance up
|
|
1890
1925
|
* to 32,000 IOPS. </p>
|
|
1891
1926
|
* <p>
|
|
1892
1927
|
* <code>Iops</code> is supported when the volume type is <code>gp3</code> or
|
|
1893
|
-
*
|
|
1928
|
+
* <code>io1</code> and required only when the volume type is <code>io1</code>. (Not
|
|
1894
1929
|
* used with <code>standard</code>, <code>gp2</code>, <code>st1</code>, or <code>sc1</code>
|
|
1895
1930
|
* volumes.) </p>
|
|
1896
1931
|
*/
|
|
@@ -1908,7 +1943,7 @@ export interface Ebs {
|
|
|
1908
1943
|
* encrypted, either using the Amazon Web Services managed KMS key or a customer-managed KMS key,
|
|
1909
1944
|
* regardless of whether the snapshot was encrypted. </p>
|
|
1910
1945
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-data-protection.html#encryption">Use Amazon Web Services KMS keys to encrypt Amazon EBS volumes</a> in the
|
|
1911
|
-
*
|
|
1946
|
+
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
1912
1947
|
* </note>
|
|
1913
1948
|
*/
|
|
1914
1949
|
Encrypted?: boolean;
|
|
@@ -1927,19 +1962,19 @@ export interface BlockDeviceMapping {
|
|
|
1927
1962
|
* @public
|
|
1928
1963
|
* <p>The name of the instance store volume (virtual device) to attach to an instance at
|
|
1929
1964
|
* launch. The name must be in the form ephemeral<i>X</i> where
|
|
1930
|
-
*
|
|
1931
|
-
*
|
|
1965
|
+
* <i>X</i> is a number starting from zero (0), for example,
|
|
1966
|
+
* <code>ephemeral0</code>.</p>
|
|
1932
1967
|
*/
|
|
1933
1968
|
VirtualName?: string;
|
|
1934
1969
|
/**
|
|
1935
1970
|
* @public
|
|
1936
1971
|
* <p>The device name assigned to the volume (for example, <code>/dev/sdh</code> or
|
|
1937
|
-
*
|
|
1972
|
+
* <code>xvdh</code>). For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html">Device naming on Linux
|
|
1938
1973
|
* instances</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
1939
1974
|
* <note>
|
|
1940
1975
|
* <p>To define a block device mapping, set the device name and exactly one of the
|
|
1941
1976
|
* following properties: <code>Ebs</code>, <code>NoDevice</code>, or
|
|
1942
|
-
*
|
|
1977
|
+
* <code>VirtualName</code>.</p>
|
|
1943
1978
|
* </note>
|
|
1944
1979
|
*/
|
|
1945
1980
|
DeviceName: string | undefined;
|
|
@@ -2047,7 +2082,7 @@ export interface CreateLaunchConfigurationType {
|
|
|
2047
2082
|
* @public
|
|
2048
2083
|
* <p>The ID of the Amazon Machine Image (AMI) that was assigned during registration. For
|
|
2049
2084
|
* more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html">Finding a Linux AMI</a> in the
|
|
2050
|
-
*
|
|
2085
|
+
* <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
2051
2086
|
* <p>If you specify <code>InstanceId</code>, an <code>ImageId</code> is not
|
|
2052
2087
|
* required.</p>
|
|
2053
2088
|
*/
|
|
@@ -2055,7 +2090,7 @@ export interface CreateLaunchConfigurationType {
|
|
|
2055
2090
|
/**
|
|
2056
2091
|
* @public
|
|
2057
2092
|
* <p>The name of the key pair. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html">Amazon EC2 key pairs and Linux
|
|
2058
|
-
*
|
|
2093
|
+
* instances</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
2059
2094
|
*/
|
|
2060
2095
|
KeyName?: string;
|
|
2061
2096
|
/**
|
|
@@ -2063,7 +2098,7 @@ export interface CreateLaunchConfigurationType {
|
|
|
2063
2098
|
* <p>A list that contains the security group IDs to assign to the instances in the Auto Scaling
|
|
2064
2099
|
* group. For more information, see <a href="https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html">Control traffic to
|
|
2065
2100
|
* resources using security groups</a> in the <i>Amazon Virtual Private
|
|
2066
|
-
*
|
|
2101
|
+
* Cloud User Guide</i>.</p>
|
|
2067
2102
|
*/
|
|
2068
2103
|
SecurityGroups?: string[];
|
|
2069
2104
|
/**
|
|
@@ -2080,7 +2115,7 @@ export interface CreateLaunchConfigurationType {
|
|
|
2080
2115
|
* @public
|
|
2081
2116
|
* <p>The user data to make available to the launched EC2 instances. For more information,
|
|
2082
2117
|
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html">Instance metadata and user data</a> (Linux) and <a href="https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-instance-metadata.html">Instance metadata and
|
|
2083
|
-
*
|
|
2118
|
+
* user data</a> (Windows). If you are using a command line tool, base64-encoding
|
|
2084
2119
|
* is performed for you, and you can load the text from a file. Otherwise, you must provide
|
|
2085
2120
|
* base64-encoded text. User data is limited to 16 KB.</p>
|
|
2086
2121
|
*/
|
|
@@ -2093,8 +2128,8 @@ export interface CreateLaunchConfigurationType {
|
|
|
2093
2128
|
* <p>To create a launch configuration with a block device mapping or override any other
|
|
2094
2129
|
* instance attributes, specify them as part of the same request.</p>
|
|
2095
2130
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-lc-with-instanceID.html">Creating a launch
|
|
2096
|
-
*
|
|
2097
|
-
*
|
|
2131
|
+
* configuration using an EC2 instance</a> in the
|
|
2132
|
+
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
2098
2133
|
*/
|
|
2099
2134
|
InstanceId?: string;
|
|
2100
2135
|
/**
|
|
@@ -2113,7 +2148,7 @@ export interface CreateLaunchConfigurationType {
|
|
|
2113
2148
|
* <p>We recommend that you use PV-GRUB instead of kernels and RAM disks. For more
|
|
2114
2149
|
* information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html">User provided
|
|
2115
2150
|
* kernels</a> in the <i>Amazon EC2 User Guide for Linux
|
|
2116
|
-
*
|
|
2151
|
+
* Instances</i>.</p>
|
|
2117
2152
|
* </note>
|
|
2118
2153
|
*/
|
|
2119
2154
|
KernelId?: string;
|
|
@@ -2124,7 +2159,7 @@ export interface CreateLaunchConfigurationType {
|
|
|
2124
2159
|
* <p>We recommend that you use PV-GRUB instead of kernels and RAM disks. For more
|
|
2125
2160
|
* information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html">User provided
|
|
2126
2161
|
* kernels</a> in the <i>Amazon EC2 User Guide for Linux
|
|
2127
|
-
*
|
|
2162
|
+
* Instances</i>.</p>
|
|
2128
2163
|
* </note>
|
|
2129
2164
|
*/
|
|
2130
2165
|
RamdiskId?: string;
|
|
@@ -2156,7 +2191,7 @@ export interface CreateLaunchConfigurationType {
|
|
|
2156
2191
|
* request. Spot Instances are launched when the price you specify exceeds the current Spot
|
|
2157
2192
|
* price. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-template-spot-instances.html">Request Spot
|
|
2158
2193
|
* Instances for fault-tolerant and flexible applications</a> in the
|
|
2159
|
-
*
|
|
2194
|
+
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
2160
2195
|
* <p>Valid Range: Minimum value of 0.001</p>
|
|
2161
2196
|
* <note>
|
|
2162
2197
|
* <p>When you change your maximum price by creating a new launch configuration, running
|
|
@@ -2197,7 +2232,7 @@ export interface CreateLaunchConfigurationType {
|
|
|
2197
2232
|
* public IPv4 address. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html">Launching Auto Scaling instances in a
|
|
2198
2233
|
* VPC</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
2199
2234
|
* <p>If you specify this property, you must specify at least one subnet for
|
|
2200
|
-
*
|
|
2235
|
+
* <code>VPCZoneIdentifier</code> when you create your group.</p>
|
|
2201
2236
|
*/
|
|
2202
2237
|
AssociatePublicIpAddress?: boolean;
|
|
2203
2238
|
/**
|
|
@@ -2211,7 +2246,7 @@ export interface CreateLaunchConfigurationType {
|
|
|
2211
2246
|
* instance tenancy with Amazon EC2 Auto Scaling</a> in the
|
|
2212
2247
|
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
2213
2248
|
* <p>If you specify <code>PlacementTenancy</code>, you must specify at least one subnet for
|
|
2214
|
-
*
|
|
2249
|
+
* <code>VPCZoneIdentifier</code> when you create your group.</p>
|
|
2215
2250
|
* <p>Valid values: <code>default</code> | <code>dedicated</code>
|
|
2216
2251
|
* </p>
|
|
2217
2252
|
*/
|
|
@@ -2219,7 +2254,7 @@ export interface CreateLaunchConfigurationType {
|
|
|
2219
2254
|
/**
|
|
2220
2255
|
* @public
|
|
2221
2256
|
* <p>The metadata options for the instances. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html#launch-configurations-imds">Configuring the Instance Metadata Options</a> in the
|
|
2222
|
-
*
|
|
2257
|
+
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
2223
2258
|
*/
|
|
2224
2259
|
MetadataOptions?: InstanceMetadataOptions;
|
|
2225
2260
|
}
|
|
@@ -3041,6 +3076,11 @@ export interface AutoScalingGroup {
|
|
|
3041
3076
|
* <p>The traffic sources associated with this Auto Scaling group.</p>
|
|
3042
3077
|
*/
|
|
3043
3078
|
TrafficSources?: TrafficSourceIdentifier[];
|
|
3079
|
+
/**
|
|
3080
|
+
* @public
|
|
3081
|
+
* <p>An instance maintenance policy.</p>
|
|
3082
|
+
*/
|
|
3083
|
+
InstanceMaintenancePolicy?: InstanceMaintenancePolicy;
|
|
3044
3084
|
}
|
|
3045
3085
|
/**
|
|
3046
3086
|
* @public
|
|
@@ -3257,13 +3297,12 @@ export type StandbyInstances = (typeof StandbyInstances)[keyof typeof StandbyIns
|
|
|
3257
3297
|
export interface RefreshPreferences {
|
|
3258
3298
|
/**
|
|
3259
3299
|
* @public
|
|
3260
|
-
* <p>
|
|
3261
|
-
* allow the operation to continue. The value is
|
|
3262
|
-
*
|
|
3263
|
-
*
|
|
3264
|
-
* <p>
|
|
3265
|
-
*
|
|
3266
|
-
* replacing all instances at the same time. </p>
|
|
3300
|
+
* <p>Specifies the minimum percentage of the group to keep in service, healthy, and ready
|
|
3301
|
+
* to use to support your workload to allow the operation to continue. The value is
|
|
3302
|
+
* expressed as a percentage of the desired capacity of the Auto Scaling group. Value range is 0 to
|
|
3303
|
+
* 100.</p>
|
|
3304
|
+
* <p>If you do not specify this property, the default is 90 percent, or the percentage set
|
|
3305
|
+
* in the instance maintenance policy for the Auto Scaling group, if defined.</p>
|
|
3267
3306
|
*/
|
|
3268
3307
|
MinHealthyPercentage?: number;
|
|
3269
3308
|
/**
|
|
@@ -3387,6 +3426,19 @@ export interface RefreshPreferences {
|
|
|
3387
3426
|
* issues and fail the operation if an alarm threshold is met.</p>
|
|
3388
3427
|
*/
|
|
3389
3428
|
AlarmSpecification?: AlarmSpecification;
|
|
3429
|
+
/**
|
|
3430
|
+
* @public
|
|
3431
|
+
* <p>Specifies the maximum percentage of the group that can be in service and healthy, or
|
|
3432
|
+
* pending, to support your workload when replacing instances. The value is expressed as a
|
|
3433
|
+
* percentage of the desired capacity of the Auto Scaling group. Value range is 100 to 200.</p>
|
|
3434
|
+
* <p>If you specify <code>MaxHealthyPercentage</code>, you must also specify
|
|
3435
|
+
* <code>MinHealthyPercentage</code>, and the difference between them cannot be greater
|
|
3436
|
+
* than 100. A larger range increases the number of instances that can be replaced at the
|
|
3437
|
+
* same time.</p>
|
|
3438
|
+
* <p>If you do not specify this property, the default is 100 percent, or the percentage set
|
|
3439
|
+
* in the instance maintenance policy for the Auto Scaling group, if defined.</p>
|
|
3440
|
+
*/
|
|
3441
|
+
MaxHealthyPercentage?: number;
|
|
3390
3442
|
}
|
|
3391
3443
|
/**
|
|
3392
3444
|
* @public
|
|
@@ -3691,7 +3743,7 @@ export interface LaunchConfigurationNamesType {
|
|
|
3691
3743
|
/**
|
|
3692
3744
|
* @public
|
|
3693
3745
|
* <p>The maximum number of items to return with this call. The default value is
|
|
3694
|
-
*
|
|
3746
|
+
* <code>50</code> and the maximum value is <code>100</code>.</p>
|
|
3695
3747
|
*/
|
|
3696
3748
|
MaxRecords?: number;
|
|
3697
3749
|
}
|
|
@@ -3714,14 +3766,14 @@ export interface LaunchConfiguration {
|
|
|
3714
3766
|
* @public
|
|
3715
3767
|
* <p>The ID of the Amazon Machine Image (AMI) to use to launch your EC2 instances. For more
|
|
3716
3768
|
* information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html">Find a Linux AMI</a> in the
|
|
3717
|
-
*
|
|
3769
|
+
* <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
3718
3770
|
*/
|
|
3719
3771
|
ImageId: string | undefined;
|
|
3720
3772
|
/**
|
|
3721
3773
|
* @public
|
|
3722
3774
|
* <p>The name of the key pair.</p>
|
|
3723
3775
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html">Amazon EC2 Key Pairs</a> in the
|
|
3724
|
-
*
|
|
3776
|
+
* <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
3725
3777
|
*/
|
|
3726
3778
|
KeyName?: string;
|
|
3727
3779
|
/**
|
|
@@ -3729,7 +3781,7 @@ export interface LaunchConfiguration {
|
|
|
3729
3781
|
* <p>A list that contains the security groups to assign to the instances in the Auto Scaling group.
|
|
3730
3782
|
* For more information, see <a href="https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html">Security Groups for Your
|
|
3731
3783
|
* VPC</a> in the <i>Amazon Virtual Private Cloud User
|
|
3732
|
-
*
|
|
3784
|
+
* Guide</i>.</p>
|
|
3733
3785
|
*/
|
|
3734
3786
|
SecurityGroups?: string[];
|
|
3735
3787
|
/**
|
|
@@ -3746,7 +3798,7 @@ export interface LaunchConfiguration {
|
|
|
3746
3798
|
* @public
|
|
3747
3799
|
* <p>The user data to make available to the launched EC2 instances. For more information,
|
|
3748
3800
|
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html">Instance metadata and user data</a> (Linux) and <a href="https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-instance-metadata.html">Instance metadata and
|
|
3749
|
-
*
|
|
3801
|
+
* user data</a> (Windows). If you are using a command line tool, base64-encoding
|
|
3750
3802
|
* is performed for you, and you can load the text from a file. Otherwise, you must provide
|
|
3751
3803
|
* base64-encoded text. User data is limited to 16 KB.</p>
|
|
3752
3804
|
*/
|
|
@@ -3781,7 +3833,7 @@ export interface LaunchConfiguration {
|
|
|
3781
3833
|
* <p>Controls whether instances in this group are launched with detailed
|
|
3782
3834
|
* (<code>true</code>) or basic (<code>false</code>) monitoring.</p>
|
|
3783
3835
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/latest/userguide/enable-as-instance-metrics.html">Configure
|
|
3784
|
-
*
|
|
3836
|
+
* Monitoring for Auto Scaling Instances</a> in the
|
|
3785
3837
|
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
3786
3838
|
*/
|
|
3787
3839
|
InstanceMonitoring?: InstanceMonitoring;
|
|
@@ -3830,14 +3882,14 @@ export interface LaunchConfiguration {
|
|
|
3830
3882
|
* instance with <code>dedicated</code> tenancy runs on isolated, single-tenant hardware
|
|
3831
3883
|
* and can only be launched into a VPC.</p>
|
|
3832
3884
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-dedicated-instances.html">Configuring
|
|
3833
|
-
*
|
|
3885
|
+
* instance tenancy with Amazon EC2 Auto Scaling</a> in the
|
|
3834
3886
|
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
3835
3887
|
*/
|
|
3836
3888
|
PlacementTenancy?: string;
|
|
3837
3889
|
/**
|
|
3838
3890
|
* @public
|
|
3839
3891
|
* <p>The metadata options for the instances. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html#launch-configurations-imds">Configuring the Instance Metadata Options</a> in the
|
|
3840
|
-
*
|
|
3892
|
+
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
3841
3893
|
*/
|
|
3842
3894
|
MetadataOptions?: InstanceMetadataOptions;
|
|
3843
3895
|
}
|
|
@@ -3854,7 +3906,7 @@ export interface LaunchConfigurationsType {
|
|
|
3854
3906
|
* @public
|
|
3855
3907
|
* <p>A string that indicates that the response contains more items than can be returned in
|
|
3856
3908
|
* a single response. To receive additional items, specify this string for the
|
|
3857
|
-
*
|
|
3909
|
+
* <code>NextToken</code> value when requesting the next set of items. This value is
|
|
3858
3910
|
* null when there are no more items to return.</p>
|
|
3859
3911
|
*/
|
|
3860
3912
|
NextToken?: string;
|
|
@@ -4977,7 +5029,7 @@ export interface StepAdjustment {
|
|
|
4977
5029
|
* <p>This structure defines the CloudWatch metric to return, along with the statistic and
|
|
4978
5030
|
* unit.</p>
|
|
4979
5031
|
* <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
|
|
4980
|
-
*
|
|
5032
|
+
* concepts</a> in the <i>Amazon CloudWatch User Guide</i>.</p>
|
|
4981
5033
|
*/
|
|
4982
5034
|
export interface TargetTrackingMetricStat {
|
|
4983
5035
|
/**
|
|
@@ -5046,11 +5098,11 @@ export interface TargetTrackingMetricDataQuery {
|
|
|
5046
5098
|
* <p>Indicates whether to return the timestamps and raw data values of this metric. </p>
|
|
5047
5099
|
* <p>If you use any math expressions, specify <code>true</code> for this value for only the
|
|
5048
5100
|
* final math expression that the metric specification is based on. You must specify
|
|
5049
|
-
*
|
|
5101
|
+
* <code>false</code> for <code>ReturnData</code> for all the other metrics and
|
|
5050
5102
|
* expressions used in the metric specification.</p>
|
|
5051
5103
|
* <p>If you are only retrieving metrics and not performing any math expressions, do not
|
|
5052
5104
|
* specify anything for <code>ReturnData</code>. This sets it to its default
|
|
5053
|
-
*
|
|
5105
|
+
* (<code>true</code>).</p>
|
|
5054
5106
|
*/
|
|
5055
5107
|
ReturnData?: boolean;
|
|
5056
5108
|
}
|
|
@@ -5292,7 +5344,7 @@ export interface ScalingPolicy {
|
|
|
5292
5344
|
* </li>
|
|
5293
5345
|
* </ul>
|
|
5294
5346
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-target-tracking.html">Target tracking
|
|
5295
|
-
*
|
|
5347
|
+
* scaling policies</a> and <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html">Step and simple scaling
|
|
5296
5348
|
* policies</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
5297
5349
|
*/
|
|
5298
5350
|
PolicyType?: string;
|
|
@@ -5314,7 +5366,7 @@ export interface ScalingPolicy {
|
|
|
5314
5366
|
/**
|
|
5315
5367
|
* @public
|
|
5316
5368
|
* <p>The minimum value to scale by when the adjustment type is
|
|
5317
|
-
*
|
|
5369
|
+
* <code>PercentChangeInCapacity</code>. </p>
|
|
5318
5370
|
*/
|
|
5319
5371
|
MinAdjustmentMagnitude?: number;
|
|
5320
5372
|
/**
|
|
@@ -5338,7 +5390,7 @@ export interface ScalingPolicy {
|
|
|
5338
5390
|
/**
|
|
5339
5391
|
* @public
|
|
5340
5392
|
* <p>The aggregation type for the CloudWatch metrics. The valid values are <code>Minimum</code>,
|
|
5341
|
-
*
|
|
5393
|
+
* <code>Maximum</code>, and <code>Average</code>.</p>
|
|
5342
5394
|
*/
|
|
5343
5395
|
MetricAggregationType?: string;
|
|
5344
5396
|
/**
|
|
@@ -7099,10 +7151,10 @@ export interface StartInstanceRefreshType {
|
|
|
7099
7151
|
/**
|
|
7100
7152
|
* @public
|
|
7101
7153
|
* <p>Sets your preferences for the instance refresh so that it performs as expected when
|
|
7102
|
-
* you start it. Includes the instance warmup time, the minimum
|
|
7103
|
-
* behaviors that you want Amazon EC2 Auto Scaling to use if instances that are in
|
|
7104
|
-
*
|
|
7105
|
-
* features, such as the following:</p>
|
|
7154
|
+
* you start it. Includes the instance warmup time, the minimum and maximum healthy
|
|
7155
|
+
* percentages, and the behaviors that you want Amazon EC2 Auto Scaling to use if instances that are in
|
|
7156
|
+
* <code>Standby</code> state or protected from scale in are found. You can also choose
|
|
7157
|
+
* to enable additional features, such as the following:</p>
|
|
7106
7158
|
* <ul>
|
|
7107
7159
|
* <li>
|
|
7108
7160
|
* <p>Auto rollback</p>
|
|
@@ -7333,4 +7385,10 @@ export interface UpdateAutoScalingGroupType {
|
|
|
7333
7385
|
* </important>
|
|
7334
7386
|
*/
|
|
7335
7387
|
DefaultInstanceWarmup?: number;
|
|
7388
|
+
/**
|
|
7389
|
+
* @public
|
|
7390
|
+
* <p>An instance maintenance policy. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-maintenance-policy.html">Set instance maintenance policy</a> in the
|
|
7391
|
+
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
7392
|
+
*/
|
|
7393
|
+
InstanceMaintenancePolicy?: InstanceMaintenancePolicy;
|
|
7336
7394
|
}
|
|
@@ -182,6 +182,10 @@ export interface CompleteLifecycleActionType {
|
|
|
182
182
|
LifecycleActionResult: string | undefined;
|
|
183
183
|
InstanceId?: string;
|
|
184
184
|
}
|
|
185
|
+
export interface InstanceMaintenancePolicy {
|
|
186
|
+
MinHealthyPercentage?: number;
|
|
187
|
+
MaxHealthyPercentage?: number;
|
|
188
|
+
}
|
|
185
189
|
export interface LaunchTemplateSpecification {
|
|
186
190
|
LaunchTemplateId?: string;
|
|
187
191
|
LaunchTemplateName?: string;
|
|
@@ -344,6 +348,7 @@ export interface CreateAutoScalingGroupType {
|
|
|
344
348
|
DesiredCapacityType?: string;
|
|
345
349
|
DefaultInstanceWarmup?: number;
|
|
346
350
|
TrafficSources?: TrafficSourceIdentifier[];
|
|
351
|
+
InstanceMaintenancePolicy?: InstanceMaintenancePolicy;
|
|
347
352
|
}
|
|
348
353
|
export interface Ebs {
|
|
349
354
|
SnapshotId?: string;
|
|
@@ -576,6 +581,7 @@ export interface AutoScalingGroup {
|
|
|
576
581
|
DesiredCapacityType?: string;
|
|
577
582
|
DefaultInstanceWarmup?: number;
|
|
578
583
|
TrafficSources?: TrafficSourceIdentifier[];
|
|
584
|
+
InstanceMaintenancePolicy?: InstanceMaintenancePolicy;
|
|
579
585
|
}
|
|
580
586
|
export interface AutoScalingGroupsType {
|
|
581
587
|
AutoScalingGroups: AutoScalingGroup[] | undefined;
|
|
@@ -638,6 +644,7 @@ export interface RefreshPreferences {
|
|
|
638
644
|
ScaleInProtectedInstances?: ScaleInProtectedInstances;
|
|
639
645
|
StandbyInstances?: StandbyInstances;
|
|
640
646
|
AlarmSpecification?: AlarmSpecification;
|
|
647
|
+
MaxHealthyPercentage?: number;
|
|
641
648
|
}
|
|
642
649
|
export interface InstanceRefreshLivePoolProgress {
|
|
643
650
|
PercentageComplete?: number;
|
|
@@ -1267,4 +1274,5 @@ export interface UpdateAutoScalingGroupType {
|
|
|
1267
1274
|
Context?: string;
|
|
1268
1275
|
DesiredCapacityType?: string;
|
|
1269
1276
|
DefaultInstanceWarmup?: number;
|
|
1277
|
+
InstanceMaintenancePolicy?: InstanceMaintenancePolicy;
|
|
1270
1278
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-auto-scaling",
|
|
3
3
|
"description": "AWS SDK for JavaScript Auto Scaling Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.452.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|