@aws-sdk/client-auto-scaling 3.600.0 → 3.606.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/README.md +1 -1
- package/dist-types/AutoScaling.d.ts +1 -1
- package/dist-types/AutoScalingClient.d.ts +1 -1
- package/dist-types/commands/AttachInstancesCommand.d.ts +2 -2
- package/dist-types/commands/CreateLaunchConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/DeletePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DescribeScalingActivitiesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTerminationPolicyTypesCommand.d.ts +2 -2
- package/dist-types/commands/DetachInstancesCommand.d.ts +2 -2
- package/dist-types/commands/PutNotificationConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/PutScheduledUpdateGroupActionCommand.d.ts +1 -1
- package/dist-types/commands/PutWarmPoolCommand.d.ts +5 -5
- package/dist-types/commands/ResumeProcessesCommand.d.ts +2 -2
- package/dist-types/commands/SetDesiredCapacityCommand.d.ts +2 -2
- package/dist-types/commands/SetInstanceHealthCommand.d.ts +3 -2
- package/dist-types/commands/SetInstanceProtectionCommand.d.ts +1 -2
- package/dist-types/commands/SuspendProcessesCommand.d.ts +2 -2
- package/dist-types/commands/TerminateInstanceInAutoScalingGroupCommand.d.ts +2 -1
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +124 -120
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ AWS SDK for JavaScript AutoScaling Client for Node.js, Browser and React Native.
|
|
|
10
10
|
|
|
11
11
|
<p>Amazon EC2 Auto Scaling is designed to automatically launch and terminate EC2 instances
|
|
12
12
|
based on user-defined scaling policies, scheduled actions, and health checks.</p>
|
|
13
|
-
<p>For more information, see the <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/">Amazon EC2 Auto Scaling User Guide</a> and the <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/Welcome.html">Amazon EC2 Auto Scaling API Reference</a>.</p>
|
|
13
|
+
<p>For more information, see the <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/what-is-amazon-ec2-auto-scaling.html">Amazon EC2 Auto Scaling User Guide</a> and the <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/Welcome.html">Amazon EC2 Auto Scaling API Reference</a>.</p>
|
|
14
14
|
|
|
15
15
|
## Installing
|
|
16
16
|
|
|
@@ -476,7 +476,7 @@ export interface AutoScaling {
|
|
|
476
476
|
* <fullname>Amazon EC2 Auto Scaling</fullname>
|
|
477
477
|
* <p>Amazon EC2 Auto Scaling is designed to automatically launch and terminate EC2 instances
|
|
478
478
|
* based on user-defined scaling policies, scheduled actions, and health checks.</p>
|
|
479
|
-
* <p>For more information, see the <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/">Amazon EC2 Auto Scaling User Guide</a> and the <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/Welcome.html">Amazon EC2 Auto Scaling API Reference</a>.</p>
|
|
479
|
+
* <p>For more information, see the <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/what-is-amazon-ec2-auto-scaling.html">Amazon EC2 Auto Scaling User Guide</a> and the <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/Welcome.html">Amazon EC2 Auto Scaling API Reference</a>.</p>
|
|
480
480
|
* @public
|
|
481
481
|
*/
|
|
482
482
|
export declare class AutoScaling extends AutoScalingClient implements AutoScaling {
|
|
@@ -219,7 +219,7 @@ export interface AutoScalingClientResolvedConfig extends AutoScalingClientResolv
|
|
|
219
219
|
* <fullname>Amazon EC2 Auto Scaling</fullname>
|
|
220
220
|
* <p>Amazon EC2 Auto Scaling is designed to automatically launch and terminate EC2 instances
|
|
221
221
|
* based on user-defined scaling policies, scheduled actions, and health checks.</p>
|
|
222
|
-
* <p>For more information, see the <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/">Amazon EC2 Auto Scaling User Guide</a> and the <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/Welcome.html">Amazon EC2 Auto Scaling API Reference</a>.</p>
|
|
222
|
+
* <p>For more information, see the <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/what-is-amazon-ec2-auto-scaling.html">Amazon EC2 Auto Scaling User Guide</a> and the <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/Welcome.html">Amazon EC2 Auto Scaling API Reference</a>.</p>
|
|
223
223
|
* @public
|
|
224
224
|
*/
|
|
225
225
|
export declare class AutoScalingClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, AutoScalingClientResolvedConfig> {
|
|
@@ -35,8 +35,8 @@ declare const AttachInstancesCommand_base: {
|
|
|
35
35
|
* <p>If there is a Classic Load Balancer attached to your Auto Scaling group, the instances are
|
|
36
36
|
* also registered with the load balancer. If there are target groups attached to your Auto Scaling
|
|
37
37
|
* group, the instances are also registered with the target groups.</p>
|
|
38
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/attach-
|
|
39
|
-
*
|
|
38
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-detach-attach-instances.html">Detach
|
|
39
|
+
* or attach instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
40
40
|
* @example
|
|
41
41
|
* Use a bare-bones client and the command you need to make an API call.
|
|
42
42
|
* ```javascript
|
|
@@ -32,8 +32,8 @@ declare const CreateLaunchConfigurationCommand_base: {
|
|
|
32
32
|
* this limit, call the <a>DescribeAccountLimits</a> API. For information about
|
|
33
33
|
* updating this limit, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-quotas.html">Quotas for
|
|
34
34
|
* Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
35
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
|
36
|
-
*
|
|
35
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-configurations.html">Launch
|
|
36
|
+
* configurations</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
37
37
|
* <note>
|
|
38
38
|
* <p>Amazon EC2 Auto Scaling configures instances launched as part of an Auto Scaling group using either a
|
|
39
39
|
* launch template or a launch configuration. We strongly recommend that you do not use
|
|
@@ -31,7 +31,7 @@ declare const DeletePolicyCommand_base: {
|
|
|
31
31
|
* <p>Deleting either a step scaling policy or a simple scaling policy deletes the
|
|
32
32
|
* underlying alarm action, but does not delete the alarm, even if it no longer has an
|
|
33
33
|
* associated action.</p>
|
|
34
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/deleting-scaling-policy.html">
|
|
34
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/deleting-scaling-policy.html">Delete a scaling
|
|
35
35
|
* policy</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
36
36
|
* @example
|
|
37
37
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -29,7 +29,7 @@ declare const DescribeScalingActivitiesCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Gets information about the scaling activities in the account and Region.</p>
|
|
31
31
|
* <p>When scaling events occur, you see a record of the scaling activity in the scaling
|
|
32
|
-
* activities. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-verify-scaling-activity.html">
|
|
32
|
+
* activities. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-verify-scaling-activity.html">Verify a scaling
|
|
33
33
|
* activity for an Auto Scaling group</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
34
34
|
* <p>If the scaling event succeeds, the value of the <code>StatusCode</code> element in the
|
|
35
35
|
* response is <code>Successful</code>. If an attempt to launch instances failed, the
|
|
@@ -28,8 +28,8 @@ declare const DescribeTerminationPolicyTypesCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Describes the termination policies supported by Amazon EC2 Auto Scaling.</p>
|
|
31
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-termination-policies.html">
|
|
32
|
-
* Amazon EC2 Auto Scaling
|
|
31
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-termination-policies.html">Configure
|
|
32
|
+
* termination policies for Amazon EC2 Auto Scaling</a> in the
|
|
33
33
|
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
34
34
|
* @example
|
|
35
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -35,8 +35,8 @@ declare const DetachInstancesCommand_base: {
|
|
|
35
35
|
* <p>If there is a Classic Load Balancer attached to the Auto Scaling group, the instances are
|
|
36
36
|
* deregistered from the load balancer. If there are target groups attached to the Auto Scaling
|
|
37
37
|
* group, the instances are deregistered from the target groups.</p>
|
|
38
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/detach-
|
|
39
|
-
*
|
|
38
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-detach-attach-instances.html">Detach
|
|
39
|
+
* or attach instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
40
40
|
* @example
|
|
41
41
|
* Use a bare-bones client and the command you need to make an API call.
|
|
42
42
|
* ```javascript
|
|
@@ -31,9 +31,9 @@ declare const PutNotificationConfigurationCommand_base: {
|
|
|
31
31
|
* Subscribers to the specified topic can have messages delivered to an endpoint such as a
|
|
32
32
|
* web server or an email address.</p>
|
|
33
33
|
* <p>This configuration overwrites any existing configuration.</p>
|
|
34
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
|
35
|
-
*
|
|
36
|
-
*
|
|
34
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-sns-notifications.html">Amazon SNS
|
|
35
|
+
* notification options for Amazon EC2 Auto Scaling</a> in the
|
|
36
|
+
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
37
37
|
* <p>If you exceed your maximum limit of SNS topics, which is 10 per Auto Scaling group, the call
|
|
38
38
|
* fails.</p>
|
|
39
39
|
* @example
|
|
@@ -28,7 +28,7 @@ declare const PutScheduledUpdateGroupActionCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Creates or updates a scheduled scaling action for an Auto Scaling group.</p>
|
|
31
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
|
31
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scheduled-scaling.html">Scheduled scaling</a> in the
|
|
32
32
|
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
33
33
|
* <p>You can view the scheduled actions for an Auto Scaling group using the <a>DescribeScheduledActions</a> API call. If you are no longer using a
|
|
34
34
|
* scheduled action, you can delete it by calling the <a>DeleteScheduledAction</a> API.</p>
|
|
@@ -30,13 +30,13 @@ declare const PutWarmPoolCommand_base: {
|
|
|
30
30
|
* <p>Creates or updates a warm pool for the specified Auto Scaling group. A warm pool is a pool of
|
|
31
31
|
* pre-initialized EC2 instances that sits alongside the Auto Scaling group. Whenever your
|
|
32
32
|
* application needs to scale out, the Auto Scaling group can draw on the warm pool to meet its new
|
|
33
|
-
* desired capacity
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
* This operation cannot be called on an Auto Scaling group that has a mixed instances policy or a
|
|
37
|
-
* launch template or launch configuration that requests Spot Instances.</p>
|
|
33
|
+
* desired capacity.</p>
|
|
34
|
+
* <p>This operation must be called from the Region in which the Auto Scaling group was
|
|
35
|
+
* created.</p>
|
|
38
36
|
* <p>You can view the instances in the warm pool using the <a>DescribeWarmPool</a> API call. If you are no longer using a warm pool, you can delete it by calling the
|
|
39
37
|
* <a>DeleteWarmPool</a> API.</p>
|
|
38
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html">Warm pools for
|
|
39
|
+
* Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
40
40
|
* @example
|
|
41
41
|
* Use a bare-bones client and the command you need to make an API call.
|
|
42
42
|
* ```javascript
|
|
@@ -29,8 +29,8 @@ declare const ResumeProcessesCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Resumes the specified suspended auto scaling processes, or all suspended process, for
|
|
31
31
|
* the specified Auto Scaling group.</p>
|
|
32
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html">
|
|
33
|
-
*
|
|
32
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html">Suspend and resume
|
|
33
|
+
* Amazon EC2 Auto Scaling processes</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
34
34
|
* @example
|
|
35
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
36
|
* ```javascript
|
|
@@ -31,8 +31,8 @@ declare const SetDesiredCapacityCommand_base: {
|
|
|
31
31
|
* <p>If a scale-in activity occurs as a result of a new <code>DesiredCapacity</code> value
|
|
32
32
|
* that is lower than the current size of the group, the Auto Scaling group uses its termination
|
|
33
33
|
* policy to determine which instances to terminate. </p>
|
|
34
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
|
35
|
-
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
34
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-manually.html">Manual
|
|
35
|
+
* scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
36
36
|
* @example
|
|
37
37
|
* Use a bare-bones client and the command you need to make an API call.
|
|
38
38
|
* ```javascript
|
|
@@ -28,8 +28,9 @@ declare const SetInstanceHealthCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Sets the health status of the specified instance.</p>
|
|
31
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
|
32
|
-
* instances
|
|
31
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-health-checks.html">Health checks
|
|
32
|
+
* for instances in an Auto Scaling group</a> in the
|
|
33
|
+
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
33
34
|
* @example
|
|
34
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
36
|
* ```javascript
|
|
@@ -29,8 +29,7 @@ declare const SetInstanceProtectionCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Updates the instance protection settings of the specified instances. This operation
|
|
31
31
|
* cannot be called on instances in a warm pool.</p>
|
|
32
|
-
* <p>For more information
|
|
33
|
-
* terminating on scale in, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html">Using
|
|
32
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html">Use
|
|
34
33
|
* instance scale-in protection</a> in the
|
|
35
34
|
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
36
35
|
* <p>If you exceed your maximum limit of instance IDs, which is 50 per Auto Scaling group, the call
|
|
@@ -31,8 +31,8 @@ declare const SuspendProcessesCommand_base: {
|
|
|
31
31
|
* Auto Scaling group.</p>
|
|
32
32
|
* <p>If you suspend either the <code>Launch</code> or <code>Terminate</code> process types,
|
|
33
33
|
* it can prevent other process types from functioning properly. For more information, see
|
|
34
|
-
* <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html">
|
|
35
|
-
*
|
|
34
|
+
* <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html">Suspend and resume
|
|
35
|
+
* Amazon EC2 Auto Scaling processes</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
36
36
|
* <p>To resume processes that have been suspended, call the <a>ResumeProcesses</a> API.</p>
|
|
37
37
|
* @example
|
|
38
38
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -38,7 +38,8 @@ declare const TerminateInstanceInAutoScalingGroupCommand_base: {
|
|
|
38
38
|
* <p>By default, Amazon EC2 Auto Scaling balances instances across all Availability Zones. If you
|
|
39
39
|
* decrement the desired capacity, your Auto Scaling group can become unbalanced between
|
|
40
40
|
* Availability Zones. Amazon EC2 Auto Scaling tries to rebalance the group, and rebalancing might
|
|
41
|
-
* terminate instances in other zones. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-
|
|
41
|
+
* terminate instances in other zones. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-manually.html">Manual
|
|
42
|
+
* scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
42
43
|
* @example
|
|
43
44
|
* Use a bare-bones client and the command you need to make an API call.
|
|
44
45
|
* ```javascript
|
package/dist-types/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* <fullname>Amazon EC2 Auto Scaling</fullname>
|
|
3
3
|
* <p>Amazon EC2 Auto Scaling is designed to automatically launch and terminate EC2 instances
|
|
4
4
|
* based on user-defined scaling policies, scheduled actions, and health checks.</p>
|
|
5
|
-
* <p>For more information, see the <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/">Amazon EC2 Auto Scaling User Guide</a> and the <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/Welcome.html">Amazon EC2 Auto Scaling API Reference</a>.</p>
|
|
5
|
+
* <p>For more information, see the <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/what-is-amazon-ec2-auto-scaling.html">Amazon EC2 Auto Scaling User Guide</a> and the <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/Welcome.html">Amazon EC2 Auto Scaling API Reference</a>.</p>
|
|
6
6
|
*
|
|
7
7
|
* @packageDocumentation
|
|
8
8
|
*/
|
|
@@ -663,7 +663,7 @@ export interface InstanceMaintenancePolicy {
|
|
|
663
663
|
}
|
|
664
664
|
/**
|
|
665
665
|
* <p>Describes the launch template and the version of the launch template that Amazon EC2 Auto Scaling
|
|
666
|
-
* uses to launch Amazon EC2 instances. For more information about launch templates, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
|
666
|
+
* uses to launch Amazon EC2 instances. For more information about launch templates, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-templates.html">Launch
|
|
667
667
|
* templates</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
668
668
|
* @public
|
|
669
669
|
*/
|
|
@@ -754,7 +754,8 @@ export interface LifecycleHookSpecification {
|
|
|
754
754
|
NotificationTargetARN?: string;
|
|
755
755
|
/**
|
|
756
756
|
* <p>The ARN of the IAM role that allows the Auto Scaling group to publish to the specified
|
|
757
|
-
* notification target. For information about creating this role, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/prepare-for-lifecycle-notifications.html
|
|
757
|
+
* notification target. For information about creating this role, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/prepare-for-lifecycle-notifications.html">Prepare to
|
|
758
|
+
* add a lifecycle hook to your Auto Scaling group</a> in the
|
|
758
759
|
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
759
760
|
* <p>Valid only if the notification target is an Amazon SNS topic or an Amazon SQS queue.</p>
|
|
760
761
|
* @public
|
|
@@ -1114,10 +1115,10 @@ export interface VCpuCountRequest {
|
|
|
1114
1115
|
* attributes are optional. Any unspecified optional attribute is set to its
|
|
1115
1116
|
* default.</p>
|
|
1116
1117
|
* </note>
|
|
1117
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-
|
|
1118
|
-
*
|
|
1119
|
-
*
|
|
1120
|
-
*
|
|
1118
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-mixed-instances-group-attribute-based-instance-type-selection.html">Create a mixed instances group using attribute-based instance type
|
|
1119
|
+
* selection</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. For help determining
|
|
1120
|
+
* which instance types match your attributes before you apply them to your Auto Scaling group, see
|
|
1121
|
+
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html#ec2fleet-get-instance-types-from-instance-requirements">Preview instance types with specified attributes</a> in the
|
|
1121
1122
|
* <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
1122
1123
|
* @public
|
|
1123
1124
|
*/
|
|
@@ -1475,8 +1476,7 @@ export interface LaunchTemplateOverrides {
|
|
|
1475
1476
|
/**
|
|
1476
1477
|
* <p>The instance type, such as <code>m3.xlarge</code>. You must specify an instance type
|
|
1477
1478
|
* that is supported in your requested Region and Availability Zones. For more information,
|
|
1478
|
-
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance types</a> in the <i>Amazon
|
|
1479
|
-
* Guide</i>.</p>
|
|
1479
|
+
* see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance types</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
1480
1480
|
* <p>You can specify up to 40 instance types per Auto Scaling group.</p>
|
|
1481
1481
|
* @public
|
|
1482
1482
|
*/
|
|
@@ -1490,7 +1490,7 @@ export interface LaunchTemplateOverrides {
|
|
|
1490
1490
|
* in an overage. For example, if there are two units remaining to fulfill capacity, and
|
|
1491
1491
|
* Amazon EC2 Auto Scaling can only launch an instance with a <code>WeightedCapacity</code> of five units,
|
|
1492
1492
|
* the instance is launched, and the desired capacity is exceeded by three units. For more
|
|
1493
|
-
* information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups-instance-weighting.html">
|
|
1493
|
+
* information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups-instance-weighting.html">Configure an Auto Scaling group to use instance weights</a> in the
|
|
1494
1494
|
* <i>Amazon EC2 Auto Scaling User Guide</i>. Value must be in the range of 1–999.</p>
|
|
1495
1495
|
* <p>If you specify a value for <code>WeightedCapacity</code> for one instance type, you
|
|
1496
1496
|
* must specify a value for <code>WeightedCapacity</code> for all of them.</p>
|
|
@@ -1636,7 +1636,7 @@ export interface CreateAutoScalingGroupType {
|
|
|
1636
1636
|
* (<code>LaunchConfigurationName</code> or <code>InstanceId</code>).</p>
|
|
1637
1637
|
* <note>
|
|
1638
1638
|
* <p>The launch template that is specified must be configured for use with an Auto Scaling
|
|
1639
|
-
* group. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-template.html">
|
|
1639
|
+
* group. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-template.html">Create a launch
|
|
1640
1640
|
* template for an Auto Scaling group</a> in the
|
|
1641
1641
|
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
1642
1642
|
* </note>
|
|
@@ -1653,7 +1653,7 @@ export interface CreateAutoScalingGroupType {
|
|
|
1653
1653
|
/**
|
|
1654
1654
|
* <p>The ID of the instance used to base the launch configuration on. If specified, Amazon
|
|
1655
1655
|
* EC2 Auto Scaling uses the configuration values from the specified instance to create a
|
|
1656
|
-
* new launch configuration. To get the instance ID, use the Amazon EC2 <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html">DescribeInstances</a> API operation. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-from-instance.html">
|
|
1656
|
+
* new launch configuration. To get the instance ID, use the Amazon EC2 <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html">DescribeInstances</a> API operation. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-from-instance.html">Create an Auto Scaling group using parameters from an existing instance</a> in the
|
|
1657
1657
|
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
1658
1658
|
* @public
|
|
1659
1659
|
*/
|
|
@@ -1689,8 +1689,8 @@ export interface CreateAutoScalingGroupType {
|
|
|
1689
1689
|
* <i>Only needed if you use simple scaling policies.</i>
|
|
1690
1690
|
* </p>
|
|
1691
1691
|
* <p>The amount of time, in seconds, between one scaling activity ending and another one
|
|
1692
|
-
* starting due to simple scaling policies. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
|
1693
|
-
* for Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
1692
|
+
* starting due to simple scaling policies. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-cooldowns.html">Scaling
|
|
1693
|
+
* cooldowns for Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
1694
1694
|
* <p>Default: <code>300</code> seconds</p>
|
|
1695
1695
|
* @public
|
|
1696
1696
|
*/
|
|
@@ -1723,8 +1723,9 @@ export interface CreateAutoScalingGroupType {
|
|
|
1723
1723
|
* <p>A comma-separated value string of one or more health check types.</p>
|
|
1724
1724
|
* <p>The valid values are <code>EC2</code>, <code>ELB</code>, and <code>VPC_LATTICE</code>.
|
|
1725
1725
|
* <code>EC2</code> is the default health check and cannot be disabled. For more
|
|
1726
|
-
* information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
|
1727
|
-
* instances
|
|
1726
|
+
* information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-health-checks.html">Health checks
|
|
1727
|
+
* for instances in an Auto Scaling group</a> in the
|
|
1728
|
+
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
1728
1729
|
* <p>Only specify <code>EC2</code> if you must clear a value that was previously
|
|
1729
1730
|
* set.</p>
|
|
1730
1731
|
* @public
|
|
@@ -1765,8 +1766,8 @@ export interface CreateAutoScalingGroupType {
|
|
|
1765
1766
|
/**
|
|
1766
1767
|
* <p>A policy or a list of policies that are used to select the instance to terminate.
|
|
1767
1768
|
* These policies are executed in the order that you list them. For more information, see
|
|
1768
|
-
* <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-termination-policies.html">
|
|
1769
|
-
* Amazon EC2 Auto Scaling
|
|
1769
|
+
* <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-termination-policies.html">Configure
|
|
1770
|
+
* termination policies for Amazon EC2 Auto Scaling</a> in the
|
|
1770
1771
|
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
1771
1772
|
* <p>Valid values: <code>Default</code> | <code>AllocationStrategy</code> |
|
|
1772
1773
|
* <code>ClosestToNextInstanceHour</code> | <code>NewestInstance</code> |
|
|
@@ -1780,7 +1781,7 @@ export interface CreateAutoScalingGroupType {
|
|
|
1780
1781
|
/**
|
|
1781
1782
|
* <p>Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling
|
|
1782
1783
|
* when scaling in. For more information about preventing instances from terminating on
|
|
1783
|
-
* scale in, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html">
|
|
1784
|
+
* scale in, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html">Use
|
|
1784
1785
|
* instance scale-in protection</a> in the
|
|
1785
1786
|
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
1786
1787
|
* @public
|
|
@@ -1825,7 +1826,7 @@ export interface CreateAutoScalingGroupType {
|
|
|
1825
1826
|
/**
|
|
1826
1827
|
* <p>The maximum amount of time, in seconds, that an instance can be in service. The
|
|
1827
1828
|
* default is null. If specified, the value must be either 0 or a number equal to or
|
|
1828
|
-
* greater than 86,400 seconds (1 day). For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-max-instance-lifetime.html">
|
|
1829
|
+
* greater than 86,400 seconds (1 day). For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-max-instance-lifetime.html">Replace Auto Scaling instances based on maximum instance lifetime</a> in the
|
|
1829
1830
|
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
1830
1831
|
* @public
|
|
1831
1832
|
*/
|
|
@@ -1838,9 +1839,8 @@ export interface CreateAutoScalingGroupType {
|
|
|
1838
1839
|
/**
|
|
1839
1840
|
* <p>The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling
|
|
1840
1841
|
* supports <code>DesiredCapacityType</code> for attribute-based instance type selection
|
|
1841
|
-
* only. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-
|
|
1842
|
-
*
|
|
1843
|
-
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
1842
|
+
* only. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-mixed-instances-group-attribute-based-instance-type-selection.html">Create a mixed instances group using attribute-based instance type
|
|
1843
|
+
* selection</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
1844
1844
|
* <p>By default, Amazon EC2 Auto Scaling specifies <code>units</code>, which translates into number of
|
|
1845
1845
|
* instances.</p>
|
|
1846
1846
|
* <p>Valid values: <code>units</code> | <code>vcpu</code> | <code>memory-mib</code>
|
|
@@ -1925,10 +1925,10 @@ export interface Ebs {
|
|
|
1925
1925
|
*/
|
|
1926
1926
|
VolumeSize?: number;
|
|
1927
1927
|
/**
|
|
1928
|
-
* <p>The volume type. For more information, see <a href="https://docs.aws.amazon.com/
|
|
1929
|
-
*
|
|
1928
|
+
* <p>The volume type. For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html">Amazon EBS volume types</a> in the
|
|
1929
|
+
* <i>Amazon EBS User Guide</i>.</p>
|
|
1930
1930
|
* <p>Valid values: <code>standard</code> | <code>io1</code> | <code>gp2</code> |
|
|
1931
|
-
*
|
|
1931
|
+
* <code>st1</code> | <code>sc1</code> | <code>gp3</code>
|
|
1932
1932
|
* </p>
|
|
1933
1933
|
* @public
|
|
1934
1934
|
*/
|
|
@@ -1956,12 +1956,11 @@ export interface Ebs {
|
|
|
1956
1956
|
* <code>io1</code>: 100-64,000 IOPS</p>
|
|
1957
1957
|
* </li>
|
|
1958
1958
|
* </ul>
|
|
1959
|
-
* <p>For <code>io1</code> volumes, we guarantee 64,000 IOPS only for <a href="https://docs.aws.amazon.com/
|
|
1960
|
-
*
|
|
1961
|
-
* to 32,000 IOPS. </p>
|
|
1959
|
+
* <p>For <code>io1</code> volumes, we guarantee 64,000 IOPS only for <a href="https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html">Instances built on the Amazon Web Services Nitro System</a>. Other instance families
|
|
1960
|
+
* guarantee performance up to 32,000 IOPS. </p>
|
|
1962
1961
|
* <p>
|
|
1963
1962
|
* <code>Iops</code> is supported when the volume type is <code>gp3</code> or
|
|
1964
|
-
*
|
|
1963
|
+
* <code>io1</code> and required only when the volume type is <code>io1</code>. (Not
|
|
1965
1964
|
* used with <code>standard</code>, <code>gp2</code>, <code>st1</code>, or <code>sc1</code>
|
|
1966
1965
|
* volumes.) </p>
|
|
1967
1966
|
* @public
|
|
@@ -1969,8 +1968,8 @@ export interface Ebs {
|
|
|
1969
1968
|
Iops?: number;
|
|
1970
1969
|
/**
|
|
1971
1970
|
* <p>Specifies whether the volume should be encrypted. Encrypted EBS volumes can only be
|
|
1972
|
-
* attached to instances that support Amazon EBS encryption. For more information, see <a href="https://docs.aws.amazon.com/
|
|
1973
|
-
* only launch it on supported instance types.</p>
|
|
1971
|
+
* attached to instances that support Amazon EBS encryption. For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption-requirements.html">Requirements for Amazon EBS encryption</a> in the <i>Amazon EBS User Guide</i>. If your AMI uses encrypted volumes, you
|
|
1972
|
+
* can also only launch it on supported instance types.</p>
|
|
1974
1973
|
* <note>
|
|
1975
1974
|
* <p>If you are creating a volume from a snapshot, you cannot create an unencrypted
|
|
1976
1975
|
* volume from an encrypted snapshot. Also, you cannot specify a KMS key ID when using
|
|
@@ -1979,7 +1978,7 @@ export interface Ebs {
|
|
|
1979
1978
|
* encrypted, either using the Amazon Web Services managed KMS key or a customer-managed KMS key,
|
|
1980
1979
|
* regardless of whether the snapshot was encrypted. </p>
|
|
1981
1980
|
* <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
|
|
1982
|
-
*
|
|
1981
|
+
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
1983
1982
|
* </note>
|
|
1984
1983
|
* @public
|
|
1985
1984
|
*/
|
|
@@ -1998,19 +1997,19 @@ export interface BlockDeviceMapping {
|
|
|
1998
1997
|
/**
|
|
1999
1998
|
* <p>The name of the instance store volume (virtual device) to attach to an instance at
|
|
2000
1999
|
* launch. The name must be in the form ephemeral<i>X</i> where
|
|
2001
|
-
*
|
|
2002
|
-
*
|
|
2000
|
+
* <i>X</i> is a number starting from zero (0), for example,
|
|
2001
|
+
* <code>ephemeral0</code>.</p>
|
|
2003
2002
|
* @public
|
|
2004
2003
|
*/
|
|
2005
2004
|
VirtualName?: string;
|
|
2006
2005
|
/**
|
|
2007
2006
|
* <p>The device name assigned to the volume (for example, <code>/dev/sdh</code> or
|
|
2008
|
-
*
|
|
2007
|
+
* <code>xvdh</code>). For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html">Device naming on Linux
|
|
2009
2008
|
* instances</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
2010
2009
|
* <note>
|
|
2011
2010
|
* <p>To define a block device mapping, set the device name and exactly one of the
|
|
2012
2011
|
* following properties: <code>Ebs</code>, <code>NoDevice</code>, or
|
|
2013
|
-
*
|
|
2012
|
+
* <code>VirtualName</code>.</p>
|
|
2014
2013
|
* </note>
|
|
2015
2014
|
* @public
|
|
2016
2015
|
*/
|
|
@@ -2067,7 +2066,7 @@ export declare const InstanceMetadataHttpTokensState: {
|
|
|
2067
2066
|
*/
|
|
2068
2067
|
export type InstanceMetadataHttpTokensState = (typeof InstanceMetadataHttpTokensState)[keyof typeof InstanceMetadataHttpTokensState];
|
|
2069
2068
|
/**
|
|
2070
|
-
* <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">
|
|
2069
|
+
* <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">Configure the instance metadata options</a> in the
|
|
2071
2070
|
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
2072
2071
|
* @public
|
|
2073
2072
|
*/
|
|
@@ -2117,24 +2116,24 @@ export interface CreateLaunchConfigurationType {
|
|
|
2117
2116
|
LaunchConfigurationName: string | undefined;
|
|
2118
2117
|
/**
|
|
2119
2118
|
* <p>The ID of the Amazon Machine Image (AMI) that was assigned during registration. For
|
|
2120
|
-
* more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html">
|
|
2121
|
-
*
|
|
2119
|
+
* more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html">Find a Linux AMI</a> in the
|
|
2120
|
+
* <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
2122
2121
|
* <p>If you specify <code>InstanceId</code>, an <code>ImageId</code> is not
|
|
2123
2122
|
* required.</p>
|
|
2124
2123
|
* @public
|
|
2125
2124
|
*/
|
|
2126
2125
|
ImageId?: string;
|
|
2127
2126
|
/**
|
|
2128
|
-
* <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
|
|
2129
|
-
*
|
|
2127
|
+
* <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 Amazon EC2
|
|
2128
|
+
* instances</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
2130
2129
|
* @public
|
|
2131
2130
|
*/
|
|
2132
2131
|
KeyName?: string;
|
|
2133
2132
|
/**
|
|
2134
2133
|
* <p>A list that contains the security group IDs to assign to the instances in the Auto Scaling
|
|
2135
|
-
* group. For more information, see <a href="https://docs.aws.amazon.com/
|
|
2134
|
+
* group. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-security-groups.html">Control traffic to your Amazon Web Services
|
|
2136
2135
|
* resources using security groups</a> in the <i>Amazon Virtual Private
|
|
2137
|
-
*
|
|
2136
|
+
* Cloud User Guide</i>.</p>
|
|
2138
2137
|
* @public
|
|
2139
2138
|
*/
|
|
2140
2139
|
SecurityGroups?: string[];
|
|
@@ -2151,7 +2150,7 @@ export interface CreateLaunchConfigurationType {
|
|
|
2151
2150
|
/**
|
|
2152
2151
|
* <p>The user data to make available to the launched EC2 instances. For more information,
|
|
2153
2152
|
* 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
|
|
2154
|
-
*
|
|
2153
|
+
* user data</a> (Windows). If you are using a command line tool, base64-encoding
|
|
2155
2154
|
* is performed for you, and you can load the text from a file. Otherwise, you must provide
|
|
2156
2155
|
* base64-encoded text. User data is limited to 16 KB.</p>
|
|
2157
2156
|
* @public
|
|
@@ -2163,9 +2162,8 @@ export interface CreateLaunchConfigurationType {
|
|
|
2163
2162
|
* mapping.</p>
|
|
2164
2163
|
* <p>To create a launch configuration with a block device mapping or override any other
|
|
2165
2164
|
* instance attributes, specify them as part of the same request.</p>
|
|
2166
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-
|
|
2167
|
-
*
|
|
2168
|
-
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
2165
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html">Create a launch
|
|
2166
|
+
* configuration</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
2169
2167
|
* @public
|
|
2170
2168
|
*/
|
|
2171
2169
|
InstanceId?: string;
|
|
@@ -2183,8 +2181,7 @@ export interface CreateLaunchConfigurationType {
|
|
|
2183
2181
|
* <note>
|
|
2184
2182
|
* <p>We recommend that you use PV-GRUB instead of kernels and RAM disks. For more
|
|
2185
2183
|
* information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html">User provided
|
|
2186
|
-
* kernels</a> in the <i>Amazon EC2 User Guide for Linux
|
|
2187
|
-
* Instances</i>.</p>
|
|
2184
|
+
* kernels</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
2188
2185
|
* </note>
|
|
2189
2186
|
* @public
|
|
2190
2187
|
*/
|
|
@@ -2194,8 +2191,7 @@ export interface CreateLaunchConfigurationType {
|
|
|
2194
2191
|
* <note>
|
|
2195
2192
|
* <p>We recommend that you use PV-GRUB instead of kernels and RAM disks. For more
|
|
2196
2193
|
* information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html">User provided
|
|
2197
|
-
* kernels</a> in the <i>Amazon EC2 User Guide for Linux
|
|
2198
|
-
* Instances</i>.</p>
|
|
2194
|
+
* kernels</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
2199
2195
|
* </note>
|
|
2200
2196
|
* @public
|
|
2201
2197
|
*/
|
|
@@ -2216,7 +2212,7 @@ export interface CreateLaunchConfigurationType {
|
|
|
2216
2212
|
* <p>When detailed monitoring is enabled, Amazon CloudWatch generates metrics every minute and
|
|
2217
2213
|
* your account is charged a fee. When you disable detailed monitoring, CloudWatch generates
|
|
2218
2214
|
* metrics every 5 minutes. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/latest/userguide/enable-as-instance-metrics.html">Configure
|
|
2219
|
-
*
|
|
2215
|
+
* monitoring for Auto Scaling instances</a> in the
|
|
2220
2216
|
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
2221
2217
|
* </important>
|
|
2222
2218
|
* @public
|
|
@@ -2227,7 +2223,7 @@ export interface CreateLaunchConfigurationType {
|
|
|
2227
2223
|
* request. Spot Instances are launched when the price you specify exceeds the current Spot
|
|
2228
2224
|
* price. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-template-spot-instances.html">Request Spot
|
|
2229
2225
|
* Instances for fault-tolerant and flexible applications</a> in the
|
|
2230
|
-
*
|
|
2226
|
+
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
2231
2227
|
* <p>Valid Range: Minimum value of 0.001</p>
|
|
2232
2228
|
* <note>
|
|
2233
2229
|
* <p>When you change your maximum price by creating a new launch configuration, running
|
|
@@ -2251,8 +2247,8 @@ export interface CreateLaunchConfigurationType {
|
|
|
2251
2247
|
* throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O
|
|
2252
2248
|
* performance. This optimization is not available with all instance types. Additional fees
|
|
2253
2249
|
* are incurred when you enable EBS optimization for an instance type that is not
|
|
2254
|
-
* EBS-optimized by default. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
|
2255
|
-
* the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
2250
|
+
* EBS-optimized by default. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html">Amazon EBS-optimized instances</a>
|
|
2251
|
+
* in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
2256
2252
|
* <p>The default value is <code>false</code>.</p>
|
|
2257
2253
|
* @public
|
|
2258
2254
|
*/
|
|
@@ -2265,10 +2261,11 @@ export interface CreateLaunchConfigurationType {
|
|
|
2265
2261
|
* public IPv4 address, unless you enabled the option to assign a public IPv4 address on
|
|
2266
2262
|
* the subnet.</p>
|
|
2267
2263
|
* <p>If you specify <code>true</code>, each instance in the Auto Scaling group receives a unique
|
|
2268
|
-
* public IPv4 address. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html">
|
|
2269
|
-
* VPC</a> in the
|
|
2264
|
+
* public IPv4 address. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html">Provide network connectivity for
|
|
2265
|
+
* your Auto Scaling instances using Amazon VPC</a> in the
|
|
2266
|
+
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
2270
2267
|
* <p>If you specify this property, you must specify at least one subnet for
|
|
2271
|
-
*
|
|
2268
|
+
* <code>VPCZoneIdentifier</code> when you create your group.</p>
|
|
2272
2269
|
* @public
|
|
2273
2270
|
*/
|
|
2274
2271
|
AssociatePublicIpAddress?: boolean;
|
|
@@ -2277,20 +2274,17 @@ export interface CreateLaunchConfigurationType {
|
|
|
2277
2274
|
* instance with <code>dedicated</code> tenancy runs on isolated, single-tenant hardware
|
|
2278
2275
|
* and can only be launched into a VPC. To launch dedicated instances into a shared tenancy
|
|
2279
2276
|
* VPC (a VPC with the instance placement tenancy attribute set to <code>default</code>),
|
|
2280
|
-
* you must set the value of this property to <code>dedicated</code
|
|
2281
|
-
* see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-dedicated-instances.html">Configuring
|
|
2282
|
-
* instance tenancy with Amazon EC2 Auto Scaling</a> in the
|
|
2283
|
-
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
2277
|
+
* you must set the value of this property to <code>dedicated</code>.</p>
|
|
2284
2278
|
* <p>If you specify <code>PlacementTenancy</code>, you must specify at least one subnet for
|
|
2285
|
-
*
|
|
2279
|
+
* <code>VPCZoneIdentifier</code> when you create your group.</p>
|
|
2286
2280
|
* <p>Valid values: <code>default</code> | <code>dedicated</code>
|
|
2287
2281
|
* </p>
|
|
2288
2282
|
* @public
|
|
2289
2283
|
*/
|
|
2290
2284
|
PlacementTenancy?: string;
|
|
2291
2285
|
/**
|
|
2292
|
-
* <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">
|
|
2293
|
-
*
|
|
2286
|
+
* <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">Configure the instance metadata options</a> in the
|
|
2287
|
+
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
2294
2288
|
* @public
|
|
2295
2289
|
*/
|
|
2296
2290
|
MetadataOptions?: InstanceMetadataOptions;
|
|
@@ -2711,7 +2705,8 @@ export interface EnabledMetric {
|
|
|
2711
2705
|
* </p>
|
|
2712
2706
|
* </li>
|
|
2713
2707
|
* </ul>
|
|
2714
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-
|
|
2708
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-metrics.html">Amazon CloudWatch metrics for
|
|
2709
|
+
* Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
2715
2710
|
* @public
|
|
2716
2711
|
*/
|
|
2717
2712
|
Metric?: string;
|
|
@@ -2776,7 +2771,7 @@ export interface Instance {
|
|
|
2776
2771
|
AvailabilityZone: string | undefined;
|
|
2777
2772
|
/**
|
|
2778
2773
|
* <p>A description of the current lifecycle state. The <code>Quarantined</code> state is
|
|
2779
|
-
* not used. For information
|
|
2774
|
+
* not used. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-lifecycle.html">Amazon EC2 Auto Scaling instance
|
|
2780
2775
|
* lifecycle</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. </p>
|
|
2781
2776
|
* @public
|
|
2782
2777
|
*/
|
|
@@ -2814,7 +2809,8 @@ export interface Instance {
|
|
|
2814
2809
|
}
|
|
2815
2810
|
/**
|
|
2816
2811
|
* <p>Describes an auto scaling process that has been suspended.</p>
|
|
2817
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html#process-types">
|
|
2812
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html#process-types">Types
|
|
2813
|
+
* of processes</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
2818
2814
|
* @public
|
|
2819
2815
|
*/
|
|
2820
2816
|
export interface SuspendedProcess {
|
|
@@ -3176,7 +3172,7 @@ export interface AutoScalingInstanceDetails {
|
|
|
3176
3172
|
AvailabilityZone: string | undefined;
|
|
3177
3173
|
/**
|
|
3178
3174
|
* <p>The lifecycle state for the instance. The <code>Quarantined</code> state is not used.
|
|
3179
|
-
* For information
|
|
3175
|
+
* For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-lifecycle.html">Amazon EC2 Auto Scaling instance
|
|
3180
3176
|
* lifecycle</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. </p>
|
|
3181
3177
|
* <p>Valid values: <code>Pending</code> | <code>Pending:Wait</code> |
|
|
3182
3178
|
* <code>Pending:Proceed</code> | <code>Quarantined</code> | <code>InService</code> |
|
|
@@ -3285,7 +3281,7 @@ export interface DescribeAutoScalingNotificationTypesAnswer {
|
|
|
3285
3281
|
export interface DesiredConfiguration {
|
|
3286
3282
|
/**
|
|
3287
3283
|
* <p>Describes the launch template and the version of the launch template that Amazon EC2 Auto Scaling
|
|
3288
|
-
* uses to launch Amazon EC2 instances. For more information about launch templates, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
|
3284
|
+
* uses to launch Amazon EC2 instances. For more information about launch templates, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-templates.html">Launch
|
|
3289
3285
|
* templates</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
3290
3286
|
* @public
|
|
3291
3287
|
*/
|
|
@@ -3361,8 +3357,7 @@ export interface RefreshPreferences {
|
|
|
3361
3357
|
* <p>(Optional) Threshold values for each checkpoint in ascending order. Each number must
|
|
3362
3358
|
* be unique. To replace all instances in the Auto Scaling group, the last number in the array must
|
|
3363
3359
|
* be <code>100</code>.</p>
|
|
3364
|
-
* <p>For usage examples, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-adding-checkpoints-instance-refresh.html">
|
|
3365
|
-
* checkpoints to an instance refresh</a> in the
|
|
3360
|
+
* <p>For usage examples, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-adding-checkpoints-instance-refresh.html">Add checkpoints to an instance refresh</a> in the
|
|
3366
3361
|
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
3367
3362
|
* @public
|
|
3368
3363
|
*/
|
|
@@ -3779,7 +3774,7 @@ export interface LaunchConfigurationNamesType {
|
|
|
3779
3774
|
NextToken?: string;
|
|
3780
3775
|
/**
|
|
3781
3776
|
* <p>The maximum number of items to return with this call. The default value is
|
|
3782
|
-
*
|
|
3777
|
+
* <code>50</code> and the maximum value is <code>100</code>.</p>
|
|
3783
3778
|
* @public
|
|
3784
3779
|
*/
|
|
3785
3780
|
MaxRecords?: number;
|
|
@@ -3802,22 +3797,22 @@ export interface LaunchConfiguration {
|
|
|
3802
3797
|
/**
|
|
3803
3798
|
* <p>The ID of the Amazon Machine Image (AMI) to use to launch your EC2 instances. For more
|
|
3804
3799
|
* information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html">Find a Linux AMI</a> in the
|
|
3805
|
-
*
|
|
3800
|
+
* <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
3806
3801
|
* @public
|
|
3807
3802
|
*/
|
|
3808
3803
|
ImageId: string | undefined;
|
|
3809
3804
|
/**
|
|
3810
3805
|
* <p>The name of the key pair.</p>
|
|
3811
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html">Amazon EC2
|
|
3812
|
-
*
|
|
3806
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html">Amazon EC2 key pairs and Amazon EC2
|
|
3807
|
+
* instances</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
3813
3808
|
* @public
|
|
3814
3809
|
*/
|
|
3815
3810
|
KeyName?: string;
|
|
3816
3811
|
/**
|
|
3817
3812
|
* <p>A list that contains the security groups to assign to the instances in the Auto Scaling group.
|
|
3818
|
-
* For more information, see <a href="https://docs.aws.amazon.com/
|
|
3819
|
-
*
|
|
3820
|
-
*
|
|
3813
|
+
* For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-security-groups.html">Control traffic to your Amazon Web Services
|
|
3814
|
+
* resources using security groups</a> in the <i>Amazon Virtual Private
|
|
3815
|
+
* Cloud User Guide</i>.</p>
|
|
3821
3816
|
* @public
|
|
3822
3817
|
*/
|
|
3823
3818
|
SecurityGroups?: string[];
|
|
@@ -3834,7 +3829,7 @@ export interface LaunchConfiguration {
|
|
|
3834
3829
|
/**
|
|
3835
3830
|
* <p>The user data to make available to the launched EC2 instances. For more information,
|
|
3836
3831
|
* 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
|
|
3837
|
-
*
|
|
3832
|
+
* user data</a> (Windows). If you are using a command line tool, base64-encoding
|
|
3838
3833
|
* is performed for you, and you can load the text from a file. Otherwise, you must provide
|
|
3839
3834
|
* base64-encoded text. User data is limited to 16 KB.</p>
|
|
3840
3835
|
* @public
|
|
@@ -3860,8 +3855,8 @@ export interface LaunchConfiguration {
|
|
|
3860
3855
|
/**
|
|
3861
3856
|
* <p>The block device mapping entries that define the block devices to attach to the
|
|
3862
3857
|
* instances at launch. By default, the block devices specified in the block device mapping
|
|
3863
|
-
* for the AMI are used. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html">Block
|
|
3864
|
-
*
|
|
3858
|
+
* for the AMI are used. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html">Block device
|
|
3859
|
+
* mappings</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
3865
3860
|
* @public
|
|
3866
3861
|
*/
|
|
3867
3862
|
BlockDeviceMappings?: BlockDeviceMapping[];
|
|
@@ -3869,7 +3864,7 @@ export interface LaunchConfiguration {
|
|
|
3869
3864
|
* <p>Controls whether instances in this group are launched with detailed
|
|
3870
3865
|
* (<code>true</code>) or basic (<code>false</code>) monitoring.</p>
|
|
3871
3866
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/latest/userguide/enable-as-instance-metrics.html">Configure
|
|
3872
|
-
*
|
|
3867
|
+
* monitoring for Auto Scaling instances</a> in the
|
|
3873
3868
|
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
3874
3869
|
* @public
|
|
3875
3870
|
*/
|
|
@@ -3877,8 +3872,8 @@ export interface LaunchConfiguration {
|
|
|
3877
3872
|
/**
|
|
3878
3873
|
* <p>The maximum hourly price to be paid for any Spot Instance launched to fulfill the
|
|
3879
3874
|
* request. Spot Instances are launched when the price you specify exceeds the current Spot
|
|
3880
|
-
* price. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
|
3881
|
-
* Instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
3875
|
+
* price. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-template-spot-instances.html">Requesting Spot
|
|
3876
|
+
* Instances for fault-tolerant and flexible applications</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
3882
3877
|
* @public
|
|
3883
3878
|
*/
|
|
3884
3879
|
SpotPrice?: string;
|
|
@@ -3897,8 +3892,8 @@ export interface LaunchConfiguration {
|
|
|
3897
3892
|
CreatedTime: Date | undefined;
|
|
3898
3893
|
/**
|
|
3899
3894
|
* <p>Specifies whether the launch configuration is optimized for EBS I/O
|
|
3900
|
-
* (<code>true</code>) or not (<code>false</code>). For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
|
3901
|
-
*
|
|
3895
|
+
* (<code>true</code>) or not (<code>false</code>). For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html">Amazon EBS-optimized instances</a> in the
|
|
3896
|
+
* <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
|
|
3902
3897
|
* @public
|
|
3903
3898
|
*/
|
|
3904
3899
|
EbsOptimized?: boolean;
|
|
@@ -3908,8 +3903,9 @@ export interface LaunchConfiguration {
|
|
|
3908
3903
|
* address, unless you disabled the option to assign a public IPv4 address on the subnet.
|
|
3909
3904
|
* If the instance is launched into a nondefault subnet, the default is not to assign a
|
|
3910
3905
|
* public IPv4 address, unless you enabled the option to assign a public IPv4 address on
|
|
3911
|
-
* the subnet. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html">
|
|
3912
|
-
* VPC</a> in the
|
|
3906
|
+
* the subnet. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html">Provide network connectivity for
|
|
3907
|
+
* your Auto Scaling instances using Amazon VPC</a> in the
|
|
3908
|
+
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
3913
3909
|
* @public
|
|
3914
3910
|
*/
|
|
3915
3911
|
AssociatePublicIpAddress?: boolean;
|
|
@@ -3917,15 +3913,12 @@ export interface LaunchConfiguration {
|
|
|
3917
3913
|
* <p>The tenancy of the instance, either <code>default</code> or <code>dedicated</code>. An
|
|
3918
3914
|
* instance with <code>dedicated</code> tenancy runs on isolated, single-tenant hardware
|
|
3919
3915
|
* and can only be launched into a VPC.</p>
|
|
3920
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-dedicated-instances.html">Configuring
|
|
3921
|
-
* instance tenancy with Amazon EC2 Auto Scaling</a> in the
|
|
3922
|
-
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
3923
3916
|
* @public
|
|
3924
3917
|
*/
|
|
3925
3918
|
PlacementTenancy?: string;
|
|
3926
3919
|
/**
|
|
3927
|
-
* <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">
|
|
3928
|
-
*
|
|
3920
|
+
* <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">Configure the instance metadata options</a> in the
|
|
3921
|
+
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
3929
3922
|
* @public
|
|
3930
3923
|
*/
|
|
3931
3924
|
MetadataOptions?: InstanceMetadataOptions;
|
|
@@ -3942,7 +3935,7 @@ export interface LaunchConfigurationsType {
|
|
|
3942
3935
|
/**
|
|
3943
3936
|
* <p>A string that indicates that the response contains more items than can be returned in
|
|
3944
3937
|
* a single response. To receive additional items, specify this string for the
|
|
3945
|
-
*
|
|
3938
|
+
* <code>NextToken</code> value when requesting the next set of items. This value is
|
|
3946
3939
|
* null when there are no more items to return.</p>
|
|
3947
3940
|
* @public
|
|
3948
3941
|
*/
|
|
@@ -4967,17 +4960,26 @@ export interface PredictiveScalingConfiguration {
|
|
|
4967
4960
|
* <ul>
|
|
4968
4961
|
* <li>
|
|
4969
4962
|
* <p>
|
|
4970
|
-
* <code>HonorMaxCapacity</code> - Amazon EC2 Auto Scaling
|
|
4971
|
-
* the
|
|
4963
|
+
* <code>HonorMaxCapacity</code> - Amazon EC2 Auto Scaling can't increase the maximum capacity
|
|
4964
|
+
* of the group when the forecast capacity is close to or exceeds the maximum
|
|
4965
|
+
* capacity.</p>
|
|
4972
4966
|
* </li>
|
|
4973
4967
|
* <li>
|
|
4974
4968
|
* <p>
|
|
4975
|
-
* <code>IncreaseMaxCapacity</code> - Amazon EC2 Auto Scaling can
|
|
4976
|
-
* the
|
|
4977
|
-
*
|
|
4978
|
-
*
|
|
4969
|
+
* <code>IncreaseMaxCapacity</code> - Amazon EC2 Auto Scaling can increase the maximum capacity
|
|
4970
|
+
* of the group when the forecast capacity is close to or exceeds the maximum
|
|
4971
|
+
* capacity. The upper limit is determined by the forecasted capacity and the value
|
|
4972
|
+
* for <code>MaxCapacityBuffer</code>.</p>
|
|
4979
4973
|
* </li>
|
|
4980
4974
|
* </ul>
|
|
4975
|
+
* <important>
|
|
4976
|
+
* <p>Use caution when allowing the maximum capacity to be automatically increased. This
|
|
4977
|
+
* can lead to more instances being launched than intended if the increased maximum
|
|
4978
|
+
* capacity is not monitored and managed. The increased maximum capacity then becomes
|
|
4979
|
+
* the new normal maximum capacity for the Auto Scaling group until you manually update
|
|
4980
|
+
* it. The maximum capacity does not automatically decrease back to the original
|
|
4981
|
+
* maximum.</p>
|
|
4982
|
+
* </important>
|
|
4981
4983
|
* @public
|
|
4982
4984
|
*/
|
|
4983
4985
|
MaxCapacityBreachBehavior?: PredictiveScalingMaxCapacityBreachBehavior;
|
|
@@ -5514,7 +5516,8 @@ export interface DescribeScalingActivitiesType {
|
|
|
5514
5516
|
}
|
|
5515
5517
|
/**
|
|
5516
5518
|
* <p>Describes a process type.</p>
|
|
5517
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html#process-types">
|
|
5519
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html#process-types">Types
|
|
5520
|
+
* of processes</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
5518
5521
|
* @public
|
|
5519
5522
|
*/
|
|
5520
5523
|
export interface ProcessType {
|
|
@@ -6153,7 +6156,8 @@ export interface DisableMetricsCollectionQuery {
|
|
|
6153
6156
|
* </li>
|
|
6154
6157
|
* </ul>
|
|
6155
6158
|
* <p>If you omit this property, all metrics are disabled.</p>
|
|
6156
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-
|
|
6159
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-metrics.html">Amazon CloudWatch metrics for
|
|
6160
|
+
* Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
6157
6161
|
* @public
|
|
6158
6162
|
*/
|
|
6159
6163
|
Metrics?: string[];
|
|
@@ -6274,7 +6278,8 @@ export interface EnableMetricsCollectionQuery {
|
|
|
6274
6278
|
* </ul>
|
|
6275
6279
|
* <p>If you specify <code>Granularity</code> and don't specify any metrics, all metrics are
|
|
6276
6280
|
* enabled.</p>
|
|
6277
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-
|
|
6281
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-metrics.html">Amazon CloudWatch metrics for
|
|
6282
|
+
* Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
6278
6283
|
* @public
|
|
6279
6284
|
*/
|
|
6280
6285
|
Metrics?: string[];
|
|
@@ -6334,7 +6339,7 @@ export interface ExecutePolicyType {
|
|
|
6334
6339
|
* <p>Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before executing
|
|
6335
6340
|
* the policy.</p>
|
|
6336
6341
|
* <p>Valid only if the policy type is <code>SimpleScaling</code>. For more information, see
|
|
6337
|
-
* <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
|
6342
|
+
* <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-cooldowns.html">Scaling
|
|
6338
6343
|
* cooldowns for Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
6339
6344
|
* @public
|
|
6340
6345
|
*/
|
|
@@ -6682,7 +6687,7 @@ export interface PutScalingPolicyType {
|
|
|
6682
6687
|
* <p>A cooldown period, in seconds, that applies to a specific simple scaling policy. When
|
|
6683
6688
|
* a cooldown period is specified here, it overrides the default cooldown.</p>
|
|
6684
6689
|
* <p>Valid only if the policy type is <code>SimpleScaling</code>. For more information, see
|
|
6685
|
-
* <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
|
6690
|
+
* <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-cooldowns.html">Scaling
|
|
6686
6691
|
* cooldowns for Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
6687
6692
|
* <p>Default: None</p>
|
|
6688
6693
|
* @public
|
|
@@ -6760,7 +6765,7 @@ export interface PutScalingPolicyType {
|
|
|
6760
6765
|
TargetTrackingConfiguration?: TargetTrackingConfiguration;
|
|
6761
6766
|
/**
|
|
6762
6767
|
* <p>Indicates whether the scaling policy is enabled or disabled. The default is enabled.
|
|
6763
|
-
* For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-enable-disable-scaling-policy.html">
|
|
6768
|
+
* For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-enable-disable-scaling-policy.html">Disable a
|
|
6764
6769
|
* scaling policy for an Auto Scaling group</a> in the
|
|
6765
6770
|
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
6766
6771
|
* @public
|
|
@@ -7087,9 +7092,8 @@ export interface SetInstanceHealthQuery {
|
|
|
7087
7092
|
* specified for the group, by default, this call respects the grace period. Set this to
|
|
7088
7093
|
* <code>False</code>, to have the call not respect the grace period associated with
|
|
7089
7094
|
* the group.</p>
|
|
7090
|
-
* <p>For more information about the health check grace
|
|
7091
|
-
*
|
|
7092
|
-
* Reference</i>.</p>
|
|
7095
|
+
* <p>For more information about the health check grace period, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/health-check-grace-period.html">Set the health check grace period for an Auto Scaling group</a> in the
|
|
7096
|
+
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
7093
7097
|
* @public
|
|
7094
7098
|
*/
|
|
7095
7099
|
ShouldRespectGracePeriod?: boolean;
|
|
@@ -7285,8 +7289,8 @@ export interface UpdateAutoScalingGroupType {
|
|
|
7285
7289
|
* <i>Only needed if you use simple scaling policies.</i>
|
|
7286
7290
|
* </p>
|
|
7287
7291
|
* <p>The amount of time, in seconds, between one scaling activity ending and another one
|
|
7288
|
-
* starting due to simple scaling policies. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
|
7289
|
-
* for Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
7292
|
+
* starting due to simple scaling policies. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-cooldowns.html">Scaling
|
|
7293
|
+
* cooldowns for Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
7290
7294
|
* @public
|
|
7291
7295
|
*/
|
|
7292
7296
|
DefaultCooldown?: number;
|
|
@@ -7299,8 +7303,9 @@ export interface UpdateAutoScalingGroupType {
|
|
|
7299
7303
|
* <p>A comma-separated value string of one or more health check types.</p>
|
|
7300
7304
|
* <p>The valid values are <code>EC2</code>, <code>ELB</code>, and <code>VPC_LATTICE</code>.
|
|
7301
7305
|
* <code>EC2</code> is the default health check and cannot be disabled. For more
|
|
7302
|
-
* information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
|
7303
|
-
* instances
|
|
7306
|
+
* information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-health-checks.html">Health checks
|
|
7307
|
+
* for instances in an Auto Scaling group</a> in the
|
|
7308
|
+
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
7304
7309
|
* <p>Only specify <code>EC2</code> if you must clear a value that was previously
|
|
7305
7310
|
* set.</p>
|
|
7306
7311
|
* @public
|
|
@@ -7338,8 +7343,8 @@ export interface UpdateAutoScalingGroupType {
|
|
|
7338
7343
|
VPCZoneIdentifier?: string;
|
|
7339
7344
|
/**
|
|
7340
7345
|
* <p>A policy or a list of policies that are used to select the instances to terminate. The
|
|
7341
|
-
* policies are executed in the order that you list them. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-termination-policies.html">
|
|
7342
|
-
* Amazon EC2 Auto Scaling
|
|
7346
|
+
* policies are executed in the order that you list them. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-termination-policies.html">Configure
|
|
7347
|
+
* termination policies for Amazon EC2 Auto Scaling</a> in the
|
|
7343
7348
|
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
7344
7349
|
* <p>Valid values: <code>Default</code> | <code>AllocationStrategy</code> |
|
|
7345
7350
|
* <code>ClosestToNextInstanceHour</code> | <code>NewestInstance</code> |
|
|
@@ -7353,7 +7358,7 @@ export interface UpdateAutoScalingGroupType {
|
|
|
7353
7358
|
/**
|
|
7354
7359
|
* <p>Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling
|
|
7355
7360
|
* when scaling in. For more information about preventing instances from terminating on
|
|
7356
|
-
* scale in, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html">
|
|
7361
|
+
* scale in, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html">Use
|
|
7357
7362
|
* instance scale-in protection</a> in the
|
|
7358
7363
|
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
7359
7364
|
* @public
|
|
@@ -7390,9 +7395,8 @@ export interface UpdateAutoScalingGroupType {
|
|
|
7390
7395
|
/**
|
|
7391
7396
|
* <p>The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling
|
|
7392
7397
|
* supports <code>DesiredCapacityType</code> for attribute-based instance type selection
|
|
7393
|
-
* only. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-
|
|
7394
|
-
*
|
|
7395
|
-
* <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
7398
|
+
* only. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-mixed-instances-group-attribute-based-instance-type-selection.html">Create a mixed instances group using attribute-based instance type
|
|
7399
|
+
* selection</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
|
|
7396
7400
|
* <p>By default, Amazon EC2 Auto Scaling specifies <code>units</code>, which translates into number of
|
|
7397
7401
|
* instances.</p>
|
|
7398
7402
|
* <p>Valid values: <code>units</code> | <code>vcpu</code> | <code>memory-mib</code>
|
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.606.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-auto-scaling",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.606.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.606.0",
|
|
25
25
|
"@aws-sdk/core": "3.598.0",
|
|
26
26
|
"@aws-sdk/credential-provider-node": "3.600.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.598.0",
|