UNPKG

146 kBTypeScriptView Raw
1import {Request} from '../lib/request';
2import {Response} from '../lib/response';
3import {AWSError} from '../lib/error';
4import {Service} from '../lib/service';
5import {ServiceConfigurationOptions} from '../lib/service';
6import {ConfigBase as Config} from '../lib/config';
7interface Blob {}
8declare class AutoScaling extends Service {
9 /**
10 * Constructs a service object. This object has one method for each API operation.
11 */
12 constructor(options?: AutoScaling.Types.ClientConfiguration)
13 config: Config & AutoScaling.Types.ClientConfiguration;
14 /**
15 * Attaches one or more EC2 instances to the specified Auto Scaling group. When you attach instances, Amazon EC2 Auto Scaling increases the desired capacity of the group by the number of instances being attached. If the number of instances being attached plus the desired capacity of the group exceeds the maximum size of the group, the operation fails. If there is a Classic Load Balancer attached to your Auto Scaling group, the instances are also registered with the load balancer. If there are target groups attached to your Auto Scaling group, the instances are also registered with the target groups. For more information, see Attach EC2 Instances to Your Auto Scaling Group in the Amazon EC2 Auto Scaling User Guide.
16 */
17 attachInstances(params: AutoScaling.Types.AttachInstancesQuery, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
18 /**
19 * Attaches one or more EC2 instances to the specified Auto Scaling group. When you attach instances, Amazon EC2 Auto Scaling increases the desired capacity of the group by the number of instances being attached. If the number of instances being attached plus the desired capacity of the group exceeds the maximum size of the group, the operation fails. If there is a Classic Load Balancer attached to your Auto Scaling group, the instances are also registered with the load balancer. If there are target groups attached to your Auto Scaling group, the instances are also registered with the target groups. For more information, see Attach EC2 Instances to Your Auto Scaling Group in the Amazon EC2 Auto Scaling User Guide.
20 */
21 attachInstances(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
22 /**
23 * Attaches one or more target groups to the specified Auto Scaling group. To describe the target groups for an Auto Scaling group, use DescribeLoadBalancerTargetGroups. To detach the target group from the Auto Scaling group, use DetachLoadBalancerTargetGroups. With Application Load Balancers and Network Load Balancers, instances are registered as targets with a target group. With Classic Load Balancers, instances are registered with the load balancer. For more information, see Attaching a Load Balancer to Your Auto Scaling Group in the Amazon EC2 Auto Scaling User Guide.
24 */
25 attachLoadBalancerTargetGroups(params: AutoScaling.Types.AttachLoadBalancerTargetGroupsType, callback?: (err: AWSError, data: AutoScaling.Types.AttachLoadBalancerTargetGroupsResultType) => void): Request<AutoScaling.Types.AttachLoadBalancerTargetGroupsResultType, AWSError>;
26 /**
27 * Attaches one or more target groups to the specified Auto Scaling group. To describe the target groups for an Auto Scaling group, use DescribeLoadBalancerTargetGroups. To detach the target group from the Auto Scaling group, use DetachLoadBalancerTargetGroups. With Application Load Balancers and Network Load Balancers, instances are registered as targets with a target group. With Classic Load Balancers, instances are registered with the load balancer. For more information, see Attaching a Load Balancer to Your Auto Scaling Group in the Amazon EC2 Auto Scaling User Guide.
28 */
29 attachLoadBalancerTargetGroups(callback?: (err: AWSError, data: AutoScaling.Types.AttachLoadBalancerTargetGroupsResultType) => void): Request<AutoScaling.Types.AttachLoadBalancerTargetGroupsResultType, AWSError>;
30 /**
31 * Attaches one or more Classic Load Balancers to the specified Auto Scaling group. To attach an Application Load Balancer or a Network Load Balancer instead, see AttachLoadBalancerTargetGroups. To describe the load balancers for an Auto Scaling group, use DescribeLoadBalancers. To detach the load balancer from the Auto Scaling group, use DetachLoadBalancers. For more information, see Attaching a Load Balancer to Your Auto Scaling Group in the Amazon EC2 Auto Scaling User Guide.
32 */
33 attachLoadBalancers(params: AutoScaling.Types.AttachLoadBalancersType, callback?: (err: AWSError, data: AutoScaling.Types.AttachLoadBalancersResultType) => void): Request<AutoScaling.Types.AttachLoadBalancersResultType, AWSError>;
34 /**
35 * Attaches one or more Classic Load Balancers to the specified Auto Scaling group. To attach an Application Load Balancer or a Network Load Balancer instead, see AttachLoadBalancerTargetGroups. To describe the load balancers for an Auto Scaling group, use DescribeLoadBalancers. To detach the load balancer from the Auto Scaling group, use DetachLoadBalancers. For more information, see Attaching a Load Balancer to Your Auto Scaling Group in the Amazon EC2 Auto Scaling User Guide.
36 */
37 attachLoadBalancers(callback?: (err: AWSError, data: AutoScaling.Types.AttachLoadBalancersResultType) => void): Request<AutoScaling.Types.AttachLoadBalancersResultType, AWSError>;
38 /**
39 * Deletes one or more scheduled actions for the specified Auto Scaling group.
40 */
41 batchDeleteScheduledAction(params: AutoScaling.Types.BatchDeleteScheduledActionType, callback?: (err: AWSError, data: AutoScaling.Types.BatchDeleteScheduledActionAnswer) => void): Request<AutoScaling.Types.BatchDeleteScheduledActionAnswer, AWSError>;
42 /**
43 * Deletes one or more scheduled actions for the specified Auto Scaling group.
44 */
45 batchDeleteScheduledAction(callback?: (err: AWSError, data: AutoScaling.Types.BatchDeleteScheduledActionAnswer) => void): Request<AutoScaling.Types.BatchDeleteScheduledActionAnswer, AWSError>;
46 /**
47 * Creates or updates one or more scheduled scaling actions for an Auto Scaling group. If you leave a parameter unspecified when updating a scheduled scaling action, the corresponding value remains unchanged.
48 */
49 batchPutScheduledUpdateGroupAction(params: AutoScaling.Types.BatchPutScheduledUpdateGroupActionType, callback?: (err: AWSError, data: AutoScaling.Types.BatchPutScheduledUpdateGroupActionAnswer) => void): Request<AutoScaling.Types.BatchPutScheduledUpdateGroupActionAnswer, AWSError>;
50 /**
51 * Creates or updates one or more scheduled scaling actions for an Auto Scaling group. If you leave a parameter unspecified when updating a scheduled scaling action, the corresponding value remains unchanged.
52 */
53 batchPutScheduledUpdateGroupAction(callback?: (err: AWSError, data: AutoScaling.Types.BatchPutScheduledUpdateGroupActionAnswer) => void): Request<AutoScaling.Types.BatchPutScheduledUpdateGroupActionAnswer, AWSError>;
54 /**
55 * Completes the lifecycle action for the specified token or instance with the specified result. This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group: (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates instances. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish lifecycle notifications to the target. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate. If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state. If you finish before the timeout period ends, complete the lifecycle action. For more information, see Amazon EC2 Auto Scaling Lifecycle Hooks in the Amazon EC2 Auto Scaling User Guide.
56 */
57 completeLifecycleAction(params: AutoScaling.Types.CompleteLifecycleActionType, callback?: (err: AWSError, data: AutoScaling.Types.CompleteLifecycleActionAnswer) => void): Request<AutoScaling.Types.CompleteLifecycleActionAnswer, AWSError>;
58 /**
59 * Completes the lifecycle action for the specified token or instance with the specified result. This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group: (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates instances. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish lifecycle notifications to the target. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate. If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state. If you finish before the timeout period ends, complete the lifecycle action. For more information, see Amazon EC2 Auto Scaling Lifecycle Hooks in the Amazon EC2 Auto Scaling User Guide.
60 */
61 completeLifecycleAction(callback?: (err: AWSError, data: AutoScaling.Types.CompleteLifecycleActionAnswer) => void): Request<AutoScaling.Types.CompleteLifecycleActionAnswer, AWSError>;
62 /**
63 * Creates an Auto Scaling group with the specified name and attributes. If you exceed your maximum limit of Auto Scaling groups, the call fails. For information about viewing this limit, see DescribeAccountLimits. For information about updating this limit, see Amazon EC2 Auto Scaling Limits in the Amazon EC2 Auto Scaling User Guide.
64 */
65 createAutoScalingGroup(params: AutoScaling.Types.CreateAutoScalingGroupType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
66 /**
67 * Creates an Auto Scaling group with the specified name and attributes. If you exceed your maximum limit of Auto Scaling groups, the call fails. For information about viewing this limit, see DescribeAccountLimits. For information about updating this limit, see Amazon EC2 Auto Scaling Limits in the Amazon EC2 Auto Scaling User Guide.
68 */
69 createAutoScalingGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
70 /**
71 * Creates a launch configuration. If you exceed your maximum limit of launch configurations, the call fails. For information about viewing this limit, see DescribeAccountLimits. For information about updating this limit, see Amazon EC2 Auto Scaling Limits in the Amazon EC2 Auto Scaling User Guide. For more information, see Launch Configurations in the Amazon EC2 Auto Scaling User Guide.
72 */
73 createLaunchConfiguration(params: AutoScaling.Types.CreateLaunchConfigurationType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
74 /**
75 * Creates a launch configuration. If you exceed your maximum limit of launch configurations, the call fails. For information about viewing this limit, see DescribeAccountLimits. For information about updating this limit, see Amazon EC2 Auto Scaling Limits in the Amazon EC2 Auto Scaling User Guide. For more information, see Launch Configurations in the Amazon EC2 Auto Scaling User Guide.
76 */
77 createLaunchConfiguration(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
78 /**
79 * Creates or updates tags for the specified Auto Scaling group. When you specify a tag with a key that already exists, the operation overwrites the previous tag definition, and you do not get an error message. For more information, see Tagging Auto Scaling Groups and Instances in the Amazon EC2 Auto Scaling User Guide.
80 */
81 createOrUpdateTags(params: AutoScaling.Types.CreateOrUpdateTagsType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
82 /**
83 * Creates or updates tags for the specified Auto Scaling group. When you specify a tag with a key that already exists, the operation overwrites the previous tag definition, and you do not get an error message. For more information, see Tagging Auto Scaling Groups and Instances in the Amazon EC2 Auto Scaling User Guide.
84 */
85 createOrUpdateTags(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
86 /**
87 * Deletes the specified Auto Scaling group. If the group has instances or scaling activities in progress, you must specify the option to force the deletion in order for it to succeed. If the group has policies, deleting the group deletes the policies, the underlying alarm actions, and any alarm that no longer has an associated action. To remove instances from the Auto Scaling group before deleting it, call DetachInstances with the list of instances and the option to decrement the desired capacity. This ensures that Amazon EC2 Auto Scaling does not launch replacement instances. To terminate all instances before deleting the Auto Scaling group, call UpdateAutoScalingGroup and set the minimum size and desired capacity of the Auto Scaling group to zero.
88 */
89 deleteAutoScalingGroup(params: AutoScaling.Types.DeleteAutoScalingGroupType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
90 /**
91 * Deletes the specified Auto Scaling group. If the group has instances or scaling activities in progress, you must specify the option to force the deletion in order for it to succeed. If the group has policies, deleting the group deletes the policies, the underlying alarm actions, and any alarm that no longer has an associated action. To remove instances from the Auto Scaling group before deleting it, call DetachInstances with the list of instances and the option to decrement the desired capacity. This ensures that Amazon EC2 Auto Scaling does not launch replacement instances. To terminate all instances before deleting the Auto Scaling group, call UpdateAutoScalingGroup and set the minimum size and desired capacity of the Auto Scaling group to zero.
92 */
93 deleteAutoScalingGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
94 /**
95 * Deletes the specified launch configuration. The launch configuration must not be attached to an Auto Scaling group. When this call completes, the launch configuration is no longer available for use.
96 */
97 deleteLaunchConfiguration(params: AutoScaling.Types.LaunchConfigurationNameType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
98 /**
99 * Deletes the specified launch configuration. The launch configuration must not be attached to an Auto Scaling group. When this call completes, the launch configuration is no longer available for use.
100 */
101 deleteLaunchConfiguration(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
102 /**
103 * Deletes the specified lifecycle hook. If there are any outstanding lifecycle actions, they are completed first (ABANDON for launching instances, CONTINUE for terminating instances).
104 */
105 deleteLifecycleHook(params: AutoScaling.Types.DeleteLifecycleHookType, callback?: (err: AWSError, data: AutoScaling.Types.DeleteLifecycleHookAnswer) => void): Request<AutoScaling.Types.DeleteLifecycleHookAnswer, AWSError>;
106 /**
107 * Deletes the specified lifecycle hook. If there are any outstanding lifecycle actions, they are completed first (ABANDON for launching instances, CONTINUE for terminating instances).
108 */
109 deleteLifecycleHook(callback?: (err: AWSError, data: AutoScaling.Types.DeleteLifecycleHookAnswer) => void): Request<AutoScaling.Types.DeleteLifecycleHookAnswer, AWSError>;
110 /**
111 * Deletes the specified notification.
112 */
113 deleteNotificationConfiguration(params: AutoScaling.Types.DeleteNotificationConfigurationType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
114 /**
115 * Deletes the specified notification.
116 */
117 deleteNotificationConfiguration(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
118 /**
119 * Deletes the specified scaling policy. Deleting a policy deletes the underlying alarm action, but does not delete the alarm, even if it no longer has an associated action.
120 */
121 deletePolicy(params: AutoScaling.Types.DeletePolicyType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
122 /**
123 * Deletes the specified scaling policy. Deleting a policy deletes the underlying alarm action, but does not delete the alarm, even if it no longer has an associated action.
124 */
125 deletePolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
126 /**
127 * Deletes the specified scheduled action.
128 */
129 deleteScheduledAction(params: AutoScaling.Types.DeleteScheduledActionType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
130 /**
131 * Deletes the specified scheduled action.
132 */
133 deleteScheduledAction(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
134 /**
135 * Deletes the specified tags.
136 */
137 deleteTags(params: AutoScaling.Types.DeleteTagsType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
138 /**
139 * Deletes the specified tags.
140 */
141 deleteTags(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
142 /**
143 * Describes the current Amazon EC2 Auto Scaling resource limits for your AWS account. For information about requesting an increase in these limits, see Amazon EC2 Auto Scaling Limits in the Amazon EC2 Auto Scaling User Guide.
144 */
145 describeAccountLimits(callback?: (err: AWSError, data: AutoScaling.Types.DescribeAccountLimitsAnswer) => void): Request<AutoScaling.Types.DescribeAccountLimitsAnswer, AWSError>;
146 /**
147 * Describes the policy adjustment types for use with PutScalingPolicy.
148 */
149 describeAdjustmentTypes(callback?: (err: AWSError, data: AutoScaling.Types.DescribeAdjustmentTypesAnswer) => void): Request<AutoScaling.Types.DescribeAdjustmentTypesAnswer, AWSError>;
150 /**
151 * Describes one or more Auto Scaling groups.
152 */
153 describeAutoScalingGroups(params: AutoScaling.Types.AutoScalingGroupNamesType, callback?: (err: AWSError, data: AutoScaling.Types.AutoScalingGroupsType) => void): Request<AutoScaling.Types.AutoScalingGroupsType, AWSError>;
154 /**
155 * Describes one or more Auto Scaling groups.
156 */
157 describeAutoScalingGroups(callback?: (err: AWSError, data: AutoScaling.Types.AutoScalingGroupsType) => void): Request<AutoScaling.Types.AutoScalingGroupsType, AWSError>;
158 /**
159 * Describes one or more Auto Scaling instances.
160 */
161 describeAutoScalingInstances(params: AutoScaling.Types.DescribeAutoScalingInstancesType, callback?: (err: AWSError, data: AutoScaling.Types.AutoScalingInstancesType) => void): Request<AutoScaling.Types.AutoScalingInstancesType, AWSError>;
162 /**
163 * Describes one or more Auto Scaling instances.
164 */
165 describeAutoScalingInstances(callback?: (err: AWSError, data: AutoScaling.Types.AutoScalingInstancesType) => void): Request<AutoScaling.Types.AutoScalingInstancesType, AWSError>;
166 /**
167 * Describes the notification types that are supported by Amazon EC2 Auto Scaling.
168 */
169 describeAutoScalingNotificationTypes(callback?: (err: AWSError, data: AutoScaling.Types.DescribeAutoScalingNotificationTypesAnswer) => void): Request<AutoScaling.Types.DescribeAutoScalingNotificationTypesAnswer, AWSError>;
170 /**
171 * Describes one or more launch configurations.
172 */
173 describeLaunchConfigurations(params: AutoScaling.Types.LaunchConfigurationNamesType, callback?: (err: AWSError, data: AutoScaling.Types.LaunchConfigurationsType) => void): Request<AutoScaling.Types.LaunchConfigurationsType, AWSError>;
174 /**
175 * Describes one or more launch configurations.
176 */
177 describeLaunchConfigurations(callback?: (err: AWSError, data: AutoScaling.Types.LaunchConfigurationsType) => void): Request<AutoScaling.Types.LaunchConfigurationsType, AWSError>;
178 /**
179 * Describes the available types of lifecycle hooks. The following hook types are supported: autoscaling:EC2_INSTANCE_LAUNCHING autoscaling:EC2_INSTANCE_TERMINATING
180 */
181 describeLifecycleHookTypes(callback?: (err: AWSError, data: AutoScaling.Types.DescribeLifecycleHookTypesAnswer) => void): Request<AutoScaling.Types.DescribeLifecycleHookTypesAnswer, AWSError>;
182 /**
183 * Describes the lifecycle hooks for the specified Auto Scaling group.
184 */
185 describeLifecycleHooks(params: AutoScaling.Types.DescribeLifecycleHooksType, callback?: (err: AWSError, data: AutoScaling.Types.DescribeLifecycleHooksAnswer) => void): Request<AutoScaling.Types.DescribeLifecycleHooksAnswer, AWSError>;
186 /**
187 * Describes the lifecycle hooks for the specified Auto Scaling group.
188 */
189 describeLifecycleHooks(callback?: (err: AWSError, data: AutoScaling.Types.DescribeLifecycleHooksAnswer) => void): Request<AutoScaling.Types.DescribeLifecycleHooksAnswer, AWSError>;
190 /**
191 * Describes the target groups for the specified Auto Scaling group.
192 */
193 describeLoadBalancerTargetGroups(params: AutoScaling.Types.DescribeLoadBalancerTargetGroupsRequest, callback?: (err: AWSError, data: AutoScaling.Types.DescribeLoadBalancerTargetGroupsResponse) => void): Request<AutoScaling.Types.DescribeLoadBalancerTargetGroupsResponse, AWSError>;
194 /**
195 * Describes the target groups for the specified Auto Scaling group.
196 */
197 describeLoadBalancerTargetGroups(callback?: (err: AWSError, data: AutoScaling.Types.DescribeLoadBalancerTargetGroupsResponse) => void): Request<AutoScaling.Types.DescribeLoadBalancerTargetGroupsResponse, AWSError>;
198 /**
199 * Describes the load balancers for the specified Auto Scaling group. This operation describes only Classic Load Balancers. If you have Application Load Balancers or Network Load Balancers, use DescribeLoadBalancerTargetGroups instead.
200 */
201 describeLoadBalancers(params: AutoScaling.Types.DescribeLoadBalancersRequest, callback?: (err: AWSError, data: AutoScaling.Types.DescribeLoadBalancersResponse) => void): Request<AutoScaling.Types.DescribeLoadBalancersResponse, AWSError>;
202 /**
203 * Describes the load balancers for the specified Auto Scaling group. This operation describes only Classic Load Balancers. If you have Application Load Balancers or Network Load Balancers, use DescribeLoadBalancerTargetGroups instead.
204 */
205 describeLoadBalancers(callback?: (err: AWSError, data: AutoScaling.Types.DescribeLoadBalancersResponse) => void): Request<AutoScaling.Types.DescribeLoadBalancersResponse, AWSError>;
206 /**
207 * Describes the available CloudWatch metrics for Amazon EC2 Auto Scaling. The GroupStandbyInstances metric is not returned by default. You must explicitly request this metric when calling EnableMetricsCollection.
208 */
209 describeMetricCollectionTypes(callback?: (err: AWSError, data: AutoScaling.Types.DescribeMetricCollectionTypesAnswer) => void): Request<AutoScaling.Types.DescribeMetricCollectionTypesAnswer, AWSError>;
210 /**
211 * Describes the notification actions associated with the specified Auto Scaling group.
212 */
213 describeNotificationConfigurations(params: AutoScaling.Types.DescribeNotificationConfigurationsType, callback?: (err: AWSError, data: AutoScaling.Types.DescribeNotificationConfigurationsAnswer) => void): Request<AutoScaling.Types.DescribeNotificationConfigurationsAnswer, AWSError>;
214 /**
215 * Describes the notification actions associated with the specified Auto Scaling group.
216 */
217 describeNotificationConfigurations(callback?: (err: AWSError, data: AutoScaling.Types.DescribeNotificationConfigurationsAnswer) => void): Request<AutoScaling.Types.DescribeNotificationConfigurationsAnswer, AWSError>;
218 /**
219 * Describes the policies for the specified Auto Scaling group.
220 */
221 describePolicies(params: AutoScaling.Types.DescribePoliciesType, callback?: (err: AWSError, data: AutoScaling.Types.PoliciesType) => void): Request<AutoScaling.Types.PoliciesType, AWSError>;
222 /**
223 * Describes the policies for the specified Auto Scaling group.
224 */
225 describePolicies(callback?: (err: AWSError, data: AutoScaling.Types.PoliciesType) => void): Request<AutoScaling.Types.PoliciesType, AWSError>;
226 /**
227 * Describes one or more scaling activities for the specified Auto Scaling group.
228 */
229 describeScalingActivities(params: AutoScaling.Types.DescribeScalingActivitiesType, callback?: (err: AWSError, data: AutoScaling.Types.ActivitiesType) => void): Request<AutoScaling.Types.ActivitiesType, AWSError>;
230 /**
231 * Describes one or more scaling activities for the specified Auto Scaling group.
232 */
233 describeScalingActivities(callback?: (err: AWSError, data: AutoScaling.Types.ActivitiesType) => void): Request<AutoScaling.Types.ActivitiesType, AWSError>;
234 /**
235 * Describes the scaling process types for use with ResumeProcesses and SuspendProcesses.
236 */
237 describeScalingProcessTypes(callback?: (err: AWSError, data: AutoScaling.Types.ProcessesType) => void): Request<AutoScaling.Types.ProcessesType, AWSError>;
238 /**
239 * Describes the actions scheduled for your Auto Scaling group that haven't run. To describe the actions that have already run, use DescribeScalingActivities.
240 */
241 describeScheduledActions(params: AutoScaling.Types.DescribeScheduledActionsType, callback?: (err: AWSError, data: AutoScaling.Types.ScheduledActionsType) => void): Request<AutoScaling.Types.ScheduledActionsType, AWSError>;
242 /**
243 * Describes the actions scheduled for your Auto Scaling group that haven't run. To describe the actions that have already run, use DescribeScalingActivities.
244 */
245 describeScheduledActions(callback?: (err: AWSError, data: AutoScaling.Types.ScheduledActionsType) => void): Request<AutoScaling.Types.ScheduledActionsType, AWSError>;
246 /**
247 * Describes the specified tags. You can use filters to limit the results. For example, you can query for the tags for a specific Auto Scaling group. You can specify multiple values for a filter. A tag must match at least one of the specified values for it to be included in the results. You can also specify multiple filters. The result includes information for a particular tag only if it matches all the filters. If there's no match, no special message is returned.
248 */
249 describeTags(params: AutoScaling.Types.DescribeTagsType, callback?: (err: AWSError, data: AutoScaling.Types.TagsType) => void): Request<AutoScaling.Types.TagsType, AWSError>;
250 /**
251 * Describes the specified tags. You can use filters to limit the results. For example, you can query for the tags for a specific Auto Scaling group. You can specify multiple values for a filter. A tag must match at least one of the specified values for it to be included in the results. You can also specify multiple filters. The result includes information for a particular tag only if it matches all the filters. If there's no match, no special message is returned.
252 */
253 describeTags(callback?: (err: AWSError, data: AutoScaling.Types.TagsType) => void): Request<AutoScaling.Types.TagsType, AWSError>;
254 /**
255 * Describes the termination policies supported by Amazon EC2 Auto Scaling. For more information, see Controlling Which Auto Scaling Instances Terminate During Scale In in the Amazon EC2 Auto Scaling User Guide.
256 */
257 describeTerminationPolicyTypes(callback?: (err: AWSError, data: AutoScaling.Types.DescribeTerminationPolicyTypesAnswer) => void): Request<AutoScaling.Types.DescribeTerminationPolicyTypesAnswer, AWSError>;
258 /**
259 * Removes one or more instances from the specified Auto Scaling group. After the instances are detached, you can manage them independent of the Auto Scaling group. If you do not specify the option to decrement the desired capacity, Amazon EC2 Auto Scaling launches instances to replace the ones that are detached. If there is a Classic Load Balancer attached to the Auto Scaling group, the instances are deregistered from the load balancer. If there are target groups attached to the Auto Scaling group, the instances are deregistered from the target groups. For more information, see Detach EC2 Instances from Your Auto Scaling Group in the Amazon EC2 Auto Scaling User Guide.
260 */
261 detachInstances(params: AutoScaling.Types.DetachInstancesQuery, callback?: (err: AWSError, data: AutoScaling.Types.DetachInstancesAnswer) => void): Request<AutoScaling.Types.DetachInstancesAnswer, AWSError>;
262 /**
263 * Removes one or more instances from the specified Auto Scaling group. After the instances are detached, you can manage them independent of the Auto Scaling group. If you do not specify the option to decrement the desired capacity, Amazon EC2 Auto Scaling launches instances to replace the ones that are detached. If there is a Classic Load Balancer attached to the Auto Scaling group, the instances are deregistered from the load balancer. If there are target groups attached to the Auto Scaling group, the instances are deregistered from the target groups. For more information, see Detach EC2 Instances from Your Auto Scaling Group in the Amazon EC2 Auto Scaling User Guide.
264 */
265 detachInstances(callback?: (err: AWSError, data: AutoScaling.Types.DetachInstancesAnswer) => void): Request<AutoScaling.Types.DetachInstancesAnswer, AWSError>;
266 /**
267 * Detaches one or more target groups from the specified Auto Scaling group.
268 */
269 detachLoadBalancerTargetGroups(params: AutoScaling.Types.DetachLoadBalancerTargetGroupsType, callback?: (err: AWSError, data: AutoScaling.Types.DetachLoadBalancerTargetGroupsResultType) => void): Request<AutoScaling.Types.DetachLoadBalancerTargetGroupsResultType, AWSError>;
270 /**
271 * Detaches one or more target groups from the specified Auto Scaling group.
272 */
273 detachLoadBalancerTargetGroups(callback?: (err: AWSError, data: AutoScaling.Types.DetachLoadBalancerTargetGroupsResultType) => void): Request<AutoScaling.Types.DetachLoadBalancerTargetGroupsResultType, AWSError>;
274 /**
275 * Detaches one or more Classic Load Balancers from the specified Auto Scaling group. This operation detaches only Classic Load Balancers. If you have Application Load Balancers or Network Load Balancers, use DetachLoadBalancerTargetGroups instead. When you detach a load balancer, it enters the Removing state while deregistering the instances in the group. When all instances are deregistered, then you can no longer describe the load balancer using DescribeLoadBalancers. The instances remain running.
276 */
277 detachLoadBalancers(params: AutoScaling.Types.DetachLoadBalancersType, callback?: (err: AWSError, data: AutoScaling.Types.DetachLoadBalancersResultType) => void): Request<AutoScaling.Types.DetachLoadBalancersResultType, AWSError>;
278 /**
279 * Detaches one or more Classic Load Balancers from the specified Auto Scaling group. This operation detaches only Classic Load Balancers. If you have Application Load Balancers or Network Load Balancers, use DetachLoadBalancerTargetGroups instead. When you detach a load balancer, it enters the Removing state while deregistering the instances in the group. When all instances are deregistered, then you can no longer describe the load balancer using DescribeLoadBalancers. The instances remain running.
280 */
281 detachLoadBalancers(callback?: (err: AWSError, data: AutoScaling.Types.DetachLoadBalancersResultType) => void): Request<AutoScaling.Types.DetachLoadBalancersResultType, AWSError>;
282 /**
283 * Disables group metrics for the specified Auto Scaling group.
284 */
285 disableMetricsCollection(params: AutoScaling.Types.DisableMetricsCollectionQuery, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
286 /**
287 * Disables group metrics for the specified Auto Scaling group.
288 */
289 disableMetricsCollection(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
290 /**
291 * Enables group metrics for the specified Auto Scaling group. For more information, see Monitoring Your Auto Scaling Groups and Instances in the Amazon EC2 Auto Scaling User Guide.
292 */
293 enableMetricsCollection(params: AutoScaling.Types.EnableMetricsCollectionQuery, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
294 /**
295 * Enables group metrics for the specified Auto Scaling group. For more information, see Monitoring Your Auto Scaling Groups and Instances in the Amazon EC2 Auto Scaling User Guide.
296 */
297 enableMetricsCollection(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
298 /**
299 * Moves the specified instances into the standby state. For more information, see Temporarily Removing Instances from Your Auto Scaling Group in the Amazon EC2 Auto Scaling User Guide.
300 */
301 enterStandby(params: AutoScaling.Types.EnterStandbyQuery, callback?: (err: AWSError, data: AutoScaling.Types.EnterStandbyAnswer) => void): Request<AutoScaling.Types.EnterStandbyAnswer, AWSError>;
302 /**
303 * Moves the specified instances into the standby state. For more information, see Temporarily Removing Instances from Your Auto Scaling Group in the Amazon EC2 Auto Scaling User Guide.
304 */
305 enterStandby(callback?: (err: AWSError, data: AutoScaling.Types.EnterStandbyAnswer) => void): Request<AutoScaling.Types.EnterStandbyAnswer, AWSError>;
306 /**
307 * Executes the specified policy.
308 */
309 executePolicy(params: AutoScaling.Types.ExecutePolicyType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
310 /**
311 * Executes the specified policy.
312 */
313 executePolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
314 /**
315 * Moves the specified instances out of the standby state. For more information, see Temporarily Removing Instances from Your Auto Scaling Group in the Amazon EC2 Auto Scaling User Guide.
316 */
317 exitStandby(params: AutoScaling.Types.ExitStandbyQuery, callback?: (err: AWSError, data: AutoScaling.Types.ExitStandbyAnswer) => void): Request<AutoScaling.Types.ExitStandbyAnswer, AWSError>;
318 /**
319 * Moves the specified instances out of the standby state. For more information, see Temporarily Removing Instances from Your Auto Scaling Group in the Amazon EC2 Auto Scaling User Guide.
320 */
321 exitStandby(callback?: (err: AWSError, data: AutoScaling.Types.ExitStandbyAnswer) => void): Request<AutoScaling.Types.ExitStandbyAnswer, AWSError>;
322 /**
323 * Creates or updates a lifecycle hook for the specified Auto Scaling group. A lifecycle hook tells Amazon EC2 Auto Scaling to perform an action on an instance when the instance launches (before it is put into service) or as the instance terminates (before it is fully terminated). This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group: (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates instances. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish lifecycle notifications to the target. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate. If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state using using RecordLifecycleActionHeartbeat. If you finish before the timeout period ends, complete the lifecycle action using CompleteLifecycleAction. For more information, see Amazon EC2 Auto Scaling Lifecycle Hooks in the Amazon EC2 Auto Scaling User Guide. If you exceed your maximum limit of lifecycle hooks, which by default is 50 per Auto Scaling group, the call fails. You can view the lifecycle hooks for an Auto Scaling group using DescribeLifecycleHooks. If you are no longer using a lifecycle hook, you can delete it using DeleteLifecycleHook.
324 */
325 putLifecycleHook(params: AutoScaling.Types.PutLifecycleHookType, callback?: (err: AWSError, data: AutoScaling.Types.PutLifecycleHookAnswer) => void): Request<AutoScaling.Types.PutLifecycleHookAnswer, AWSError>;
326 /**
327 * Creates or updates a lifecycle hook for the specified Auto Scaling group. A lifecycle hook tells Amazon EC2 Auto Scaling to perform an action on an instance when the instance launches (before it is put into service) or as the instance terminates (before it is fully terminated). This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group: (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates instances. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish lifecycle notifications to the target. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate. If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state using using RecordLifecycleActionHeartbeat. If you finish before the timeout period ends, complete the lifecycle action using CompleteLifecycleAction. For more information, see Amazon EC2 Auto Scaling Lifecycle Hooks in the Amazon EC2 Auto Scaling User Guide. If you exceed your maximum limit of lifecycle hooks, which by default is 50 per Auto Scaling group, the call fails. You can view the lifecycle hooks for an Auto Scaling group using DescribeLifecycleHooks. If you are no longer using a lifecycle hook, you can delete it using DeleteLifecycleHook.
328 */
329 putLifecycleHook(callback?: (err: AWSError, data: AutoScaling.Types.PutLifecycleHookAnswer) => void): Request<AutoScaling.Types.PutLifecycleHookAnswer, AWSError>;
330 /**
331 * Configures an Auto Scaling group to send notifications when specified events take place. Subscribers to the specified topic can have messages delivered to an endpoint such as a web server or an email address. This configuration overwrites any existing configuration. For more information, see Getting Amazon SNS Notifications When Your Auto Scaling Group Scales in the Amazon EC2 Auto Scaling User Guide.
332 */
333 putNotificationConfiguration(params: AutoScaling.Types.PutNotificationConfigurationType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
334 /**
335 * Configures an Auto Scaling group to send notifications when specified events take place. Subscribers to the specified topic can have messages delivered to an endpoint such as a web server or an email address. This configuration overwrites any existing configuration. For more information, see Getting Amazon SNS Notifications When Your Auto Scaling Group Scales in the Amazon EC2 Auto Scaling User Guide.
336 */
337 putNotificationConfiguration(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
338 /**
339 * Creates or updates a policy for an Auto Scaling group. To update an existing policy, use the existing policy name and set the parameters to change. Any existing parameter not changed in an update to an existing policy is not changed in this update request.
340 */
341 putScalingPolicy(params: AutoScaling.Types.PutScalingPolicyType, callback?: (err: AWSError, data: AutoScaling.Types.PolicyARNType) => void): Request<AutoScaling.Types.PolicyARNType, AWSError>;
342 /**
343 * Creates or updates a policy for an Auto Scaling group. To update an existing policy, use the existing policy name and set the parameters to change. Any existing parameter not changed in an update to an existing policy is not changed in this update request.
344 */
345 putScalingPolicy(callback?: (err: AWSError, data: AutoScaling.Types.PolicyARNType) => void): Request<AutoScaling.Types.PolicyARNType, AWSError>;
346 /**
347 * Creates or updates a scheduled scaling action for an Auto Scaling group. If you leave a parameter unspecified when updating a scheduled scaling action, the corresponding value remains unchanged. For more information, see Scheduled Scaling in the Amazon EC2 Auto Scaling User Guide.
348 */
349 putScheduledUpdateGroupAction(params: AutoScaling.Types.PutScheduledUpdateGroupActionType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
350 /**
351 * Creates or updates a scheduled scaling action for an Auto Scaling group. If you leave a parameter unspecified when updating a scheduled scaling action, the corresponding value remains unchanged. For more information, see Scheduled Scaling in the Amazon EC2 Auto Scaling User Guide.
352 */
353 putScheduledUpdateGroupAction(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
354 /**
355 * Records a heartbeat for the lifecycle action associated with the specified token or instance. This extends the timeout by the length of time defined using PutLifecycleHook. This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group: (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates instances. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish lifecycle notifications to the target. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate. If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state. If you finish before the timeout period ends, complete the lifecycle action. For more information, see Auto Scaling Lifecycle in the Amazon EC2 Auto Scaling User Guide.
356 */
357 recordLifecycleActionHeartbeat(params: AutoScaling.Types.RecordLifecycleActionHeartbeatType, callback?: (err: AWSError, data: AutoScaling.Types.RecordLifecycleActionHeartbeatAnswer) => void): Request<AutoScaling.Types.RecordLifecycleActionHeartbeatAnswer, AWSError>;
358 /**
359 * Records a heartbeat for the lifecycle action associated with the specified token or instance. This extends the timeout by the length of time defined using PutLifecycleHook. This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group: (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates instances. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish lifecycle notifications to the target. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate. If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state. If you finish before the timeout period ends, complete the lifecycle action. For more information, see Auto Scaling Lifecycle in the Amazon EC2 Auto Scaling User Guide.
360 */
361 recordLifecycleActionHeartbeat(callback?: (err: AWSError, data: AutoScaling.Types.RecordLifecycleActionHeartbeatAnswer) => void): Request<AutoScaling.Types.RecordLifecycleActionHeartbeatAnswer, AWSError>;
362 /**
363 * Resumes the specified suspended automatic scaling processes, or all suspended process, for the specified Auto Scaling group. For more information, see Suspending and Resuming Scaling Processes in the Amazon EC2 Auto Scaling User Guide.
364 */
365 resumeProcesses(params: AutoScaling.Types.ScalingProcessQuery, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
366 /**
367 * Resumes the specified suspended automatic scaling processes, or all suspended process, for the specified Auto Scaling group. For more information, see Suspending and Resuming Scaling Processes in the Amazon EC2 Auto Scaling User Guide.
368 */
369 resumeProcesses(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
370 /**
371 * Sets the size of the specified Auto Scaling group. For more information about desired capacity, see What Is Amazon EC2 Auto Scaling? in the Amazon EC2 Auto Scaling User Guide.
372 */
373 setDesiredCapacity(params: AutoScaling.Types.SetDesiredCapacityType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
374 /**
375 * Sets the size of the specified Auto Scaling group. For more information about desired capacity, see What Is Amazon EC2 Auto Scaling? in the Amazon EC2 Auto Scaling User Guide.
376 */
377 setDesiredCapacity(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
378 /**
379 * Sets the health status of the specified instance. For more information, see Health Checks for Auto Scaling Instances in the Amazon EC2 Auto Scaling User Guide.
380 */
381 setInstanceHealth(params: AutoScaling.Types.SetInstanceHealthQuery, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
382 /**
383 * Sets the health status of the specified instance. For more information, see Health Checks for Auto Scaling Instances in the Amazon EC2 Auto Scaling User Guide.
384 */
385 setInstanceHealth(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
386 /**
387 * Updates the instance protection settings of the specified instances. For more information about preventing instances that are part of an Auto Scaling group from terminating on scale in, see Instance Protection in the Amazon EC2 Auto Scaling User Guide.
388 */
389 setInstanceProtection(params: AutoScaling.Types.SetInstanceProtectionQuery, callback?: (err: AWSError, data: AutoScaling.Types.SetInstanceProtectionAnswer) => void): Request<AutoScaling.Types.SetInstanceProtectionAnswer, AWSError>;
390 /**
391 * Updates the instance protection settings of the specified instances. For more information about preventing instances that are part of an Auto Scaling group from terminating on scale in, see Instance Protection in the Amazon EC2 Auto Scaling User Guide.
392 */
393 setInstanceProtection(callback?: (err: AWSError, data: AutoScaling.Types.SetInstanceProtectionAnswer) => void): Request<AutoScaling.Types.SetInstanceProtectionAnswer, AWSError>;
394 /**
395 * Suspends the specified automatic scaling processes, or all processes, for the specified Auto Scaling group. If you suspend either the Launch or Terminate process types, it can prevent other process types from functioning properly. To resume processes that have been suspended, use ResumeProcesses. For more information, see Suspending and Resuming Scaling Processes in the Amazon EC2 Auto Scaling User Guide.
396 */
397 suspendProcesses(params: AutoScaling.Types.ScalingProcessQuery, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
398 /**
399 * Suspends the specified automatic scaling processes, or all processes, for the specified Auto Scaling group. If you suspend either the Launch or Terminate process types, it can prevent other process types from functioning properly. To resume processes that have been suspended, use ResumeProcesses. For more information, see Suspending and Resuming Scaling Processes in the Amazon EC2 Auto Scaling User Guide.
400 */
401 suspendProcesses(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
402 /**
403 * Terminates the specified instance and optionally adjusts the desired group size. This call simply makes a termination request. The instance is not terminated immediately.
404 */
405 terminateInstanceInAutoScalingGroup(params: AutoScaling.Types.TerminateInstanceInAutoScalingGroupType, callback?: (err: AWSError, data: AutoScaling.Types.ActivityType) => void): Request<AutoScaling.Types.ActivityType, AWSError>;
406 /**
407 * Terminates the specified instance and optionally adjusts the desired group size. This call simply makes a termination request. The instance is not terminated immediately.
408 */
409 terminateInstanceInAutoScalingGroup(callback?: (err: AWSError, data: AutoScaling.Types.ActivityType) => void): Request<AutoScaling.Types.ActivityType, AWSError>;
410 /**
411 * Updates the configuration for the specified Auto Scaling group. The new settings take effect on any scaling activities after this call returns. Scaling activities that are currently in progress aren't affected. To update an Auto Scaling group with a launch configuration with InstanceMonitoring set to false, you must first disable the collection of group metrics. Otherwise, you get an error. If you have previously enabled the collection of group metrics, you can disable it using DisableMetricsCollection. Note the following: If you specify a new value for MinSize without specifying a value for DesiredCapacity, and the new MinSize is larger than the current size of the group, we implicitly call SetDesiredCapacity to set the size of the group to the new value of MinSize. If you specify a new value for MaxSize without specifying a value for DesiredCapacity, and the new MaxSize is smaller than the current size of the group, we implicitly call SetDesiredCapacity to set the size of the group to the new value of MaxSize. All other optional parameters are left unchanged if not specified.
412 */
413 updateAutoScalingGroup(params: AutoScaling.Types.UpdateAutoScalingGroupType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
414 /**
415 * Updates the configuration for the specified Auto Scaling group. The new settings take effect on any scaling activities after this call returns. Scaling activities that are currently in progress aren't affected. To update an Auto Scaling group with a launch configuration with InstanceMonitoring set to false, you must first disable the collection of group metrics. Otherwise, you get an error. If you have previously enabled the collection of group metrics, you can disable it using DisableMetricsCollection. Note the following: If you specify a new value for MinSize without specifying a value for DesiredCapacity, and the new MinSize is larger than the current size of the group, we implicitly call SetDesiredCapacity to set the size of the group to the new value of MinSize. If you specify a new value for MaxSize without specifying a value for DesiredCapacity, and the new MaxSize is smaller than the current size of the group, we implicitly call SetDesiredCapacity to set the size of the group to the new value of MaxSize. All other optional parameters are left unchanged if not specified.
416 */
417 updateAutoScalingGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
418}
419declare namespace AutoScaling {
420 export type Activities = Activity[];
421 export interface ActivitiesType {
422 /**
423 * The scaling activities. Activities are sorted by start time. Activities still in progress are described first.
424 */
425 Activities: Activities;
426 /**
427 * A string that indicates that the response contains more items than can be returned in a single response. To receive additional items, specify this string for the NextToken value when requesting the next set of items. This value is null when there are no more items to return.
428 */
429 NextToken?: XmlString;
430 }
431 export interface Activity {
432 /**
433 * The ID of the activity.
434 */
435 ActivityId: XmlString;
436 /**
437 * The name of the Auto Scaling group.
438 */
439 AutoScalingGroupName: XmlStringMaxLen255;
440 /**
441 * A friendly, more verbose description of the activity.
442 */
443 Description?: XmlString;
444 /**
445 * The reason the activity began.
446 */
447 Cause: XmlStringMaxLen1023;
448 /**
449 * The start time of the activity.
450 */
451 StartTime: TimestampType;
452 /**
453 * The end time of the activity.
454 */
455 EndTime?: TimestampType;
456 /**
457 * The current status of the activity.
458 */
459 StatusCode: ScalingActivityStatusCode;
460 /**
461 * A friendly, more verbose description of the activity status.
462 */
463 StatusMessage?: XmlStringMaxLen255;
464 /**
465 * A value between 0 and 100 that indicates the progress of the activity.
466 */
467 Progress?: Progress;
468 /**
469 * The details about the activity.
470 */
471 Details?: XmlString;
472 }
473 export type ActivityIds = XmlString[];
474 export interface ActivityType {
475 /**
476 * A scaling activity.
477 */
478 Activity?: Activity;
479 }
480 export interface AdjustmentType {
481 /**
482 * The policy adjustment type. The valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.
483 */
484 AdjustmentType?: XmlStringMaxLen255;
485 }
486 export type AdjustmentTypes = AdjustmentType[];
487 export interface Alarm {
488 /**
489 * The name of the alarm.
490 */
491 AlarmName?: XmlStringMaxLen255;
492 /**
493 * The Amazon Resource Name (ARN) of the alarm.
494 */
495 AlarmARN?: ResourceName;
496 }
497 export type Alarms = Alarm[];
498 export type AsciiStringMaxLen255 = string;
499 export type AssociatePublicIpAddress = boolean;
500 export interface AttachInstancesQuery {
501 /**
502 * The IDs of the instances. You can specify up to 20 instances.
503 */
504 InstanceIds?: InstanceIds;
505 /**
506 * The name of the Auto Scaling group.
507 */
508 AutoScalingGroupName: ResourceName;
509 }
510 export interface AttachLoadBalancerTargetGroupsResultType {
511 }
512 export interface AttachLoadBalancerTargetGroupsType {
513 /**
514 * The name of the Auto Scaling group.
515 */
516 AutoScalingGroupName: ResourceName;
517 /**
518 * The Amazon Resource Names (ARN) of the target groups. You can specify up to 10 target groups.
519 */
520 TargetGroupARNs: TargetGroupARNs;
521 }
522 export interface AttachLoadBalancersResultType {
523 }
524 export interface AttachLoadBalancersType {
525 /**
526 * The name of the Auto Scaling group.
527 */
528 AutoScalingGroupName: ResourceName;
529 /**
530 * The names of the load balancers. You can specify up to 10 load balancers.
531 */
532 LoadBalancerNames: LoadBalancerNames;
533 }
534 export interface AutoScalingGroup {
535 /**
536 * The name of the Auto Scaling group.
537 */
538 AutoScalingGroupName: XmlStringMaxLen255;
539 /**
540 * The Amazon Resource Name (ARN) of the Auto Scaling group.
541 */
542 AutoScalingGroupARN?: ResourceName;
543 /**
544 * The name of the associated launch configuration.
545 */
546 LaunchConfigurationName?: XmlStringMaxLen255;
547 /**
548 * The launch template for the group.
549 */
550 LaunchTemplate?: LaunchTemplateSpecification;
551 /**
552 * The mixed instances policy for the group.
553 */
554 MixedInstancesPolicy?: MixedInstancesPolicy;
555 /**
556 * The minimum size of the group.
557 */
558 MinSize: AutoScalingGroupMinSize;
559 /**
560 * The maximum size of the group.
561 */
562 MaxSize: AutoScalingGroupMaxSize;
563 /**
564 * The desired size of the group.
565 */
566 DesiredCapacity: AutoScalingGroupDesiredCapacity;
567 /**
568 * The amount of time, in seconds, after a scaling activity completes before another scaling activity can start.
569 */
570 DefaultCooldown: Cooldown;
571 /**
572 * One or more Availability Zones for the group.
573 */
574 AvailabilityZones: AvailabilityZones;
575 /**
576 * One or more load balancers associated with the group.
577 */
578 LoadBalancerNames?: LoadBalancerNames;
579 /**
580 * The Amazon Resource Names (ARN) of the target groups for your load balancer.
581 */
582 TargetGroupARNs?: TargetGroupARNs;
583 /**
584 * The service to use for the health checks. The valid values are EC2 and ELB. If you configure an Auto Scaling group to use ELB health checks, it considers the instance unhealthy if it fails either the EC2 status checks or the load balancer health checks.
585 */
586 HealthCheckType: XmlStringMaxLen32;
587 /**
588 * The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service.
589 */
590 HealthCheckGracePeriod?: HealthCheckGracePeriod;
591 /**
592 * The EC2 instances associated with the group.
593 */
594 Instances?: Instances;
595 /**
596 * The date and time the group was created.
597 */
598 CreatedTime: TimestampType;
599 /**
600 * The suspended processes associated with the group.
601 */
602 SuspendedProcesses?: SuspendedProcesses;
603 /**
604 * The name of the placement group into which to launch your instances, if any.
605 */
606 PlacementGroup?: XmlStringMaxLen255;
607 /**
608 * One or more subnet IDs, if applicable, separated by commas.
609 */
610 VPCZoneIdentifier?: XmlStringMaxLen2047;
611 /**
612 * The metrics enabled for the group.
613 */
614 EnabledMetrics?: EnabledMetrics;
615 /**
616 * The current state of the group when DeleteAutoScalingGroup is in progress.
617 */
618 Status?: XmlStringMaxLen255;
619 /**
620 * The tags for the group.
621 */
622 Tags?: TagDescriptionList;
623 /**
624 * The termination policies for the group.
625 */
626 TerminationPolicies?: TerminationPolicies;
627 /**
628 * Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in.
629 */
630 NewInstancesProtectedFromScaleIn?: InstanceProtected;
631 /**
632 * The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other AWS services on your behalf.
633 */
634 ServiceLinkedRoleARN?: ResourceName;
635 }
636 export type AutoScalingGroupDesiredCapacity = number;
637 export type AutoScalingGroupMaxSize = number;
638 export type AutoScalingGroupMinSize = number;
639 export type AutoScalingGroupNames = ResourceName[];
640 export interface AutoScalingGroupNamesType {
641 /**
642 * The names of the Auto Scaling groups. Each name can be a maximum of 1600 characters. By default, you can only specify up to 50 names. You can optionally increase this limit using the MaxRecords parameter. If you omit this parameter, all Auto Scaling groups are described.
643 */
644 AutoScalingGroupNames?: AutoScalingGroupNames;
645 /**
646 * The token for the next set of items to return. (You received this token from a previous call.)
647 */
648 NextToken?: XmlString;
649 /**
650 * The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.
651 */
652 MaxRecords?: MaxRecords;
653 }
654 export type AutoScalingGroups = AutoScalingGroup[];
655 export interface AutoScalingGroupsType {
656 /**
657 * The groups.
658 */
659 AutoScalingGroups: AutoScalingGroups;
660 /**
661 * A string that indicates that the response contains more items than can be returned in a single response. To receive additional items, specify this string for the NextToken value when requesting the next set of items. This value is null when there are no more items to return.
662 */
663 NextToken?: XmlString;
664 }
665 export interface AutoScalingInstanceDetails {
666 /**
667 * The ID of the instance.
668 */
669 InstanceId: XmlStringMaxLen19;
670 /**
671 * The name of the Auto Scaling group for the instance.
672 */
673 AutoScalingGroupName: XmlStringMaxLen255;
674 /**
675 * The Availability Zone for the instance.
676 */
677 AvailabilityZone: XmlStringMaxLen255;
678 /**
679 * The lifecycle state for the instance.
680 */
681 LifecycleState: XmlStringMaxLen32;
682 /**
683 * The last reported health status of this instance. "Healthy" means that the instance is healthy and should remain in service. "Unhealthy" means that the instance is unhealthy and Amazon EC2 Auto Scaling should terminate and replace it.
684 */
685 HealthStatus: XmlStringMaxLen32;
686 /**
687 * The launch configuration used to launch the instance. This value is not available if you attached the instance to the Auto Scaling group.
688 */
689 LaunchConfigurationName?: XmlStringMaxLen255;
690 /**
691 * The launch template for the instance.
692 */
693 LaunchTemplate?: LaunchTemplateSpecification;
694 /**
695 * Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in.
696 */
697 ProtectedFromScaleIn: InstanceProtected;
698 }
699 export type AutoScalingInstances = AutoScalingInstanceDetails[];
700 export interface AutoScalingInstancesType {
701 /**
702 * The instances.
703 */
704 AutoScalingInstances?: AutoScalingInstances;
705 /**
706 * A string that indicates that the response contains more items than can be returned in a single response. To receive additional items, specify this string for the NextToken value when requesting the next set of items. This value is null when there are no more items to return.
707 */
708 NextToken?: XmlString;
709 }
710 export type AutoScalingNotificationTypes = XmlStringMaxLen255[];
711 export type AvailabilityZones = XmlStringMaxLen255[];
712 export interface BatchDeleteScheduledActionAnswer {
713 /**
714 * The names of the scheduled actions that could not be deleted, including an error message.
715 */
716 FailedScheduledActions?: FailedScheduledUpdateGroupActionRequests;
717 }
718 export interface BatchDeleteScheduledActionType {
719 /**
720 * The name of the Auto Scaling group.
721 */
722 AutoScalingGroupName: ResourceName;
723 /**
724 * The names of the scheduled actions to delete. The maximum number allowed is 50.
725 */
726 ScheduledActionNames: ScheduledActionNames;
727 }
728 export interface BatchPutScheduledUpdateGroupActionAnswer {
729 /**
730 * The names of the scheduled actions that could not be created or updated, including an error message.
731 */
732 FailedScheduledUpdateGroupActions?: FailedScheduledUpdateGroupActionRequests;
733 }
734 export interface BatchPutScheduledUpdateGroupActionType {
735 /**
736 * The name of the Auto Scaling group.
737 */
738 AutoScalingGroupName: ResourceName;
739 /**
740 * One or more scheduled actions. The maximum number allowed is 50.
741 */
742 ScheduledUpdateGroupActions: ScheduledUpdateGroupActionRequests;
743 }
744 export type BlockDeviceEbsDeleteOnTermination = boolean;
745 export type BlockDeviceEbsEncrypted = boolean;
746 export type BlockDeviceEbsIops = number;
747 export type BlockDeviceEbsVolumeSize = number;
748 export type BlockDeviceEbsVolumeType = string;
749 export interface BlockDeviceMapping {
750 /**
751 * The name of the virtual device (for example, ephemeral0).
752 */
753 VirtualName?: XmlStringMaxLen255;
754 /**
755 * The device name exposed to the EC2 instance (for example, /dev/sdh or xvdh). For more information, see Device Naming on Linux Instances in the Amazon EC2 User Guide for Linux Instances.
756 */
757 DeviceName: XmlStringMaxLen255;
758 /**
759 * The information about the Amazon EBS volume.
760 */
761 Ebs?: Ebs;
762 /**
763 * Suppresses a device mapping. If this parameter is true for the root device, the instance might fail the EC2 health check. In that case, Amazon EC2 Auto Scaling launches a replacement instance.
764 */
765 NoDevice?: NoDevice;
766 }
767 export type BlockDeviceMappings = BlockDeviceMapping[];
768 export type ClassicLinkVPCSecurityGroups = XmlStringMaxLen255[];
769 export interface CompleteLifecycleActionAnswer {
770 }
771 export interface CompleteLifecycleActionType {
772 /**
773 * The name of the lifecycle hook.
774 */
775 LifecycleHookName: AsciiStringMaxLen255;
776 /**
777 * The name of the Auto Scaling group.
778 */
779 AutoScalingGroupName: ResourceName;
780 /**
781 * A universally unique identifier (UUID) that identifies a specific lifecycle action associated with an instance. Amazon EC2 Auto Scaling sends this token to the notification target you specified when you created the lifecycle hook.
782 */
783 LifecycleActionToken?: LifecycleActionToken;
784 /**
785 * The action for the group to take. This parameter can be either CONTINUE or ABANDON.
786 */
787 LifecycleActionResult: LifecycleActionResult;
788 /**
789 * The ID of the instance.
790 */
791 InstanceId?: XmlStringMaxLen19;
792 }
793 export type Cooldown = number;
794 export interface CreateAutoScalingGroupType {
795 /**
796 * The name of the Auto Scaling group. This name must be unique within the scope of your AWS account.
797 */
798 AutoScalingGroupName: XmlStringMaxLen255;
799 /**
800 * The name of the launch configuration. This parameter, a launch template, a mixed instances policy, or an EC2 instance must be specified. For more information, see Creating an Auto Scaling Group Using a Launch Configuration in the Amazon EC2 Auto Scaling User Guide.
801 */
802 LaunchConfigurationName?: ResourceName;
803 /**
804 * The launch template to use to launch instances. This parameter, a launch configuration, a mixed instances policy, or an EC2 instance must be specified. For more information, see Creating an Auto Scaling Group Using a Launch Template in the Amazon EC2 Auto Scaling User Guide.
805 */
806 LaunchTemplate?: LaunchTemplateSpecification;
807 /**
808 * The mixed instances policy to use to launch instances. This parameter, a launch template, a launch configuration, or an EC2 instance must be specified. For more information, see Auto Scaling Groups with Multiple Instance Types and Purchase Options in the Amazon EC2 Auto Scaling User Guide.
809 */
810 MixedInstancesPolicy?: MixedInstancesPolicy;
811 /**
812 * The ID of the instance used to create a launch configuration for the group. This parameter, a launch configuration, a launch template, or a mixed instances policy must be specified. When you specify an ID of an instance, Amazon EC2 Auto Scaling creates a new launch configuration and associates it with the group. This launch configuration derives its attributes from the specified instance, except for the block device mapping. For more information, see Create an Auto Scaling Group Using an EC2 Instance in the Amazon EC2 Auto Scaling User Guide.
813 */
814 InstanceId?: XmlStringMaxLen19;
815 /**
816 * The minimum size of the group.
817 */
818 MinSize: AutoScalingGroupMinSize;
819 /**
820 * The maximum size of the group.
821 */
822 MaxSize: AutoScalingGroupMaxSize;
823 /**
824 * The number of EC2 instances that should be running in the group. This number must be greater than or equal to the minimum size of the group and less than or equal to the maximum size of the group. If you do not specify a desired capacity, the default is the minimum size of the group.
825 */
826 DesiredCapacity?: AutoScalingGroupDesiredCapacity;
827 /**
828 * The amount of time, in seconds, after a scaling activity completes before another scaling activity can start. The default value is 300. For more information, see Scaling Cooldowns in the Amazon EC2 Auto Scaling User Guide.
829 */
830 DefaultCooldown?: Cooldown;
831 /**
832 * One or more Availability Zones for the group. This parameter is optional if you specify one or more subnets for VPCZoneIdentifier. Conditional: If your account supports EC2-Classic and VPC, this parameter is required to launch instances into EC2-Classic.
833 */
834 AvailabilityZones?: AvailabilityZones;
835 /**
836 * One or more Classic Load Balancers. To specify an Application Load Balancer or a Network Load Balancer, use TargetGroupARNs instead. For more information, see Using a Load Balancer With an Auto Scaling Group in the Amazon EC2 Auto Scaling User Guide.
837 */
838 LoadBalancerNames?: LoadBalancerNames;
839 /**
840 * The Amazon Resource Names (ARN) of the target groups.
841 */
842 TargetGroupARNs?: TargetGroupARNs;
843 /**
844 * The service to use for the health checks. The valid values are EC2 and ELB. The default value is EC2. If you configure an Auto Scaling group to use ELB health checks, it considers the instance unhealthy if it fails either the EC2 status checks or the load balancer health checks. For more information, see Health Checks for Auto Scaling Instances in the Amazon EC2 Auto Scaling User Guide.
845 */
846 HealthCheckType?: XmlStringMaxLen32;
847 /**
848 * The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service. During this time, any health check failures for the instance are ignored. The default value is 0. For more information, see Health Checks for Auto Scaling Instances in the Amazon EC2 Auto Scaling User Guide. Conditional: This parameter is required if you are adding an ELB health check.
849 */
850 HealthCheckGracePeriod?: HealthCheckGracePeriod;
851 /**
852 * The name of the placement group into which to launch your instances, if any. A placement group is a logical grouping of instances within a single Availability Zone. You cannot specify multiple Availability Zones and a placement group. For more information, see Placement Groups in the Amazon EC2 User Guide for Linux Instances.
853 */
854 PlacementGroup?: XmlStringMaxLen255;
855 /**
856 * A comma-separated list of subnet IDs for your virtual private cloud (VPC). If you specify VPCZoneIdentifier with AvailabilityZones, the subnets that you specify for this parameter must reside in those Availability Zones. Conditional: If your account supports EC2-Classic and VPC, this parameter is required to launch instances into a VPC.
857 */
858 VPCZoneIdentifier?: XmlStringMaxLen2047;
859 /**
860 * One or more termination policies used to select the instance to terminate. These policies are executed in the order that they are listed. For more information, see Controlling Which Instances Auto Scaling Terminates During Scale In in the Amazon EC2 Auto Scaling User Guide.
861 */
862 TerminationPolicies?: TerminationPolicies;
863 /**
864 * Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing instances from terminating on scale in, see Instance Protection in the Amazon EC2 Auto Scaling User Guide.
865 */
866 NewInstancesProtectedFromScaleIn?: InstanceProtected;
867 /**
868 * One or more lifecycle hooks.
869 */
870 LifecycleHookSpecificationList?: LifecycleHookSpecifications;
871 /**
872 * One or more tags. For more information, see Tagging Auto Scaling Groups and Instances in the Amazon EC2 Auto Scaling User Guide.
873 */
874 Tags?: Tags;
875 /**
876 * The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other AWS services on your behalf. By default, Amazon EC2 Auto Scaling uses a service-linked role named AWSServiceRoleForAutoScaling, which it creates if it does not exist. For more information, see Service-Linked Roles in the Amazon EC2 Auto Scaling User Guide.
877 */
878 ServiceLinkedRoleARN?: ResourceName;
879 }
880 export interface CreateLaunchConfigurationType {
881 /**
882 * The name of the launch configuration. This name must be unique within the scope of your AWS account.
883 */
884 LaunchConfigurationName: XmlStringMaxLen255;
885 /**
886 * The ID of the Amazon Machine Image (AMI) to use to launch your EC2 instances. If you do not specify InstanceId, you must specify ImageId. For more information, see Finding an AMI in the Amazon EC2 User Guide for Linux Instances.
887 */
888 ImageId?: XmlStringMaxLen255;
889 /**
890 * The name of the key pair. For more information, see Amazon EC2 Key Pairs in the Amazon EC2 User Guide for Linux Instances.
891 */
892 KeyName?: XmlStringMaxLen255;
893 /**
894 * One or more security groups with which to associate the instances. If your instances are launched in EC2-Classic, you can either specify security group names or the security group IDs. For more information, see Amazon EC2 Security Groups in the Amazon EC2 User Guide for Linux Instances. If your instances are launched into a VPC, specify security group IDs. For more information, see Security Groups for Your VPC in the Amazon Virtual Private Cloud User Guide.
895 */
896 SecurityGroups?: SecurityGroups;
897 /**
898 * The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. This parameter is supported only if you are launching EC2-Classic instances. For more information, see ClassicLink in the Amazon EC2 User Guide for Linux Instances and Linking EC2-Classic Instances to a VPC in the Amazon EC2 Auto Scaling User Guide.
899 */
900 ClassicLinkVPCId?: XmlStringMaxLen255;
901 /**
902 * The IDs of one or more security groups for the specified ClassicLink-enabled VPC. For more information, see ClassicLink in the Amazon EC2 User Guide for Linux Instances and Linking EC2-Classic Instances to a VPC in the Amazon EC2 Auto Scaling User Guide. Conditional: This parameter is required if you specify a ClassicLink-enabled VPC, and is not supported otherwise.
903 */
904 ClassicLinkVPCSecurityGroups?: ClassicLinkVPCSecurityGroups;
905 /**
906 * The user data to make available to the launched EC2 instances. For more information, see Instance Metadata and User Data in the Amazon EC2 User Guide for Linux Instances.
907 */
908 UserData?: XmlStringUserData;
909 /**
910 * The ID of the instance to use to create the launch configuration. The new launch configuration derives attributes from the instance, except for the block device mapping. If you do not specify InstanceId, you must specify both ImageId and InstanceType. To create a launch configuration with a block device mapping or override any other instance attributes, specify them as part of the same request. For more information, see Create a Launch Configuration Using an EC2 Instance in the Amazon EC2 Auto Scaling User Guide.
911 */
912 InstanceId?: XmlStringMaxLen19;
913 /**
914 * The instance type of the EC2 instance. If you do not specify InstanceId, you must specify InstanceType. For information about available instance types, see Available Instance Types in the Amazon EC2 User Guide for Linux Instances.
915 */
916 InstanceType?: XmlStringMaxLen255;
917 /**
918 * The ID of the kernel associated with the AMI.
919 */
920 KernelId?: XmlStringMaxLen255;
921 /**
922 * The ID of the RAM disk associated with the AMI.
923 */
924 RamdiskId?: XmlStringMaxLen255;
925 /**
926 * One or more mappings that specify how block devices are exposed to the instance. For more information, see Block Device Mapping in the Amazon EC2 User Guide for Linux Instances.
927 */
928 BlockDeviceMappings?: BlockDeviceMappings;
929 /**
930 * Enables detailed monitoring (true) or basic monitoring (false) for the Auto Scaling instances. The default value is true.
931 */
932 InstanceMonitoring?: InstanceMonitoring;
933 /**
934 * The maximum hourly price to be paid for any Spot Instance launched to fulfill the request. Spot Instances are launched when the price you specify exceeds the current Spot market price. For more information, see Launching Spot Instances in Your Auto Scaling Group in the Amazon EC2 Auto Scaling User Guide.
935 */
936 SpotPrice?: SpotPrice;
937 /**
938 * The name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. EC2 instances launched with an IAM role automatically have AWS security credentials available. You can use IAM roles with Amazon EC2 Auto Scaling to automatically enable applications running on your EC2 instances to securely access other AWS resources. For more information, see Use an IAM Role for Applications That Run on Amazon EC2 Instances in the Amazon EC2 Auto Scaling User Guide.
939 */
940 IamInstanceProfile?: XmlStringMaxLen1600;
941 /**
942 * Indicates whether the instance is optimized for Amazon EBS I/O. By default, the instance is not optimized for EBS I/O. The optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization is not available with all instance types. Additional usage charges apply. For more information, see Amazon EBS-Optimized Instances in the Amazon EC2 User Guide for Linux Instances.
943 */
944 EbsOptimized?: EbsOptimized;
945 /**
946 * Used for groups that launch instances into a virtual private cloud (VPC). Specifies whether to assign a public IP address to each instance. For more information, see Launching Auto Scaling Instances in a VPC in the Amazon EC2 Auto Scaling User Guide. If you specify this parameter, be sure to specify at least one subnet when you create your group. Default: If the instance is launched into a default subnet, the default is to assign a public IP address. If the instance is launched into a nondefault subnet, the default is not to assign a public IP address.
947 */
948 AssociatePublicIpAddress?: AssociatePublicIpAddress;
949 /**
950 * The tenancy of the instance. An instance with a tenancy of dedicated runs on single-tenant hardware and can only be launched into a VPC. To launch Dedicated Instances into a shared tenancy VPC (a VPC with the instance placement tenancy attribute set to default), you must set the value of this parameter to dedicated. If you specify this parameter, be sure to specify at least one subnet when you create your group. For more information, see Launching Auto Scaling Instances in a VPC in the Amazon EC2 Auto Scaling User Guide. Valid values: default | dedicated
951 */
952 PlacementTenancy?: XmlStringMaxLen64;
953 }
954 export interface CreateOrUpdateTagsType {
955 /**
956 * One or more tags.
957 */
958 Tags: Tags;
959 }
960 export interface CustomizedMetricSpecification {
961 /**
962 * The name of the metric.
963 */
964 MetricName: MetricName;
965 /**
966 * The namespace of the metric.
967 */
968 Namespace: MetricNamespace;
969 /**
970 * The dimensions of the metric. Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.
971 */
972 Dimensions?: MetricDimensions;
973 /**
974 * The statistic of the metric.
975 */
976 Statistic: MetricStatistic;
977 /**
978 * The unit of the metric.
979 */
980 Unit?: MetricUnit;
981 }
982 export interface DeleteAutoScalingGroupType {
983 /**
984 * The name of the Auto Scaling group.
985 */
986 AutoScalingGroupName: ResourceName;
987 /**
988 * Specifies that the group is to be deleted along with all instances associated with the group, without waiting for all instances to be terminated. This parameter also deletes any lifecycle actions associated with the group.
989 */
990 ForceDelete?: ForceDelete;
991 }
992 export interface DeleteLifecycleHookAnswer {
993 }
994 export interface DeleteLifecycleHookType {
995 /**
996 * The name of the lifecycle hook.
997 */
998 LifecycleHookName: AsciiStringMaxLen255;
999 /**
1000 * The name of the Auto Scaling group.
1001 */
1002 AutoScalingGroupName: ResourceName;
1003 }
1004 export interface DeleteNotificationConfigurationType {
1005 /**
1006 * The name of the Auto Scaling group.
1007 */
1008 AutoScalingGroupName: ResourceName;
1009 /**
1010 * The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (Amazon SNS) topic.
1011 */
1012 TopicARN: ResourceName;
1013 }
1014 export interface DeletePolicyType {
1015 /**
1016 * The name of the Auto Scaling group.
1017 */
1018 AutoScalingGroupName?: ResourceName;
1019 /**
1020 * The name or Amazon Resource Name (ARN) of the policy.
1021 */
1022 PolicyName: ResourceName;
1023 }
1024 export interface DeleteScheduledActionType {
1025 /**
1026 * The name of the Auto Scaling group.
1027 */
1028 AutoScalingGroupName: ResourceName;
1029 /**
1030 * The name of the action to delete.
1031 */
1032 ScheduledActionName: ResourceName;
1033 }
1034 export interface DeleteTagsType {
1035 /**
1036 * One or more tags.
1037 */
1038 Tags: Tags;
1039 }
1040 export interface DescribeAccountLimitsAnswer {
1041 /**
1042 * The maximum number of groups allowed for your AWS account. The default limit is 200 per region.
1043 */
1044 MaxNumberOfAutoScalingGroups?: MaxNumberOfAutoScalingGroups;
1045 /**
1046 * The maximum number of launch configurations allowed for your AWS account. The default limit is 200 per region.
1047 */
1048 MaxNumberOfLaunchConfigurations?: MaxNumberOfLaunchConfigurations;
1049 /**
1050 * The current number of groups for your AWS account.
1051 */
1052 NumberOfAutoScalingGroups?: NumberOfAutoScalingGroups;
1053 /**
1054 * The current number of launch configurations for your AWS account.
1055 */
1056 NumberOfLaunchConfigurations?: NumberOfLaunchConfigurations;
1057 }
1058 export interface DescribeAdjustmentTypesAnswer {
1059 /**
1060 * The policy adjustment types.
1061 */
1062 AdjustmentTypes?: AdjustmentTypes;
1063 }
1064 export interface DescribeAutoScalingInstancesType {
1065 /**
1066 * The IDs of the instances. You can specify up to MaxRecords IDs. If you omit this parameter, all Auto Scaling instances are described. If you specify an ID that does not exist, it is ignored with no error.
1067 */
1068 InstanceIds?: InstanceIds;
1069 /**
1070 * The maximum number of items to return with this call. The default value is 50 and the maximum value is 50.
1071 */
1072 MaxRecords?: MaxRecords;
1073 /**
1074 * The token for the next set of items to return. (You received this token from a previous call.)
1075 */
1076 NextToken?: XmlString;
1077 }
1078 export interface DescribeAutoScalingNotificationTypesAnswer {
1079 /**
1080 * The notification types.
1081 */
1082 AutoScalingNotificationTypes?: AutoScalingNotificationTypes;
1083 }
1084 export interface DescribeLifecycleHookTypesAnswer {
1085 /**
1086 * The lifecycle hook types.
1087 */
1088 LifecycleHookTypes?: AutoScalingNotificationTypes;
1089 }
1090 export interface DescribeLifecycleHooksAnswer {
1091 /**
1092 * The lifecycle hooks for the specified group.
1093 */
1094 LifecycleHooks?: LifecycleHooks;
1095 }
1096 export interface DescribeLifecycleHooksType {
1097 /**
1098 * The name of the Auto Scaling group.
1099 */
1100 AutoScalingGroupName: ResourceName;
1101 /**
1102 * The names of one or more lifecycle hooks. If you omit this parameter, all lifecycle hooks are described.
1103 */
1104 LifecycleHookNames?: LifecycleHookNames;
1105 }
1106 export interface DescribeLoadBalancerTargetGroupsRequest {
1107 /**
1108 * The name of the Auto Scaling group.
1109 */
1110 AutoScalingGroupName: ResourceName;
1111 /**
1112 * The token for the next set of items to return. (You received this token from a previous call.)
1113 */
1114 NextToken?: XmlString;
1115 /**
1116 * The maximum number of items to return with this call. The default value is 100 and the maximum value is 100.
1117 */
1118 MaxRecords?: MaxRecords;
1119 }
1120 export interface DescribeLoadBalancerTargetGroupsResponse {
1121 /**
1122 * Information about the target groups.
1123 */
1124 LoadBalancerTargetGroups?: LoadBalancerTargetGroupStates;
1125 /**
1126 * A string that indicates that the response contains more items than can be returned in a single response. To receive additional items, specify this string for the NextToken value when requesting the next set of items. This value is null when there are no more items to return.
1127 */
1128 NextToken?: XmlString;
1129 }
1130 export interface DescribeLoadBalancersRequest {
1131 /**
1132 * The name of the Auto Scaling group.
1133 */
1134 AutoScalingGroupName: ResourceName;
1135 /**
1136 * The token for the next set of items to return. (You received this token from a previous call.)
1137 */
1138 NextToken?: XmlString;
1139 /**
1140 * The maximum number of items to return with this call. The default value is 100 and the maximum value is 100.
1141 */
1142 MaxRecords?: MaxRecords;
1143 }
1144 export interface DescribeLoadBalancersResponse {
1145 /**
1146 * The load balancers.
1147 */
1148 LoadBalancers?: LoadBalancerStates;
1149 /**
1150 * A string that indicates that the response contains more items than can be returned in a single response. To receive additional items, specify this string for the NextToken value when requesting the next set of items. This value is null when there are no more items to return.
1151 */
1152 NextToken?: XmlString;
1153 }
1154 export interface DescribeMetricCollectionTypesAnswer {
1155 /**
1156 * One or more metrics.
1157 */
1158 Metrics?: MetricCollectionTypes;
1159 /**
1160 * The granularities for the metrics.
1161 */
1162 Granularities?: MetricGranularityTypes;
1163 }
1164 export interface DescribeNotificationConfigurationsAnswer {
1165 /**
1166 * The notification configurations.
1167 */
1168 NotificationConfigurations: NotificationConfigurations;
1169 /**
1170 * A string that indicates that the response contains more items than can be returned in a single response. To receive additional items, specify this string for the NextToken value when requesting the next set of items. This value is null when there are no more items to return.
1171 */
1172 NextToken?: XmlString;
1173 }
1174 export interface DescribeNotificationConfigurationsType {
1175 /**
1176 * The name of the Auto Scaling group.
1177 */
1178 AutoScalingGroupNames?: AutoScalingGroupNames;
1179 /**
1180 * The token for the next set of items to return. (You received this token from a previous call.)
1181 */
1182 NextToken?: XmlString;
1183 /**
1184 * The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.
1185 */
1186 MaxRecords?: MaxRecords;
1187 }
1188 export interface DescribePoliciesType {
1189 /**
1190 * The name of the Auto Scaling group.
1191 */
1192 AutoScalingGroupName?: ResourceName;
1193 /**
1194 * The names of one or more policies. If you omit this parameter, all policies are described. If a group name is provided, the results are limited to that group. This list is limited to 50 items. If you specify an unknown policy name, it is ignored with no error.
1195 */
1196 PolicyNames?: PolicyNames;
1197 /**
1198 * One or more policy types. The valid values are SimpleScaling, StepScaling, and TargetTrackingScaling.
1199 */
1200 PolicyTypes?: PolicyTypes;
1201 /**
1202 * The token for the next set of items to return. (You received this token from a previous call.)
1203 */
1204 NextToken?: XmlString;
1205 /**
1206 * The maximum number of items to be returned with each call. The default value is 50 and the maximum value is 100.
1207 */
1208 MaxRecords?: MaxRecords;
1209 }
1210 export interface DescribeScalingActivitiesType {
1211 /**
1212 * The activity IDs of the desired scaling activities. You can specify up to 50 IDs. If you omit this parameter, all activities for the past six weeks are described. If unknown activities are requested, they are ignored with no error. If you specify an Auto Scaling group, the results are limited to that group.
1213 */
1214 ActivityIds?: ActivityIds;
1215 /**
1216 * The name of the Auto Scaling group.
1217 */
1218 AutoScalingGroupName?: ResourceName;
1219 /**
1220 * The maximum number of items to return with this call. The default value is 100 and the maximum value is 100.
1221 */
1222 MaxRecords?: MaxRecords;
1223 /**
1224 * The token for the next set of items to return. (You received this token from a previous call.)
1225 */
1226 NextToken?: XmlString;
1227 }
1228 export interface DescribeScheduledActionsType {
1229 /**
1230 * The name of the Auto Scaling group.
1231 */
1232 AutoScalingGroupName?: ResourceName;
1233 /**
1234 * The names of one or more scheduled actions. You can specify up to 50 actions. If you omit this parameter, all scheduled actions are described. If you specify an unknown scheduled action, it is ignored with no error.
1235 */
1236 ScheduledActionNames?: ScheduledActionNames;
1237 /**
1238 * The earliest scheduled start time to return. If scheduled action names are provided, this parameter is ignored.
1239 */
1240 StartTime?: TimestampType;
1241 /**
1242 * The latest scheduled start time to return. If scheduled action names are provided, this parameter is ignored.
1243 */
1244 EndTime?: TimestampType;
1245 /**
1246 * The token for the next set of items to return. (You received this token from a previous call.)
1247 */
1248 NextToken?: XmlString;
1249 /**
1250 * The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.
1251 */
1252 MaxRecords?: MaxRecords;
1253 }
1254 export interface DescribeTagsType {
1255 /**
1256 * One or more filters to scope the tags to return. The maximum number of filters per filter type (for example, auto-scaling-group) is 1000.
1257 */
1258 Filters?: Filters;
1259 /**
1260 * The token for the next set of items to return. (You received this token from a previous call.)
1261 */
1262 NextToken?: XmlString;
1263 /**
1264 * The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.
1265 */
1266 MaxRecords?: MaxRecords;
1267 }
1268 export interface DescribeTerminationPolicyTypesAnswer {
1269 /**
1270 * The termination policies supported by Amazon EC2 Auto Scaling: OldestInstance, OldestLaunchConfiguration, NewestInstance, ClosestToNextInstanceHour, Default, OldestLaunchTemplate, and AllocationStrategy.
1271 */
1272 TerminationPolicyTypes?: TerminationPolicies;
1273 }
1274 export interface DetachInstancesAnswer {
1275 /**
1276 * The activities related to detaching the instances from the Auto Scaling group.
1277 */
1278 Activities?: Activities;
1279 }
1280 export interface DetachInstancesQuery {
1281 /**
1282 * The IDs of the instances. You can specify up to 20 instances.
1283 */
1284 InstanceIds?: InstanceIds;
1285 /**
1286 * The name of the Auto Scaling group.
1287 */
1288 AutoScalingGroupName: ResourceName;
1289 /**
1290 * Indicates whether the Auto Scaling group decrements the desired capacity value by the number of instances detached.
1291 */
1292 ShouldDecrementDesiredCapacity: ShouldDecrementDesiredCapacity;
1293 }
1294 export interface DetachLoadBalancerTargetGroupsResultType {
1295 }
1296 export interface DetachLoadBalancerTargetGroupsType {
1297 /**
1298 * The name of the Auto Scaling group.
1299 */
1300 AutoScalingGroupName: ResourceName;
1301 /**
1302 * The Amazon Resource Names (ARN) of the target groups. You can specify up to 10 target groups.
1303 */
1304 TargetGroupARNs: TargetGroupARNs;
1305 }
1306 export interface DetachLoadBalancersResultType {
1307 }
1308 export interface DetachLoadBalancersType {
1309 /**
1310 * The name of the Auto Scaling group.
1311 */
1312 AutoScalingGroupName: ResourceName;
1313 /**
1314 * The names of the load balancers. You can specify up to 10 load balancers.
1315 */
1316 LoadBalancerNames: LoadBalancerNames;
1317 }
1318 export interface DisableMetricsCollectionQuery {
1319 /**
1320 * The name of the Auto Scaling group.
1321 */
1322 AutoScalingGroupName: ResourceName;
1323 /**
1324 * One or more of the following metrics. If you omit this parameter, all metrics are disabled. GroupMinSize GroupMaxSize GroupDesiredCapacity GroupInServiceInstances GroupPendingInstances GroupStandbyInstances GroupTerminatingInstances GroupTotalInstances
1325 */
1326 Metrics?: Metrics;
1327 }
1328 export type DisableScaleIn = boolean;
1329 export interface Ebs {
1330 /**
1331 * The ID of the snapshot. This parameter is optional if you specify a volume size.
1332 */
1333 SnapshotId?: XmlStringMaxLen255;
1334 /**
1335 * The volume size, in GiB. Constraints: 1-1,024 for standard, 4-16,384 for io1, 1-16,384 for gp2, and 500-16,384 for st1 and sc1. If you specify a snapshot, the volume size must be equal to or larger than the snapshot size. Default: If you create a volume from a snapshot and you don't specify a volume size, the default is the snapshot size. At least one of VolumeSize or SnapshotId is required.
1336 */
1337 VolumeSize?: BlockDeviceEbsVolumeSize;
1338 /**
1339 * The volume type, which can be standard for Magnetic, io1 for Provisioned IOPS SSD, gp2 for General Purpose SSD, st1 for Throughput Optimized HDD, or sc1 for Cold HDD. For more information, see Amazon EBS Volume Types in the Amazon EC2 User Guide for Linux Instances. Valid values: standard | io1 | gp2 | st1 | sc1
1340 */
1341 VolumeType?: BlockDeviceEbsVolumeType;
1342 /**
1343 * Indicates whether the volume is deleted on instance termination. The default value is true.
1344 */
1345 DeleteOnTermination?: BlockDeviceEbsDeleteOnTermination;
1346 /**
1347 * The number of I/O operations per second (IOPS) to provision for the volume. For more information, see Amazon EBS Volume Types in the Amazon EC2 User Guide for Linux Instances. Conditional: This parameter is required when the volume type is io1. (Not used with standard, gp2, st1, or sc1 volumes.)
1348 */
1349 Iops?: BlockDeviceEbsIops;
1350 /**
1351 * Specifies whether the volume should be encrypted. Encrypted EBS volumes must be attached to instances that support Amazon EBS encryption. Volumes that are created from encrypted snapshots are automatically encrypted. There is no way to create an encrypted volume from an unencrypted snapshot or an unencrypted volume from an encrypted snapshot. If your AMI uses encrypted volumes, you can only launch it on supported instance types. For more information, see Amazon EBS Encryption in the Amazon EC2 User Guide for Linux Instances.
1352 */
1353 Encrypted?: BlockDeviceEbsEncrypted;
1354 }
1355 export type EbsOptimized = boolean;
1356 export interface EnableMetricsCollectionQuery {
1357 /**
1358 * The name of the Auto Scaling group.
1359 */
1360 AutoScalingGroupName: ResourceName;
1361 /**
1362 * One or more of the following metrics. If you omit this parameter, all metrics are enabled. GroupMinSize GroupMaxSize GroupDesiredCapacity GroupInServiceInstances GroupPendingInstances GroupStandbyInstances GroupTerminatingInstances GroupTotalInstances
1363 */
1364 Metrics?: Metrics;
1365 /**
1366 * The granularity to associate with the metrics to collect. The only valid value is 1Minute.
1367 */
1368 Granularity: XmlStringMaxLen255;
1369 }
1370 export interface EnabledMetric {
1371 /**
1372 * One of the following metrics: GroupMinSize GroupMaxSize GroupDesiredCapacity GroupInServiceInstances GroupPendingInstances GroupStandbyInstances GroupTerminatingInstances GroupTotalInstances
1373 */
1374 Metric?: XmlStringMaxLen255;
1375 /**
1376 * The granularity of the metric. The only valid value is 1Minute.
1377 */
1378 Granularity?: XmlStringMaxLen255;
1379 }
1380 export type EnabledMetrics = EnabledMetric[];
1381 export interface EnterStandbyAnswer {
1382 /**
1383 * The activities related to moving instances into Standby mode.
1384 */
1385 Activities?: Activities;
1386 }
1387 export interface EnterStandbyQuery {
1388 /**
1389 * The IDs of the instances. You can specify up to 20 instances.
1390 */
1391 InstanceIds?: InstanceIds;
1392 /**
1393 * The name of the Auto Scaling group.
1394 */
1395 AutoScalingGroupName: ResourceName;
1396 /**
1397 * Indicates whether to decrement the desired capacity of the Auto Scaling group by the number of instances moved to Standby mode.
1398 */
1399 ShouldDecrementDesiredCapacity: ShouldDecrementDesiredCapacity;
1400 }
1401 export type EstimatedInstanceWarmup = number;
1402 export interface ExecutePolicyType {
1403 /**
1404 * The name of the Auto Scaling group.
1405 */
1406 AutoScalingGroupName?: ResourceName;
1407 /**
1408 * The name or ARN of the policy.
1409 */
1410 PolicyName: ResourceName;
1411 /**
1412 * Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before executing the policy. This parameter is not supported if the policy type is StepScaling. For more information, see Scaling Cooldowns in the Amazon EC2 Auto Scaling User Guide.
1413 */
1414 HonorCooldown?: HonorCooldown;
1415 /**
1416 * The metric value to compare to BreachThreshold. This enables you to execute a policy of type StepScaling and determine which step adjustment to use. For example, if the breach threshold is 50 and you want to use a step adjustment with a lower bound of 0 and an upper bound of 10, you can set the metric value to 59. If you specify a metric value that doesn't correspond to a step adjustment for the policy, the call returns an error. Conditional: This parameter is required if the policy type is StepScaling and not supported otherwise.
1417 */
1418 MetricValue?: MetricScale;
1419 /**
1420 * The breach threshold for the alarm. Conditional: This parameter is required if the policy type is StepScaling and not supported otherwise.
1421 */
1422 BreachThreshold?: MetricScale;
1423 }
1424 export interface ExitStandbyAnswer {
1425 /**
1426 * The activities related to moving instances out of Standby mode.
1427 */
1428 Activities?: Activities;
1429 }
1430 export interface ExitStandbyQuery {
1431 /**
1432 * The IDs of the instances. You can specify up to 20 instances.
1433 */
1434 InstanceIds?: InstanceIds;
1435 /**
1436 * The name of the Auto Scaling group.
1437 */
1438 AutoScalingGroupName: ResourceName;
1439 }
1440 export interface FailedScheduledUpdateGroupActionRequest {
1441 /**
1442 * The name of the scheduled action.
1443 */
1444 ScheduledActionName: XmlStringMaxLen255;
1445 /**
1446 * The error code.
1447 */
1448 ErrorCode?: XmlStringMaxLen64;
1449 /**
1450 * The error message accompanying the error code.
1451 */
1452 ErrorMessage?: XmlString;
1453 }
1454 export type FailedScheduledUpdateGroupActionRequests = FailedScheduledUpdateGroupActionRequest[];
1455 export interface Filter {
1456 /**
1457 * The name of the filter. The valid values are: "auto-scaling-group", "key", "value", and "propagate-at-launch".
1458 */
1459 Name?: XmlString;
1460 /**
1461 * The value of the filter.
1462 */
1463 Values?: Values;
1464 }
1465 export type Filters = Filter[];
1466 export type ForceDelete = boolean;
1467 export type GlobalTimeout = number;
1468 export type HealthCheckGracePeriod = number;
1469 export type HeartbeatTimeout = number;
1470 export type HonorCooldown = boolean;
1471 export interface Instance {
1472 /**
1473 * The ID of the instance.
1474 */
1475 InstanceId: XmlStringMaxLen19;
1476 /**
1477 * The Availability Zone in which the instance is running.
1478 */
1479 AvailabilityZone: XmlStringMaxLen255;
1480 /**
1481 * A description of the current lifecycle state. The Quarantined state is not used.
1482 */
1483 LifecycleState: LifecycleState;
1484 /**
1485 * The last reported health status of the instance. "Healthy" means that the instance is healthy and should remain in service. "Unhealthy" means that the instance is unhealthy and that Amazon EC2 Auto Scaling should terminate and replace it.
1486 */
1487 HealthStatus: XmlStringMaxLen32;
1488 /**
1489 * The launch configuration associated with the instance.
1490 */
1491 LaunchConfigurationName?: XmlStringMaxLen255;
1492 /**
1493 * The launch template for the instance.
1494 */
1495 LaunchTemplate?: LaunchTemplateSpecification;
1496 /**
1497 * Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in.
1498 */
1499 ProtectedFromScaleIn: InstanceProtected;
1500 }
1501 export type InstanceIds = XmlStringMaxLen19[];
1502 export interface InstanceMonitoring {
1503 /**
1504 * If true, detailed monitoring is enabled. Otherwise, basic monitoring is enabled.
1505 */
1506 Enabled?: MonitoringEnabled;
1507 }
1508 export type InstanceProtected = boolean;
1509 export type Instances = Instance[];
1510 export interface InstancesDistribution {
1511 /**
1512 * Indicates how to allocate instance types to fulfill On-Demand capacity. The only valid value is prioritized, which is also the default value. This strategy uses the order of instance type overrides for the LaunchTemplate to define the launch priority of each instance type. The first instance type in the array is prioritized higher than the last. If all your On-Demand capacity cannot be fulfilled using your highest priority instance, then the Auto Scaling groups launches the remaining capacity using the second priority instance type, and so on.
1513 */
1514 OnDemandAllocationStrategy?: XmlString;
1515 /**
1516 * The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances. This base portion is provisioned first as your group scales. The default value is 0. If you leave this parameter set to 0, On-Demand Instances are launched as a percentage of the Auto Scaling group's desired capacity, per the OnDemandPercentageAboveBaseCapacity setting.
1517 */
1518 OnDemandBaseCapacity?: OnDemandBaseCapacity;
1519 /**
1520 * Controls the percentages of On-Demand Instances and Spot Instances for your additional capacity beyond OnDemandBaseCapacity. The range is 0–100. The default value is 100. If you leave this parameter set to 100, the percentages are 100% for On-Demand Instances and 0% for Spot Instances.
1521 */
1522 OnDemandPercentageAboveBaseCapacity?: OnDemandPercentageAboveBaseCapacity;
1523 /**
1524 * Indicates how to allocate Spot capacity across Spot pools. The only valid value is lowest-price, which is also the default value. The Auto Scaling group selects the cheapest Spot pools and evenly allocates your Spot capacity across the number of Spot pools that you specify.
1525 */
1526 SpotAllocationStrategy?: XmlString;
1527 /**
1528 * The number of Spot pools to use to allocate your Spot capacity. The Spot pools are determined from the different instance types in the Overrides array of LaunchTemplate. The range is 1–20 and the default is 2.
1529 */
1530 SpotInstancePools?: SpotInstancePools;
1531 /**
1532 * The maximum price per unit hour that you are willing to pay for a Spot Instance. If you leave the value of this parameter blank (which is the default), the maximum Spot price is set at the On-Demand price. To remove a value that you previously set, include the parameter but leave the value blank.
1533 */
1534 SpotMaxPrice?: MixedInstanceSpotPrice;
1535 }
1536 export interface LaunchConfiguration {
1537 /**
1538 * The name of the launch configuration.
1539 */
1540 LaunchConfigurationName: XmlStringMaxLen255;
1541 /**
1542 * The Amazon Resource Name (ARN) of the launch configuration.
1543 */
1544 LaunchConfigurationARN?: ResourceName;
1545 /**
1546 * The ID of the Amazon Machine Image (AMI).
1547 */
1548 ImageId: XmlStringMaxLen255;
1549 /**
1550 * The name of the key pair.
1551 */
1552 KeyName?: XmlStringMaxLen255;
1553 /**
1554 * The security groups to associate with the instances.
1555 */
1556 SecurityGroups?: SecurityGroups;
1557 /**
1558 * The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. This parameter can only be used if you are launching EC2-Classic instances. For more information, see ClassicLink in the Amazon EC2 User Guide for Linux Instances and Linking EC2-Classic Instances to a VPC in the Amazon EC2 Auto Scaling User Guide.
1559 */
1560 ClassicLinkVPCId?: XmlStringMaxLen255;
1561 /**
1562 * The IDs of one or more security groups for the VPC specified in ClassicLinkVPCId. For more information, see ClassicLink in the Amazon EC2 User Guide for Linux Instances and Linking EC2-Classic Instances to a VPC in the Amazon EC2 Auto Scaling User Guide. Conditional: This parameter is required if you specify a ClassicLink-enabled VPC, and cannot be used otherwise.
1563 */
1564 ClassicLinkVPCSecurityGroups?: ClassicLinkVPCSecurityGroups;
1565 /**
1566 * The user data available to the instances.
1567 */
1568 UserData?: XmlStringUserData;
1569 /**
1570 * The instance type for the instances.
1571 */
1572 InstanceType: XmlStringMaxLen255;
1573 /**
1574 * The ID of the kernel associated with the AMI.
1575 */
1576 KernelId?: XmlStringMaxLen255;
1577 /**
1578 * The ID of the RAM disk associated with the AMI.
1579 */
1580 RamdiskId?: XmlStringMaxLen255;
1581 /**
1582 * A block device mapping, which specifies the block devices for the instance.
1583 */
1584 BlockDeviceMappings?: BlockDeviceMappings;
1585 /**
1586 * Controls whether instances in this group are launched with detailed (true) or basic (false) monitoring.
1587 */
1588 InstanceMonitoring?: InstanceMonitoring;
1589 /**
1590 * The price to bid when launching Spot Instances.
1591 */
1592 SpotPrice?: SpotPrice;
1593 /**
1594 * The name or Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance.
1595 */
1596 IamInstanceProfile?: XmlStringMaxLen1600;
1597 /**
1598 * The creation date and time for the launch configuration.
1599 */
1600 CreatedTime: TimestampType;
1601 /**
1602 * Controls whether the instance is optimized for EBS I/O (true) or not (false).
1603 */
1604 EbsOptimized?: EbsOptimized;
1605 /**
1606 * [EC2-VPC] Indicates whether to assign a public IP address to each instance.
1607 */
1608 AssociatePublicIpAddress?: AssociatePublicIpAddress;
1609 /**
1610 * The tenancy of the instance, either default or dedicated. An instance with dedicated tenancy runs in an isolated, single-tenant hardware and can only be launched into a VPC.
1611 */
1612 PlacementTenancy?: XmlStringMaxLen64;
1613 }
1614 export interface LaunchConfigurationNameType {
1615 /**
1616 * The name of the launch configuration.
1617 */
1618 LaunchConfigurationName: ResourceName;
1619 }
1620 export type LaunchConfigurationNames = ResourceName[];
1621 export interface LaunchConfigurationNamesType {
1622 /**
1623 * The launch configuration names. If you omit this parameter, all launch configurations are described.
1624 */
1625 LaunchConfigurationNames?: LaunchConfigurationNames;
1626 /**
1627 * The token for the next set of items to return. (You received this token from a previous call.)
1628 */
1629 NextToken?: XmlString;
1630 /**
1631 * The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.
1632 */
1633 MaxRecords?: MaxRecords;
1634 }
1635 export type LaunchConfigurations = LaunchConfiguration[];
1636 export interface LaunchConfigurationsType {
1637 /**
1638 * The launch configurations.
1639 */
1640 LaunchConfigurations: LaunchConfigurations;
1641 /**
1642 * A string that indicates that the response contains more items than can be returned in a single response. To receive additional items, specify this string for the NextToken value when requesting the next set of items. This value is null when there are no more items to return.
1643 */
1644 NextToken?: XmlString;
1645 }
1646 export interface LaunchTemplate {
1647 /**
1648 * The launch template to use. You must specify either the launch template ID or launch template name in the request.
1649 */
1650 LaunchTemplateSpecification?: LaunchTemplateSpecification;
1651 /**
1652 * Any parameters that you specify override the same parameters in the launch template. Currently, the only supported override is instance type. You must specify between 2 and 20 overrides.
1653 */
1654 Overrides?: Overrides;
1655 }
1656 export type LaunchTemplateName = string;
1657 export interface LaunchTemplateOverrides {
1658 /**
1659 * The instance type. For information about available instance types, see Available Instance Types in the Amazon Elastic Compute Cloud User Guide.
1660 */
1661 InstanceType?: XmlStringMaxLen255;
1662 }
1663 export interface LaunchTemplateSpecification {
1664 /**
1665 * The ID of the launch template. You must specify either a template ID or a template name.
1666 */
1667 LaunchTemplateId?: XmlStringMaxLen255;
1668 /**
1669 * The name of the launch template. You must specify either a template name or a template ID.
1670 */
1671 LaunchTemplateName?: LaunchTemplateName;
1672 /**
1673 * The version number, $Latest, or $Default. If the value is $Latest, Amazon EC2 Auto Scaling selects the latest version of the launch template when launching instances. If the value is $Default, Amazon EC2 Auto Scaling selects the default version of the launch template when launching instances. The default value is $Default.
1674 */
1675 Version?: XmlStringMaxLen255;
1676 }
1677 export type LifecycleActionResult = string;
1678 export type LifecycleActionToken = string;
1679 export interface LifecycleHook {
1680 /**
1681 * The name of the lifecycle hook.
1682 */
1683 LifecycleHookName?: AsciiStringMaxLen255;
1684 /**
1685 * The name of the Auto Scaling group for the lifecycle hook.
1686 */
1687 AutoScalingGroupName?: ResourceName;
1688 /**
1689 * The state of the EC2 instance to which to attach the lifecycle hook. The following are possible values: autoscaling:EC2_INSTANCE_LAUNCHING autoscaling:EC2_INSTANCE_TERMINATING
1690 */
1691 LifecycleTransition?: LifecycleTransition;
1692 /**
1693 * The ARN of the target that Amazon EC2 Auto Scaling sends notifications to when an instance is in the transition state for the lifecycle hook. The notification target can be either an SQS queue or an SNS topic.
1694 */
1695 NotificationTargetARN?: ResourceName;
1696 /**
1697 * The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target.
1698 */
1699 RoleARN?: ResourceName;
1700 /**
1701 * Additional information that is included any time Amazon EC2 Auto Scaling sends a message to the notification target.
1702 */
1703 NotificationMetadata?: XmlStringMaxLen1023;
1704 /**
1705 * The maximum time, in seconds, that can elapse before the lifecycle hook times out. If the lifecycle hook times out, Amazon EC2 Auto Scaling performs the action that you specified in the DefaultResult parameter.
1706 */
1707 HeartbeatTimeout?: HeartbeatTimeout;
1708 /**
1709 * The maximum time, in seconds, that an instance can remain in a Pending:Wait or Terminating:Wait state. The maximum is 172800 seconds (48 hours) or 100 times HeartbeatTimeout, whichever is smaller.
1710 */
1711 GlobalTimeout?: GlobalTimeout;
1712 /**
1713 * Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. The possible values are CONTINUE and ABANDON.
1714 */
1715 DefaultResult?: LifecycleActionResult;
1716 }
1717 export type LifecycleHookNames = AsciiStringMaxLen255[];
1718 export interface LifecycleHookSpecification {
1719 /**
1720 * The name of the lifecycle hook.
1721 */
1722 LifecycleHookName: AsciiStringMaxLen255;
1723 /**
1724 * The state of the EC2 instance to which you want to attach the lifecycle hook. The valid values are: autoscaling:EC2_INSTANCE_LAUNCHING autoscaling:EC2_INSTANCE_TERMINATING
1725 */
1726 LifecycleTransition: LifecycleTransition;
1727 /**
1728 * Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to the notification target.
1729 */
1730 NotificationMetadata?: XmlStringMaxLen1023;
1731 /**
1732 * The maximum time, in seconds, that can elapse before the lifecycle hook times out. If the lifecycle hook times out, Amazon EC2 Auto Scaling performs the action that you specified in the DefaultResult parameter. You can prevent the lifecycle hook from timing out by calling RecordLifecycleActionHeartbeat.
1733 */
1734 HeartbeatTimeout?: HeartbeatTimeout;
1735 /**
1736 * Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. The valid values are CONTINUE and ABANDON. The default value is ABANDON.
1737 */
1738 DefaultResult?: LifecycleActionResult;
1739 /**
1740 * The ARN of the target that Amazon EC2 Auto Scaling sends notifications to when an instance is in the transition state for the lifecycle hook. The notification target can be either an SQS queue or an SNS topic.
1741 */
1742 NotificationTargetARN?: NotificationTargetResourceName;
1743 /**
1744 * The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target, for example, an Amazon SNS topic or an Amazon SQS queue.
1745 */
1746 RoleARN?: ResourceName;
1747 }
1748 export type LifecycleHookSpecifications = LifecycleHookSpecification[];
1749 export type LifecycleHooks = LifecycleHook[];
1750 export type LifecycleState = "Pending"|"Pending:Wait"|"Pending:Proceed"|"Quarantined"|"InService"|"Terminating"|"Terminating:Wait"|"Terminating:Proceed"|"Terminated"|"Detaching"|"Detached"|"EnteringStandby"|"Standby"|string;
1751 export type LifecycleTransition = string;
1752 export type LoadBalancerNames = XmlStringMaxLen255[];
1753 export interface LoadBalancerState {
1754 /**
1755 * The name of the load balancer.
1756 */
1757 LoadBalancerName?: XmlStringMaxLen255;
1758 /**
1759 * One of the following load balancer states: Adding - The instances in the group are being registered with the load balancer. Added - All instances in the group are registered with the load balancer. InService - At least one instance in the group passed an ELB health check. Removing - The instances in the group are being deregistered from the load balancer. If connection draining is enabled, Elastic Load Balancing waits for in-flight requests to complete before deregistering the instances. Removed - All instances in the group are deregistered from the load balancer.
1760 */
1761 State?: XmlStringMaxLen255;
1762 }
1763 export type LoadBalancerStates = LoadBalancerState[];
1764 export interface LoadBalancerTargetGroupState {
1765 /**
1766 * The Amazon Resource Name (ARN) of the target group.
1767 */
1768 LoadBalancerTargetGroupARN?: XmlStringMaxLen511;
1769 /**
1770 * The state of the target group. Adding - The Auto Scaling instances are being registered with the target group. Added - All Auto Scaling instances are registered with the target group. InService - At least one Auto Scaling instance passed an ELB health check. Removing - The Auto Scaling instances are being deregistered from the target group. If connection draining is enabled, Elastic Load Balancing waits for in-flight requests to complete before deregistering the instances. Removed - All Auto Scaling instances are deregistered from the target group.
1771 */
1772 State?: XmlStringMaxLen255;
1773 }
1774 export type LoadBalancerTargetGroupStates = LoadBalancerTargetGroupState[];
1775 export type MaxNumberOfAutoScalingGroups = number;
1776 export type MaxNumberOfLaunchConfigurations = number;
1777 export type MaxRecords = number;
1778 export interface MetricCollectionType {
1779 /**
1780 * One of the following metrics: GroupMinSize GroupMaxSize GroupDesiredCapacity GroupInServiceInstances GroupPendingInstances GroupStandbyInstances GroupTerminatingInstances GroupTotalInstances
1781 */
1782 Metric?: XmlStringMaxLen255;
1783 }
1784 export type MetricCollectionTypes = MetricCollectionType[];
1785 export interface MetricDimension {
1786 /**
1787 * The name of the dimension.
1788 */
1789 Name: MetricDimensionName;
1790 /**
1791 * The value of the dimension.
1792 */
1793 Value: MetricDimensionValue;
1794 }
1795 export type MetricDimensionName = string;
1796 export type MetricDimensionValue = string;
1797 export type MetricDimensions = MetricDimension[];
1798 export interface MetricGranularityType {
1799 /**
1800 * The granularity. The only valid value is 1Minute.
1801 */
1802 Granularity?: XmlStringMaxLen255;
1803 }
1804 export type MetricGranularityTypes = MetricGranularityType[];
1805 export type MetricName = string;
1806 export type MetricNamespace = string;
1807 export type MetricScale = number;
1808 export type MetricStatistic = "Average"|"Minimum"|"Maximum"|"SampleCount"|"Sum"|string;
1809 export type MetricType = "ASGAverageCPUUtilization"|"ASGAverageNetworkIn"|"ASGAverageNetworkOut"|"ALBRequestCountPerTarget"|string;
1810 export type MetricUnit = string;
1811 export type Metrics = XmlStringMaxLen255[];
1812 export type MinAdjustmentMagnitude = number;
1813 export type MinAdjustmentStep = number;
1814 export type MixedInstanceSpotPrice = string;
1815 export interface MixedInstancesPolicy {
1816 /**
1817 * The launch template and overrides. This parameter is required when creating an Auto Scaling group with a mixed instances policy, but is not required when updating the group.
1818 */
1819 LaunchTemplate?: LaunchTemplate;
1820 /**
1821 * The instances distribution to use. If you leave this parameter unspecified when creating the group, the default values are used.
1822 */
1823 InstancesDistribution?: InstancesDistribution;
1824 }
1825 export type MonitoringEnabled = boolean;
1826 export type NoDevice = boolean;
1827 export interface NotificationConfiguration {
1828 /**
1829 * The name of the Auto Scaling group.
1830 */
1831 AutoScalingGroupName?: ResourceName;
1832 /**
1833 * The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (Amazon SNS) topic.
1834 */
1835 TopicARN?: ResourceName;
1836 /**
1837 * One of the following event notification types: autoscaling:EC2_INSTANCE_LAUNCH autoscaling:EC2_INSTANCE_LAUNCH_ERROR autoscaling:EC2_INSTANCE_TERMINATE autoscaling:EC2_INSTANCE_TERMINATE_ERROR autoscaling:TEST_NOTIFICATION
1838 */
1839 NotificationType?: XmlStringMaxLen255;
1840 }
1841 export type NotificationConfigurations = NotificationConfiguration[];
1842 export type NotificationTargetResourceName = string;
1843 export type NumberOfAutoScalingGroups = number;
1844 export type NumberOfLaunchConfigurations = number;
1845 export type OnDemandBaseCapacity = number;
1846 export type OnDemandPercentageAboveBaseCapacity = number;
1847 export type Overrides = LaunchTemplateOverrides[];
1848 export interface PoliciesType {
1849 /**
1850 * The scaling policies.
1851 */
1852 ScalingPolicies?: ScalingPolicies;
1853 /**
1854 * A string that indicates that the response contains more items than can be returned in a single response. To receive additional items, specify this string for the NextToken value when requesting the next set of items. This value is null when there are no more items to return.
1855 */
1856 NextToken?: XmlString;
1857 }
1858 export interface PolicyARNType {
1859 /**
1860 * The Amazon Resource Name (ARN) of the policy.
1861 */
1862 PolicyARN?: ResourceName;
1863 /**
1864 * The CloudWatch alarms created for the target tracking scaling policy.
1865 */
1866 Alarms?: Alarms;
1867 }
1868 export type PolicyIncrement = number;
1869 export type PolicyNames = ResourceName[];
1870 export type PolicyTypes = XmlStringMaxLen64[];
1871 export interface PredefinedMetricSpecification {
1872 /**
1873 * The metric type.
1874 */
1875 PredefinedMetricType: MetricType;
1876 /**
1877 * Identifies the resource associated with the metric type. The following predefined metrics are available: ASGAverageCPUUtilization - Average CPU utilization of the Auto Scaling group. ASGAverageNetworkIn - Average number of bytes received on all network interfaces by the Auto Scaling group. ASGAverageNetworkOut - Average number of bytes sent out on all network interfaces by the Auto Scaling group. ALBRequestCountPerTarget - Number of requests completed per target in an Application Load Balancer or a Network Load Balancer target group. For predefined metric types ASGAverageCPUUtilization, ASGAverageNetworkIn, and ASGAverageNetworkOut, the parameter must not be specified as the resource associated with the metric type is the Auto Scaling group. For predefined metric type ALBRequestCountPerTarget, the parameter must be specified in the format: app/load-balancer-name/load-balancer-id/targetgroup/target-group-name/target-group-id , where app/load-balancer-name/load-balancer-id is the final portion of the load balancer ARN, and targetgroup/target-group-name/target-group-id is the final portion of the target group ARN. The target group must be attached to the Auto Scaling group.
1878 */
1879 ResourceLabel?: XmlStringMaxLen1023;
1880 }
1881 export type ProcessNames = XmlStringMaxLen255[];
1882 export interface ProcessType {
1883 /**
1884 * One of the following processes: Launch Terminate AddToLoadBalancer AlarmNotification AZRebalance HealthCheck ReplaceUnhealthy ScheduledActions
1885 */
1886 ProcessName: XmlStringMaxLen255;
1887 }
1888 export type Processes = ProcessType[];
1889 export interface ProcessesType {
1890 /**
1891 * The names of the process types.
1892 */
1893 Processes?: Processes;
1894 }
1895 export type Progress = number;
1896 export type PropagateAtLaunch = boolean;
1897 export type ProtectedFromScaleIn = boolean;
1898 export interface PutLifecycleHookAnswer {
1899 }
1900 export interface PutLifecycleHookType {
1901 /**
1902 * The name of the lifecycle hook.
1903 */
1904 LifecycleHookName: AsciiStringMaxLen255;
1905 /**
1906 * The name of the Auto Scaling group.
1907 */
1908 AutoScalingGroupName: ResourceName;
1909 /**
1910 * The instance state to which you want to attach the lifecycle hook. The valid values are: autoscaling:EC2_INSTANCE_LAUNCHING autoscaling:EC2_INSTANCE_TERMINATING Conditional: This parameter is required for new lifecycle hooks, but optional when updating existing hooks.
1911 */
1912 LifecycleTransition?: LifecycleTransition;
1913 /**
1914 * The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target, for example, an Amazon SNS topic or an Amazon SQS queue. Conditional: This parameter is required for new lifecycle hooks, but optional when updating existing hooks.
1915 */
1916 RoleARN?: ResourceName;
1917 /**
1918 * The ARN of the notification target that Amazon EC2 Auto Scaling uses to notify you when an instance is in the transition state for the lifecycle hook. This target can be either an SQS queue or an SNS topic. If you specify an empty string, this overrides the current ARN. This operation uses the JSON format when sending notifications to an Amazon SQS queue, and an email key-value pair format when sending notifications to an Amazon SNS topic. When you specify a notification target, Amazon EC2 Auto Scaling sends it a test message. Test messages contain the following additional key-value pair: "Event": "autoscaling:TEST_NOTIFICATION".
1919 */
1920 NotificationTargetARN?: NotificationTargetResourceName;
1921 /**
1922 * Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to the notification target.
1923 */
1924 NotificationMetadata?: XmlStringMaxLen1023;
1925 /**
1926 * The maximum time, in seconds, that can elapse before the lifecycle hook times out. The range is from 30 to 7200 seconds. The default value is 3600 seconds (1 hour). If the lifecycle hook times out, Amazon EC2 Auto Scaling performs the action that you specified in the DefaultResult parameter. You can prevent the lifecycle hook from timing out by calling RecordLifecycleActionHeartbeat.
1927 */
1928 HeartbeatTimeout?: HeartbeatTimeout;
1929 /**
1930 * Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. This parameter can be either CONTINUE or ABANDON. The default value is ABANDON.
1931 */
1932 DefaultResult?: LifecycleActionResult;
1933 }
1934 export interface PutNotificationConfigurationType {
1935 /**
1936 * The name of the Auto Scaling group.
1937 */
1938 AutoScalingGroupName: ResourceName;
1939 /**
1940 * The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (Amazon SNS) topic.
1941 */
1942 TopicARN: ResourceName;
1943 /**
1944 * The type of event that causes the notification to be sent. For more information about notification types supported by Amazon EC2 Auto Scaling, see DescribeAutoScalingNotificationTypes.
1945 */
1946 NotificationTypes: AutoScalingNotificationTypes;
1947 }
1948 export interface PutScalingPolicyType {
1949 /**
1950 * The name of the Auto Scaling group.
1951 */
1952 AutoScalingGroupName: ResourceName;
1953 /**
1954 * The name of the policy.
1955 */
1956 PolicyName: XmlStringMaxLen255;
1957 /**
1958 * The policy type. The valid values are SimpleScaling, StepScaling, and TargetTrackingScaling. If the policy type is null, the value is treated as SimpleScaling.
1959 */
1960 PolicyType?: XmlStringMaxLen64;
1961 /**
1962 * The adjustment type. The valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity. This parameter is supported if the policy type is SimpleScaling or StepScaling. For more information, see Dynamic Scaling in the Amazon EC2 Auto Scaling User Guide.
1963 */
1964 AdjustmentType?: XmlStringMaxLen255;
1965 /**
1966 * Available for backward compatibility. Use MinAdjustmentMagnitude instead.
1967 */
1968 MinAdjustmentStep?: MinAdjustmentStep;
1969 /**
1970 * The minimum number of instances to scale. If the value of AdjustmentType is PercentChangeInCapacity, the scaling policy changes the DesiredCapacity of the Auto Scaling group by at least this many instances. Otherwise, the error is ValidationError. This parameter is supported if the policy type is SimpleScaling or StepScaling.
1971 */
1972 MinAdjustmentMagnitude?: MinAdjustmentMagnitude;
1973 /**
1974 * The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity. Conditional: This parameter is required if the policy type is SimpleScaling and not supported otherwise.
1975 */
1976 ScalingAdjustment?: PolicyIncrement;
1977 /**
1978 * The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start. If this parameter is not specified, the default cooldown period for the group applies. This parameter is supported if the policy type is SimpleScaling. For more information, see Scaling Cooldowns in the Amazon EC2 Auto Scaling User Guide.
1979 */
1980 Cooldown?: Cooldown;
1981 /**
1982 * The aggregation type for the CloudWatch metrics. The valid values are Minimum, Maximum, and Average. If the aggregation type is null, the value is treated as Average. This parameter is supported if the policy type is StepScaling.
1983 */
1984 MetricAggregationType?: XmlStringMaxLen32;
1985 /**
1986 * A set of adjustments that enable you to scale based on the size of the alarm breach. Conditional: This parameter is required if the policy type is StepScaling and not supported otherwise.
1987 */
1988 StepAdjustments?: StepAdjustments;
1989 /**
1990 * The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics. The default is to use the value specified for the default cooldown period for the group. This parameter is supported if the policy type is StepScaling or TargetTrackingScaling.
1991 */
1992 EstimatedInstanceWarmup?: EstimatedInstanceWarmup;
1993 /**
1994 * A target tracking scaling policy. Includes support for predefined or customized metrics. Conditional: This parameter is required if the policy type is TargetTrackingScaling and not supported otherwise.
1995 */
1996 TargetTrackingConfiguration?: TargetTrackingConfiguration;
1997 }
1998 export interface PutScheduledUpdateGroupActionType {
1999 /**
2000 * The name of the Auto Scaling group.
2001 */
2002 AutoScalingGroupName: ResourceName;
2003 /**
2004 * The name of this scaling action.
2005 */
2006 ScheduledActionName: XmlStringMaxLen255;
2007 /**
2008 * This parameter is deprecated.
2009 */
2010 Time?: TimestampType;
2011 /**
2012 * The time for this action to start, in YYYY-MM-DDThh:mm:ssZ format in UTC/GMT only and in quotes (for example, "2019-06-01T00:00:00Z"). If you specify Recurrence and StartTime, Amazon EC2 Auto Scaling performs the action at this time, and then performs the action based on the specified recurrence. If you try to schedule your action in the past, Amazon EC2 Auto Scaling returns an error message.
2013 */
2014 StartTime?: TimestampType;
2015 /**
2016 * The time for the recurring schedule to end. Amazon EC2 Auto Scaling does not perform the action after this time.
2017 */
2018 EndTime?: TimestampType;
2019 /**
2020 * The recurring schedule for this action, in Unix cron syntax format. This format consists of five fields separated by white spaces: [Minute] [Hour] [Day_of_Month] [Month_of_Year] [Day_of_Week]. The value must be in quotes (for example, "30 0 1 1,6,12 *"). For more information about this format, see Crontab.
2021 */
2022 Recurrence?: XmlStringMaxLen255;
2023 /**
2024 * The minimum size for the Auto Scaling group.
2025 */
2026 MinSize?: AutoScalingGroupMinSize;
2027 /**
2028 * The maximum size for the Auto Scaling group.
2029 */
2030 MaxSize?: AutoScalingGroupMaxSize;
2031 /**
2032 * The number of EC2 instances that should be running in the group.
2033 */
2034 DesiredCapacity?: AutoScalingGroupDesiredCapacity;
2035 }
2036 export interface RecordLifecycleActionHeartbeatAnswer {
2037 }
2038 export interface RecordLifecycleActionHeartbeatType {
2039 /**
2040 * The name of the lifecycle hook.
2041 */
2042 LifecycleHookName: AsciiStringMaxLen255;
2043 /**
2044 * The name of the Auto Scaling group.
2045 */
2046 AutoScalingGroupName: ResourceName;
2047 /**
2048 * A token that uniquely identifies a specific lifecycle action associated with an instance. Amazon EC2 Auto Scaling sends this token to the notification target that you specified when you created the lifecycle hook.
2049 */
2050 LifecycleActionToken?: LifecycleActionToken;
2051 /**
2052 * The ID of the instance.
2053 */
2054 InstanceId?: XmlStringMaxLen19;
2055 }
2056 export type ResourceName = string;
2057 export type ScalingActivityStatusCode = "PendingSpotBidPlacement"|"WaitingForSpotInstanceRequestId"|"WaitingForSpotInstanceId"|"WaitingForInstanceId"|"PreInService"|"InProgress"|"WaitingForELBConnectionDraining"|"MidLifecycleAction"|"WaitingForInstanceWarmup"|"Successful"|"Failed"|"Cancelled"|string;
2058 export type ScalingPolicies = ScalingPolicy[];
2059 export interface ScalingPolicy {
2060 /**
2061 * The name of the Auto Scaling group.
2062 */
2063 AutoScalingGroupName?: XmlStringMaxLen255;
2064 /**
2065 * The name of the scaling policy.
2066 */
2067 PolicyName?: XmlStringMaxLen255;
2068 /**
2069 * The Amazon Resource Name (ARN) of the policy.
2070 */
2071 PolicyARN?: ResourceName;
2072 /**
2073 * The policy type. The valid values are SimpleScaling and StepScaling.
2074 */
2075 PolicyType?: XmlStringMaxLen64;
2076 /**
2077 * The adjustment type, which specifies how ScalingAdjustment is interpreted. The valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.
2078 */
2079 AdjustmentType?: XmlStringMaxLen255;
2080 /**
2081 * Available for backward compatibility. Use MinAdjustmentMagnitude instead.
2082 */
2083 MinAdjustmentStep?: MinAdjustmentStep;
2084 /**
2085 * The minimum number of instances to scale. If the value of AdjustmentType is PercentChangeInCapacity, the scaling policy changes the DesiredCapacity of the Auto Scaling group by at least this many instances. Otherwise, the error is ValidationError.
2086 */
2087 MinAdjustmentMagnitude?: MinAdjustmentMagnitude;
2088 /**
2089 * The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity.
2090 */
2091 ScalingAdjustment?: PolicyIncrement;
2092 /**
2093 * The amount of time, in seconds, after a scaling activity completes before any further dynamic scaling activities can start.
2094 */
2095 Cooldown?: Cooldown;
2096 /**
2097 * A set of adjustments that enable you to scale based on the size of the alarm breach.
2098 */
2099 StepAdjustments?: StepAdjustments;
2100 /**
2101 * The aggregation type for the CloudWatch metrics. The valid values are Minimum, Maximum, and Average.
2102 */
2103 MetricAggregationType?: XmlStringMaxLen32;
2104 /**
2105 * The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics.
2106 */
2107 EstimatedInstanceWarmup?: EstimatedInstanceWarmup;
2108 /**
2109 * The CloudWatch alarms related to the policy.
2110 */
2111 Alarms?: Alarms;
2112 /**
2113 * A target tracking scaling policy.
2114 */
2115 TargetTrackingConfiguration?: TargetTrackingConfiguration;
2116 }
2117 export interface ScalingProcessQuery {
2118 /**
2119 * The name of the Auto Scaling group.
2120 */
2121 AutoScalingGroupName: ResourceName;
2122 /**
2123 * One or more of the following processes. If you omit this parameter, all processes are specified. Launch Terminate HealthCheck ReplaceUnhealthy AZRebalance AlarmNotification ScheduledActions AddToLoadBalancer
2124 */
2125 ScalingProcesses?: ProcessNames;
2126 }
2127 export type ScheduledActionNames = ResourceName[];
2128 export interface ScheduledActionsType {
2129 /**
2130 * The scheduled actions.
2131 */
2132 ScheduledUpdateGroupActions?: ScheduledUpdateGroupActions;
2133 /**
2134 * A string that indicates that the response contains more items than can be returned in a single response. To receive additional items, specify this string for the NextToken value when requesting the next set of items. This value is null when there are no more items to return.
2135 */
2136 NextToken?: XmlString;
2137 }
2138 export interface ScheduledUpdateGroupAction {
2139 /**
2140 * The name of the Auto Scaling group.
2141 */
2142 AutoScalingGroupName?: XmlStringMaxLen255;
2143 /**
2144 * The name of the scheduled action.
2145 */
2146 ScheduledActionName?: XmlStringMaxLen255;
2147 /**
2148 * The Amazon Resource Name (ARN) of the scheduled action.
2149 */
2150 ScheduledActionARN?: ResourceName;
2151 /**
2152 * This parameter is deprecated.
2153 */
2154 Time?: TimestampType;
2155 /**
2156 * The date and time that the action is scheduled to begin. When StartTime and EndTime are specified with Recurrence, they form the boundaries of when the recurring action starts and stops.
2157 */
2158 StartTime?: TimestampType;
2159 /**
2160 * The date and time that the action is scheduled to end.
2161 */
2162 EndTime?: TimestampType;
2163 /**
2164 * The recurring schedule for the action.
2165 */
2166 Recurrence?: XmlStringMaxLen255;
2167 /**
2168 * The minimum size of the group.
2169 */
2170 MinSize?: AutoScalingGroupMinSize;
2171 /**
2172 * The maximum size of the group.
2173 */
2174 MaxSize?: AutoScalingGroupMaxSize;
2175 /**
2176 * The number of instances you prefer to maintain in the group.
2177 */
2178 DesiredCapacity?: AutoScalingGroupDesiredCapacity;
2179 }
2180 export interface ScheduledUpdateGroupActionRequest {
2181 /**
2182 * The name of the scaling action.
2183 */
2184 ScheduledActionName: XmlStringMaxLen255;
2185 /**
2186 * The time for the action to start, in YYYY-MM-DDThh:mm:ssZ format in UTC/GMT only and in quotes (for example, "2019-06-01T00:00:00Z"). If you specify Recurrence and StartTime, Amazon EC2 Auto Scaling performs the action at this time, and then performs the action based on the specified recurrence. If you try to schedule the action in the past, Amazon EC2 Auto Scaling returns an error message.
2187 */
2188 StartTime?: TimestampType;
2189 /**
2190 * The time for the recurring schedule to end. Amazon EC2 Auto Scaling does not perform the action after this time.
2191 */
2192 EndTime?: TimestampType;
2193 /**
2194 * The recurring schedule for the action, in Unix cron syntax format. This format consists of five fields separated by white spaces: [Minute] [Hour] [Day_of_Month] [Month_of_Year] [Day_of_Week]. The value must be in quotes (for example, "30 0 1 1,6,12 *"). For more information about this format, see Crontab.
2195 */
2196 Recurrence?: XmlStringMaxLen255;
2197 /**
2198 * The minimum size of the group.
2199 */
2200 MinSize?: AutoScalingGroupMinSize;
2201 /**
2202 * The maximum size of the group.
2203 */
2204 MaxSize?: AutoScalingGroupMaxSize;
2205 /**
2206 * The number of EC2 instances that should be running in the group.
2207 */
2208 DesiredCapacity?: AutoScalingGroupDesiredCapacity;
2209 }
2210 export type ScheduledUpdateGroupActionRequests = ScheduledUpdateGroupActionRequest[];
2211 export type ScheduledUpdateGroupActions = ScheduledUpdateGroupAction[];
2212 export type SecurityGroups = XmlString[];
2213 export interface SetDesiredCapacityType {
2214 /**
2215 * The name of the Auto Scaling group.
2216 */
2217 AutoScalingGroupName: ResourceName;
2218 /**
2219 * The number of EC2 instances that should be running in the Auto Scaling group.
2220 */
2221 DesiredCapacity: AutoScalingGroupDesiredCapacity;
2222 /**
2223 * Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before initiating a scaling activity to set your Auto Scaling group to its new capacity. By default, Amazon EC2 Auto Scaling does not honor the cooldown period during manual scaling activities.
2224 */
2225 HonorCooldown?: HonorCooldown;
2226 }
2227 export interface SetInstanceHealthQuery {
2228 /**
2229 * The ID of the instance.
2230 */
2231 InstanceId: XmlStringMaxLen19;
2232 /**
2233 * The health status of the instance. Set to Healthy to have the instance remain in service. Set to Unhealthy to have the instance be out of service. Amazon EC2 Auto Scaling terminates and replaces the unhealthy instance.
2234 */
2235 HealthStatus: XmlStringMaxLen32;
2236 /**
2237 * If the Auto Scaling group of the specified instance has a HealthCheckGracePeriod specified for the group, by default, this call respects the grace period. Set this to False, to have the call not respect the grace period associated with the group. For more information about the health check grace period, see CreateAutoScalingGroup.
2238 */
2239 ShouldRespectGracePeriod?: ShouldRespectGracePeriod;
2240 }
2241 export interface SetInstanceProtectionAnswer {
2242 }
2243 export interface SetInstanceProtectionQuery {
2244 /**
2245 * One or more instance IDs.
2246 */
2247 InstanceIds: InstanceIds;
2248 /**
2249 * The name of the Auto Scaling group.
2250 */
2251 AutoScalingGroupName: ResourceName;
2252 /**
2253 * Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in.
2254 */
2255 ProtectedFromScaleIn: ProtectedFromScaleIn;
2256 }
2257 export type ShouldDecrementDesiredCapacity = boolean;
2258 export type ShouldRespectGracePeriod = boolean;
2259 export type SpotInstancePools = number;
2260 export type SpotPrice = string;
2261 export interface StepAdjustment {
2262 /**
2263 * The lower bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the lower bound is inclusive (the metric must be greater than or equal to the threshold plus the lower bound). Otherwise, it is exclusive (the metric must be greater than the threshold plus the lower bound). A null value indicates negative infinity.
2264 */
2265 MetricIntervalLowerBound?: MetricScale;
2266 /**
2267 * The upper bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the upper bound is exclusive (the metric must be less than the threshold plus the upper bound). Otherwise, it is inclusive (the metric must be less than or equal to the threshold plus the upper bound). A null value indicates positive infinity. The upper bound must be greater than the lower bound.
2268 */
2269 MetricIntervalUpperBound?: MetricScale;
2270 /**
2271 * The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity.
2272 */
2273 ScalingAdjustment: PolicyIncrement;
2274 }
2275 export type StepAdjustments = StepAdjustment[];
2276 export interface SuspendedProcess {
2277 /**
2278 * The name of the suspended process.
2279 */
2280 ProcessName?: XmlStringMaxLen255;
2281 /**
2282 * The reason that the process was suspended.
2283 */
2284 SuspensionReason?: XmlStringMaxLen255;
2285 }
2286 export type SuspendedProcesses = SuspendedProcess[];
2287 export interface Tag {
2288 /**
2289 * The name of the group.
2290 */
2291 ResourceId?: XmlString;
2292 /**
2293 * The type of resource. The only supported value is auto-scaling-group.
2294 */
2295 ResourceType?: XmlString;
2296 /**
2297 * The tag key.
2298 */
2299 Key: TagKey;
2300 /**
2301 * The tag value.
2302 */
2303 Value?: TagValue;
2304 /**
2305 * Determines whether the tag is added to new instances as they are launched in the group.
2306 */
2307 PropagateAtLaunch?: PropagateAtLaunch;
2308 }
2309 export interface TagDescription {
2310 /**
2311 * The name of the group.
2312 */
2313 ResourceId?: XmlString;
2314 /**
2315 * The type of resource. The only supported value is auto-scaling-group.
2316 */
2317 ResourceType?: XmlString;
2318 /**
2319 * The tag key.
2320 */
2321 Key?: TagKey;
2322 /**
2323 * The tag value.
2324 */
2325 Value?: TagValue;
2326 /**
2327 * Determines whether the tag is added to new instances as they are launched in the group.
2328 */
2329 PropagateAtLaunch?: PropagateAtLaunch;
2330 }
2331 export type TagDescriptionList = TagDescription[];
2332 export type TagKey = string;
2333 export type TagValue = string;
2334 export type Tags = Tag[];
2335 export interface TagsType {
2336 /**
2337 * One or more tags.
2338 */
2339 Tags?: TagDescriptionList;
2340 /**
2341 * A string that indicates that the response contains more items than can be returned in a single response. To receive additional items, specify this string for the NextToken value when requesting the next set of items. This value is null when there are no more items to return.
2342 */
2343 NextToken?: XmlString;
2344 }
2345 export type TargetGroupARNs = XmlStringMaxLen511[];
2346 export interface TargetTrackingConfiguration {
2347 /**
2348 * A predefined metric. You can specify either a predefined metric or a customized metric.
2349 */
2350 PredefinedMetricSpecification?: PredefinedMetricSpecification;
2351 /**
2352 * A customized metric. You can specify either a predefined metric or a customized metric.
2353 */
2354 CustomizedMetricSpecification?: CustomizedMetricSpecification;
2355 /**
2356 * The target value for the metric.
2357 */
2358 TargetValue: MetricScale;
2359 /**
2360 * Indicates whether scaling in by the target tracking scaling policy is disabled. If scaling in is disabled, the target tracking scaling policy doesn't remove instances from the Auto Scaling group. Otherwise, the target tracking scaling policy can remove instances from the Auto Scaling group. The default is disabled.
2361 */
2362 DisableScaleIn?: DisableScaleIn;
2363 }
2364 export interface TerminateInstanceInAutoScalingGroupType {
2365 /**
2366 * The ID of the instance.
2367 */
2368 InstanceId: XmlStringMaxLen19;
2369 /**
2370 * Indicates whether terminating the instance also decrements the size of the Auto Scaling group.
2371 */
2372 ShouldDecrementDesiredCapacity: ShouldDecrementDesiredCapacity;
2373 }
2374 export type TerminationPolicies = XmlStringMaxLen1600[];
2375 export type TimestampType = Date;
2376 export interface UpdateAutoScalingGroupType {
2377 /**
2378 * The name of the Auto Scaling group.
2379 */
2380 AutoScalingGroupName: ResourceName;
2381 /**
2382 * The name of the launch configuration. If you specify this parameter, you can't specify a launch template or a mixed instances policy.
2383 */
2384 LaunchConfigurationName?: ResourceName;
2385 /**
2386 * The launch template and version to use to specify the updates. If you specify this parameter, you can't specify a launch configuration or a mixed instances policy.
2387 */
2388 LaunchTemplate?: LaunchTemplateSpecification;
2389 /**
2390 * The mixed instances policy to use to specify the updates. If you specify this parameter, you can't specify a launch configuration or a launch template. For more information, see Auto Scaling Groups with Multiple Instance Types and Purchase Options in the Amazon EC2 Auto Scaling User Guide.
2391 */
2392 MixedInstancesPolicy?: MixedInstancesPolicy;
2393 /**
2394 * The minimum size of the Auto Scaling group.
2395 */
2396 MinSize?: AutoScalingGroupMinSize;
2397 /**
2398 * The maximum size of the Auto Scaling group.
2399 */
2400 MaxSize?: AutoScalingGroupMaxSize;
2401 /**
2402 * The number of EC2 instances that should be running in the Auto Scaling group. This number must be greater than or equal to the minimum size of the group and less than or equal to the maximum size of the group.
2403 */
2404 DesiredCapacity?: AutoScalingGroupDesiredCapacity;
2405 /**
2406 * The amount of time, in seconds, after a scaling activity completes before another scaling activity can start. The default value is 300. For more information, see Scaling Cooldowns in the Amazon EC2 Auto Scaling User Guide.
2407 */
2408 DefaultCooldown?: Cooldown;
2409 /**
2410 * One or more Availability Zones for the group.
2411 */
2412 AvailabilityZones?: AvailabilityZones;
2413 /**
2414 * The service to use for the health checks. The valid values are EC2 and ELB. If you configure an Auto Scaling group to use ELB health checks, it considers the instance unhealthy if it fails either the EC2 status checks or the load balancer health checks.
2415 */
2416 HealthCheckType?: XmlStringMaxLen32;
2417 /**
2418 * The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service. The default value is 0. For more information, see Health Checks for Auto Scaling Instances in the Amazon EC2 Auto Scaling User Guide. Conditional: This parameter is required if you are adding an ELB health check.
2419 */
2420 HealthCheckGracePeriod?: HealthCheckGracePeriod;
2421 /**
2422 * The name of the placement group into which to launch your instances, if any. A placement group is a logical grouping of instances within a single Availability Zone. You cannot specify multiple Availability Zones and a placement group. For more information, see Placement Groups in the Amazon EC2 User Guide for Linux Instances.
2423 */
2424 PlacementGroup?: XmlStringMaxLen255;
2425 /**
2426 * A comma-separated list of subnet IDs, if you are launching into a VPC. If you specify VPCZoneIdentifier with AvailabilityZones, the subnets that you specify for this parameter must reside in those Availability Zones.
2427 */
2428 VPCZoneIdentifier?: XmlStringMaxLen2047;
2429 /**
2430 * A standalone termination policy or a list of termination policies used to select the instance to terminate. The policies are executed in the order that they are listed. For more information, see Controlling Which Instances Auto Scaling Terminates During Scale In in the Amazon EC2 Auto Scaling User Guide.
2431 */
2432 TerminationPolicies?: TerminationPolicies;
2433 /**
2434 * Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in. For more information about preventing instances from terminating on scale in, see Instance Protection in the Amazon EC2 Auto Scaling User Guide.
2435 */
2436 NewInstancesProtectedFromScaleIn?: InstanceProtected;
2437 /**
2438 * The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other AWS services on your behalf. For more information, see Service-Linked Roles in the Amazon EC2 Auto Scaling User Guide.
2439 */
2440 ServiceLinkedRoleARN?: ResourceName;
2441 }
2442 export type Values = XmlString[];
2443 export type XmlString = string;
2444 export type XmlStringMaxLen1023 = string;
2445 export type XmlStringMaxLen1600 = string;
2446 export type XmlStringMaxLen19 = string;
2447 export type XmlStringMaxLen2047 = string;
2448 export type XmlStringMaxLen255 = string;
2449 export type XmlStringMaxLen32 = string;
2450 export type XmlStringMaxLen511 = string;
2451 export type XmlStringMaxLen64 = string;
2452 export type XmlStringUserData = string;
2453 /**
2454 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
2455 */
2456 export type apiVersion = "2011-01-01"|"latest"|string;
2457 export interface ClientApiVersions {
2458 /**
2459 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
2460 */
2461 apiVersion?: apiVersion;
2462 }
2463 export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
2464 /**
2465 * Contains interfaces for use with the AutoScaling client.
2466 */
2467 export import Types = AutoScaling;
2468}
2469export = AutoScaling;