{ "version": "2.0", "metadata": { "apiVersion": "2011-01-01", "endpointPrefix": "autoscaling", "protocol": "query", "serviceFullName": "Auto Scaling", "serviceId": "Auto Scaling", "signatureVersion": "v4", "uid": "autoscaling-2011-01-01", "xmlNamespace": "http://autoscaling.amazonaws.com/doc/2011-01-01/" }, "operations": { "AttachInstances": { "name": "AttachInstances", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "AttachInstancesQuery" }, "errors": [ { "shape": "ResourceContentionFault" }, { "shape": "ServiceLinkedRoleFailure" } ], "documentation": "

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.

" }, "AttachLoadBalancerTargetGroups": { "name": "AttachLoadBalancerTargetGroups", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "AttachLoadBalancerTargetGroupsType" }, "output": { "shape": "AttachLoadBalancerTargetGroupsResultType", "resultWrapper": "AttachLoadBalancerTargetGroupsResult" }, "errors": [ { "shape": "ResourceContentionFault" }, { "shape": "ServiceLinkedRoleFailure" } ], "documentation": "

This API operation is superseded by AttachTrafficSources, which can attach multiple traffic sources types. We recommend using AttachTrafficSources to simplify how you manage traffic sources. However, we continue to support AttachLoadBalancerTargetGroups. You can use both the original AttachLoadBalancerTargetGroups API operation and AttachTrafficSources on the same Auto Scaling group.

Attaches one or more target groups to the specified Auto Scaling group.

This operation is used with the following load balancer types:

To describe the target groups for an Auto Scaling group, call the DescribeLoadBalancerTargetGroups API. To detach the target group from the Auto Scaling group, call the DetachLoadBalancerTargetGroups API.

This operation is additive and does not detach existing target groups or Classic Load Balancers from the Auto Scaling group.

For more information, see Use Elastic Load Balancing to distribute traffic across the instances in your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

" }, "AttachLoadBalancers": { "name": "AttachLoadBalancers", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "AttachLoadBalancersType" }, "output": { "shape": "AttachLoadBalancersResultType", "resultWrapper": "AttachLoadBalancersResult" }, "errors": [ { "shape": "ResourceContentionFault" }, { "shape": "ServiceLinkedRoleFailure" } ], "documentation": "

This API operation is superseded by AttachTrafficSources, which can attach multiple traffic sources types. We recommend using AttachTrafficSources to simplify how you manage traffic sources. However, we continue to support AttachLoadBalancers. You can use both the original AttachLoadBalancers API operation and AttachTrafficSources on the same Auto Scaling group.

Attaches one or more Classic Load Balancers to the specified Auto Scaling group. Amazon EC2 Auto Scaling registers the running instances with these Classic Load Balancers.

To describe the load balancers for an Auto Scaling group, call the DescribeLoadBalancers API. To detach a load balancer from the Auto Scaling group, call the DetachLoadBalancers API.

This operation is additive and does not detach existing Classic Load Balancers or target groups from the Auto Scaling group.

For more information, see Use Elastic Load Balancing to distribute traffic across the instances in your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

" }, "AttachTrafficSources": { "name": "AttachTrafficSources", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "AttachTrafficSourcesType" }, "output": { "shape": "AttachTrafficSourcesResultType", "resultWrapper": "AttachTrafficSourcesResult" }, "errors": [ { "shape": "ResourceContentionFault" }, { "shape": "ServiceLinkedRoleFailure" } ], "documentation": "

Attaches one or more traffic sources to the specified Auto Scaling group.

You can use any of the following as traffic sources for an Auto Scaling group:

This operation is additive and does not detach existing traffic sources from the Auto Scaling group.

After the operation completes, use the DescribeTrafficSources API to return details about the state of the attachments between traffic sources and your Auto Scaling group. To detach a traffic source from the Auto Scaling group, call the DetachTrafficSources API.

" }, "BatchDeleteScheduledAction": { "name": "BatchDeleteScheduledAction", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "BatchDeleteScheduledActionType" }, "output": { "shape": "BatchDeleteScheduledActionAnswer", "resultWrapper": "BatchDeleteScheduledActionResult" }, "errors": [ { "shape": "ResourceContentionFault" } ], "documentation": "

Deletes one or more scheduled actions for the specified Auto Scaling group.

" }, "BatchPutScheduledUpdateGroupAction": { "name": "BatchPutScheduledUpdateGroupAction", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "BatchPutScheduledUpdateGroupActionType" }, "output": { "shape": "BatchPutScheduledUpdateGroupActionAnswer", "resultWrapper": "BatchPutScheduledUpdateGroupActionResult" }, "errors": [ { "shape": "AlreadyExistsFault" }, { "shape": "LimitExceededFault" }, { "shape": "ResourceContentionFault" } ], "documentation": "

Creates or updates one or more scheduled scaling actions for an Auto Scaling group.

" }, "CancelInstanceRefresh": { "name": "CancelInstanceRefresh", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "CancelInstanceRefreshType" }, "output": { "shape": "CancelInstanceRefreshAnswer", "resultWrapper": "CancelInstanceRefreshResult" }, "errors": [ { "shape": "LimitExceededFault" }, { "shape": "ResourceContentionFault" }, { "shape": "ActiveInstanceRefreshNotFoundFault" } ], "documentation": "

Cancels an instance refresh or rollback that is in progress. If an instance refresh or rollback is not in progress, an ActiveInstanceRefreshNotFound error occurs.

This operation is part of the instance refresh feature in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group after you make configuration changes.

When you cancel an instance refresh, this does not roll back any changes that it made. Use the RollbackInstanceRefresh API to roll back instead.

" }, "CompleteLifecycleAction": { "name": "CompleteLifecycleAction", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "CompleteLifecycleActionType" }, "output": { "shape": "CompleteLifecycleActionAnswer", "resultWrapper": "CompleteLifecycleActionResult" }, "errors": [ { "shape": "ResourceContentionFault" } ], "documentation": "

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:

  1. (Optional) Create a launch template or launch configuration with a user data script that runs while an instance is in a wait state due to a lifecycle hook.

  2. (Optional) Create a Lambda function and a rule that allows Amazon EventBridge to invoke your Lambda function when an instance is put into a wait state due to a lifecycle hook.

  3. (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.

  4. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.

  5. If you need more time, record the lifecycle action heartbeat to keep the instance in a wait state.

  6. If you finish before the timeout period ends, send a callback by using the CompleteLifecycleAction API call.

For more information, see Complete a lifecycle action in the Amazon EC2 Auto Scaling User Guide.

" }, "CreateAutoScalingGroup": { "name": "CreateAutoScalingGroup", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "CreateAutoScalingGroupType" }, "errors": [ { "shape": "AlreadyExistsFault" }, { "shape": "LimitExceededFault" }, { "shape": "ResourceContentionFault" }, { "shape": "ServiceLinkedRoleFailure" } ], "documentation": "

We strongly recommend using a launch template when calling this operation to ensure full functionality for Amazon EC2 Auto Scaling and Amazon EC2.

Creates an Auto Scaling group with the specified name and attributes.

If you exceed your maximum limit of Auto Scaling groups, the call fails. To query this limit, call the DescribeAccountLimits API. For information about updating this limit, see Quotas for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

If you're new to Amazon EC2 Auto Scaling, see the introductory tutorials in Get started with Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

Every Auto Scaling group has three size properties (DesiredCapacity, MaxSize, and MinSize). Usually, you set these sizes based on a specific number of instances. However, if you configure a mixed instances policy that defines weights for the instance types, you must specify these sizes with the same units that you use for weighting instances.

" }, "CreateLaunchConfiguration": { "name": "CreateLaunchConfiguration", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "CreateLaunchConfigurationType" }, "errors": [ { "shape": "AlreadyExistsFault" }, { "shape": "LimitExceededFault" }, { "shape": "ResourceContentionFault" } ], "documentation": "

Creates a launch configuration.

If you exceed your maximum limit of launch configurations, the call fails. To query this limit, call the DescribeAccountLimits API. For information about updating this limit, see Quotas for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

For more information, see Launch configurations in the Amazon EC2 Auto Scaling User Guide.

Amazon EC2 Auto Scaling configures instances launched as part of an Auto Scaling group using either a launch template or a launch configuration. We strongly recommend that you do not use launch configurations. They do not provide full functionality for Amazon EC2 Auto Scaling or Amazon EC2. For information about using launch templates, see Launch templates in the Amazon EC2 Auto Scaling User Guide.

" }, "CreateOrUpdateTags": { "name": "CreateOrUpdateTags", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "CreateOrUpdateTagsType" }, "errors": [ { "shape": "LimitExceededFault" }, { "shape": "AlreadyExistsFault" }, { "shape": "ResourceContentionFault" }, { "shape": "ResourceInUseFault" } ], "documentation": "

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 Tag Auto Scaling groups and instances in the Amazon EC2 Auto Scaling User Guide.

" }, "DeleteAutoScalingGroup": { "name": "DeleteAutoScalingGroup", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteAutoScalingGroupType" }, "errors": [ { "shape": "ScalingActivityInProgressFault" }, { "shape": "ResourceInUseFault" }, { "shape": "ResourceContentionFault" } ], "documentation": "

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. The force delete operation will also terminate the EC2 instances. If the group has a warm pool, the force delete option also deletes the warm pool.

To remove instances from the Auto Scaling group before deleting it, call the DetachInstances API 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 the UpdateAutoScalingGroup API and set the minimum size and desired capacity of the Auto Scaling group to zero.

If the group has scaling policies, deleting the group deletes the policies, the underlying alarm actions, and any alarm that no longer has an associated action.

For more information, see Delete your Auto Scaling infrastructure in the Amazon EC2 Auto Scaling User Guide.

" }, "DeleteLaunchConfiguration": { "name": "DeleteLaunchConfiguration", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "LaunchConfigurationNameType" }, "errors": [ { "shape": "ResourceInUseFault" }, { "shape": "ResourceContentionFault" } ], "documentation": "

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.

" }, "DeleteLifecycleHook": { "name": "DeleteLifecycleHook", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteLifecycleHookType" }, "output": { "shape": "DeleteLifecycleHookAnswer", "resultWrapper": "DeleteLifecycleHookResult" }, "errors": [ { "shape": "ResourceContentionFault" } ], "documentation": "

Deletes the specified lifecycle hook.

If there are any outstanding lifecycle actions, they are completed first (ABANDON for launching instances, CONTINUE for terminating instances).

" }, "DeleteNotificationConfiguration": { "name": "DeleteNotificationConfiguration", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteNotificationConfigurationType" }, "errors": [ { "shape": "ResourceContentionFault" } ], "documentation": "

Deletes the specified notification.

" }, "DeletePolicy": { "name": "DeletePolicy", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeletePolicyType" }, "errors": [ { "shape": "ResourceContentionFault" }, { "shape": "ServiceLinkedRoleFailure" } ], "documentation": "

Deletes the specified scaling policy.

Deleting either a step scaling policy or a simple scaling policy deletes the underlying alarm action, but does not delete the alarm, even if it no longer has an associated action.

For more information, see Deleting a scaling policy in the Amazon EC2 Auto Scaling User Guide.

" }, "DeleteScheduledAction": { "name": "DeleteScheduledAction", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteScheduledActionType" }, "errors": [ { "shape": "ResourceContentionFault" } ], "documentation": "

Deletes the specified scheduled action.

" }, "DeleteTags": { "name": "DeleteTags", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteTagsType" }, "errors": [ { "shape": "ResourceContentionFault" }, { "shape": "ResourceInUseFault" } ], "documentation": "

Deletes the specified tags.

" }, "DeleteWarmPool": { "name": "DeleteWarmPool", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DeleteWarmPoolType" }, "output": { "shape": "DeleteWarmPoolAnswer", "resultWrapper": "DeleteWarmPoolResult" }, "errors": [ { "shape": "LimitExceededFault" }, { "shape": "ResourceContentionFault" }, { "shape": "ScalingActivityInProgressFault" }, { "shape": "ResourceInUseFault" } ], "documentation": "

Deletes the warm pool for the specified Auto Scaling group.

For more information, see Warm pools for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

" }, "DescribeAccountLimits": { "name": "DescribeAccountLimits", "http": { "method": "POST", "requestUri": "/" }, "output": { "shape": "DescribeAccountLimitsAnswer", "resultWrapper": "DescribeAccountLimitsResult" }, "errors": [ { "shape": "ResourceContentionFault" } ], "documentation": "

Describes the current Amazon EC2 Auto Scaling resource quotas for your account.

When you establish an Amazon Web Services account, the account has initial quotas on the maximum number of Auto Scaling groups and launch configurations that you can create in a given Region. For more information, see Quotas for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

" }, "DescribeAdjustmentTypes": { "name": "DescribeAdjustmentTypes", "http": { "method": "POST", "requestUri": "/" }, "output": { "shape": "DescribeAdjustmentTypesAnswer", "resultWrapper": "DescribeAdjustmentTypesResult" }, "errors": [ { "shape": "ResourceContentionFault" } ], "documentation": "

Describes the available adjustment types for step scaling and simple scaling policies.

The following adjustment types are supported:

" }, "DescribeAutoScalingGroups": { "name": "DescribeAutoScalingGroups", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "AutoScalingGroupNamesType" }, "output": { "shape": "AutoScalingGroupsType", "resultWrapper": "DescribeAutoScalingGroupsResult" }, "errors": [ { "shape": "InvalidNextToken" }, { "shape": "ResourceContentionFault" } ], "documentation": "

Gets information about the Auto Scaling groups in the account and Region.

If you specify Auto Scaling group names, the output includes information for only the specified Auto Scaling groups. If you specify filters, the output includes information for only those Auto Scaling groups that meet the filter criteria. If you do not specify group names or filters, the output includes information for all Auto Scaling groups.

This operation also returns information about instances in Auto Scaling groups. To retrieve information about the instances in a warm pool, you must call the DescribeWarmPool API.

" }, "DescribeAutoScalingInstances": { "name": "DescribeAutoScalingInstances", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DescribeAutoScalingInstancesType" }, "output": { "shape": "AutoScalingInstancesType", "resultWrapper": "DescribeAutoScalingInstancesResult" }, "errors": [ { "shape": "InvalidNextToken" }, { "shape": "ResourceContentionFault" } ], "documentation": "

Gets information about the Auto Scaling instances in the account and Region.

" }, "DescribeAutoScalingNotificationTypes": { "name": "DescribeAutoScalingNotificationTypes", "http": { "method": "POST", "requestUri": "/" }, "output": { "shape": "DescribeAutoScalingNotificationTypesAnswer", "resultWrapper": "DescribeAutoScalingNotificationTypesResult" }, "errors": [ { "shape": "ResourceContentionFault" } ], "documentation": "

Describes the notification types that are supported by Amazon EC2 Auto Scaling.

" }, "DescribeInstanceRefreshes": { "name": "DescribeInstanceRefreshes", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DescribeInstanceRefreshesType" }, "output": { "shape": "DescribeInstanceRefreshesAnswer", "resultWrapper": "DescribeInstanceRefreshesResult" }, "errors": [ { "shape": "InvalidNextToken" }, { "shape": "ResourceContentionFault" } ], "documentation": "

Gets information about the instance refreshes for the specified Auto Scaling group from the previous six weeks.

This operation is part of the instance refresh feature in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group after you make configuration changes.

To help you determine the status of an instance refresh, Amazon EC2 Auto Scaling returns information about the instance refreshes you previously initiated, including their status, start time, end time, the percentage of the instance refresh that is complete, and the number of instances remaining to update before the instance refresh is complete. If a rollback is initiated while an instance refresh is in progress, Amazon EC2 Auto Scaling also returns information about the rollback of the instance refresh.

" }, "DescribeLaunchConfigurations": { "name": "DescribeLaunchConfigurations", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "LaunchConfigurationNamesType" }, "output": { "shape": "LaunchConfigurationsType", "resultWrapper": "DescribeLaunchConfigurationsResult" }, "errors": [ { "shape": "InvalidNextToken" }, { "shape": "ResourceContentionFault" } ], "documentation": "

Gets information about the launch configurations in the account and Region.

" }, "DescribeLifecycleHookTypes": { "name": "DescribeLifecycleHookTypes", "http": { "method": "POST", "requestUri": "/" }, "output": { "shape": "DescribeLifecycleHookTypesAnswer", "resultWrapper": "DescribeLifecycleHookTypesResult" }, "errors": [ { "shape": "ResourceContentionFault" } ], "documentation": "

Describes the available types of lifecycle hooks.

The following hook types are supported:

" }, "DescribeLifecycleHooks": { "name": "DescribeLifecycleHooks", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DescribeLifecycleHooksType" }, "output": { "shape": "DescribeLifecycleHooksAnswer", "resultWrapper": "DescribeLifecycleHooksResult" }, "errors": [ { "shape": "ResourceContentionFault" } ], "documentation": "

Gets information about the lifecycle hooks for the specified Auto Scaling group.

" }, "DescribeLoadBalancerTargetGroups": { "name": "DescribeLoadBalancerTargetGroups", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DescribeLoadBalancerTargetGroupsRequest" }, "output": { "shape": "DescribeLoadBalancerTargetGroupsResponse", "resultWrapper": "DescribeLoadBalancerTargetGroupsResult" }, "errors": [ { "shape": "ResourceContentionFault" }, { "shape": "InvalidNextToken" } ], "documentation": "

This API operation is superseded by DescribeTrafficSources, which can describe multiple traffic sources types. We recommend using DetachTrafficSources to simplify how you manage traffic sources. However, we continue to support DescribeLoadBalancerTargetGroups. You can use both the original DescribeLoadBalancerTargetGroups API operation and DescribeTrafficSources on the same Auto Scaling group.

Gets information about the Elastic Load Balancing target groups for the specified Auto Scaling group.

To determine the attachment status of the target group, use the State element in the response. When you attach a target group to an Auto Scaling group, the initial State value is Adding. The state transitions to Added after all Auto Scaling instances are registered with the target group. If Elastic Load Balancing health checks are enabled for the Auto Scaling group, the state transitions to InService after at least one Auto Scaling instance passes the health check. When the target group is in the InService state, Amazon EC2 Auto Scaling can terminate and replace any instances that are reported as unhealthy. If no registered instances pass the health checks, the target group doesn't enter the InService state.

Target groups also have an InService state if you attach them in the CreateAutoScalingGroup API call. If your target group state is InService, but it is not working properly, check the scaling activities by calling DescribeScalingActivities and take any corrective actions necessary.

For help with failed health checks, see Troubleshooting Amazon EC2 Auto Scaling: Health checks in the Amazon EC2 Auto Scaling User Guide. For more information, see Use Elastic Load Balancing to distribute traffic across the instances in your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

You can use this operation to describe target groups that were attached by using AttachLoadBalancerTargetGroups, but not for target groups that were attached by using AttachTrafficSources.

" }, "DescribeLoadBalancers": { "name": "DescribeLoadBalancers", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DescribeLoadBalancersRequest" }, "output": { "shape": "DescribeLoadBalancersResponse", "resultWrapper": "DescribeLoadBalancersResult" }, "errors": [ { "shape": "ResourceContentionFault" }, { "shape": "InvalidNextToken" } ], "documentation": "

This API operation is superseded by DescribeTrafficSources, which can describe multiple traffic sources types. We recommend using DescribeTrafficSources to simplify how you manage traffic sources. However, we continue to support DescribeLoadBalancers. You can use both the original DescribeLoadBalancers API operation and DescribeTrafficSources on the same Auto Scaling group.

Gets information about the load balancers for the specified Auto Scaling group.

This operation describes only Classic Load Balancers. If you have Application Load Balancers, Network Load Balancers, or Gateway Load Balancers, use the DescribeLoadBalancerTargetGroups API instead.

To determine the attachment status of the load balancer, use the State element in the response. When you attach a load balancer to an Auto Scaling group, the initial State value is Adding. The state transitions to Added after all Auto Scaling instances are registered with the load balancer. If Elastic Load Balancing health checks are enabled for the Auto Scaling group, the state transitions to InService after at least one Auto Scaling instance passes the health check. When the load balancer is in the InService state, Amazon EC2 Auto Scaling can terminate and replace any instances that are reported as unhealthy. If no registered instances pass the health checks, the load balancer doesn't enter the InService state.

Load balancers also have an InService state if you attach them in the CreateAutoScalingGroup API call. If your load balancer state is InService, but it is not working properly, check the scaling activities by calling DescribeScalingActivities and take any corrective actions necessary.

For help with failed health checks, see Troubleshooting Amazon EC2 Auto Scaling: Health checks in the Amazon EC2 Auto Scaling User Guide. For more information, see Use Elastic Load Balancing to distribute traffic across the instances in your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

" }, "DescribeMetricCollectionTypes": { "name": "DescribeMetricCollectionTypes", "http": { "method": "POST", "requestUri": "/" }, "output": { "shape": "DescribeMetricCollectionTypesAnswer", "resultWrapper": "DescribeMetricCollectionTypesResult" }, "errors": [ { "shape": "ResourceContentionFault" } ], "documentation": "

Describes the available CloudWatch metrics for Amazon EC2 Auto Scaling.

" }, "DescribeNotificationConfigurations": { "name": "DescribeNotificationConfigurations", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DescribeNotificationConfigurationsType" }, "output": { "shape": "DescribeNotificationConfigurationsAnswer", "resultWrapper": "DescribeNotificationConfigurationsResult" }, "errors": [ { "shape": "InvalidNextToken" }, { "shape": "ResourceContentionFault" } ], "documentation": "

Gets information about the Amazon SNS notifications that are configured for one or more Auto Scaling groups.

" }, "DescribePolicies": { "name": "DescribePolicies", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DescribePoliciesType" }, "output": { "shape": "PoliciesType", "resultWrapper": "DescribePoliciesResult" }, "errors": [ { "shape": "InvalidNextToken" }, { "shape": "ResourceContentionFault" }, { "shape": "ServiceLinkedRoleFailure" } ], "documentation": "

Gets information about the scaling policies in the account and Region.

" }, "DescribeScalingActivities": { "name": "DescribeScalingActivities", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DescribeScalingActivitiesType" }, "output": { "shape": "ActivitiesType", "resultWrapper": "DescribeScalingActivitiesResult" }, "errors": [ { "shape": "InvalidNextToken" }, { "shape": "ResourceContentionFault" } ], "documentation": "

Gets information about the scaling activities in the account and Region.

When scaling events occur, you see a record of the scaling activity in the scaling activities. For more information, see Verifying a scaling activity for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

If the scaling event succeeds, the value of the StatusCode element in the response is Successful. If an attempt to launch instances failed, the StatusCode value is Failed or Cancelled and the StatusMessage element in the response indicates the cause of the failure. For help interpreting the StatusMessage, see Troubleshooting Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

" }, "DescribeScalingProcessTypes": { "name": "DescribeScalingProcessTypes", "http": { "method": "POST", "requestUri": "/" }, "output": { "shape": "ProcessesType", "resultWrapper": "DescribeScalingProcessTypesResult" }, "errors": [ { "shape": "ResourceContentionFault" } ], "documentation": "

Describes the scaling process types for use with the ResumeProcesses and SuspendProcesses APIs.

" }, "DescribeScheduledActions": { "name": "DescribeScheduledActions", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DescribeScheduledActionsType" }, "output": { "shape": "ScheduledActionsType", "resultWrapper": "DescribeScheduledActionsResult" }, "errors": [ { "shape": "InvalidNextToken" }, { "shape": "ResourceContentionFault" } ], "documentation": "

Gets information about the scheduled actions that haven't run or that have not reached their end time.

To describe the scaling activities for scheduled actions that have already run, call the DescribeScalingActivities API.

" }, "DescribeTags": { "name": "DescribeTags", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DescribeTagsType" }, "output": { "shape": "TagsType", "resultWrapper": "DescribeTagsResult" }, "errors": [ { "shape": "InvalidNextToken" }, { "shape": "ResourceContentionFault" } ], "documentation": "

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.

For more information, see Tag Auto Scaling groups and instances in the Amazon EC2 Auto Scaling User Guide.

" }, "DescribeTerminationPolicyTypes": { "name": "DescribeTerminationPolicyTypes", "http": { "method": "POST", "requestUri": "/" }, "output": { "shape": "DescribeTerminationPolicyTypesAnswer", "resultWrapper": "DescribeTerminationPolicyTypesResult" }, "errors": [ { "shape": "ResourceContentionFault" } ], "documentation": "

Describes the termination policies supported by Amazon EC2 Auto Scaling.

For more information, see Work with Amazon EC2 Auto Scaling termination policies in the Amazon EC2 Auto Scaling User Guide.

" }, "DescribeTrafficSources": { "name": "DescribeTrafficSources", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DescribeTrafficSourcesRequest" }, "output": { "shape": "DescribeTrafficSourcesResponse", "resultWrapper": "DescribeTrafficSourcesResult" }, "errors": [ { "shape": "ResourceContentionFault" }, { "shape": "InvalidNextToken" } ], "documentation": "

Gets information about the traffic sources for the specified Auto Scaling group.

You can optionally provide a traffic source type. If you provide a traffic source type, then the results only include that traffic source type.

If you do not provide a traffic source type, then the results include all the traffic sources for the specified Auto Scaling group.

" }, "DescribeWarmPool": { "name": "DescribeWarmPool", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DescribeWarmPoolType" }, "output": { "shape": "DescribeWarmPoolAnswer", "resultWrapper": "DescribeWarmPoolResult" }, "errors": [ { "shape": "InvalidNextToken" }, { "shape": "LimitExceededFault" }, { "shape": "ResourceContentionFault" } ], "documentation": "

Gets information about a warm pool and its instances.

For more information, see Warm pools for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

" }, "DetachInstances": { "name": "DetachInstances", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DetachInstancesQuery" }, "output": { "shape": "DetachInstancesAnswer", "resultWrapper": "DetachInstancesResult" }, "errors": [ { "shape": "ResourceContentionFault" } ], "documentation": "

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.

" }, "DetachLoadBalancerTargetGroups": { "name": "DetachLoadBalancerTargetGroups", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DetachLoadBalancerTargetGroupsType" }, "output": { "shape": "DetachLoadBalancerTargetGroupsResultType", "resultWrapper": "DetachLoadBalancerTargetGroupsResult" }, "errors": [ { "shape": "ResourceContentionFault" } ], "documentation": "

This API operation is superseded by DetachTrafficSources, which can detach multiple traffic sources types. We recommend using DetachTrafficSources to simplify how you manage traffic sources. However, we continue to support DetachLoadBalancerTargetGroups. You can use both the original DetachLoadBalancerTargetGroups API operation and DetachTrafficSources on the same Auto Scaling group.

Detaches one or more target groups from the specified Auto Scaling group.

When you detach a target group, it enters the Removing state while deregistering the instances in the group. When all instances are deregistered, then you can no longer describe the target group using the DescribeLoadBalancerTargetGroups API call. The instances remain running.

You can use this operation to detach target groups that were attached by using AttachLoadBalancerTargetGroups, but not for target groups that were attached by using AttachTrafficSources.

" }, "DetachLoadBalancers": { "name": "DetachLoadBalancers", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DetachLoadBalancersType" }, "output": { "shape": "DetachLoadBalancersResultType", "resultWrapper": "DetachLoadBalancersResult" }, "errors": [ { "shape": "ResourceContentionFault" } ], "documentation": "

This API operation is superseded by DetachTrafficSources, which can detach multiple traffic sources types. We recommend using DetachTrafficSources to simplify how you manage traffic sources. However, we continue to support DetachLoadBalancers. You can use both the original DetachLoadBalancers API operation and DetachTrafficSources on the same Auto Scaling group.

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, Network Load Balancers, or Gateway Load Balancers, use the DetachLoadBalancerTargetGroups API 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 the DescribeLoadBalancers API call. The instances remain running.

" }, "DetachTrafficSources": { "name": "DetachTrafficSources", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DetachTrafficSourcesType" }, "output": { "shape": "DetachTrafficSourcesResultType", "resultWrapper": "DetachTrafficSourcesResult" }, "errors": [ { "shape": "ResourceContentionFault" } ], "documentation": "

Detaches one or more traffic sources from the specified Auto Scaling group.

When you detach a traffic source, it enters the Removing state while deregistering the instances in the group. When all instances are deregistered, then you can no longer describe the traffic source using the DescribeTrafficSources API call. The instances continue to run.

" }, "DisableMetricsCollection": { "name": "DisableMetricsCollection", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "DisableMetricsCollectionQuery" }, "errors": [ { "shape": "ResourceContentionFault" } ], "documentation": "

Disables group metrics collection for the specified Auto Scaling group.

" }, "EnableMetricsCollection": { "name": "EnableMetricsCollection", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "EnableMetricsCollectionQuery" }, "errors": [ { "shape": "ResourceContentionFault" } ], "documentation": "

Enables group metrics collection for the specified Auto Scaling group.

You can use these metrics to track changes in an Auto Scaling group and to set alarms on threshold values. You can view group metrics using the Amazon EC2 Auto Scaling console or the CloudWatch console. For more information, see Monitor CloudWatch metrics for your Auto Scaling groups and instances in the Amazon EC2 Auto Scaling User Guide.

" }, "EnterStandby": { "name": "EnterStandby", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "EnterStandbyQuery" }, "output": { "shape": "EnterStandbyAnswer", "resultWrapper": "EnterStandbyResult" }, "errors": [ { "shape": "ResourceContentionFault" } ], "documentation": "

Moves the specified instances into the standby state.

If you choose to decrement the desired capacity of the Auto Scaling group, the instances can enter standby as long as the desired capacity of the Auto Scaling group after the instances are placed into standby is equal to or greater than the minimum capacity of the group.

If you choose not to decrement the desired capacity of the Auto Scaling group, the Auto Scaling group launches new instances to replace the instances on standby.

For more information, see Temporarily removing instances from your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

" }, "ExecutePolicy": { "name": "ExecutePolicy", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ExecutePolicyType" }, "errors": [ { "shape": "ScalingActivityInProgressFault" }, { "shape": "ResourceContentionFault" } ], "documentation": "

Executes the specified policy. This can be useful for testing the design of your scaling policy.

" }, "ExitStandby": { "name": "ExitStandby", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ExitStandbyQuery" }, "output": { "shape": "ExitStandbyAnswer", "resultWrapper": "ExitStandbyResult" }, "errors": [ { "shape": "ResourceContentionFault" } ], "documentation": "

Moves the specified instances out of the standby state.

After you put the instances back in service, the desired capacity is incremented.

For more information, see Temporarily removing instances from your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

" }, "GetPredictiveScalingForecast": { "name": "GetPredictiveScalingForecast", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "GetPredictiveScalingForecastType" }, "output": { "shape": "GetPredictiveScalingForecastAnswer", "resultWrapper": "GetPredictiveScalingForecastResult" }, "errors": [ { "shape": "ResourceContentionFault" } ], "documentation": "

Retrieves the forecast data for a predictive scaling policy.

Load forecasts are predictions of the hourly load values using historical load data from CloudWatch and an analysis of historical trends. Capacity forecasts are represented as predicted values for the minimum capacity that is needed on an hourly basis, based on the hourly load forecast.

A minimum of 24 hours of data is required to create the initial forecasts. However, having a full 14 days of historical data results in more accurate forecasts.

For more information, see Predictive scaling for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

" }, "PutLifecycleHook": { "name": "PutLifecycleHook", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "PutLifecycleHookType" }, "output": { "shape": "PutLifecycleHookAnswer", "resultWrapper": "PutLifecycleHookResult" }, "errors": [ { "shape": "LimitExceededFault" }, { "shape": "ResourceContentionFault" } ], "documentation": "

Creates or updates a lifecycle hook for the specified Auto Scaling group.

Lifecycle hooks let you create solutions that are aware of events in the Auto Scaling instance lifecycle, and then perform a custom action on instances when the corresponding lifecycle event occurs.

This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group:

  1. (Optional) Create a launch template or launch configuration with a user data script that runs while an instance is in a wait state due to a lifecycle hook.

  2. (Optional) Create a Lambda function and a rule that allows Amazon EventBridge to invoke your Lambda function when an instance is put into a wait state due to a lifecycle hook.

  3. (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.

  4. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.

  5. If you need more time, record the lifecycle action heartbeat to keep the instance in a wait state using the RecordLifecycleActionHeartbeat API call.

  6. If you finish before the timeout period ends, send a callback by using the CompleteLifecycleAction API call.

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 the DescribeLifecycleHooks API call. If you are no longer using a lifecycle hook, you can delete it by calling the DeleteLifecycleHook API.

" }, "PutNotificationConfiguration": { "name": "PutNotificationConfiguration", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "PutNotificationConfigurationType" }, "errors": [ { "shape": "LimitExceededFault" }, { "shape": "ResourceContentionFault" }, { "shape": "ServiceLinkedRoleFailure" } ], "documentation": "

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.

If you exceed your maximum limit of SNS topics, which is 10 per Auto Scaling group, the call fails.

" }, "PutScalingPolicy": { "name": "PutScalingPolicy", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "PutScalingPolicyType" }, "output": { "shape": "PolicyARNType", "resultWrapper": "PutScalingPolicyResult" }, "errors": [ { "shape": "LimitExceededFault" }, { "shape": "ResourceContentionFault" }, { "shape": "ServiceLinkedRoleFailure" } ], "documentation": "

Creates or updates a scaling policy for an Auto Scaling group. Scaling policies are used to scale an Auto Scaling group based on configurable metrics. If no policies are defined, the dynamic scaling and predictive scaling features are not used.

For more information about using dynamic scaling, see Target tracking scaling policies and Step and simple scaling policies in the Amazon EC2 Auto Scaling User Guide.

For more information about using predictive scaling, see Predictive scaling for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

You can view the scaling policies for an Auto Scaling group using the DescribePolicies API call. If you are no longer using a scaling policy, you can delete it by calling the DeletePolicy API.

" }, "PutScheduledUpdateGroupAction": { "name": "PutScheduledUpdateGroupAction", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "PutScheduledUpdateGroupActionType" }, "errors": [ { "shape": "AlreadyExistsFault" }, { "shape": "LimitExceededFault" }, { "shape": "ResourceContentionFault" } ], "documentation": "

Creates or updates a scheduled scaling action for an Auto Scaling group.

For more information, see Scheduled scaling in the Amazon EC2 Auto Scaling User Guide.

You can view the scheduled actions for an Auto Scaling group using the DescribeScheduledActions API call. If you are no longer using a scheduled action, you can delete it by calling the DeleteScheduledAction API.

If you try to schedule your action in the past, Amazon EC2 Auto Scaling returns an error message.

" }, "PutWarmPool": { "name": "PutWarmPool", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "PutWarmPoolType" }, "output": { "shape": "PutWarmPoolAnswer", "resultWrapper": "PutWarmPoolResult" }, "errors": [ { "shape": "LimitExceededFault" }, { "shape": "ResourceContentionFault" } ], "documentation": "

Creates or updates a warm pool for the specified Auto Scaling group. A warm pool is a pool of pre-initialized EC2 instances that sits alongside the Auto Scaling group. Whenever your application needs to scale out, the Auto Scaling group can draw on the warm pool to meet its new desired capacity. For more information and example configurations, see Warm pools for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

This operation must be called from the Region in which the Auto Scaling group was created. This operation cannot be called on an Auto Scaling group that has a mixed instances policy or a launch template or launch configuration that requests Spot Instances.

You can view the instances in the warm pool using the DescribeWarmPool API call. If you are no longer using a warm pool, you can delete it by calling the DeleteWarmPool API.

" }, "RecordLifecycleActionHeartbeat": { "name": "RecordLifecycleActionHeartbeat", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "RecordLifecycleActionHeartbeatType" }, "output": { "shape": "RecordLifecycleActionHeartbeatAnswer", "resultWrapper": "RecordLifecycleActionHeartbeatResult" }, "errors": [ { "shape": "ResourceContentionFault" } ], "documentation": "

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 the PutLifecycleHook API call.

This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group:

  1. (Optional) Create a launch template or launch configuration with a user data script that runs while an instance is in a wait state due to a lifecycle hook.

  2. (Optional) Create a Lambda function and a rule that allows Amazon EventBridge to invoke your Lambda function when an instance is put into a wait state due to a lifecycle hook.

  3. (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.

  4. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.

  5. If you need more time, record the lifecycle action heartbeat to keep the instance in a wait state.

  6. If you finish before the timeout period ends, send a callback by using the CompleteLifecycleAction API call.

For more information, see Amazon EC2 Auto Scaling lifecycle hooks in the Amazon EC2 Auto Scaling User Guide.

" }, "ResumeProcesses": { "name": "ResumeProcesses", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ScalingProcessQuery" }, "errors": [ { "shape": "ResourceInUseFault" }, { "shape": "ResourceContentionFault" } ], "documentation": "

Resumes the specified suspended auto 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.

" }, "RollbackInstanceRefresh": { "name": "RollbackInstanceRefresh", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "RollbackInstanceRefreshType" }, "output": { "shape": "RollbackInstanceRefreshAnswer", "resultWrapper": "RollbackInstanceRefreshResult" }, "errors": [ { "shape": "LimitExceededFault" }, { "shape": "ResourceContentionFault" }, { "shape": "ActiveInstanceRefreshNotFoundFault" }, { "shape": "IrreversibleInstanceRefreshFault" } ], "documentation": "

Cancels an instance refresh that is in progress and rolls back any changes that it made. Amazon EC2 Auto Scaling replaces any instances that were replaced during the instance refresh. This restores your Auto Scaling group to the configuration that it was using before the start of the instance refresh.

This operation is part of the instance refresh feature in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group after you make configuration changes.

A rollback is not supported in the following situations:

When you receive a successful response from this operation, Amazon EC2 Auto Scaling immediately begins replacing instances. You can check the status of this operation through the DescribeInstanceRefreshes API operation.

" }, "SetDesiredCapacity": { "name": "SetDesiredCapacity", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "SetDesiredCapacityType" }, "errors": [ { "shape": "ScalingActivityInProgressFault" }, { "shape": "ResourceContentionFault" } ], "documentation": "

Sets the size of the specified Auto Scaling group.

If a scale-in activity occurs as a result of a new DesiredCapacity value that is lower than the current size of the group, the Auto Scaling group uses its termination policy to determine which instances to terminate.

For more information, see Manual scaling in the Amazon EC2 Auto Scaling User Guide.

" }, "SetInstanceHealth": { "name": "SetInstanceHealth", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "SetInstanceHealthQuery" }, "errors": [ { "shape": "ResourceContentionFault" } ], "documentation": "

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.

" }, "SetInstanceProtection": { "name": "SetInstanceProtection", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "SetInstanceProtectionQuery" }, "output": { "shape": "SetInstanceProtectionAnswer", "resultWrapper": "SetInstanceProtectionResult" }, "errors": [ { "shape": "LimitExceededFault" }, { "shape": "ResourceContentionFault" } ], "documentation": "

Updates the instance protection settings of the specified instances. This operation cannot be called on instances in a warm pool.

For more information about preventing instances that are part of an Auto Scaling group from terminating on scale in, see Using instance scale-in protection in the Amazon EC2 Auto Scaling User Guide.

If you exceed your maximum limit of instance IDs, which is 50 per Auto Scaling group, the call fails.

" }, "StartInstanceRefresh": { "name": "StartInstanceRefresh", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "StartInstanceRefreshType" }, "output": { "shape": "StartInstanceRefreshAnswer", "resultWrapper": "StartInstanceRefreshResult" }, "errors": [ { "shape": "LimitExceededFault" }, { "shape": "ResourceContentionFault" }, { "shape": "InstanceRefreshInProgressFault" } ], "documentation": "

Starts an instance refresh.

This operation is part of the instance refresh feature in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group. This feature is helpful, for example, when you have a new AMI or a new user data script. You just need to create a new launch template that specifies the new AMI or user data script. Then start an instance refresh to immediately begin the process of updating instances in the group.

If successful, the request's response contains a unique ID that you can use to track the progress of the instance refresh. To query its status, call the DescribeInstanceRefreshes API. To describe the instance refreshes that have already run, call the DescribeInstanceRefreshes API. To cancel an instance refresh that is in progress, use the CancelInstanceRefresh API.

An instance refresh might fail for several reasons, such as EC2 launch failures, misconfigured health checks, or not ignoring or allowing the termination of instances that are in Standby state or protected from scale in. You can monitor for failed EC2 launches using the scaling activities. To find the scaling activities, call the DescribeScalingActivities API.

If you enable auto rollback, your Auto Scaling group will be rolled back automatically when the instance refresh fails. You can enable this feature before starting an instance refresh by specifying the AutoRollback property in the instance refresh preferences. Otherwise, to roll back an instance refresh before it finishes, use the RollbackInstanceRefresh API.

" }, "SuspendProcesses": { "name": "SuspendProcesses", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "ScalingProcessQuery" }, "errors": [ { "shape": "ResourceInUseFault" }, { "shape": "ResourceContentionFault" } ], "documentation": "

Suspends the specified auto 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. For more information, see Suspending and resuming scaling processes in the Amazon EC2 Auto Scaling User Guide.

To resume processes that have been suspended, call the ResumeProcesses API.

" }, "TerminateInstanceInAutoScalingGroup": { "name": "TerminateInstanceInAutoScalingGroup", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "TerminateInstanceInAutoScalingGroupType" }, "output": { "shape": "ActivityType", "resultWrapper": "TerminateInstanceInAutoScalingGroupResult" }, "errors": [ { "shape": "ScalingActivityInProgressFault" }, { "shape": "ResourceContentionFault" } ], "documentation": "

Terminates the specified instance and optionally adjusts the desired group size. This operation cannot be called on instances in a warm pool.

This call simply makes a termination request. The instance is not terminated immediately. When an instance is terminated, the instance status changes to terminated. You can't connect to or start an instance after you've terminated it.

If you do not specify the option to decrement the desired capacity, Amazon EC2 Auto Scaling launches instances to replace the ones that are terminated.

By default, Amazon EC2 Auto Scaling balances instances across all Availability Zones. If you decrement the desired capacity, your Auto Scaling group can become unbalanced between Availability Zones. Amazon EC2 Auto Scaling tries to rebalance the group, and rebalancing might terminate instances in other zones. For more information, see Rebalancing activities in the Amazon EC2 Auto Scaling User Guide.

" }, "UpdateAutoScalingGroup": { "name": "UpdateAutoScalingGroup", "http": { "method": "POST", "requestUri": "/" }, "input": { "shape": "UpdateAutoScalingGroupType" }, "errors": [ { "shape": "ScalingActivityInProgressFault" }, { "shape": "ResourceContentionFault" }, { "shape": "ServiceLinkedRoleFailure" } ], "documentation": "

We strongly recommend that all Auto Scaling groups use launch templates to ensure full functionality for Amazon EC2 Auto Scaling and Amazon EC2.

Updates the configuration for the specified Auto Scaling group.

To update an Auto Scaling group, specify the name of the group and the property that you want to change. Any properties that you don't specify are not changed by this update request. The new settings take effect on any scaling activities after this call returns.

If you associate a new launch configuration or template with an Auto Scaling group, all new instances will get the updated configuration. Existing instances continue to run with the configuration that they were originally launched with. When you update a group to specify a mixed instances policy instead of a launch configuration or template, existing instances may be replaced to match the new purchasing options that you specified in the policy. For example, if the group currently has 100% On-Demand capacity and the policy specifies 50% Spot capacity, this means that half of your instances will be gradually terminated and relaunched as Spot Instances. When replacing instances, Amazon EC2 Auto Scaling launches new instances before terminating the old ones, so that updating your group does not compromise the performance or availability of your application.

Note the following about changing DesiredCapacity, MaxSize, or MinSize:

To see which properties have been set, call the DescribeAutoScalingGroups API. To view the scaling policies for an Auto Scaling group, call the DescribePolicies API. If the group has scaling policies, you can update them by calling the PutScalingPolicy API.

" } }, "shapes": { "AcceleratorCountRequest": { "type": "structure", "members": { "Min": { "shape": "NullablePositiveInteger", "documentation": "

The minimum value.

" }, "Max": { "shape": "NullablePositiveInteger", "documentation": "

The maximum value.

" } }, "documentation": "

Specifies the minimum and maximum for the AcceleratorCount object when you specify InstanceRequirements for an Auto Scaling group.

" }, "AcceleratorManufacturer": { "type": "string", "enum": [ "nvidia", "amd", "amazon-web-services", "xilinx" ] }, "AcceleratorManufacturers": { "type": "list", "member": { "shape": "AcceleratorManufacturer" } }, "AcceleratorName": { "type": "string", "enum": [ "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p" ] }, "AcceleratorNames": { "type": "list", "member": { "shape": "AcceleratorName" } }, "AcceleratorTotalMemoryMiBRequest": { "type": "structure", "members": { "Min": { "shape": "NullablePositiveInteger", "documentation": "

The memory minimum in MiB.

" }, "Max": { "shape": "NullablePositiveInteger", "documentation": "

The memory maximum in MiB.

" } }, "documentation": "

Specifies the minimum and maximum for the AcceleratorTotalMemoryMiB object when you specify InstanceRequirements for an Auto Scaling group.

" }, "AcceleratorType": { "type": "string", "enum": [ "gpu", "fpga", "inference" ] }, "AcceleratorTypes": { "type": "list", "member": { "shape": "AcceleratorType" } }, "Activities": { "type": "list", "member": { "shape": "Activity" } }, "ActivitiesType": { "type": "structure", "required": [ "Activities" ], "members": { "Activities": { "shape": "Activities", "documentation": "

The scaling activities. Activities are sorted by start time. Activities still in progress are described first.

" }, "NextToken": { "shape": "XmlString", "documentation": "

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.

" } } }, "Activity": { "type": "structure", "required": [ "ActivityId", "AutoScalingGroupName", "Cause", "StartTime", "StatusCode" ], "members": { "ActivityId": { "shape": "XmlString", "documentation": "

The ID of the activity.

" }, "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "Description": { "shape": "XmlString", "documentation": "

A friendly, more verbose description of the activity.

" }, "Cause": { "shape": "XmlStringMaxLen1023", "documentation": "

The reason the activity began.

" }, "StartTime": { "shape": "TimestampType", "documentation": "

The start time of the activity.

" }, "EndTime": { "shape": "TimestampType", "documentation": "

The end time of the activity.

" }, "StatusCode": { "shape": "ScalingActivityStatusCode", "documentation": "

The current status of the activity.

" }, "StatusMessage": { "shape": "XmlStringMaxLen255", "documentation": "

A friendly, more verbose description of the activity status.

" }, "Progress": { "shape": "Progress", "documentation": "

A value between 0 and 100 that indicates the progress of the activity.

" }, "Details": { "shape": "XmlString", "documentation": "

The details about the activity.

" }, "AutoScalingGroupState": { "shape": "AutoScalingGroupState", "documentation": "

The state of the Auto Scaling group, which is either InService or Deleted.

" }, "AutoScalingGroupARN": { "shape": "ResourceName", "documentation": "

The Amazon Resource Name (ARN) of the Auto Scaling group.

" } }, "documentation": "

Describes scaling activity, which is a long-running process that represents a change to your Auto Scaling group, such as changing its size or replacing an instance.

" }, "ActivityIds": { "type": "list", "member": { "shape": "XmlString" } }, "ActivityType": { "type": "structure", "members": { "Activity": { "shape": "Activity", "documentation": "

A scaling activity.

" } } }, "AdjustmentType": { "type": "structure", "members": { "AdjustmentType": { "shape": "XmlStringMaxLen255", "documentation": "

The policy adjustment type. The valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.

" } }, "documentation": "

Describes a policy adjustment type.

" }, "AdjustmentTypes": { "type": "list", "member": { "shape": "AdjustmentType" } }, "Alarm": { "type": "structure", "members": { "AlarmName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the alarm.

" }, "AlarmARN": { "shape": "ResourceName", "documentation": "

The Amazon Resource Name (ARN) of the alarm.

" } }, "documentation": "

Describes an alarm.

" }, "AlarmList": { "type": "list", "member": { "shape": "XmlStringMaxLen255" } }, "AlarmSpecification": { "type": "structure", "members": { "Alarms": { "shape": "AlarmList", "documentation": "

The names of one or more CloudWatch alarms to monitor for the instance refresh. You can specify up to 10 alarms.

" } }, "documentation": "

Specifies the CloudWatch alarm specification to use in an instance refresh.

" }, "Alarms": { "type": "list", "member": { "shape": "Alarm" } }, "AllowedInstanceType": { "type": "string", "max": 30, "min": 1, "pattern": "[a-zA-Z0-9\\.\\*\\-]+" }, "AllowedInstanceTypes": { "type": "list", "member": { "shape": "AllowedInstanceType" }, "max": 400 }, "AnyPrintableAsciiStringMaxLen4000": { "type": "string", "max": 4000, "min": 1, "pattern": "[\\u0009\\u000A\\u000D\\u0020-\\u007e]+" }, "AsciiStringMaxLen255": { "type": "string", "max": 255, "min": 1, "pattern": "[A-Za-z0-9\\-_\\/]+" }, "AssociatePublicIpAddress": { "type": "boolean" }, "AttachInstancesQuery": { "type": "structure", "required": [ "AutoScalingGroupName" ], "members": { "InstanceIds": { "shape": "InstanceIds", "documentation": "

The IDs of the instances. You can specify up to 20 instances.

" }, "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" } } }, "AttachLoadBalancerTargetGroupsResultType": { "type": "structure", "members": {} }, "AttachLoadBalancerTargetGroupsType": { "type": "structure", "required": [ "AutoScalingGroupName", "TargetGroupARNs" ], "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "TargetGroupARNs": { "shape": "TargetGroupARNs", "documentation": "

The Amazon Resource Names (ARNs) of the target groups. You can specify up to 10 target groups. To get the ARN of a target group, use the Elastic Load Balancing DescribeTargetGroups API operation.

" } } }, "AttachLoadBalancersResultType": { "type": "structure", "members": {} }, "AttachLoadBalancersType": { "type": "structure", "required": [ "AutoScalingGroupName", "LoadBalancerNames" ], "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "LoadBalancerNames": { "shape": "LoadBalancerNames", "documentation": "

The names of the load balancers. You can specify up to 10 load balancers.

" } } }, "AttachTrafficSourcesResultType": { "type": "structure", "members": {} }, "AttachTrafficSourcesType": { "type": "structure", "required": [ "AutoScalingGroupName", "TrafficSources" ], "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "TrafficSources": { "shape": "TrafficSources", "documentation": "

The unique identifiers of one or more traffic sources. You can specify up to 10 traffic sources.

" } } }, "AutoRollback": { "type": "boolean" }, "AutoScalingGroup": { "type": "structure", "required": [ "AutoScalingGroupName", "MinSize", "MaxSize", "DesiredCapacity", "DefaultCooldown", "AvailabilityZones", "HealthCheckType", "CreatedTime" ], "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "AutoScalingGroupARN": { "shape": "ResourceName", "documentation": "

The Amazon Resource Name (ARN) of the Auto Scaling group.

" }, "LaunchConfigurationName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the associated launch configuration.

" }, "LaunchTemplate": { "shape": "LaunchTemplateSpecification", "documentation": "

The launch template for the group.

" }, "MixedInstancesPolicy": { "shape": "MixedInstancesPolicy", "documentation": "

The mixed instances policy for the group.

" }, "MinSize": { "shape": "AutoScalingGroupMinSize", "documentation": "

The minimum size of the group.

" }, "MaxSize": { "shape": "AutoScalingGroupMaxSize", "documentation": "

The maximum size of the group.

" }, "DesiredCapacity": { "shape": "AutoScalingGroupDesiredCapacity", "documentation": "

The desired size of the group.

" }, "PredictedCapacity": { "shape": "AutoScalingGroupPredictedCapacity", "documentation": "

The predicted capacity of the group when it has a predictive scaling policy.

" }, "DefaultCooldown": { "shape": "Cooldown", "documentation": "

The duration of the default cooldown period, in seconds.

" }, "AvailabilityZones": { "shape": "AvailabilityZones", "documentation": "

One or more Availability Zones for the group.

" }, "LoadBalancerNames": { "shape": "LoadBalancerNames", "documentation": "

One or more load balancers associated with the group.

" }, "TargetGroupARNs": { "shape": "TargetGroupARNs", "documentation": "

The Amazon Resource Names (ARN) of the target groups for your load balancer.

" }, "HealthCheckType": { "shape": "XmlStringMaxLen32", "documentation": "

A comma-separated value string of one or more health check types.

" }, "HealthCheckGracePeriod": { "shape": "HealthCheckGracePeriod", "documentation": "

The duration of the health check grace period, in seconds.

" }, "Instances": { "shape": "Instances", "documentation": "

The EC2 instances associated with the group.

" }, "CreatedTime": { "shape": "TimestampType", "documentation": "

The date and time the group was created.

" }, "SuspendedProcesses": { "shape": "SuspendedProcesses", "documentation": "

The suspended processes associated with the group.

" }, "PlacementGroup": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the placement group into which to launch your instances, if any.

" }, "VPCZoneIdentifier": { "shape": "XmlStringMaxLen2047", "documentation": "

One or more subnet IDs, if applicable, separated by commas.

" }, "EnabledMetrics": { "shape": "EnabledMetrics", "documentation": "

The metrics enabled for the group.

" }, "Status": { "shape": "XmlStringMaxLen255", "documentation": "

The current state of the group when the DeleteAutoScalingGroup operation is in progress.

" }, "Tags": { "shape": "TagDescriptionList", "documentation": "

The tags for the group.

" }, "TerminationPolicies": { "shape": "TerminationPolicies", "documentation": "

The termination policies for the group.

" }, "NewInstancesProtectedFromScaleIn": { "shape": "InstanceProtected", "documentation": "

Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in.

" }, "ServiceLinkedRoleARN": { "shape": "ResourceName", "documentation": "

The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other Amazon Web Services on your behalf.

" }, "MaxInstanceLifetime": { "shape": "MaxInstanceLifetime", "documentation": "

The maximum amount of time, in seconds, that an instance can be in service.

Valid Range: Minimum value of 0.

" }, "CapacityRebalance": { "shape": "CapacityRebalanceEnabled", "documentation": "

Indicates whether Capacity Rebalancing is enabled.

" }, "WarmPoolConfiguration": { "shape": "WarmPoolConfiguration", "documentation": "

The warm pool for the group.

" }, "WarmPoolSize": { "shape": "WarmPoolSize", "documentation": "

The current size of the warm pool.

" }, "Context": { "shape": "Context", "documentation": "

Reserved.

" }, "DesiredCapacityType": { "shape": "XmlStringMaxLen255", "documentation": "

The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports DesiredCapacityType for attribute-based instance type selection only.

" }, "DefaultInstanceWarmup": { "shape": "DefaultInstanceWarmup", "documentation": "

The duration of the default instance warmup, in seconds.

" }, "TrafficSources": { "shape": "TrafficSources", "documentation": "

The traffic sources associated with this Auto Scaling group.

" }, "InstanceMaintenancePolicy": { "shape": "InstanceMaintenancePolicy", "documentation": "

An instance maintenance policy.

" } }, "documentation": "

Describes an Auto Scaling group.

" }, "AutoScalingGroupDesiredCapacity": { "type": "integer" }, "AutoScalingGroupMaxSize": { "type": "integer" }, "AutoScalingGroupMinSize": { "type": "integer" }, "AutoScalingGroupNames": { "type": "list", "member": { "shape": "XmlStringMaxLen255" } }, "AutoScalingGroupNamesType": { "type": "structure", "members": { "AutoScalingGroupNames": { "shape": "AutoScalingGroupNames", "documentation": "

The names of the Auto Scaling groups. By default, you can only specify up to 50 names. You can optionally increase this limit using the MaxRecords property.

If you omit this property, all Auto Scaling groups are described.

" }, "NextToken": { "shape": "XmlString", "documentation": "

The token for the next set of items to return. (You received this token from a previous call.)

" }, "MaxRecords": { "shape": "MaxRecords", "documentation": "

The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.

" }, "Filters": { "shape": "Filters", "documentation": "

One or more filters to limit the results based on specific tags.

" } } }, "AutoScalingGroupPredictedCapacity": { "type": "integer" }, "AutoScalingGroupState": { "type": "string", "max": 32, "min": 1 }, "AutoScalingGroups": { "type": "list", "member": { "shape": "AutoScalingGroup" } }, "AutoScalingGroupsType": { "type": "structure", "required": [ "AutoScalingGroups" ], "members": { "AutoScalingGroups": { "shape": "AutoScalingGroups", "documentation": "

The groups.

" }, "NextToken": { "shape": "XmlString", "documentation": "

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.

" } } }, "AutoScalingInstanceDetails": { "type": "structure", "required": [ "InstanceId", "AutoScalingGroupName", "AvailabilityZone", "LifecycleState", "HealthStatus", "ProtectedFromScaleIn" ], "members": { "InstanceId": { "shape": "XmlStringMaxLen19", "documentation": "

The ID of the instance.

" }, "InstanceType": { "shape": "XmlStringMaxLen255", "documentation": "

The instance type of the EC2 instance.

" }, "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group for the instance.

" }, "AvailabilityZone": { "shape": "XmlStringMaxLen255", "documentation": "

The Availability Zone for the instance.

" }, "LifecycleState": { "shape": "XmlStringMaxLen32", "documentation": "

The lifecycle state for the instance. The Quarantined state is not used. For information about lifecycle states, see Instance lifecycle in the Amazon EC2 Auto Scaling User Guide.

Valid values: Pending | Pending:Wait | Pending:Proceed | Quarantined | InService | Terminating | Terminating:Wait | Terminating:Proceed | Terminated | Detaching | Detached | EnteringStandby | Standby | Warmed:Pending | Warmed:Pending:Wait | Warmed:Pending:Proceed | Warmed:Terminating | Warmed:Terminating:Wait | Warmed:Terminating:Proceed | Warmed:Terminated | Warmed:Stopped | Warmed:Running

" }, "HealthStatus": { "shape": "XmlStringMaxLen32", "documentation": "

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.

" }, "LaunchConfigurationName": { "shape": "XmlStringMaxLen255", "documentation": "

The launch configuration used to launch the instance. This value is not available if you attached the instance to the Auto Scaling group.

" }, "LaunchTemplate": { "shape": "LaunchTemplateSpecification", "documentation": "

The launch template for the instance.

" }, "ProtectedFromScaleIn": { "shape": "InstanceProtected", "documentation": "

Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in.

" }, "WeightedCapacity": { "shape": "XmlStringMaxLen32", "documentation": "

The number of capacity units contributed by the instance based on its instance type.

Valid Range: Minimum value of 1. Maximum value of 999.

" } }, "documentation": "

Describes an EC2 instance associated with an Auto Scaling group.

" }, "AutoScalingInstances": { "type": "list", "member": { "shape": "AutoScalingInstanceDetails" } }, "AutoScalingInstancesType": { "type": "structure", "members": { "AutoScalingInstances": { "shape": "AutoScalingInstances", "documentation": "

The instances.

" }, "NextToken": { "shape": "XmlString", "documentation": "

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.

" } } }, "AutoScalingNotificationTypes": { "type": "list", "member": { "shape": "XmlStringMaxLen255" } }, "AvailabilityZones": { "type": "list", "member": { "shape": "XmlStringMaxLen255" } }, "BareMetal": { "type": "string", "enum": [ "included", "excluded", "required" ] }, "BaselineEbsBandwidthMbpsRequest": { "type": "structure", "members": { "Min": { "shape": "NullablePositiveInteger", "documentation": "

The minimum value in Mbps.

" }, "Max": { "shape": "NullablePositiveInteger", "documentation": "

The maximum value in Mbps.

" } }, "documentation": "

Specifies the minimum and maximum for the BaselineEbsBandwidthMbps object when you specify InstanceRequirements for an Auto Scaling group.

" }, "BatchDeleteScheduledActionAnswer": { "type": "structure", "members": { "FailedScheduledActions": { "shape": "FailedScheduledUpdateGroupActionRequests", "documentation": "

The names of the scheduled actions that could not be deleted, including an error message.

" } } }, "BatchDeleteScheduledActionType": { "type": "structure", "required": [ "AutoScalingGroupName", "ScheduledActionNames" ], "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "ScheduledActionNames": { "shape": "ScheduledActionNames", "documentation": "

The names of the scheduled actions to delete. The maximum number allowed is 50.

" } } }, "BatchPutScheduledUpdateGroupActionAnswer": { "type": "structure", "members": { "FailedScheduledUpdateGroupActions": { "shape": "FailedScheduledUpdateGroupActionRequests", "documentation": "

The names of the scheduled actions that could not be created or updated, including an error message.

" } } }, "BatchPutScheduledUpdateGroupActionType": { "type": "structure", "required": [ "AutoScalingGroupName", "ScheduledUpdateGroupActions" ], "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "ScheduledUpdateGroupActions": { "shape": "ScheduledUpdateGroupActionRequests", "documentation": "

One or more scheduled actions. The maximum number allowed is 50.

" } } }, "BlockDeviceEbsDeleteOnTermination": { "type": "boolean" }, "BlockDeviceEbsEncrypted": { "type": "boolean" }, "BlockDeviceEbsIops": { "type": "integer", "max": 20000, "min": 100 }, "BlockDeviceEbsThroughput": { "type": "integer", "max": 1000, "min": 125 }, "BlockDeviceEbsVolumeSize": { "type": "integer", "max": 16384, "min": 1 }, "BlockDeviceEbsVolumeType": { "type": "string", "max": 255, "min": 1 }, "BlockDeviceMapping": { "type": "structure", "required": [ "DeviceName" ], "members": { "VirtualName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the instance store volume (virtual device) to attach to an instance at launch. The name must be in the form ephemeralX where X is a number starting from zero (0), for example, ephemeral0.

" }, "DeviceName": { "shape": "XmlStringMaxLen255", "documentation": "

The device name assigned to the volume (for example, /dev/sdh or xvdh). For more information, see Device naming on Linux instances in the Amazon EC2 User Guide for Linux Instances.

To define a block device mapping, set the device name and exactly one of the following properties: Ebs, NoDevice, or VirtualName.

" }, "Ebs": { "shape": "Ebs", "documentation": "

Information to attach an EBS volume to an instance at launch.

" }, "NoDevice": { "shape": "NoDevice", "documentation": "

Setting this value to true prevents a volume that is included in the block device mapping of the AMI from being mapped to the specified device name at launch.

If NoDevice is true for the root device, instances might fail the EC2 health check. In that case, Amazon EC2 Auto Scaling launches replacement instances.

" } }, "documentation": "

Describes a block device mapping.

" }, "BlockDeviceMappings": { "type": "list", "member": { "shape": "BlockDeviceMapping" } }, "BurstablePerformance": { "type": "string", "enum": [ "included", "excluded", "required" ] }, "CancelInstanceRefreshAnswer": { "type": "structure", "members": { "InstanceRefreshId": { "shape": "XmlStringMaxLen255", "documentation": "

The instance refresh ID associated with the request. This is the unique ID assigned to the instance refresh when it was started.

" } } }, "CancelInstanceRefreshType": { "type": "structure", "required": [ "AutoScalingGroupName" ], "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" } } }, "CapacityForecast": { "type": "structure", "required": [ "Timestamps", "Values" ], "members": { "Timestamps": { "shape": "PredictiveScalingForecastTimestamps", "documentation": "

The timestamps for the data points, in UTC format.

" }, "Values": { "shape": "PredictiveScalingForecastValues", "documentation": "

The values of the data points.

" } }, "documentation": "

A GetPredictiveScalingForecast call returns the capacity forecast for a predictive scaling policy. This structure includes the data points for that capacity forecast, along with the timestamps of those data points.

" }, "CapacityRebalanceEnabled": { "type": "boolean" }, "CheckpointDelay": { "type": "integer", "max": 172800, "min": 0 }, "CheckpointPercentages": { "type": "list", "member": { "shape": "NonZeroIntPercent" } }, "ClassicLinkVPCSecurityGroups": { "type": "list", "member": { "shape": "XmlStringMaxLen255" } }, "CompleteLifecycleActionAnswer": { "type": "structure", "members": {} }, "CompleteLifecycleActionType": { "type": "structure", "required": [ "LifecycleHookName", "AutoScalingGroupName", "LifecycleActionResult" ], "members": { "LifecycleHookName": { "shape": "AsciiStringMaxLen255", "documentation": "

The name of the lifecycle hook.

" }, "AutoScalingGroupName": { "shape": "ResourceName", "documentation": "

The name of the Auto Scaling group.

" }, "LifecycleActionToken": { "shape": "LifecycleActionToken", "documentation": "

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.

" }, "LifecycleActionResult": { "shape": "LifecycleActionResult", "documentation": "

The action for the group to take. You can specify either CONTINUE or ABANDON.

" }, "InstanceId": { "shape": "XmlStringMaxLen19", "documentation": "

The ID of the instance.

" } } }, "Context": { "type": "string" }, "Cooldown": { "type": "integer" }, "CpuManufacturer": { "type": "string", "enum": [ "intel", "amd", "amazon-web-services" ] }, "CpuManufacturers": { "type": "list", "member": { "shape": "CpuManufacturer" } }, "CreateAutoScalingGroupType": { "type": "structure", "required": [ "AutoScalingGroupName", "MinSize", "MaxSize" ], "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group. This name must be unique per Region per account.

The name can contain any ASCII character 33 to 126 including most punctuation characters, digits, and upper and lowercased letters.

You cannot use a colon (:) in the name.

" }, "LaunchConfigurationName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the launch configuration to use to launch instances.

Conditional: You must specify either a launch template (LaunchTemplate or MixedInstancesPolicy) or a launch configuration (LaunchConfigurationName or InstanceId).

" }, "LaunchTemplate": { "shape": "LaunchTemplateSpecification", "documentation": "

Information used to specify the launch template and version to use to launch instances.

Conditional: You must specify either a launch template (LaunchTemplate or MixedInstancesPolicy) or a launch configuration (LaunchConfigurationName or InstanceId).

The launch template that is specified must be configured for use with an Auto Scaling group. For more information, see Creating a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

" }, "MixedInstancesPolicy": { "shape": "MixedInstancesPolicy", "documentation": "

The mixed instances policy. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide.

" }, "InstanceId": { "shape": "XmlStringMaxLen19", "documentation": "

The ID of the instance used to base the launch configuration on. If specified, Amazon EC2 Auto Scaling uses the configuration values from the specified instance to create a new launch configuration. To get the instance ID, use the Amazon EC2 DescribeInstances API operation. For more information, see Creating an Auto Scaling group using an EC2 instance in the Amazon EC2 Auto Scaling User Guide.

" }, "MinSize": { "shape": "AutoScalingGroupMinSize", "documentation": "

The minimum size of the group.

" }, "MaxSize": { "shape": "AutoScalingGroupMaxSize", "documentation": "

The maximum size of the group.

With a mixed instances policy that uses instance weighting, Amazon EC2 Auto Scaling may need to go above MaxSize to meet your capacity requirements. In this event, Amazon EC2 Auto Scaling will never go above MaxSize by more than your largest instance weight (weights that define how many units each instance contributes to the desired capacity of the group).

" }, "DesiredCapacity": { "shape": "AutoScalingGroupDesiredCapacity", "documentation": "

The desired capacity is the initial capacity of the Auto Scaling group at the time of its creation and the capacity it attempts to maintain. It can scale beyond this capacity if you configure auto scaling. 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.

" }, "DefaultCooldown": { "shape": "Cooldown", "documentation": "

Only needed if you use simple scaling policies.

The amount of time, in seconds, between one scaling activity ending and another one starting due to simple scaling policies. For more information, see Scaling cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

Default: 300 seconds

" }, "AvailabilityZones": { "shape": "AvailabilityZones", "documentation": "

A list of Availability Zones where instances in the Auto Scaling group can be created. Used for launching into the default VPC subnet in each Availability Zone when not using the VPCZoneIdentifier property, or for attaching a network interface when an existing network interface ID is specified in a launch template.

" }, "LoadBalancerNames": { "shape": "LoadBalancerNames", "documentation": "

A list of Classic Load Balancers associated with this Auto Scaling group. For Application Load Balancers, Network Load Balancers, and Gateway Load Balancers, specify the TargetGroupARNs property instead.

" }, "TargetGroupARNs": { "shape": "TargetGroupARNs", "documentation": "

The Amazon Resource Names (ARN) of the Elastic Load Balancing target groups to associate with the Auto Scaling group. Instances are registered as targets with the target groups. The target groups receive incoming traffic and route requests to one or more registered targets. For more information, see Use Elastic Load Balancing to distribute traffic across the instances in your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

" }, "HealthCheckType": { "shape": "XmlStringMaxLen32", "documentation": "

A comma-separated value string of one or more health check types.

The valid values are EC2, ELB, and VPC_LATTICE. EC2 is the default health check and cannot be disabled. For more information, see Health checks for Auto Scaling instances in the Amazon EC2 Auto Scaling User Guide.

Only specify EC2 if you must clear a value that was previously set.

" }, "HealthCheckGracePeriod": { "shape": "HealthCheckGracePeriod", "documentation": "

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 and marking it unhealthy due to a failed health check. This is useful if your instances do not immediately pass their health checks after they enter the InService state. For more information, see Set the health check grace period for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

Default: 0 seconds

" }, "PlacementGroup": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the placement group into which to launch your instances. For more information, see Placement groups in the Amazon EC2 User Guide for Linux Instances.

A cluster placement group is a logical grouping of instances within a single Availability Zone. You cannot specify multiple Availability Zones and a cluster placement group.

" }, "VPCZoneIdentifier": { "shape": "XmlStringMaxLen2047", "documentation": "

A comma-separated list of subnet IDs for a virtual private cloud (VPC) where instances in the Auto Scaling group can be created. If you specify VPCZoneIdentifier with AvailabilityZones, the subnets that you specify must reside in those Availability Zones.

" }, "TerminationPolicies": { "shape": "TerminationPolicies", "documentation": "

A policy or a list of policies that are used to select the instance to terminate. These policies are executed in the order that you list them. For more information, see Work with Amazon EC2 Auto Scaling termination policies in the Amazon EC2 Auto Scaling User Guide.

Valid values: Default | AllocationStrategy | ClosestToNextInstanceHour | NewestInstance | OldestInstance | OldestLaunchConfiguration | OldestLaunchTemplate | arn:aws:lambda:region:account-id:function:my-function:my-alias

" }, "NewInstancesProtectedFromScaleIn": { "shape": "InstanceProtected", "documentation": "

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 Using instance scale-in protection in the Amazon EC2 Auto Scaling User Guide.

" }, "CapacityRebalance": { "shape": "CapacityRebalanceEnabled", "documentation": "

Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity Rebalancing is disabled. When you turn on Capacity Rebalancing, Amazon EC2 Auto Scaling attempts to launch a Spot Instance whenever Amazon EC2 notifies that a Spot Instance is at an elevated risk of interruption. After launching a new instance, it then terminates an old instance. For more information, see Use Capacity Rebalancing to handle Amazon EC2 Spot Interruptions in the in the Amazon EC2 Auto Scaling User Guide.

" }, "LifecycleHookSpecificationList": { "shape": "LifecycleHookSpecifications", "documentation": "

One or more lifecycle hooks to add to the Auto Scaling group before instances are launched.

" }, "Tags": { "shape": "Tags", "documentation": "

One or more tags. You can tag your Auto Scaling group and propagate the tags to the Amazon EC2 instances it launches. Tags are not propagated to Amazon EBS volumes. To add tags to Amazon EBS volumes, specify the tags in a launch template but use caution. If the launch template specifies an instance tag with a key that is also specified for the Auto Scaling group, Amazon EC2 Auto Scaling overrides the value of that instance tag with the value specified by the Auto Scaling group. For more information, see Tag Auto Scaling groups and instances in the Amazon EC2 Auto Scaling User Guide.

" }, "ServiceLinkedRoleARN": { "shape": "ResourceName", "documentation": "

The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other Amazon Web Services service 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.

" }, "MaxInstanceLifetime": { "shape": "MaxInstanceLifetime", "documentation": "

The maximum amount of time, in seconds, that an instance can be in service. The default is null. If specified, the value must be either 0 or a number equal to or greater than 86,400 seconds (1 day). For more information, see Replacing Auto Scaling instances based on maximum instance lifetime in the Amazon EC2 Auto Scaling User Guide.

" }, "Context": { "shape": "Context", "documentation": "

Reserved.

" }, "DesiredCapacityType": { "shape": "XmlStringMaxLen255", "documentation": "

The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports DesiredCapacityType for attribute-based instance type selection only. For more information, see Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide.

By default, Amazon EC2 Auto Scaling specifies units, which translates into number of instances.

Valid values: units | vcpu | memory-mib

" }, "DefaultInstanceWarmup": { "shape": "DefaultInstanceWarmup", "documentation": "

The amount of time, in seconds, until a new instance is considered to have finished initializing and resource consumption to become stable after it enters the InService state.

During an instance refresh, Amazon EC2 Auto Scaling waits for the warm-up period after it replaces an instance before it moves on to replacing the next instance. Amazon EC2 Auto Scaling also waits for the warm-up period before aggregating the metrics for new instances with existing instances in the Amazon CloudWatch metrics that are used for scaling, resulting in more reliable usage data. For more information, see Set the default instance warmup for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

To manage various warm-up settings at the group level, we recommend that you set the default instance warmup, even if it is set to 0 seconds. To remove a value that you previously set, include the property but specify -1 for the value. However, we strongly recommend keeping the default instance warmup enabled by specifying a value of 0 or other nominal value.

Default: None

" }, "TrafficSources": { "shape": "TrafficSources", "documentation": "

The list of traffic sources to attach to this Auto Scaling group. You can use any of the following as traffic sources for an Auto Scaling group: Classic Load Balancer, Application Load Balancer, Gateway Load Balancer, Network Load Balancer, and VPC Lattice.

" }, "InstanceMaintenancePolicy": { "shape": "InstanceMaintenancePolicy", "documentation": "

An instance maintenance policy. For more information, see Set instance maintenance policy in the Amazon EC2 Auto Scaling User Guide.

" } } }, "CreateLaunchConfigurationType": { "type": "structure", "required": [ "LaunchConfigurationName" ], "members": { "LaunchConfigurationName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the launch configuration. This name must be unique per Region per account.

" }, "ImageId": { "shape": "XmlStringMaxLen255", "documentation": "

The ID of the Amazon Machine Image (AMI) that was assigned during registration. For more information, see Finding a Linux AMI in the Amazon EC2 User Guide for Linux Instances.

If you specify InstanceId, an ImageId is not required.

" }, "KeyName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the key pair. For more information, see Amazon EC2 key pairs and Linux instances in the Amazon EC2 User Guide for Linux Instances.

" }, "SecurityGroups": { "shape": "SecurityGroups", "documentation": "

A list that contains the security group IDs to assign to the instances in the Auto Scaling group. For more information, see Control traffic to resources using security groups in the Amazon Virtual Private Cloud User Guide.

" }, "ClassicLinkVPCId": { "shape": "XmlStringMaxLen255", "documentation": "

Available for backward compatibility.

" }, "ClassicLinkVPCSecurityGroups": { "shape": "ClassicLinkVPCSecurityGroups", "documentation": "

Available for backward compatibility.

" }, "UserData": { "shape": "XmlStringUserData", "documentation": "

The user data to make available to the launched EC2 instances. For more information, see Instance metadata and user data (Linux) and Instance metadata and user data (Windows). If you are using a command line tool, base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide base64-encoded text. User data is limited to 16 KB.

" }, "InstanceId": { "shape": "XmlStringMaxLen19", "documentation": "

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.

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 Creating a launch configuration using an EC2 instance in the Amazon EC2 Auto Scaling User Guide.

" }, "InstanceType": { "shape": "XmlStringMaxLen255", "documentation": "

Specifies the instance type of the EC2 instance. For information about available instance types, see Available instance types in the Amazon EC2 User Guide for Linux Instances.

If you specify InstanceId, an InstanceType is not required.

" }, "KernelId": { "shape": "XmlStringMaxLen255", "documentation": "

The ID of the kernel associated with the AMI.

We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see User provided kernels in the Amazon EC2 User Guide for Linux Instances.

" }, "RamdiskId": { "shape": "XmlStringMaxLen255", "documentation": "

The ID of the RAM disk to select.

We recommend that you use PV-GRUB instead of kernels and RAM disks. For more information, see User provided kernels in the Amazon EC2 User Guide for Linux Instances.

" }, "BlockDeviceMappings": { "shape": "BlockDeviceMappings", "documentation": "

The block device mapping entries that define the block devices to attach to the instances at launch. By default, the block devices specified in the block device mapping for the AMI are used. For more information, see Block device mappings in the Amazon EC2 User Guide for Linux Instances.

" }, "InstanceMonitoring": { "shape": "InstanceMonitoring", "documentation": "

Controls whether instances in this group are launched with detailed (true) or basic (false) monitoring.

The default value is true (enabled).

When detailed monitoring is enabled, Amazon CloudWatch generates metrics every minute and your account is charged a fee. When you disable detailed monitoring, CloudWatch generates metrics every 5 minutes. For more information, see Configure Monitoring for Auto Scaling Instances in the Amazon EC2 Auto Scaling User Guide.

" }, "SpotPrice": { "shape": "SpotPrice", "documentation": "

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 price. For more information, see Request Spot Instances for fault-tolerant and flexible applications in the Amazon EC2 Auto Scaling User Guide.

Valid Range: Minimum value of 0.001

When you change your maximum price by creating a new launch configuration, running instances will continue to run as long as the maximum price for those running instances is higher than the current Spot price.

" }, "IamInstanceProfile": { "shape": "XmlStringMaxLen1600", "documentation": "

The name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. The instance profile contains the IAM role. For more information, see IAM role for applications that run on Amazon EC2 instances in the Amazon EC2 Auto Scaling User Guide.

" }, "EbsOptimized": { "shape": "EbsOptimized", "documentation": "

Specifies whether the launch configuration is optimized for EBS I/O (true) or not (false). 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 fees are incurred when you enable EBS optimization for an instance type that is not EBS-optimized by default. For more information, see Amazon EBS-optimized instances in the Amazon EC2 User Guide for Linux Instances.

The default value is false.

" }, "AssociatePublicIpAddress": { "shape": "AssociatePublicIpAddress", "documentation": "

Specifies whether to assign a public IPv4 address to the group's instances. If the instance is launched into a default subnet, the default is to assign a public IPv4 address, unless you disabled the option to assign a public IPv4 address on the subnet. If the instance is launched into a nondefault subnet, the default is not to assign a public IPv4 address, unless you enabled the option to assign a public IPv4 address on the subnet.

If you specify true, each instance in the Auto Scaling group receives a unique public IPv4 address. For more information, see Launching Auto Scaling instances in a VPC in the Amazon EC2 Auto Scaling User Guide.

If you specify this property, you must specify at least one subnet for VPCZoneIdentifier when you create your group.

" }, "PlacementTenancy": { "shape": "XmlStringMaxLen64", "documentation": "

The tenancy of the instance, either default or dedicated. An instance with dedicated tenancy runs on isolated, 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 property to dedicated. For more information, see Configuring instance tenancy with Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

If you specify PlacementTenancy, you must specify at least one subnet for VPCZoneIdentifier when you create your group.

Valid values: default | dedicated

" }, "MetadataOptions": { "shape": "InstanceMetadataOptions", "documentation": "

The metadata options for the instances. For more information, see Configuring the Instance Metadata Options in the Amazon EC2 Auto Scaling User Guide.

" } } }, "CreateOrUpdateTagsType": { "type": "structure", "required": [ "Tags" ], "members": { "Tags": { "shape": "Tags", "documentation": "

One or more tags.

" } } }, "CustomizedMetricSpecification": { "type": "structure", "members": { "MetricName": { "shape": "MetricName", "documentation": "

The name of the metric. To get the exact metric name, namespace, and dimensions, inspect the Metric object that is returned by a call to ListMetrics.

" }, "Namespace": { "shape": "MetricNamespace", "documentation": "

The namespace of the metric.

" }, "Dimensions": { "shape": "MetricDimensions", "documentation": "

The dimensions of the metric.

Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.

" }, "Statistic": { "shape": "MetricStatistic", "documentation": "

The statistic of the metric.

" }, "Unit": { "shape": "MetricUnit", "documentation": "

The unit of the metric. For a complete list of the units that CloudWatch supports, see the MetricDatum data type in the Amazon CloudWatch API Reference.

" }, "Metrics": { "shape": "TargetTrackingMetricDataQueries", "documentation": "

The metrics to include in the target tracking scaling policy, as a metric data query. This can include both raw metric and metric math expressions.

" } }, "documentation": "

Represents a CloudWatch metric of your choosing for a target tracking scaling policy to use with Amazon EC2 Auto Scaling.

To create your customized metric specification:

For more information about the CloudWatch terminology below, see Amazon CloudWatch concepts.

Each individual service provides information about the metrics, namespace, and dimensions they use. For more information, see Amazon Web Services services that publish CloudWatch metrics in the Amazon CloudWatch User Guide.

" }, "DefaultInstanceWarmup": { "type": "integer" }, "DeleteAutoScalingGroupType": { "type": "structure", "required": [ "AutoScalingGroupName" ], "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "ForceDelete": { "shape": "ForceDelete", "documentation": "

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 action also deletes any outstanding lifecycle actions associated with the group.

" } } }, "DeleteLifecycleHookAnswer": { "type": "structure", "members": {} }, "DeleteLifecycleHookType": { "type": "structure", "required": [ "LifecycleHookName", "AutoScalingGroupName" ], "members": { "LifecycleHookName": { "shape": "AsciiStringMaxLen255", "documentation": "

The name of the lifecycle hook.

" }, "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" } } }, "DeleteNotificationConfigurationType": { "type": "structure", "required": [ "AutoScalingGroupName", "TopicARN" ], "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "TopicARN": { "shape": "XmlStringMaxLen255", "documentation": "

The Amazon Resource Name (ARN) of the Amazon SNS topic.

" } } }, "DeletePolicyType": { "type": "structure", "required": [ "PolicyName" ], "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "PolicyName": { "shape": "ResourceName", "documentation": "

The name or Amazon Resource Name (ARN) of the policy.

" } } }, "DeleteScheduledActionType": { "type": "structure", "required": [ "AutoScalingGroupName", "ScheduledActionName" ], "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "ScheduledActionName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the action to delete.

" } } }, "DeleteTagsType": { "type": "structure", "required": [ "Tags" ], "members": { "Tags": { "shape": "Tags", "documentation": "

One or more tags.

" } } }, "DeleteWarmPoolAnswer": { "type": "structure", "members": {} }, "DeleteWarmPoolType": { "type": "structure", "required": [ "AutoScalingGroupName" ], "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "ForceDelete": { "shape": "ForceDelete", "documentation": "

Specifies that the warm pool is to be deleted along with all of its associated instances, without waiting for all instances to be terminated. This parameter also deletes any outstanding lifecycle actions associated with the warm pool instances.

" } } }, "DescribeAccountLimitsAnswer": { "type": "structure", "members": { "MaxNumberOfAutoScalingGroups": { "shape": "MaxNumberOfAutoScalingGroups", "documentation": "

The maximum number of groups allowed for your account. The default is 200 groups per Region.

" }, "MaxNumberOfLaunchConfigurations": { "shape": "MaxNumberOfLaunchConfigurations", "documentation": "

The maximum number of launch configurations allowed for your account. The default is 200 launch configurations per Region.

" }, "NumberOfAutoScalingGroups": { "shape": "NumberOfAutoScalingGroups", "documentation": "

The current number of groups for your account.

" }, "NumberOfLaunchConfigurations": { "shape": "NumberOfLaunchConfigurations", "documentation": "

The current number of launch configurations for your account.

" } } }, "DescribeAdjustmentTypesAnswer": { "type": "structure", "members": { "AdjustmentTypes": { "shape": "AdjustmentTypes", "documentation": "

The policy adjustment types.

" } } }, "DescribeAutoScalingInstancesType": { "type": "structure", "members": { "InstanceIds": { "shape": "InstanceIds", "documentation": "

The IDs of the instances. If you omit this property, all Auto Scaling instances are described. If you specify an ID that does not exist, it is ignored with no error.

Array Members: Maximum number of 50 items.

" }, "MaxRecords": { "shape": "MaxRecords", "documentation": "

The maximum number of items to return with this call. The default value is 50 and the maximum value is 50.

" }, "NextToken": { "shape": "XmlString", "documentation": "

The token for the next set of items to return. (You received this token from a previous call.)

" } } }, "DescribeAutoScalingNotificationTypesAnswer": { "type": "structure", "members": { "AutoScalingNotificationTypes": { "shape": "AutoScalingNotificationTypes", "documentation": "

The notification types.

" } } }, "DescribeInstanceRefreshesAnswer": { "type": "structure", "members": { "InstanceRefreshes": { "shape": "InstanceRefreshes", "documentation": "

The instance refreshes for the specified group, sorted by creation timestamp in descending order.

" }, "NextToken": { "shape": "XmlString", "documentation": "

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.

" } } }, "DescribeInstanceRefreshesType": { "type": "structure", "required": [ "AutoScalingGroupName" ], "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "InstanceRefreshIds": { "shape": "InstanceRefreshIds", "documentation": "

One or more instance refresh IDs.

" }, "NextToken": { "shape": "XmlString", "documentation": "

The token for the next set of items to return. (You received this token from a previous call.)

" }, "MaxRecords": { "shape": "MaxRecords", "documentation": "

The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.

" } } }, "DescribeLifecycleHookTypesAnswer": { "type": "structure", "members": { "LifecycleHookTypes": { "shape": "AutoScalingNotificationTypes", "documentation": "

The lifecycle hook types.

" } } }, "DescribeLifecycleHooksAnswer": { "type": "structure", "members": { "LifecycleHooks": { "shape": "LifecycleHooks", "documentation": "

The lifecycle hooks for the specified group.

" } } }, "DescribeLifecycleHooksType": { "type": "structure", "required": [ "AutoScalingGroupName" ], "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "LifecycleHookNames": { "shape": "LifecycleHookNames", "documentation": "

The names of one or more lifecycle hooks. If you omit this property, all lifecycle hooks are described.

" } } }, "DescribeLoadBalancerTargetGroupsRequest": { "type": "structure", "required": [ "AutoScalingGroupName" ], "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "NextToken": { "shape": "XmlString", "documentation": "

The token for the next set of items to return. (You received this token from a previous call.)

" }, "MaxRecords": { "shape": "MaxRecords", "documentation": "

The maximum number of items to return with this call. The default value is 100 and the maximum value is 100.

" } } }, "DescribeLoadBalancerTargetGroupsResponse": { "type": "structure", "members": { "LoadBalancerTargetGroups": { "shape": "LoadBalancerTargetGroupStates", "documentation": "

Information about the target groups.

" }, "NextToken": { "shape": "XmlString", "documentation": "

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.

" } } }, "DescribeLoadBalancersRequest": { "type": "structure", "required": [ "AutoScalingGroupName" ], "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "NextToken": { "shape": "XmlString", "documentation": "

The token for the next set of items to return. (You received this token from a previous call.)

" }, "MaxRecords": { "shape": "MaxRecords", "documentation": "

The maximum number of items to return with this call. The default value is 100 and the maximum value is 100.

" } } }, "DescribeLoadBalancersResponse": { "type": "structure", "members": { "LoadBalancers": { "shape": "LoadBalancerStates", "documentation": "

The load balancers.

" }, "NextToken": { "shape": "XmlString", "documentation": "

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.

" } } }, "DescribeMetricCollectionTypesAnswer": { "type": "structure", "members": { "Metrics": { "shape": "MetricCollectionTypes", "documentation": "

The metrics.

" }, "Granularities": { "shape": "MetricGranularityTypes", "documentation": "

The granularities for the metrics.

" } } }, "DescribeNotificationConfigurationsAnswer": { "type": "structure", "required": [ "NotificationConfigurations" ], "members": { "NotificationConfigurations": { "shape": "NotificationConfigurations", "documentation": "

The notification configurations.

" }, "NextToken": { "shape": "XmlString", "documentation": "

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.

" } } }, "DescribeNotificationConfigurationsType": { "type": "structure", "members": { "AutoScalingGroupNames": { "shape": "AutoScalingGroupNames", "documentation": "

The name of the Auto Scaling group.

" }, "NextToken": { "shape": "XmlString", "documentation": "

The token for the next set of items to return. (You received this token from a previous call.)

" }, "MaxRecords": { "shape": "MaxRecords", "documentation": "

The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.

" } } }, "DescribePoliciesType": { "type": "structure", "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "PolicyNames": { "shape": "PolicyNames", "documentation": "

The names of one or more policies. If you omit this property, all policies are described. If a group name is provided, the results are limited to that group. If you specify an unknown policy name, it is ignored with no error.

Array Members: Maximum number of 50 items.

" }, "PolicyTypes": { "shape": "PolicyTypes", "documentation": "

One or more policy types. The valid values are SimpleScaling, StepScaling, TargetTrackingScaling, and PredictiveScaling.

" }, "NextToken": { "shape": "XmlString", "documentation": "

The token for the next set of items to return. (You received this token from a previous call.)

" }, "MaxRecords": { "shape": "MaxRecords", "documentation": "

The maximum number of items to be returned with each call. The default value is 50 and the maximum value is 100.

" } } }, "DescribeScalingActivitiesType": { "type": "structure", "members": { "ActivityIds": { "shape": "ActivityIds", "documentation": "

The activity IDs of the desired scaling activities. If you omit this property, 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.

Array Members: Maximum number of 50 IDs.

" }, "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "IncludeDeletedGroups": { "shape": "IncludeDeletedGroups", "documentation": "

Indicates whether to include scaling activity from deleted Auto Scaling groups.

" }, "MaxRecords": { "shape": "MaxRecords", "documentation": "

The maximum number of items to return with this call. The default value is 100 and the maximum value is 100.

" }, "NextToken": { "shape": "XmlString", "documentation": "

The token for the next set of items to return. (You received this token from a previous call.)

" } } }, "DescribeScheduledActionsType": { "type": "structure", "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "ScheduledActionNames": { "shape": "ScheduledActionNames", "documentation": "

The names of one or more scheduled actions. If you omit this property, all scheduled actions are described. If you specify an unknown scheduled action, it is ignored with no error.

Array Members: Maximum number of 50 actions.

" }, "StartTime": { "shape": "TimestampType", "documentation": "

The earliest scheduled start time to return. If scheduled action names are provided, this property is ignored.

" }, "EndTime": { "shape": "TimestampType", "documentation": "

The latest scheduled start time to return. If scheduled action names are provided, this property is ignored.

" }, "NextToken": { "shape": "XmlString", "documentation": "

The token for the next set of items to return. (You received this token from a previous call.)

" }, "MaxRecords": { "shape": "MaxRecords", "documentation": "

The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.

" } } }, "DescribeTagsType": { "type": "structure", "members": { "Filters": { "shape": "Filters", "documentation": "

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.

" }, "NextToken": { "shape": "XmlString", "documentation": "

The token for the next set of items to return. (You received this token from a previous call.)

" }, "MaxRecords": { "shape": "MaxRecords", "documentation": "

The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.

" } } }, "DescribeTerminationPolicyTypesAnswer": { "type": "structure", "members": { "TerminationPolicyTypes": { "shape": "TerminationPolicies", "documentation": "

The termination policies supported by Amazon EC2 Auto Scaling: OldestInstance, OldestLaunchConfiguration, NewestInstance, ClosestToNextInstanceHour, Default, OldestLaunchTemplate, and AllocationStrategy.

" } } }, "DescribeTrafficSourcesRequest": { "type": "structure", "required": [ "AutoScalingGroupName" ], "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "TrafficSourceType": { "shape": "XmlStringMaxLen255", "documentation": "

The traffic source type that you want to describe.

The following lists the valid values:

" }, "NextToken": { "shape": "XmlString", "documentation": "

The token for the next set of items to return. (You received this token from a previous call.)

" }, "MaxRecords": { "shape": "MaxRecords", "documentation": "

The maximum number of items to return with this call. The maximum value is 50.

" } } }, "DescribeTrafficSourcesResponse": { "type": "structure", "members": { "TrafficSources": { "shape": "TrafficSourceStates", "documentation": "

Information about the traffic sources.

" }, "NextToken": { "shape": "XmlString", "documentation": "

This string 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.

" } } }, "DescribeWarmPoolAnswer": { "type": "structure", "members": { "WarmPoolConfiguration": { "shape": "WarmPoolConfiguration", "documentation": "

The warm pool configuration details.

" }, "Instances": { "shape": "Instances", "documentation": "

The instances that are currently in the warm pool.

" }, "NextToken": { "shape": "XmlString", "documentation": "

This string 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.

" } } }, "DescribeWarmPoolType": { "type": "structure", "required": [ "AutoScalingGroupName" ], "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "MaxRecords": { "shape": "MaxRecords", "documentation": "

The maximum number of instances to return with this call. The maximum value is 50.

" }, "NextToken": { "shape": "XmlString", "documentation": "

The token for the next set of instances to return. (You received this token from a previous call.)

" } } }, "DesiredConfiguration": { "type": "structure", "members": { "LaunchTemplate": { "shape": "LaunchTemplateSpecification", "documentation": "

Describes the launch template and the version of the launch template that Amazon EC2 Auto Scaling uses to launch Amazon EC2 instances. For more information about launch templates, see Launch templates in the Amazon EC2 Auto Scaling User Guide.

" }, "MixedInstancesPolicy": { "shape": "MixedInstancesPolicy", "documentation": "

Use this structure to launch multiple instance types and On-Demand Instances and Spot Instances within a single Auto Scaling group.

A mixed instances policy contains information that Amazon EC2 Auto Scaling can use to launch instances and help optimize your costs. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide.

" } }, "documentation": "

Describes the desired configuration for an instance refresh.

If you specify a desired configuration, you must specify either a LaunchTemplate or a MixedInstancesPolicy.

" }, "DetachInstancesAnswer": { "type": "structure", "members": { "Activities": { "shape": "Activities", "documentation": "

The activities related to detaching the instances from the Auto Scaling group.

" } } }, "DetachInstancesQuery": { "type": "structure", "required": [ "AutoScalingGroupName", "ShouldDecrementDesiredCapacity" ], "members": { "InstanceIds": { "shape": "InstanceIds", "documentation": "

The IDs of the instances. You can specify up to 20 instances.

" }, "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "ShouldDecrementDesiredCapacity": { "shape": "ShouldDecrementDesiredCapacity", "documentation": "

Indicates whether the Auto Scaling group decrements the desired capacity value by the number of instances detached.

" } } }, "DetachLoadBalancerTargetGroupsResultType": { "type": "structure", "members": {} }, "DetachLoadBalancerTargetGroupsType": { "type": "structure", "required": [ "AutoScalingGroupName", "TargetGroupARNs" ], "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "TargetGroupARNs": { "shape": "TargetGroupARNs", "documentation": "

The Amazon Resource Names (ARN) of the target groups. You can specify up to 10 target groups.

" } } }, "DetachLoadBalancersResultType": { "type": "structure", "members": {} }, "DetachLoadBalancersType": { "type": "structure", "required": [ "AutoScalingGroupName", "LoadBalancerNames" ], "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "LoadBalancerNames": { "shape": "LoadBalancerNames", "documentation": "

The names of the load balancers. You can specify up to 10 load balancers.

" } } }, "DetachTrafficSourcesResultType": { "type": "structure", "members": {} }, "DetachTrafficSourcesType": { "type": "structure", "required": [ "AutoScalingGroupName", "TrafficSources" ], "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "TrafficSources": { "shape": "TrafficSources", "documentation": "

The unique identifiers of one or more traffic sources. You can specify up to 10 traffic sources.

" } } }, "DisableMetricsCollectionQuery": { "type": "structure", "required": [ "AutoScalingGroupName" ], "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "Metrics": { "shape": "Metrics", "documentation": "

Identifies the metrics to disable.

You can specify one or more of the following metrics:

If you omit this property, all metrics are disabled.

For more information, see Auto Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.

" } } }, "DisableScaleIn": { "type": "boolean" }, "Ebs": { "type": "structure", "members": { "SnapshotId": { "shape": "XmlStringMaxLen255", "documentation": "

The snapshot ID of the volume to use.

You must specify either a VolumeSize or a SnapshotId.

" }, "VolumeSize": { "shape": "BlockDeviceEbsVolumeSize", "documentation": "

The volume size, in GiBs. The following are the supported volumes sizes for each volume type:

You must specify either a SnapshotId or a VolumeSize. If you specify both SnapshotId and VolumeSize, the volume size must be equal or greater than the size of the snapshot.

" }, "VolumeType": { "shape": "BlockDeviceEbsVolumeType", "documentation": "

The volume type. For more information, see Amazon EBS volume types in the Amazon EC2 User Guide for Linux Instances.

Valid values: standard | io1 | gp2 | st1 | sc1 | gp3

" }, "DeleteOnTermination": { "shape": "BlockDeviceEbsDeleteOnTermination", "documentation": "

Indicates whether the volume is deleted on instance termination. For Amazon EC2 Auto Scaling, the default value is true.

" }, "Iops": { "shape": "BlockDeviceEbsIops", "documentation": "

The number of input/output (I/O) operations per second (IOPS) to provision for the volume. For gp3 and io1 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.

The following are the supported values for each volume type:

For io1 volumes, we guarantee 64,000 IOPS only for Instances built on the Nitro System. Other instance families guarantee performance up to 32,000 IOPS.

Iops is supported when the volume type is gp3 or io1 and required only when the volume type is io1. (Not used with standard, gp2, st1, or sc1 volumes.)

" }, "Encrypted": { "shape": "BlockDeviceEbsEncrypted", "documentation": "

Specifies whether the volume should be encrypted. Encrypted EBS volumes can only be attached to instances that support Amazon EBS encryption. For more information, see Supported instance types. If your AMI uses encrypted volumes, you can also only launch it on supported instance types.

If you are creating a volume from a snapshot, you cannot create an unencrypted volume from an encrypted snapshot. Also, you cannot specify a KMS key ID when using a launch configuration.

If you enable encryption by default, the EBS volumes that you create are always encrypted, either using the Amazon Web Services managed KMS key or a customer-managed KMS key, regardless of whether the snapshot was encrypted.

For more information, see Use Amazon Web Services KMS keys to encrypt Amazon EBS volumes in the Amazon EC2 Auto Scaling User Guide.

" }, "Throughput": { "shape": "BlockDeviceEbsThroughput", "documentation": "

The throughput (MiBps) to provision for a gp3 volume.

" } }, "documentation": "

Describes information used to set up an Amazon EBS volume specified in a block device mapping.

" }, "EbsOptimized": { "type": "boolean" }, "EnableMetricsCollectionQuery": { "type": "structure", "required": [ "AutoScalingGroupName", "Granularity" ], "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "Metrics": { "shape": "Metrics", "documentation": "

Identifies the metrics to enable.

You can specify one or more of the following metrics:

If you specify Granularity and don't specify any metrics, all metrics are enabled.

For more information, see Auto Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.

" }, "Granularity": { "shape": "XmlStringMaxLen255", "documentation": "

The frequency at which Amazon EC2 Auto Scaling sends aggregated data to CloudWatch. The only valid value is 1Minute.

" } } }, "EnabledMetric": { "type": "structure", "members": { "Metric": { "shape": "XmlStringMaxLen255", "documentation": "

One of the following metrics:

For more information, see Auto Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.

" }, "Granularity": { "shape": "XmlStringMaxLen255", "documentation": "

The granularity of the metric. The only valid value is 1Minute.

" } }, "documentation": "

Describes an enabled Auto Scaling group metric.

" }, "EnabledMetrics": { "type": "list", "member": { "shape": "EnabledMetric" } }, "EnterStandbyAnswer": { "type": "structure", "members": { "Activities": { "shape": "Activities", "documentation": "

The activities related to moving instances into Standby mode.

" } } }, "EnterStandbyQuery": { "type": "structure", "required": [ "AutoScalingGroupName", "ShouldDecrementDesiredCapacity" ], "members": { "InstanceIds": { "shape": "InstanceIds", "documentation": "

The IDs of the instances. You can specify up to 20 instances.

" }, "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "ShouldDecrementDesiredCapacity": { "shape": "ShouldDecrementDesiredCapacity", "documentation": "

Indicates whether to decrement the desired capacity of the Auto Scaling group by the number of instances moved to Standby mode.

" } } }, "EstimatedInstanceWarmup": { "type": "integer" }, "ExcludedInstance": { "type": "string", "max": 30, "min": 1, "pattern": "[a-zA-Z0-9\\.\\*\\-]+" }, "ExcludedInstanceTypes": { "type": "list", "member": { "shape": "ExcludedInstance" }, "max": 400 }, "ExecutePolicyType": { "type": "structure", "required": [ "PolicyName" ], "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "PolicyName": { "shape": "ResourceName", "documentation": "

The name or ARN of the policy.

" }, "HonorCooldown": { "shape": "HonorCooldown", "documentation": "

Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before executing the policy.

Valid only if the policy type is SimpleScaling. For more information, see Scaling cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

" }, "MetricValue": { "shape": "MetricScale", "documentation": "

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.

Required if the policy type is StepScaling and not supported otherwise.

" }, "BreachThreshold": { "shape": "MetricScale", "documentation": "

The breach threshold for the alarm.

Required if the policy type is StepScaling and not supported otherwise.

" } } }, "ExitStandbyAnswer": { "type": "structure", "members": { "Activities": { "shape": "Activities", "documentation": "

The activities related to moving instances out of Standby mode.

" } } }, "ExitStandbyQuery": { "type": "structure", "required": [ "AutoScalingGroupName" ], "members": { "InstanceIds": { "shape": "InstanceIds", "documentation": "

The IDs of the instances. You can specify up to 20 instances.

" }, "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" } } }, "FailedScheduledUpdateGroupActionRequest": { "type": "structure", "required": [ "ScheduledActionName" ], "members": { "ScheduledActionName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the scheduled action.

" }, "ErrorCode": { "shape": "XmlStringMaxLen64", "documentation": "

The error code.

" }, "ErrorMessage": { "shape": "XmlString", "documentation": "

The error message accompanying the error code.

" } }, "documentation": "

Describes a scheduled action that could not be created, updated, or deleted.

" }, "FailedScheduledUpdateGroupActionRequests": { "type": "list", "member": { "shape": "FailedScheduledUpdateGroupActionRequest" } }, "Filter": { "type": "structure", "members": { "Name": { "shape": "XmlString", "documentation": "

The name of the filter.

The valid values for Name depend on which API operation you're using with the filter (DescribeAutoScalingGroups or DescribeTags).

DescribeAutoScalingGroups

Valid values for Name include the following:

DescribeTags

Valid values for Name include the following:

" }, "Values": { "shape": "Values", "documentation": "

One or more filter values. Filter values are case-sensitive.

If you specify multiple values for a filter, the values are automatically logically joined with an OR, and the request returns all results that match any of the specified values. For example, specify \"tag:environment\" for the filter name and \"production,development\" for the filter values to find Auto Scaling groups with the tag \"environment=production\" or \"environment=development\".

" } }, "documentation": "

Describes a filter that is used to return a more specific list of results from a describe operation.

If you specify multiple filters, the filters are automatically logically joined with an AND, and the request returns only the results that match all of the specified filters.

For more information, see Tag Auto Scaling groups and instances in the Amazon EC2 Auto Scaling User Guide.

" }, "Filters": { "type": "list", "member": { "shape": "Filter" } }, "ForceDelete": { "type": "boolean" }, "GetPredictiveScalingForecastAnswer": { "type": "structure", "required": [ "LoadForecast", "CapacityForecast", "UpdateTime" ], "members": { "LoadForecast": { "shape": "LoadForecasts", "documentation": "

The load forecast.

" }, "CapacityForecast": { "shape": "CapacityForecast", "documentation": "

The capacity forecast.

" }, "UpdateTime": { "shape": "TimestampType", "documentation": "

The time the forecast was made.

" } } }, "GetPredictiveScalingForecastType": { "type": "structure", "required": [ "AutoScalingGroupName", "PolicyName", "StartTime", "EndTime" ], "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "PolicyName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the policy.

" }, "StartTime": { "shape": "TimestampType", "documentation": "

The inclusive start time of the time range for the forecast data to get. At most, the date and time can be one year before the current date and time.

" }, "EndTime": { "shape": "TimestampType", "documentation": "

The exclusive end time of the time range for the forecast data to get. The maximum time duration between the start and end time is 30 days.

Although this parameter can accept a date and time that is more than two days in the future, the availability of forecast data has limits. Amazon EC2 Auto Scaling only issues forecasts for periods of two days in advance.

" } } }, "GlobalTimeout": { "type": "integer" }, "HealthCheckGracePeriod": { "type": "integer" }, "HeartbeatTimeout": { "type": "integer" }, "HonorCooldown": { "type": "boolean" }, "IncludeDeletedGroups": { "type": "boolean" }, "Instance": { "type": "structure", "required": [ "InstanceId", "AvailabilityZone", "LifecycleState", "HealthStatus", "ProtectedFromScaleIn" ], "members": { "InstanceId": { "shape": "XmlStringMaxLen19", "documentation": "

The ID of the instance.

" }, "InstanceType": { "shape": "XmlStringMaxLen255", "documentation": "

The instance type of the EC2 instance.

" }, "AvailabilityZone": { "shape": "XmlStringMaxLen255", "documentation": "

The Availability Zone in which the instance is running.

" }, "LifecycleState": { "shape": "LifecycleState", "documentation": "

A description of the current lifecycle state. The Quarantined state is not used. For information about lifecycle states, see Instance lifecycle in the Amazon EC2 Auto Scaling User Guide.

" }, "HealthStatus": { "shape": "XmlStringMaxLen32", "documentation": "

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.

" }, "LaunchConfigurationName": { "shape": "XmlStringMaxLen255", "documentation": "

The launch configuration associated with the instance.

" }, "LaunchTemplate": { "shape": "LaunchTemplateSpecification", "documentation": "

The launch template for the instance.

" }, "ProtectedFromScaleIn": { "shape": "InstanceProtected", "documentation": "

Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in.

" }, "WeightedCapacity": { "shape": "XmlStringMaxLen32", "documentation": "

The number of capacity units contributed by the instance based on its instance type.

Valid Range: Minimum value of 1. Maximum value of 999.

" } }, "documentation": "

Describes an EC2 instance.

" }, "InstanceGeneration": { "type": "string", "enum": [ "current", "previous" ] }, "InstanceGenerations": { "type": "list", "member": { "shape": "InstanceGeneration" } }, "InstanceIds": { "type": "list", "member": { "shape": "XmlStringMaxLen19" } }, "InstanceMaintenancePolicy": { "type": "structure", "members": { "MinHealthyPercentage": { "shape": "IntPercentResettable", "documentation": "

Specifies the lower threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the minimum percentage of the group to keep in service, healthy, and ready to use to support your workload when replacing instances. Value range is 0 to 100. To clear a previously set value, specify a value of -1.

" }, "MaxHealthyPercentage": { "shape": "IntPercent100To200Resettable", "documentation": "

Specifies the upper threshold as a percentage of the desired capacity of the Auto Scaling group. It represents the maximum percentage of the group that can be in service and healthy, or pending, to support your workload when replacing instances. Value range is 100 to 200. To clear a previously set value, specify a value of -1.

Both MinHealthyPercentage and MaxHealthyPercentage must be specified, and the difference between them cannot be greater than 100. A large range increases the number of instances that can be replaced at the same time.

" } }, "documentation": "

Describes an instance maintenance policy.

For more information, see Set instance maintenance policy in the Amazon EC2 Auto Scaling User Guide.

" }, "InstanceMetadataEndpointState": { "type": "string", "enum": [ "disabled", "enabled" ] }, "InstanceMetadataHttpPutResponseHopLimit": { "type": "integer", "max": 64, "min": 1 }, "InstanceMetadataHttpTokensState": { "type": "string", "enum": [ "optional", "required" ] }, "InstanceMetadataOptions": { "type": "structure", "members": { "HttpTokens": { "shape": "InstanceMetadataHttpTokensState", "documentation": "

The state of token usage for your instance metadata requests. If the parameter is not specified in the request, the default state is optional.

If the state is optional, you can choose to retrieve instance metadata with or without a signed token header on your request. If you retrieve the IAM role credentials without a token, the version 1.0 role credentials are returned. If you retrieve the IAM role credentials using a valid signed token, the version 2.0 role credentials are returned.

If the state is required, you must send a signed token header with any instance metadata retrieval requests. In this state, retrieving the IAM role credentials always returns the version 2.0 credentials; the version 1.0 credentials are not available.

" }, "HttpPutResponseHopLimit": { "shape": "InstanceMetadataHttpPutResponseHopLimit", "documentation": "

The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.

Default: 1

" }, "HttpEndpoint": { "shape": "InstanceMetadataEndpointState", "documentation": "

This parameter enables or disables the HTTP metadata endpoint on your instances. If the parameter is not specified, the default state is enabled.

If you specify a value of disabled, you will not be able to access your instance metadata.

" } }, "documentation": "

The metadata options for the instances. For more information, see Configuring the Instance Metadata Options in the Amazon EC2 Auto Scaling User Guide.

" }, "InstanceMonitoring": { "type": "structure", "members": { "Enabled": { "shape": "MonitoringEnabled", "documentation": "

If true, detailed monitoring is enabled. Otherwise, basic monitoring is enabled.

" } }, "documentation": "

Describes whether detailed monitoring is enabled for the Auto Scaling instances.

" }, "InstanceProtected": { "type": "boolean" }, "InstanceRefresh": { "type": "structure", "members": { "InstanceRefreshId": { "shape": "XmlStringMaxLen255", "documentation": "

The instance refresh ID.

" }, "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "Status": { "shape": "InstanceRefreshStatus", "documentation": "

The current status for the instance refresh operation:

" }, "StatusReason": { "shape": "XmlStringMaxLen1023", "documentation": "

The explanation for the specific status assigned to this operation.

" }, "StartTime": { "shape": "TimestampType", "documentation": "

The date and time at which the instance refresh began.

" }, "EndTime": { "shape": "TimestampType", "documentation": "

The date and time at which the instance refresh ended.

" }, "PercentageComplete": { "shape": "IntPercent", "documentation": "

The percentage of the instance refresh that is complete. For each instance replacement, Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time. When the instance's health status changes to healthy and the specified warm-up time passes, the instance is considered updated and is added to the percentage complete.

PercentageComplete does not include instances that are replaced during a rollback. This value gradually goes back down to zero during a rollback.

" }, "InstancesToUpdate": { "shape": "InstancesToUpdate", "documentation": "

The number of instances remaining to update before the instance refresh is complete.

If you roll back the instance refresh, InstancesToUpdate shows you the number of instances that were not yet updated by the instance refresh. Therefore, these instances don't need to be replaced as part of the rollback.

" }, "ProgressDetails": { "shape": "InstanceRefreshProgressDetails", "documentation": "

Additional progress details for an Auto Scaling group that has a warm pool.

" }, "Preferences": { "shape": "RefreshPreferences", "documentation": "

The preferences for an instance refresh.

" }, "DesiredConfiguration": { "shape": "DesiredConfiguration", "documentation": "

Describes the desired configuration for the instance refresh.

" }, "RollbackDetails": { "shape": "RollbackDetails", "documentation": "

The rollback details.

" } }, "documentation": "

Describes an instance refresh for an Auto Scaling group.

" }, "InstanceRefreshIds": { "type": "list", "member": { "shape": "XmlStringMaxLen255" } }, "InstanceRefreshLivePoolProgress": { "type": "structure", "members": { "PercentageComplete": { "shape": "IntPercent", "documentation": "

The percentage of instances in the Auto Scaling group that have been replaced. For each instance replacement, Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time. When the instance's health status changes to healthy and the specified warm-up time passes, the instance is considered updated and is added to the percentage complete.

" }, "InstancesToUpdate": { "shape": "InstancesToUpdate", "documentation": "

The number of instances remaining to update.

" } }, "documentation": "

Reports progress on replacing instances that are in the Auto Scaling group.

" }, "InstanceRefreshProgressDetails": { "type": "structure", "members": { "LivePoolProgress": { "shape": "InstanceRefreshLivePoolProgress", "documentation": "

Reports progress on replacing instances that are in the Auto Scaling group.

" }, "WarmPoolProgress": { "shape": "InstanceRefreshWarmPoolProgress", "documentation": "

Reports progress on replacing instances that are in the warm pool.

" } }, "documentation": "

Reports progress on replacing instances in an Auto Scaling group that has a warm pool. This includes separate details for instances in the warm pool and instances in the Auto Scaling group (the live pool).

" }, "InstanceRefreshStatus": { "type": "string", "enum": [ "Pending", "InProgress", "Successful", "Failed", "Cancelling", "Cancelled", "RollbackInProgress", "RollbackFailed", "RollbackSuccessful" ] }, "InstanceRefreshWarmPoolProgress": { "type": "structure", "members": { "PercentageComplete": { "shape": "IntPercent", "documentation": "

The percentage of instances in the warm pool that have been replaced. For each instance replacement, Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time. When the instance's health status changes to healthy and the specified warm-up time passes, the instance is considered updated and is added to the percentage complete.

" }, "InstancesToUpdate": { "shape": "InstancesToUpdate", "documentation": "

The number of instances remaining to update.

" } }, "documentation": "

Reports progress on replacing instances that are in the warm pool.

" }, "InstanceRefreshes": { "type": "list", "member": { "shape": "InstanceRefresh" } }, "InstanceRequirements": { "type": "structure", "required": [ "VCpuCount", "MemoryMiB" ], "members": { "VCpuCount": { "shape": "VCpuCountRequest", "documentation": "

The minimum and maximum number of vCPUs for an instance type.

" }, "MemoryMiB": { "shape": "MemoryMiBRequest", "documentation": "

The minimum and maximum instance memory size for an instance type, in MiB.

" }, "CpuManufacturers": { "shape": "CpuManufacturers", "documentation": "

Lists which specific CPU manufacturers to include.

Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template.

Default: Any manufacturer

" }, "MemoryGiBPerVCpu": { "shape": "MemoryGiBPerVCpuRequest", "documentation": "

The minimum and maximum amount of memory per vCPU for an instance type, in GiB.

Default: No minimum or maximum limits

" }, "ExcludedInstanceTypes": { "shape": "ExcludedInstanceTypes", "documentation": "

The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (*), to exclude an instance family, type, size, or generation. The following are examples: m5.8xlarge, c5*.*, m5a.*, r*, *3*.

For example, if you specify c5*, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, Amazon EC2 Auto Scaling will exclude all the M5a instance types, but not the M5n instance types.

If you specify ExcludedInstanceTypes, you can't specify AllowedInstanceTypes.

Default: No excluded instance types

" }, "InstanceGenerations": { "shape": "InstanceGenerations", "documentation": "

Indicates whether current or previous generation instance types are included.

Default: Any current or previous generation

" }, "SpotMaxPricePercentageOverLowestPrice": { "shape": "NullablePositiveInteger", "documentation": "

[Price protection] The price protection threshold for Spot Instances, as a percentage higher than an identified Spot price. The identified Spot price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold.

The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage.

If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price.

Only one of SpotMaxPricePercentageOverLowestPrice or MaxSpotPriceAsPercentageOfOptimalOnDemandPrice can be specified. If you don't specify either, Amazon EC2 Auto Scaling will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as 999999.

" }, "MaxSpotPriceAsPercentageOfOptimalOnDemandPrice": { "shape": "NullablePositiveInteger", "documentation": "

[Price protection] The price protection threshold for Spot Instances, as a percentage of an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold.

The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage.

If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is based on the per-vCPU or per-memory price instead of the per instance price.

Only one of SpotMaxPricePercentageOverLowestPrice or MaxSpotPriceAsPercentageOfOptimalOnDemandPrice can be specified. If you don't specify either, Amazon EC2 Auto Scaling will automatically apply optimal price protection to consistently select from a wide range of instance types. To indicate no price protection threshold for Spot Instances, meaning you want to consider all instance types that match your attributes, include one of these parameters and specify a high value, such as 999999.

" }, "OnDemandMaxPricePercentageOverLowestPrice": { "shape": "NullablePositiveInteger", "documentation": "

[Price protection] The price protection threshold for On-Demand Instances, as a percentage higher than an identified On-Demand price. The identified On-Demand price is the price of the lowest priced current generation C, M, or R instance type with your specified attributes. If no current generation C, M, or R instance type matches your attributes, then the identified price is from either the lowest priced current generation instance types or, failing that, the lowest priced previous generation instance types that match your attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price exceeds your specified threshold.

The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage.

To turn off price protection, specify a high value, such as 999999.

If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is applied based on the per-vCPU or per-memory price instead of the per instance price.

Default: 20

" }, "BareMetal": { "shape": "BareMetal", "documentation": "

Indicates whether bare metal instance types are included, excluded, or required.

Default: excluded

" }, "BurstablePerformance": { "shape": "BurstablePerformance", "documentation": "

Indicates whether burstable performance instance types are included, excluded, or required. For more information, see Burstable performance instances in the Amazon EC2 User Guide for Linux Instances.

Default: excluded

" }, "RequireHibernateSupport": { "shape": "NullableBoolean", "documentation": "

Indicates whether instance types must provide On-Demand Instance hibernation support.

Default: false

" }, "NetworkInterfaceCount": { "shape": "NetworkInterfaceCountRequest", "documentation": "

The minimum and maximum number of network interfaces for an instance type.

Default: No minimum or maximum limits

" }, "LocalStorage": { "shape": "LocalStorage", "documentation": "

Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, see Amazon EC2 instance store in the Amazon EC2 User Guide for Linux Instances.

Default: included

" }, "LocalStorageTypes": { "shape": "LocalStorageTypes", "documentation": "

Indicates the type of local storage that is required.

Default: Any local storage type

" }, "TotalLocalStorageGB": { "shape": "TotalLocalStorageGBRequest", "documentation": "

The minimum and maximum total local storage size for an instance type, in GB.

Default: No minimum or maximum limits

" }, "BaselineEbsBandwidthMbps": { "shape": "BaselineEbsBandwidthMbpsRequest", "documentation": "

The minimum and maximum baseline bandwidth performance for an instance type, in Mbps. For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide for Linux Instances.

Default: No minimum or maximum limits

" }, "AcceleratorTypes": { "shape": "AcceleratorTypes", "documentation": "

Lists the accelerator types that must be on an instance type.

Default: Any accelerator type

" }, "AcceleratorCount": { "shape": "AcceleratorCountRequest", "documentation": "

The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon Web Services Inferentia chips) for an instance type.

To exclude accelerator-enabled instance types, set Max to 0.

Default: No minimum or maximum limits

" }, "AcceleratorManufacturers": { "shape": "AcceleratorManufacturers", "documentation": "

Indicates whether instance types must have accelerators by specific manufacturers.

Default: Any manufacturer

" }, "AcceleratorNames": { "shape": "AcceleratorNames", "documentation": "

Lists the accelerators that must be on an instance type.

Default: Any accelerator

" }, "AcceleratorTotalMemoryMiB": { "shape": "AcceleratorTotalMemoryMiBRequest", "documentation": "

The minimum and maximum total memory size for the accelerators on an instance type, in MiB.

Default: No minimum or maximum limits

" }, "NetworkBandwidthGbps": { "shape": "NetworkBandwidthGbpsRequest", "documentation": "

The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps).

Default: No minimum or maximum limits

" }, "AllowedInstanceTypes": { "shape": "AllowedInstanceTypes", "documentation": "

The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes.

You can use strings with one or more wild cards, represented by an asterisk (*), to allow an instance type, size, or generation. The following are examples: m5.8xlarge, c5*.*, m5a.*, r*, *3*.

For example, if you specify c5*, Amazon EC2 Auto Scaling will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, Amazon EC2 Auto Scaling will allow all the M5a instance types, but not the M5n instance types.

If you specify AllowedInstanceTypes, you can't specify ExcludedInstanceTypes.

Default: All instance types

" } }, "documentation": "

The attributes for the instance types for a mixed instances policy. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types.

When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values.

To limit the list of instance types from which Amazon EC2 Auto Scaling can identify matching instance types, you can use one of the following parameters, but not both in the same request:

You must specify VCpuCount and MemoryMiB. All other attributes are optional. Any unspecified optional attribute is set to its default.

For more information, see Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide. For help determining which instance types match your attributes before you apply them to your Auto Scaling group, see Preview instance types with specified attributes in the Amazon EC2 User Guide for Linux Instances.

" }, "InstanceReusePolicy": { "type": "structure", "members": { "ReuseOnScaleIn": { "shape": "ReuseOnScaleIn", "documentation": "

Specifies whether instances in the Auto Scaling group can be returned to the warm pool on scale in.

" } }, "documentation": "

Describes an instance reuse policy for a warm pool.

For more information, see Warm pools for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

" }, "Instances": { "type": "list", "member": { "shape": "Instance" } }, "InstancesDistribution": { "type": "structure", "members": { "OnDemandAllocationStrategy": { "shape": "XmlString", "documentation": "

The allocation strategy to apply to your On-Demand Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify.

The following lists the valid values:

lowest-price

Uses price to determine which instance types are the highest priority, launching the lowest priced instance types within an Availability Zone first. This is the default value for Auto Scaling groups that specify InstanceRequirements.

prioritized

You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling launches your highest priority instance types first. If all your On-Demand capacity cannot be fulfilled using your highest priority instance type, then Amazon EC2 Auto Scaling launches the remaining capacity using the second priority instance type, and so on. This is the default value for Auto Scaling groups that don't specify InstanceRequirements and cannot be used for groups that do.

" }, "OnDemandBaseCapacity": { "shape": "OnDemandBaseCapacity", "documentation": "

The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances. This base portion is launched first as your group scales.

This number has the same unit of measurement as the group's desired capacity. If you change the default unit of measurement (number of instances) by specifying weighted capacity values in your launch template overrides list, or by changing the default desired capacity type setting of the group, you must specify this number using the same unit of measurement.

Default: 0

" }, "OnDemandPercentageAboveBaseCapacity": { "shape": "OnDemandPercentageAboveBaseCapacity", "documentation": "

Controls the percentages of On-Demand Instances and Spot Instances for your additional capacity beyond OnDemandBaseCapacity. Expressed as a number (for example, 20 specifies 20% On-Demand Instances, 80% Spot Instances). If set to 100, only On-Demand Instances are used.

Default: 100

" }, "SpotAllocationStrategy": { "shape": "XmlString", "documentation": "

The allocation strategy to apply to your Spot Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify.

The following lists the valid values:

capacity-optimized

Requests Spot Instances using pools that are optimally chosen based on the available Spot capacity. This strategy has the lowest risk of interruption. To give certain instance types a higher chance of launching first, use capacity-optimized-prioritized.

capacity-optimized-prioritized

You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling honors the instance type priorities on a best effort basis but optimizes for capacity first. Note that if the On-Demand allocation strategy is set to prioritized, the same priority is applied when fulfilling On-Demand capacity. This is not a valid value for Auto Scaling groups that specify InstanceRequirements.

lowest-price

Requests Spot Instances using the lowest priced pools within an Availability Zone, across the number of Spot pools that you specify for the SpotInstancePools property. To ensure that your desired capacity is met, you might receive Spot Instances from several pools. This is the default value, but it might lead to high interruption rates because this strategy only considers instance price and not available capacity.

price-capacity-optimized (recommended)

The price and capacity optimized allocation strategy looks at both price and capacity to select the Spot Instance pools that are the least likely to be interrupted and have the lowest possible price.

" }, "SpotInstancePools": { "shape": "SpotInstancePools", "documentation": "

The number of Spot Instance pools across which to allocate your Spot Instances. The Spot pools are determined from the different instance types in the overrides. Valid only when the SpotAllocationStrategy is lowest-price. Value must be in the range of 1–20.

Default: 2

" }, "SpotMaxPrice": { "shape": "MixedInstanceSpotPrice", "documentation": "

The maximum price per unit hour that you are willing to pay for a Spot Instance. If your maximum price is lower than the Spot price for the instance types that you selected, your Spot Instances are not launched. We do not recommend specifying a maximum price because it can lead to increased interruptions. When Spot Instances launch, you pay the current Spot price. To remove a maximum price that you previously set, include the property but specify an empty string (\"\") for the value.

If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify one.

Valid Range: Minimum value of 0.001

" } }, "documentation": "

Use this structure to specify the distribution of On-Demand Instances and Spot Instances and the allocation strategies used to fulfill On-Demand and Spot capacities for a mixed instances policy.

" }, "InstancesToUpdate": { "type": "integer", "min": 0 }, "IntPercent": { "type": "integer", "max": 100, "min": 0 }, "IntPercent100To200": { "type": "integer", "max": 200, "min": 100 }, "IntPercent100To200Resettable": { "type": "integer", "max": 200, "min": -1 }, "IntPercentResettable": { "type": "integer", "max": 100, "min": -1 }, "LaunchConfiguration": { "type": "structure", "required": [ "LaunchConfigurationName", "ImageId", "InstanceType", "CreatedTime" ], "members": { "LaunchConfigurationName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the launch configuration.

" }, "LaunchConfigurationARN": { "shape": "ResourceName", "documentation": "

The Amazon Resource Name (ARN) of the launch configuration.

" }, "ImageId": { "shape": "XmlStringMaxLen255", "documentation": "

The ID of the Amazon Machine Image (AMI) to use to launch your EC2 instances. For more information, see Find a Linux AMI in the Amazon EC2 User Guide for Linux Instances.

" }, "KeyName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the key pair.

For more information, see Amazon EC2 Key Pairs in the Amazon EC2 User Guide for Linux Instances.

" }, "SecurityGroups": { "shape": "SecurityGroups", "documentation": "

A list that contains the security groups to assign to the instances in the Auto Scaling group. For more information, see Security Groups for Your VPC in the Amazon Virtual Private Cloud User Guide.

" }, "ClassicLinkVPCId": { "shape": "XmlStringMaxLen255", "documentation": "

Available for backward compatibility.

" }, "ClassicLinkVPCSecurityGroups": { "shape": "ClassicLinkVPCSecurityGroups", "documentation": "

Available for backward compatibility.

" }, "UserData": { "shape": "XmlStringUserData", "documentation": "

The user data to make available to the launched EC2 instances. For more information, see Instance metadata and user data (Linux) and Instance metadata and user data (Windows). If you are using a command line tool, base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide base64-encoded text. User data is limited to 16 KB.

" }, "InstanceType": { "shape": "XmlStringMaxLen255", "documentation": "

The instance type for the instances. For information about available instance types, see Available instance types in the Amazon EC2 User Guide for Linux Instances.

" }, "KernelId": { "shape": "XmlStringMaxLen255", "documentation": "

The ID of the kernel associated with the AMI.

" }, "RamdiskId": { "shape": "XmlStringMaxLen255", "documentation": "

The ID of the RAM disk associated with the AMI.

" }, "BlockDeviceMappings": { "shape": "BlockDeviceMappings", "documentation": "

The block device mapping entries that define the block devices to attach to the instances at launch. By default, the block devices specified in the block device mapping for the AMI are used. For more information, see Block Device Mapping in the Amazon EC2 User Guide for Linux Instances.

" }, "InstanceMonitoring": { "shape": "InstanceMonitoring", "documentation": "

Controls whether instances in this group are launched with detailed (true) or basic (false) monitoring.

For more information, see Configure Monitoring for Auto Scaling Instances in the Amazon EC2 Auto Scaling User Guide.

" }, "SpotPrice": { "shape": "SpotPrice", "documentation": "

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 price. For more information, see Requesting Spot Instances in the Amazon EC2 Auto Scaling User Guide.

" }, "IamInstanceProfile": { "shape": "XmlStringMaxLen1600", "documentation": "

The name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. The instance profile contains the IAM role. For more information, see IAM role for applications that run on Amazon EC2 instances in the Amazon EC2 Auto Scaling User Guide.

" }, "CreatedTime": { "shape": "TimestampType", "documentation": "

The creation date and time for the launch configuration.

" }, "EbsOptimized": { "shape": "EbsOptimized", "documentation": "

Specifies whether the launch configuration is optimized for EBS I/O (true) or not (false). For more information, see Amazon EBS-Optimized Instances in the Amazon EC2 User Guide for Linux Instances.

" }, "AssociatePublicIpAddress": { "shape": "AssociatePublicIpAddress", "documentation": "

Specifies whether to assign a public IPv4 address to the group's instances. If the instance is launched into a default subnet, the default is to assign a public IPv4 address, unless you disabled the option to assign a public IPv4 address on the subnet. If the instance is launched into a nondefault subnet, the default is not to assign a public IPv4 address, unless you enabled the option to assign a public IPv4 address on the subnet. For more information, see Launching Auto Scaling instances in a VPC in the Amazon EC2 Auto Scaling User Guide.

" }, "PlacementTenancy": { "shape": "XmlStringMaxLen64", "documentation": "

The tenancy of the instance, either default or dedicated. An instance with dedicated tenancy runs on isolated, single-tenant hardware and can only be launched into a VPC.

For more information, see Configuring instance tenancy with Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

" }, "MetadataOptions": { "shape": "InstanceMetadataOptions", "documentation": "

The metadata options for the instances. For more information, see Configuring the Instance Metadata Options in the Amazon EC2 Auto Scaling User Guide.

" } }, "documentation": "

Describes a launch configuration.

" }, "LaunchConfigurationNameType": { "type": "structure", "required": [ "LaunchConfigurationName" ], "members": { "LaunchConfigurationName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the launch configuration.

" } } }, "LaunchConfigurationNames": { "type": "list", "member": { "shape": "XmlStringMaxLen255" } }, "LaunchConfigurationNamesType": { "type": "structure", "members": { "LaunchConfigurationNames": { "shape": "LaunchConfigurationNames", "documentation": "

The launch configuration names. If you omit this property, all launch configurations are described.

Array Members: Maximum number of 50 items.

" }, "NextToken": { "shape": "XmlString", "documentation": "

The token for the next set of items to return. (You received this token from a previous call.)

" }, "MaxRecords": { "shape": "MaxRecords", "documentation": "

The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.

" } } }, "LaunchConfigurations": { "type": "list", "member": { "shape": "LaunchConfiguration" } }, "LaunchConfigurationsType": { "type": "structure", "required": [ "LaunchConfigurations" ], "members": { "LaunchConfigurations": { "shape": "LaunchConfigurations", "documentation": "

The launch configurations.

" }, "NextToken": { "shape": "XmlString", "documentation": "

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.

" } } }, "LaunchTemplate": { "type": "structure", "members": { "LaunchTemplateSpecification": { "shape": "LaunchTemplateSpecification", "documentation": "

The launch template.

" }, "Overrides": { "shape": "Overrides", "documentation": "

Any properties that you specify override the same properties in the launch template.

" } }, "documentation": "

Use this structure to specify the launch templates and instance types (overrides) for a mixed instances policy.

" }, "LaunchTemplateName": { "type": "string", "max": 128, "min": 3, "pattern": "[a-zA-Z0-9\\(\\)\\.\\-/_]+" }, "LaunchTemplateOverrides": { "type": "structure", "members": { "InstanceType": { "shape": "XmlStringMaxLen255", "documentation": "

The instance type, such as m3.xlarge. You must specify an instance type that is supported in your requested Region and Availability Zones. For more information, see Instance types in the Amazon Elastic Compute Cloud User Guide.

You can specify up to 40 instance types per Auto Scaling group.

" }, "WeightedCapacity": { "shape": "XmlStringMaxLen32", "documentation": "

If you provide a list of instance types to use, you can specify the number of capacity units provided by each instance type in terms of virtual CPUs, memory, storage, throughput, or other relative performance characteristic. When a Spot or On-Demand Instance is launched, the capacity units count toward the desired capacity. Amazon EC2 Auto Scaling launches instances until the desired capacity is totally fulfilled, even if this results in an overage. For example, if there are two units remaining to fulfill capacity, and Amazon EC2 Auto Scaling can only launch an instance with a WeightedCapacity of five units, the instance is launched, and the desired capacity is exceeded by three units. For more information, see Configuring instance weighting for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. Value must be in the range of 1–999.

If you specify a value for WeightedCapacity for one instance type, you must specify a value for WeightedCapacity for all of them.

Every Auto Scaling group has three size parameters (DesiredCapacity, MaxSize, and MinSize). Usually, you set these sizes based on a specific number of instances. However, if you configure a mixed instances policy that defines weights for the instance types, you must specify these sizes with the same units that you use for weighting instances.

" }, "LaunchTemplateSpecification": { "shape": "LaunchTemplateSpecification", "documentation": "

Provides a launch template for the specified instance type or set of instance requirements. For example, some instance types might require a launch template with a different AMI. If not provided, Amazon EC2 Auto Scaling uses the launch template that's specified in the LaunchTemplate definition. For more information, see Specifying a different launch template for an instance type in the Amazon EC2 Auto Scaling User Guide.

You can specify up to 20 launch templates per Auto Scaling group. The launch templates specified in the overrides and in the LaunchTemplate definition count towards this limit.

" }, "InstanceRequirements": { "shape": "InstanceRequirements", "documentation": "

The instance requirements. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types.

You can specify up to four separate sets of instance requirements per Auto Scaling group. This is useful for provisioning instances from different Amazon Machine Images (AMIs) in the same Auto Scaling group. To do this, create the AMIs and create a new launch template for each AMI. Then, create a compatible set of instance requirements for each launch template.

If you specify InstanceRequirements, you can't specify InstanceType.

" } }, "documentation": "

Use this structure to let Amazon EC2 Auto Scaling do the following when the Auto Scaling group has a mixed instances policy:

Specify the instance types that you want, or define your instance requirements instead and let Amazon EC2 Auto Scaling provision the available instance types that meet your requirements. This can provide Amazon EC2 Auto Scaling with a larger selection of instance types to choose from when fulfilling Spot and On-Demand capacities. You can view which instance types are matched before you apply the instance requirements to your Auto Scaling group.

After you define your instance requirements, you don't have to keep updating these settings to get new EC2 instance types automatically. Amazon EC2 Auto Scaling uses the instance requirements of the Auto Scaling group to determine whether a new EC2 instance type can be used.

" }, "LaunchTemplateSpecification": { "type": "structure", "members": { "LaunchTemplateId": { "shape": "XmlStringMaxLen255", "documentation": "

The ID of the launch template. To get the template ID, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created using the Amazon EC2 CreateLaunchTemplate API.

Conditional: You must specify either a LaunchTemplateId or a LaunchTemplateName.

" }, "LaunchTemplateName": { "shape": "LaunchTemplateName", "documentation": "

The name of the launch template. To get the template name, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created using the Amazon EC2 CreateLaunchTemplate API.

Conditional: You must specify either a LaunchTemplateId or a LaunchTemplateName.

" }, "Version": { "shape": "XmlStringMaxLen255", "documentation": "

The version number, $Latest, or $Default. To get the version number, use the Amazon EC2 DescribeLaunchTemplateVersions API operation. New launch template versions can be created using the Amazon EC2 CreateLaunchTemplateVersion API. 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.

" } }, "documentation": "

Describes the launch template and the version of the launch template that Amazon EC2 Auto Scaling uses to launch Amazon EC2 instances. For more information about launch templates, see Launch templates in the Amazon EC2 Auto Scaling User Guide.

" }, "LifecycleActionResult": { "type": "string" }, "LifecycleActionToken": { "type": "string", "max": 36, "min": 36 }, "LifecycleHook": { "type": "structure", "members": { "LifecycleHookName": { "shape": "AsciiStringMaxLen255", "documentation": "

The name of the lifecycle hook.

" }, "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group for the lifecycle hook.

" }, "LifecycleTransition": { "shape": "LifecycleTransition", "documentation": "

The lifecycle transition.

Valid values: autoscaling:EC2_INSTANCE_LAUNCHING | autoscaling:EC2_INSTANCE_TERMINATING

" }, "NotificationTargetARN": { "shape": "NotificationTargetResourceName", "documentation": "

The ARN of the target that Amazon EC2 Auto Scaling sends notifications to when an instance is in a wait state for the lifecycle hook.

" }, "RoleARN": { "shape": "XmlStringMaxLen255", "documentation": "

The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target (an Amazon SNS topic or an Amazon SQS queue).

" }, "NotificationMetadata": { "shape": "AnyPrintableAsciiStringMaxLen4000", "documentation": "

Additional information that is included any time Amazon EC2 Auto Scaling sends a message to the notification target.

" }, "HeartbeatTimeout": { "shape": "HeartbeatTimeout", "documentation": "

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 property.

" }, "GlobalTimeout": { "shape": "GlobalTimeout", "documentation": "

The maximum time, in seconds, that an instance can remain in a wait state. The maximum is 172800 seconds (48 hours) or 100 times HeartbeatTimeout, whichever is smaller.

" }, "DefaultResult": { "shape": "LifecycleActionResult", "documentation": "

The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs.

Valid values: CONTINUE | ABANDON

" } }, "documentation": "

Describes a lifecycle hook. A lifecycle hook lets you create solutions that are aware of events in the Auto Scaling instance lifecycle, and then perform a custom action on instances when the corresponding lifecycle event occurs.

" }, "LifecycleHookNames": { "type": "list", "member": { "shape": "AsciiStringMaxLen255" }, "max": 50 }, "LifecycleHookSpecification": { "type": "structure", "required": [ "LifecycleHookName", "LifecycleTransition" ], "members": { "LifecycleHookName": { "shape": "AsciiStringMaxLen255", "documentation": "

The name of the lifecycle hook.

" }, "LifecycleTransition": { "shape": "LifecycleTransition", "documentation": "

The lifecycle transition. For Auto Scaling groups, there are two major lifecycle transitions.

" }, "NotificationMetadata": { "shape": "AnyPrintableAsciiStringMaxLen4000", "documentation": "

Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to the notification target.

" }, "HeartbeatTimeout": { "shape": "HeartbeatTimeout", "documentation": "

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).

" }, "DefaultResult": { "shape": "LifecycleActionResult", "documentation": "

The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs. The default value is ABANDON.

Valid values: CONTINUE | ABANDON

" }, "NotificationTargetARN": { "shape": "NotificationTargetResourceName", "documentation": "

The Amazon Resource Name (ARN) of the notification target that Amazon EC2 Auto Scaling sends notifications to when an instance is in a wait state for the lifecycle hook. You can specify an Amazon SNS topic or an Amazon SQS queue.

" }, "RoleARN": { "shape": "XmlStringMaxLen255", "documentation": "

The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target. For information about creating this role, see Configure a notification target for a lifecycle hook in the Amazon EC2 Auto Scaling User Guide.

Valid only if the notification target is an Amazon SNS topic or an Amazon SQS queue.

" } }, "documentation": "

Describes information used to specify a lifecycle hook for an Auto Scaling group.

For more information, see Amazon EC2 Auto Scaling lifecycle hooks in the Amazon EC2 Auto Scaling User Guide.

" }, "LifecycleHookSpecifications": { "type": "list", "member": { "shape": "LifecycleHookSpecification" } }, "LifecycleHooks": { "type": "list", "member": { "shape": "LifecycleHook" } }, "LifecycleState": { "type": "string", "enum": [ "Pending", "Pending:Wait", "Pending:Proceed", "Quarantined", "InService", "Terminating", "Terminating:Wait", "Terminating:Proceed", "Terminated", "Detaching", "Detached", "EnteringStandby", "Standby", "Warmed:Pending", "Warmed:Pending:Wait", "Warmed:Pending:Proceed", "Warmed:Terminating", "Warmed:Terminating:Wait", "Warmed:Terminating:Proceed", "Warmed:Terminated", "Warmed:Stopped", "Warmed:Running", "Warmed:Hibernated" ] }, "LifecycleTransition": { "type": "string" }, "LoadBalancerNames": { "type": "list", "member": { "shape": "XmlStringMaxLen255" } }, "LoadBalancerState": { "type": "structure", "members": { "LoadBalancerName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the load balancer.

" }, "State": { "shape": "XmlStringMaxLen255", "documentation": "

One of the following load balancer states:

" } }, "documentation": "

Describes the state of a Classic Load Balancer.

" }, "LoadBalancerStates": { "type": "list", "member": { "shape": "LoadBalancerState" } }, "LoadBalancerTargetGroupState": { "type": "structure", "members": { "LoadBalancerTargetGroupARN": { "shape": "XmlStringMaxLen511", "documentation": "

The Amazon Resource Name (ARN) of the target group.

" }, "State": { "shape": "XmlStringMaxLen255", "documentation": "

The state of the target group.

" } }, "documentation": "

Describes the state of a target group.

" }, "LoadBalancerTargetGroupStates": { "type": "list", "member": { "shape": "LoadBalancerTargetGroupState" } }, "LoadForecast": { "type": "structure", "required": [ "Timestamps", "Values", "MetricSpecification" ], "members": { "Timestamps": { "shape": "PredictiveScalingForecastTimestamps", "documentation": "

The timestamps for the data points, in UTC format.

" }, "Values": { "shape": "PredictiveScalingForecastValues", "documentation": "

The values of the data points.

" }, "MetricSpecification": { "shape": "PredictiveScalingMetricSpecification", "documentation": "

The metric specification for the load forecast.

" } }, "documentation": "

A GetPredictiveScalingForecast call returns the load forecast for a predictive scaling policy. This structure includes the data points for that load forecast, along with the timestamps of those data points and the metric specification.

" }, "LoadForecasts": { "type": "list", "member": { "shape": "LoadForecast" } }, "LocalStorage": { "type": "string", "enum": [ "included", "excluded", "required" ] }, "LocalStorageType": { "type": "string", "enum": [ "hdd", "ssd" ] }, "LocalStorageTypes": { "type": "list", "member": { "shape": "LocalStorageType" } }, "MaxGroupPreparedCapacity": { "type": "integer", "min": -1 }, "MaxInstanceLifetime": { "type": "integer" }, "MaxNumberOfAutoScalingGroups": { "type": "integer" }, "MaxNumberOfLaunchConfigurations": { "type": "integer" }, "MaxRecords": { "type": "integer" }, "MemoryGiBPerVCpuRequest": { "type": "structure", "members": { "Min": { "shape": "NullablePositiveDouble", "documentation": "

The memory minimum in GiB.

" }, "Max": { "shape": "NullablePositiveDouble", "documentation": "

The memory maximum in GiB.

" } }, "documentation": "

Specifies the minimum and maximum for the MemoryGiBPerVCpu object when you specify InstanceRequirements for an Auto Scaling group.

" }, "MemoryMiBRequest": { "type": "structure", "required": [ "Min" ], "members": { "Min": { "shape": "NullablePositiveInteger", "documentation": "

The memory minimum in MiB.

" }, "Max": { "shape": "NullablePositiveInteger", "documentation": "

The memory maximum in MiB.

" } }, "documentation": "

Specifies the minimum and maximum for the MemoryMiB object when you specify InstanceRequirements for an Auto Scaling group.

" }, "Metric": { "type": "structure", "required": [ "Namespace", "MetricName" ], "members": { "Namespace": { "shape": "MetricNamespace", "documentation": "

The namespace of the metric. For more information, see the table in Amazon Web Services services that publish CloudWatch metrics in the Amazon CloudWatch User Guide.

" }, "MetricName": { "shape": "MetricName", "documentation": "

The name of the metric.

" }, "Dimensions": { "shape": "MetricDimensions", "documentation": "

The dimensions for the metric. For the list of available dimensions, see the Amazon Web Services documentation available from the table in Amazon Web Services services that publish CloudWatch metrics in the Amazon CloudWatch User Guide.

Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.

" } }, "documentation": "

Represents a specific metric.

" }, "MetricCollectionType": { "type": "structure", "members": { "Metric": { "shape": "XmlStringMaxLen255", "documentation": "

One of the following metrics:

" } }, "documentation": "

Describes a metric.

" }, "MetricCollectionTypes": { "type": "list", "member": { "shape": "MetricCollectionType" } }, "MetricDataQueries": { "type": "list", "member": { "shape": "MetricDataQuery" } }, "MetricDataQuery": { "type": "structure", "required": [ "Id" ], "members": { "Id": { "shape": "XmlStringMaxLen255", "documentation": "

A short name that identifies the object's results in the response. This name must be unique among all MetricDataQuery objects specified for a single scaling policy. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscores. The first character must be a lowercase letter.

" }, "Expression": { "shape": "XmlStringMaxLen1023", "documentation": "

The math expression to perform on the returned data, if this object is performing a math expression. This expression can use the Id of the other metrics to refer to those metrics, and can also use the Id of other expressions to use the result of those expressions.

Conditional: Within each MetricDataQuery object, you must specify either Expression or MetricStat, but not both.

" }, "MetricStat": { "shape": "MetricStat", "documentation": "

Information about the metric data to return.

Conditional: Within each MetricDataQuery object, you must specify either Expression or MetricStat, but not both.

" }, "Label": { "shape": "XmlStringMetricLabel", "documentation": "

A human-readable label for this metric or expression. This is especially useful if this is a math expression, so that you know what the value represents.

" }, "ReturnData": { "shape": "ReturnData", "documentation": "

Indicates whether to return the timestamps and raw data values of this metric.

If you use any math expressions, specify true for this value for only the final math expression that the metric specification is based on. You must specify false for ReturnData for all the other metrics and expressions used in the metric specification.

If you are only retrieving metrics and not performing any math expressions, do not specify anything for ReturnData. This sets it to its default (true).

" } }, "documentation": "

The metric data to return. Also defines whether this call is returning data for one metric only, or whether it is performing a math expression on the values of returned metric statistics to create a new time series. A time series is a series of data points, each of which is associated with a timestamp.

For more information and examples, see Advanced predictive scaling policy configurations using custom metrics in the Amazon EC2 Auto Scaling User Guide.

" }, "MetricDimension": { "type": "structure", "required": [ "Name", "Value" ], "members": { "Name": { "shape": "MetricDimensionName", "documentation": "

The name of the dimension.

" }, "Value": { "shape": "MetricDimensionValue", "documentation": "

The value of the dimension.

" } }, "documentation": "

Describes the dimension of a metric.

" }, "MetricDimensionName": { "type": "string" }, "MetricDimensionValue": { "type": "string" }, "MetricDimensions": { "type": "list", "member": { "shape": "MetricDimension" } }, "MetricGranularityType": { "type": "structure", "members": { "Granularity": { "shape": "XmlStringMaxLen255", "documentation": "

The granularity. The only valid value is 1Minute.

" } }, "documentation": "

Describes a granularity of a metric.

" }, "MetricGranularityTypes": { "type": "list", "member": { "shape": "MetricGranularityType" } }, "MetricName": { "type": "string" }, "MetricNamespace": { "type": "string" }, "MetricScale": { "type": "double" }, "MetricStat": { "type": "structure", "required": [ "Metric", "Stat" ], "members": { "Metric": { "shape": "Metric", "documentation": "

The CloudWatch metric to return, including the metric name, namespace, and dimensions. To get the exact metric name, namespace, and dimensions, inspect the Metric object that is returned by a call to ListMetrics.

" }, "Stat": { "shape": "XmlStringMetricStat", "documentation": "

The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in Statistics in the Amazon CloudWatch User Guide.

The most commonly used metrics for predictive scaling are Average and Sum.

" }, "Unit": { "shape": "MetricUnit", "documentation": "

The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the MetricDatum data type in the Amazon CloudWatch API Reference.

" } }, "documentation": "

This structure defines the CloudWatch metric to return, along with the statistic and unit.

For more information about the CloudWatch terminology below, see Amazon CloudWatch concepts in the Amazon CloudWatch User Guide.

" }, "MetricStatistic": { "type": "string", "enum": [ "Average", "Minimum", "Maximum", "SampleCount", "Sum" ] }, "MetricType": { "type": "string", "enum": [ "ASGAverageCPUUtilization", "ASGAverageNetworkIn", "ASGAverageNetworkOut", "ALBRequestCountPerTarget" ] }, "MetricUnit": { "type": "string" }, "Metrics": { "type": "list", "member": { "shape": "XmlStringMaxLen255" } }, "MinAdjustmentMagnitude": { "type": "integer" }, "MinAdjustmentStep": { "type": "integer", "deprecated": true }, "MixedInstanceSpotPrice": { "type": "string", "max": 255, "min": 0 }, "MixedInstancesPolicy": { "type": "structure", "members": { "LaunchTemplate": { "shape": "LaunchTemplate", "documentation": "

One or more launch templates and the instance types (overrides) that are used to launch EC2 instances to fulfill On-Demand and Spot capacities.

" }, "InstancesDistribution": { "shape": "InstancesDistribution", "documentation": "

The instances distribution.

" } }, "documentation": "

Use this structure to launch multiple instance types and On-Demand Instances and Spot Instances within a single Auto Scaling group.

A mixed instances policy contains information that Amazon EC2 Auto Scaling can use to launch instances and help optimize your costs. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide.

" }, "MonitoringEnabled": { "type": "boolean" }, "NetworkBandwidthGbpsRequest": { "type": "structure", "members": { "Min": { "shape": "NullablePositiveDouble", "documentation": "

The minimum amount of network bandwidth, in gigabits per second (Gbps).

" }, "Max": { "shape": "NullablePositiveDouble", "documentation": "

The maximum amount of network bandwidth, in gigabits per second (Gbps).

" } }, "documentation": "

Specifies the minimum and maximum for the NetworkBandwidthGbps object when you specify InstanceRequirements for an Auto Scaling group.

Setting the minimum bandwidth does not guarantee that your instance will achieve the minimum bandwidth. Amazon EC2 will identify instance types that support the specified minimum bandwidth, but the actual bandwidth of your instance might go below the specified minimum at times. For more information, see Available instance bandwidth in the Amazon EC2 User Guide for Linux Instances.

" }, "NetworkInterfaceCountRequest": { "type": "structure", "members": { "Min": { "shape": "NullablePositiveInteger", "documentation": "

The minimum number of network interfaces.

" }, "Max": { "shape": "NullablePositiveInteger", "documentation": "

The maximum number of network interfaces.

" } }, "documentation": "

Specifies the minimum and maximum for the NetworkInterfaceCount object when you specify InstanceRequirements for an Auto Scaling group.

" }, "NoDevice": { "type": "boolean" }, "NonZeroIntPercent": { "type": "integer", "max": 100, "min": 1 }, "NotificationConfiguration": { "type": "structure", "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "TopicARN": { "shape": "XmlStringMaxLen255", "documentation": "

The Amazon Resource Name (ARN) of the Amazon SNS topic.

" }, "NotificationType": { "shape": "XmlStringMaxLen255", "documentation": "

One of the following event notification types:

" } }, "documentation": "

Describes a notification.

" }, "NotificationConfigurations": { "type": "list", "member": { "shape": "NotificationConfiguration" } }, "NotificationTargetResourceName": { "type": "string", "max": 255, "min": 0, "pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" }, "NullableBoolean": { "type": "boolean" }, "NullablePositiveDouble": { "type": "double", "min": 0 }, "NullablePositiveInteger": { "type": "integer", "min": 0 }, "NumberOfAutoScalingGroups": { "type": "integer" }, "NumberOfLaunchConfigurations": { "type": "integer" }, "OnDemandBaseCapacity": { "type": "integer" }, "OnDemandPercentageAboveBaseCapacity": { "type": "integer" }, "Overrides": { "type": "list", "member": { "shape": "LaunchTemplateOverrides" } }, "PoliciesType": { "type": "structure", "members": { "ScalingPolicies": { "shape": "ScalingPolicies", "documentation": "

The scaling policies.

" }, "NextToken": { "shape": "XmlString", "documentation": "

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.

" } } }, "PolicyARNType": { "type": "structure", "members": { "PolicyARN": { "shape": "ResourceName", "documentation": "

The Amazon Resource Name (ARN) of the policy.

" }, "Alarms": { "shape": "Alarms", "documentation": "

The CloudWatch alarms created for the target tracking scaling policy.

" } }, "documentation": "

Contains the output of PutScalingPolicy.

" }, "PolicyIncrement": { "type": "integer" }, "PolicyNames": { "type": "list", "member": { "shape": "ResourceName" } }, "PolicyTypes": { "type": "list", "member": { "shape": "XmlStringMaxLen64" } }, "PredefinedLoadMetricType": { "type": "string", "enum": [ "ASGTotalCPUUtilization", "ASGTotalNetworkIn", "ASGTotalNetworkOut", "ALBTargetGroupRequestCount" ] }, "PredefinedMetricPairType": { "type": "string", "enum": [ "ASGCPUUtilization", "ASGNetworkIn", "ASGNetworkOut", "ALBRequestCount" ] }, "PredefinedMetricSpecification": { "type": "structure", "required": [ "PredefinedMetricType" ], "members": { "PredefinedMetricType": { "shape": "MetricType", "documentation": "

The metric type. The following predefined metrics are available:

" }, "ResourceLabel": { "shape": "XmlStringMaxLen1023", "documentation": "

A label that uniquely identifies a specific Application Load Balancer target group from which to determine the average request count served by your Auto Scaling group. You can't specify a resource label unless the target group is attached to the Auto Scaling group.

You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is:

app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff.

Where:

To find the ARN for an Application Load Balancer, use the DescribeLoadBalancers API operation. To find the ARN for the target group, use the DescribeTargetGroups API operation.

" } }, "documentation": "

Represents a predefined metric for a target tracking scaling policy to use with Amazon EC2 Auto Scaling.

" }, "PredefinedScalingMetricType": { "type": "string", "enum": [ "ASGAverageCPUUtilization", "ASGAverageNetworkIn", "ASGAverageNetworkOut", "ALBRequestCountPerTarget" ] }, "PredictiveScalingConfiguration": { "type": "structure", "required": [ "MetricSpecifications" ], "members": { "MetricSpecifications": { "shape": "PredictiveScalingMetricSpecifications", "documentation": "

This structure includes the metrics and target utilization to use for predictive scaling.

This is an array, but we currently only support a single metric specification. That is, you can specify a target value and a single metric pair, or a target value and one scaling metric and one load metric.

" }, "Mode": { "shape": "PredictiveScalingMode", "documentation": "

The predictive scaling mode. Defaults to ForecastOnly if not specified.

" }, "SchedulingBufferTime": { "shape": "PredictiveScalingSchedulingBufferTime", "documentation": "

The amount of time, in seconds, by which the instance launch time can be advanced. For example, the forecast says to add capacity at 10:00 AM, and you choose to pre-launch instances by 5 minutes. In that case, the instances will be launched at 9:55 AM. The intention is to give resources time to be provisioned. It can take a few minutes to launch an EC2 instance. The actual amount of time required depends on several factors, such as the size of the instance and whether there are startup scripts to complete.

The value must be less than the forecast interval duration of 3600 seconds (60 minutes). Defaults to 300 seconds if not specified.

" }, "MaxCapacityBreachBehavior": { "shape": "PredictiveScalingMaxCapacityBreachBehavior", "documentation": "

Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity of the Auto Scaling group. Defaults to HonorMaxCapacity if not specified.

The following are possible values:

" }, "MaxCapacityBuffer": { "shape": "PredictiveScalingMaxCapacityBuffer", "documentation": "

The size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. The value is specified as a percentage relative to the forecast capacity. For example, if the buffer is 10, this means a 10 percent buffer, such that if the forecast capacity is 50, and the maximum capacity is 40, then the effective maximum capacity is 55.

If set to 0, Amazon EC2 Auto Scaling may scale capacity higher than the maximum capacity to equal but not exceed forecast capacity.

Required if the MaxCapacityBreachBehavior property is set to IncreaseMaxCapacity, and cannot be used otherwise.

" } }, "documentation": "

Represents a predictive scaling policy configuration to use with Amazon EC2 Auto Scaling.

" }, "PredictiveScalingCustomizedCapacityMetric": { "type": "structure", "required": [ "MetricDataQueries" ], "members": { "MetricDataQueries": { "shape": "MetricDataQueries", "documentation": "

One or more metric data queries to provide the data points for a capacity metric. Use multiple metric data queries only if you are performing a math expression on returned data.

" } }, "documentation": "

Describes a customized capacity metric for a predictive scaling policy.

" }, "PredictiveScalingCustomizedLoadMetric": { "type": "structure", "required": [ "MetricDataQueries" ], "members": { "MetricDataQueries": { "shape": "MetricDataQueries", "documentation": "

One or more metric data queries to provide the data points for a load metric. Use multiple metric data queries only if you are performing a math expression on returned data.

" } }, "documentation": "

Describes a custom load metric for a predictive scaling policy.

" }, "PredictiveScalingCustomizedScalingMetric": { "type": "structure", "required": [ "MetricDataQueries" ], "members": { "MetricDataQueries": { "shape": "MetricDataQueries", "documentation": "

One or more metric data queries to provide the data points for a scaling metric. Use multiple metric data queries only if you are performing a math expression on returned data.

" } }, "documentation": "

Describes a custom scaling metric for a predictive scaling policy.

" }, "PredictiveScalingForecastTimestamps": { "type": "list", "member": { "shape": "TimestampType" } }, "PredictiveScalingForecastValues": { "type": "list", "member": { "shape": "MetricScale" } }, "PredictiveScalingMaxCapacityBreachBehavior": { "type": "string", "enum": [ "HonorMaxCapacity", "IncreaseMaxCapacity" ] }, "PredictiveScalingMaxCapacityBuffer": { "type": "integer", "max": 100, "min": 0 }, "PredictiveScalingMetricSpecification": { "type": "structure", "required": [ "TargetValue" ], "members": { "TargetValue": { "shape": "MetricScale", "documentation": "

Specifies the target utilization.

Some metrics are based on a count instead of a percentage, such as the request count for an Application Load Balancer or the number of messages in an SQS queue. If the scaling policy specifies one of these metrics, specify the target utilization as the optimal average request or message count per instance during any one-minute interval.

" }, "PredefinedMetricPairSpecification": { "shape": "PredictiveScalingPredefinedMetricPair", "documentation": "

The predefined metric pair specification from which Amazon EC2 Auto Scaling determines the appropriate scaling metric and load metric to use.

" }, "PredefinedScalingMetricSpecification": { "shape": "PredictiveScalingPredefinedScalingMetric", "documentation": "

The predefined scaling metric specification.

" }, "PredefinedLoadMetricSpecification": { "shape": "PredictiveScalingPredefinedLoadMetric", "documentation": "

The predefined load metric specification.

" }, "CustomizedScalingMetricSpecification": { "shape": "PredictiveScalingCustomizedScalingMetric", "documentation": "

The customized scaling metric specification.

" }, "CustomizedLoadMetricSpecification": { "shape": "PredictiveScalingCustomizedLoadMetric", "documentation": "

The customized load metric specification.

" }, "CustomizedCapacityMetricSpecification": { "shape": "PredictiveScalingCustomizedCapacityMetric", "documentation": "

The customized capacity metric specification.

" } }, "documentation": "

This structure specifies the metrics and target utilization settings for a predictive scaling policy.

You must specify either a metric pair, or a load metric and a scaling metric individually. Specifying a metric pair instead of individual metrics provides a simpler way to configure metrics for a scaling policy. You choose the metric pair, and the policy automatically knows the correct sum and average statistics to use for the load metric and the scaling metric.

Example

For information about using custom metrics with predictive scaling, see Advanced predictive scaling policy configurations using custom metrics in the Amazon EC2 Auto Scaling User Guide.

" }, "PredictiveScalingMetricSpecifications": { "type": "list", "member": { "shape": "PredictiveScalingMetricSpecification" } }, "PredictiveScalingMode": { "type": "string", "enum": [ "ForecastAndScale", "ForecastOnly" ] }, "PredictiveScalingPredefinedLoadMetric": { "type": "structure", "required": [ "PredefinedMetricType" ], "members": { "PredefinedMetricType": { "shape": "PredefinedLoadMetricType", "documentation": "

The metric type.

" }, "ResourceLabel": { "shape": "XmlStringMaxLen1023", "documentation": "

A label that uniquely identifies a specific Application Load Balancer target group from which to determine the request count served by your Auto Scaling group. You can't specify a resource label unless the target group is attached to the Auto Scaling group.

You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is:

app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff.

Where:

To find the ARN for an Application Load Balancer, use the DescribeLoadBalancers API operation. To find the ARN for the target group, use the DescribeTargetGroups API operation.

" } }, "documentation": "

Describes a load metric for a predictive scaling policy.

When returned in the output of DescribePolicies, it indicates that a predictive scaling policy uses individually specified load and scaling metrics instead of a metric pair.

" }, "PredictiveScalingPredefinedMetricPair": { "type": "structure", "required": [ "PredefinedMetricType" ], "members": { "PredefinedMetricType": { "shape": "PredefinedMetricPairType", "documentation": "

Indicates which metrics to use. There are two different types of metrics for each metric type: one is a load metric and one is a scaling metric. For example, if the metric type is ASGCPUUtilization, the Auto Scaling group's total CPU metric is used as the load metric, and the average CPU metric is used for the scaling metric.

" }, "ResourceLabel": { "shape": "XmlStringMaxLen1023", "documentation": "

A label that uniquely identifies a specific Application Load Balancer target group from which to determine the total and average request count served by your Auto Scaling group. You can't specify a resource label unless the target group is attached to the Auto Scaling group.

You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is:

app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff.

Where:

To find the ARN for an Application Load Balancer, use the DescribeLoadBalancers API operation. To find the ARN for the target group, use the DescribeTargetGroups API operation.

" } }, "documentation": "

Represents a metric pair for a predictive scaling policy.

" }, "PredictiveScalingPredefinedScalingMetric": { "type": "structure", "required": [ "PredefinedMetricType" ], "members": { "PredefinedMetricType": { "shape": "PredefinedScalingMetricType", "documentation": "

The metric type.

" }, "ResourceLabel": { "shape": "XmlStringMaxLen1023", "documentation": "

A label that uniquely identifies a specific Application Load Balancer target group from which to determine the average request count served by your Auto Scaling group. You can't specify a resource label unless the target group is attached to the Auto Scaling group.

You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is:

app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff.

Where:

To find the ARN for an Application Load Balancer, use the DescribeLoadBalancers API operation. To find the ARN for the target group, use the DescribeTargetGroups API operation.

" } }, "documentation": "

Describes a scaling metric for a predictive scaling policy.

When returned in the output of DescribePolicies, it indicates that a predictive scaling policy uses individually specified load and scaling metrics instead of a metric pair.

" }, "PredictiveScalingSchedulingBufferTime": { "type": "integer", "min": 0 }, "ProcessNames": { "type": "list", "member": { "shape": "XmlStringMaxLen255" } }, "ProcessType": { "type": "structure", "required": [ "ProcessName" ], "members": { "ProcessName": { "shape": "XmlStringMaxLen255", "documentation": "

One of the following processes:

" } }, "documentation": "

Describes a process type.

For more information, see Scaling processes in the Amazon EC2 Auto Scaling User Guide.

" }, "Processes": { "type": "list", "member": { "shape": "ProcessType" } }, "ProcessesType": { "type": "structure", "members": { "Processes": { "shape": "Processes", "documentation": "

The names of the process types.

" } } }, "Progress": { "type": "integer" }, "PropagateAtLaunch": { "type": "boolean" }, "ProtectedFromScaleIn": { "type": "boolean" }, "PutLifecycleHookAnswer": { "type": "structure", "members": {} }, "PutLifecycleHookType": { "type": "structure", "required": [ "LifecycleHookName", "AutoScalingGroupName" ], "members": { "LifecycleHookName": { "shape": "AsciiStringMaxLen255", "documentation": "

The name of the lifecycle hook.

" }, "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "LifecycleTransition": { "shape": "LifecycleTransition", "documentation": "

The lifecycle transition. For Auto Scaling groups, there are two major lifecycle transitions.

Required for new lifecycle hooks, but optional when updating existing hooks.

" }, "RoleARN": { "shape": "XmlStringMaxLen255", "documentation": "

The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target.

Valid only if the notification target is an Amazon SNS topic or an Amazon SQS queue. Required for new lifecycle hooks, but optional when updating existing hooks.

" }, "NotificationTargetARN": { "shape": "NotificationTargetResourceName", "documentation": "

The Amazon Resource Name (ARN) of the notification target that Amazon EC2 Auto Scaling uses to notify you when an instance is in a wait state for the lifecycle hook. You can specify either an Amazon SNS topic or an Amazon SQS queue.

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\".

" }, "NotificationMetadata": { "shape": "AnyPrintableAsciiStringMaxLen4000", "documentation": "

Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to the notification target.

" }, "HeartbeatTimeout": { "shape": "HeartbeatTimeout", "documentation": "

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).

" }, "DefaultResult": { "shape": "LifecycleActionResult", "documentation": "

The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs. The default value is ABANDON.

Valid values: CONTINUE | ABANDON

" } } }, "PutNotificationConfigurationType": { "type": "structure", "required": [ "AutoScalingGroupName", "TopicARN", "NotificationTypes" ], "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "TopicARN": { "shape": "XmlStringMaxLen255", "documentation": "

The Amazon Resource Name (ARN) of the Amazon SNS topic.

" }, "NotificationTypes": { "shape": "AutoScalingNotificationTypes", "documentation": "

The type of event that causes the notification to be sent. To query the notification types supported by Amazon EC2 Auto Scaling, call the DescribeAutoScalingNotificationTypes API.

" } } }, "PutScalingPolicyType": { "type": "structure", "required": [ "AutoScalingGroupName", "PolicyName" ], "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "PolicyName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the policy.

" }, "PolicyType": { "shape": "XmlStringMaxLen64", "documentation": "

One of the following policy types:

" }, "AdjustmentType": { "shape": "XmlStringMaxLen255", "documentation": "

Specifies how the scaling adjustment is interpreted (for example, an absolute number or a percentage). The valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.

Required if the policy type is StepScaling or SimpleScaling. For more information, see Scaling adjustment types in the Amazon EC2 Auto Scaling User Guide.

" }, "MinAdjustmentStep": { "shape": "MinAdjustmentStep", "documentation": "

Available for backward compatibility. Use MinAdjustmentMagnitude instead.

" }, "MinAdjustmentMagnitude": { "shape": "MinAdjustmentMagnitude", "documentation": "

The minimum value to scale by when the adjustment type is PercentChangeInCapacity. For example, suppose that you create a step scaling policy to scale out an Auto Scaling group by 25 percent and you specify a MinAdjustmentMagnitude of 2. If the group has 4 instances and the scaling policy is performed, 25 percent of 4 is 1. However, because you specified a MinAdjustmentMagnitude of 2, Amazon EC2 Auto Scaling scales out the group by 2 instances.

Valid only if the policy type is StepScaling or SimpleScaling. For more information, see Scaling adjustment types in the Amazon EC2 Auto Scaling User Guide.

Some Auto Scaling groups use instance weights. In this case, set the MinAdjustmentMagnitude to a value that is at least as large as your largest instance weight.

" }, "ScalingAdjustment": { "shape": "PolicyIncrement", "documentation": "

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. For exact capacity, you must specify a non-negative value.

Required if the policy type is SimpleScaling. (Not used with any other policy type.)

" }, "Cooldown": { "shape": "Cooldown", "documentation": "

A cooldown period, in seconds, that applies to a specific simple scaling policy. When a cooldown period is specified here, it overrides the default cooldown.

Valid only if the policy type is SimpleScaling. For more information, see Scaling cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

Default: None

" }, "MetricAggregationType": { "shape": "XmlStringMaxLen32", "documentation": "

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.

Valid only if the policy type is StepScaling.

" }, "StepAdjustments": { "shape": "StepAdjustments", "documentation": "

A set of adjustments that enable you to scale based on the size of the alarm breach.

Required if the policy type is StepScaling. (Not used with any other policy type.)

" }, "EstimatedInstanceWarmup": { "shape": "EstimatedInstanceWarmup", "documentation": "

Not needed if the default instance warmup is defined for the group.

The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics. This warm-up period applies to instances launched due to a specific target tracking or step scaling policy. When a warm-up period is specified here, it overrides the default instance warmup.

Valid only if the policy type is TargetTrackingScaling or StepScaling.

The default is to use the value for the default instance warmup defined for the group. If default instance warmup is null, then EstimatedInstanceWarmup falls back to the value of default cooldown.

" }, "TargetTrackingConfiguration": { "shape": "TargetTrackingConfiguration", "documentation": "

A target tracking scaling policy. Provides support for predefined or custom metrics.

The following predefined metrics are available:

If you specify ALBRequestCountPerTarget for the metric, you must specify the ResourceLabel property with the PredefinedMetricSpecification.

For more information, see TargetTrackingConfiguration in the Amazon EC2 Auto Scaling API Reference.

Required if the policy type is TargetTrackingScaling.

" }, "Enabled": { "shape": "ScalingPolicyEnabled", "documentation": "

Indicates whether the scaling policy is enabled or disabled. The default is enabled. For more information, see Disabling a scaling policy for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

" }, "PredictiveScalingConfiguration": { "shape": "PredictiveScalingConfiguration", "documentation": "

A predictive scaling policy. Provides support for predefined and custom metrics.

Predefined metrics include CPU utilization, network in/out, and the Application Load Balancer request count.

For more information, see PredictiveScalingConfiguration in the Amazon EC2 Auto Scaling API Reference.

Required if the policy type is PredictiveScaling.

" } } }, "PutScheduledUpdateGroupActionType": { "type": "structure", "required": [ "AutoScalingGroupName", "ScheduledActionName" ], "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "ScheduledActionName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of this scaling action.

" }, "Time": { "shape": "TimestampType", "documentation": "

This property is no longer used.

" }, "StartTime": { "shape": "TimestampType", "documentation": "

The date and time for this action to start, in YYYY-MM-DDThh:mm:ssZ format in UTC/GMT only and in quotes (for example, \"2021-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.

" }, "EndTime": { "shape": "TimestampType", "documentation": "

The date and time for the recurring schedule to end, in UTC. For example, \"2021-06-01T00:00:00Z\".

" }, "Recurrence": { "shape": "XmlStringMaxLen255", "documentation": "

The recurring schedule for this action. 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.

When StartTime and EndTime are specified with Recurrence, they form the boundaries of when the recurring action starts and stops.

Cron expressions use Universal Coordinated Time (UTC) by default.

" }, "MinSize": { "shape": "AutoScalingGroupMinSize", "documentation": "

The minimum size of the Auto Scaling group.

" }, "MaxSize": { "shape": "AutoScalingGroupMaxSize", "documentation": "

The maximum size of the Auto Scaling group.

" }, "DesiredCapacity": { "shape": "AutoScalingGroupDesiredCapacity", "documentation": "

The desired capacity is the initial capacity of the Auto Scaling group after the scheduled action runs and the capacity it attempts to maintain. It can scale beyond this capacity if you add more scaling conditions.

You must specify at least one of the following properties: MaxSize, MinSize, or DesiredCapacity.

" }, "TimeZone": { "shape": "XmlStringMaxLen255", "documentation": "

Specifies the time zone for a cron expression. If a time zone is not provided, UTC is used by default.

Valid values are the canonical names of the IANA time zones, derived from the IANA Time Zone Database (such as Etc/GMT+9 or Pacific/Tahiti). For more information, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.

" } } }, "PutWarmPoolAnswer": { "type": "structure", "members": {} }, "PutWarmPoolType": { "type": "structure", "required": [ "AutoScalingGroupName" ], "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "MaxGroupPreparedCapacity": { "shape": "MaxGroupPreparedCapacity", "documentation": "

Specifies the maximum number of instances that are allowed to be in the warm pool or in any state except Terminated for the Auto Scaling group. This is an optional property. Specify it only if you do not want the warm pool size to be determined by the difference between the group's maximum capacity and its desired capacity.

If a value for MaxGroupPreparedCapacity is not specified, Amazon EC2 Auto Scaling launches and maintains the difference between the group's maximum capacity and its desired capacity. If you specify a value for MaxGroupPreparedCapacity, Amazon EC2 Auto Scaling uses the difference between the MaxGroupPreparedCapacity and the desired capacity instead.

The size of the warm pool is dynamic. Only when MaxGroupPreparedCapacity and MinSize are set to the same value does the warm pool have an absolute size.

If the desired capacity of the Auto Scaling group is higher than the MaxGroupPreparedCapacity, the capacity of the warm pool is 0, unless you specify a value for MinSize. To remove a value that you previously set, include the property but specify -1 for the value.

" }, "MinSize": { "shape": "WarmPoolMinSize", "documentation": "

Specifies the minimum number of instances to maintain in the warm pool. This helps you to ensure that there is always a certain number of warmed instances available to handle traffic spikes. Defaults to 0 if not specified.

" }, "PoolState": { "shape": "WarmPoolState", "documentation": "

Sets the instance state to transition to after the lifecycle actions are complete. Default is Stopped.

" }, "InstanceReusePolicy": { "shape": "InstanceReusePolicy", "documentation": "

Indicates whether instances in the Auto Scaling group can be returned to the warm pool on scale in. The default is to terminate instances in the Auto Scaling group when the group scales in.

" } } }, "RecordLifecycleActionHeartbeatAnswer": { "type": "structure", "members": {} }, "RecordLifecycleActionHeartbeatType": { "type": "structure", "required": [ "LifecycleHookName", "AutoScalingGroupName" ], "members": { "LifecycleHookName": { "shape": "AsciiStringMaxLen255", "documentation": "

The name of the lifecycle hook.

" }, "AutoScalingGroupName": { "shape": "ResourceName", "documentation": "

The name of the Auto Scaling group.

" }, "LifecycleActionToken": { "shape": "LifecycleActionToken", "documentation": "

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.

" }, "InstanceId": { "shape": "XmlStringMaxLen19", "documentation": "

The ID of the instance.

" } } }, "RefreshInstanceWarmup": { "type": "integer", "min": 0 }, "RefreshPreferences": { "type": "structure", "members": { "MinHealthyPercentage": { "shape": "IntPercent", "documentation": "

Specifies the minimum percentage of the group to keep in service, healthy, and ready to use to support your workload to allow the operation to continue. The value is expressed as a percentage of the desired capacity of the Auto Scaling group. Value range is 0 to 100.

If you do not specify this property, the default is 90 percent, or the percentage set in the instance maintenance policy for the Auto Scaling group, if defined.

" }, "InstanceWarmup": { "shape": "RefreshInstanceWarmup", "documentation": "

A time period, in seconds, during which an instance refresh waits before moving on to replacing the next instance after a new instance enters the InService state.

This property is not required for normal usage. Instead, use the DefaultInstanceWarmup property of the Auto Scaling group. The InstanceWarmup and DefaultInstanceWarmup properties work the same way. Only specify this property if you must override the DefaultInstanceWarmup property.

If you do not specify this property, the instance warmup by default is the value of the DefaultInstanceWarmup property, if defined (which is recommended in all cases), or the HealthCheckGracePeriod property otherwise.

" }, "CheckpointPercentages": { "shape": "CheckpointPercentages", "documentation": "

(Optional) Threshold values for each checkpoint in ascending order. Each number must be unique. To replace all instances in the Auto Scaling group, the last number in the array must be 100.

For usage examples, see Adding checkpoints to an instance refresh in the Amazon EC2 Auto Scaling User Guide.

" }, "CheckpointDelay": { "shape": "CheckpointDelay", "documentation": "

(Optional) The amount of time, in seconds, to wait after a checkpoint before continuing. This property is optional, but if you specify a value for it, you must also specify a value for CheckpointPercentages. If you specify a value for CheckpointPercentages and not for CheckpointDelay, the CheckpointDelay defaults to 3600 (1 hour).

" }, "SkipMatching": { "shape": "SkipMatching", "documentation": "

(Optional) Indicates whether skip matching is enabled. If enabled (true), then Amazon EC2 Auto Scaling skips replacing instances that match the desired configuration. If no desired configuration is specified, then it skips replacing instances that have the same launch template and instance types that the Auto Scaling group was using before the start of the instance refresh. The default is false.

For more information, see Use an instance refresh with skip matching in the Amazon EC2 Auto Scaling User Guide.

" }, "AutoRollback": { "shape": "AutoRollback", "documentation": "

(Optional) Indicates whether to roll back the Auto Scaling group to its previous configuration if the instance refresh fails or a CloudWatch alarm threshold is met. The default is false.

A rollback is not supported in the following situations:

For more information, see Undo changes with a rollback in the Amazon EC2 Auto Scaling User Guide.

" }, "ScaleInProtectedInstances": { "shape": "ScaleInProtectedInstances", "documentation": "

Choose the behavior that you want Amazon EC2 Auto Scaling to use if instances protected from scale in are found.

The following lists the valid values:

Refresh

Amazon EC2 Auto Scaling replaces instances that are protected from scale in.

Ignore

Amazon EC2 Auto Scaling ignores instances that are protected from scale in and continues to replace instances that are not protected.

Wait (default)

Amazon EC2 Auto Scaling waits one hour for you to remove scale-in protection. Otherwise, the instance refresh will fail.

" }, "StandbyInstances": { "shape": "StandbyInstances", "documentation": "

Choose the behavior that you want Amazon EC2 Auto Scaling to use if instances in Standby state are found.

The following lists the valid values:

Terminate

Amazon EC2 Auto Scaling terminates instances that are in Standby.

Ignore

Amazon EC2 Auto Scaling ignores instances that are in Standby and continues to replace instances that are in the InService state.

Wait (default)

Amazon EC2 Auto Scaling waits one hour for you to return the instances to service. Otherwise, the instance refresh will fail.

" }, "AlarmSpecification": { "shape": "AlarmSpecification", "documentation": "

(Optional) The CloudWatch alarm specification. CloudWatch alarms can be used to identify any issues and fail the operation if an alarm threshold is met.

" }, "MaxHealthyPercentage": { "shape": "IntPercent100To200", "documentation": "

Specifies the maximum percentage of the group that can be in service and healthy, or pending, to support your workload when replacing instances. The value is expressed as a percentage of the desired capacity of the Auto Scaling group. Value range is 100 to 200.

If you specify MaxHealthyPercentage, you must also specify MinHealthyPercentage, and the difference between them cannot be greater than 100. A larger range increases the number of instances that can be replaced at the same time.

If you do not specify this property, the default is 100 percent, or the percentage set in the instance maintenance policy for the Auto Scaling group, if defined.

" } }, "documentation": "

Describes the preferences for an instance refresh.

" }, "RefreshStrategy": { "type": "string", "enum": [ "Rolling" ] }, "ResourceName": { "type": "string", "max": 1600, "min": 1, "pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" }, "ReturnData": { "type": "boolean" }, "ReuseOnScaleIn": { "type": "boolean" }, "RollbackDetails": { "type": "structure", "members": { "RollbackReason": { "shape": "XmlStringMaxLen1023", "documentation": "

The reason for this instance refresh rollback (for example, whether a manual or automatic rollback was initiated).

" }, "RollbackStartTime": { "shape": "TimestampType", "documentation": "

The date and time at which the rollback began.

" }, "PercentageCompleteOnRollback": { "shape": "IntPercent", "documentation": "

Indicates the value of PercentageComplete at the time the rollback started.

" }, "InstancesToUpdateOnRollback": { "shape": "InstancesToUpdate", "documentation": "

Indicates the value of InstancesToUpdate at the time the rollback started.

" }, "ProgressDetailsOnRollback": { "shape": "InstanceRefreshProgressDetails", "documentation": "

Reports progress on replacing instances in an Auto Scaling group that has a warm pool. This includes separate details for instances in the warm pool and instances in the Auto Scaling group (the live pool).

" } }, "documentation": "

Details about an instance refresh rollback.

" }, "RollbackInstanceRefreshAnswer": { "type": "structure", "members": { "InstanceRefreshId": { "shape": "XmlStringMaxLen255", "documentation": "

The instance refresh ID associated with the request. This is the unique ID assigned to the instance refresh when it was started.

" } } }, "RollbackInstanceRefreshType": { "type": "structure", "required": [ "AutoScalingGroupName" ], "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" } } }, "ScaleInProtectedInstances": { "type": "string", "enum": [ "Refresh", "Ignore", "Wait" ] }, "ScalingActivityStatusCode": { "type": "string", "enum": [ "PendingSpotBidPlacement", "WaitingForSpotInstanceRequestId", "WaitingForSpotInstanceId", "WaitingForInstanceId", "PreInService", "InProgress", "WaitingForELBConnectionDraining", "MidLifecycleAction", "WaitingForInstanceWarmup", "Successful", "Failed", "Cancelled", "WaitingForConnectionDraining" ] }, "ScalingPolicies": { "type": "list", "member": { "shape": "ScalingPolicy" } }, "ScalingPolicy": { "type": "structure", "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "PolicyName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the scaling policy.

" }, "PolicyARN": { "shape": "ResourceName", "documentation": "

The Amazon Resource Name (ARN) of the policy.

" }, "PolicyType": { "shape": "XmlStringMaxLen64", "documentation": "

One of the following policy types:

For more information, see Target tracking scaling policies and Step and simple scaling policies in the Amazon EC2 Auto Scaling User Guide.

" }, "AdjustmentType": { "shape": "XmlStringMaxLen255", "documentation": "

Specifies how the scaling adjustment is interpreted (for example, an absolute number or a percentage). The valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.

" }, "MinAdjustmentStep": { "shape": "MinAdjustmentStep", "documentation": "

Available for backward compatibility. Use MinAdjustmentMagnitude instead.

" }, "MinAdjustmentMagnitude": { "shape": "MinAdjustmentMagnitude", "documentation": "

The minimum value to scale by when the adjustment type is PercentChangeInCapacity.

" }, "ScalingAdjustment": { "shape": "PolicyIncrement", "documentation": "

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.

" }, "Cooldown": { "shape": "Cooldown", "documentation": "

The duration of the policy's cooldown period, in seconds.

" }, "StepAdjustments": { "shape": "StepAdjustments", "documentation": "

A set of adjustments that enable you to scale based on the size of the alarm breach.

" }, "MetricAggregationType": { "shape": "XmlStringMaxLen32", "documentation": "

The aggregation type for the CloudWatch metrics. The valid values are Minimum, Maximum, and Average.

" }, "EstimatedInstanceWarmup": { "shape": "EstimatedInstanceWarmup", "documentation": "

The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics.

" }, "Alarms": { "shape": "Alarms", "documentation": "

The CloudWatch alarms related to the policy.

" }, "TargetTrackingConfiguration": { "shape": "TargetTrackingConfiguration", "documentation": "

A target tracking scaling policy.

" }, "Enabled": { "shape": "ScalingPolicyEnabled", "documentation": "

Indicates whether the policy is enabled (true) or disabled (false).

" }, "PredictiveScalingConfiguration": { "shape": "PredictiveScalingConfiguration", "documentation": "

A predictive scaling policy.

" } }, "documentation": "

Describes a scaling policy.

" }, "ScalingPolicyEnabled": { "type": "boolean" }, "ScalingProcessQuery": { "type": "structure", "required": [ "AutoScalingGroupName" ], "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "ScalingProcesses": { "shape": "ProcessNames", "documentation": "

One or more of the following processes:

If you omit this property, all processes are specified.

" } } }, "ScheduledActionNames": { "type": "list", "member": { "shape": "XmlStringMaxLen255" } }, "ScheduledActionsType": { "type": "structure", "members": { "ScheduledUpdateGroupActions": { "shape": "ScheduledUpdateGroupActions", "documentation": "

The scheduled actions.

" }, "NextToken": { "shape": "XmlString", "documentation": "

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.

" } } }, "ScheduledUpdateGroupAction": { "type": "structure", "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "ScheduledActionName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the scheduled action.

" }, "ScheduledActionARN": { "shape": "ResourceName", "documentation": "

The Amazon Resource Name (ARN) of the scheduled action.

" }, "Time": { "shape": "TimestampType", "documentation": "

This property is no longer used.

" }, "StartTime": { "shape": "TimestampType", "documentation": "

The date and time in UTC for this action to start. For example, \"2019-06-01T00:00:00Z\".

" }, "EndTime": { "shape": "TimestampType", "documentation": "

The date and time in UTC for the recurring schedule to end. For example, \"2019-06-01T00:00:00Z\".

" }, "Recurrence": { "shape": "XmlStringMaxLen255", "documentation": "

The recurring schedule for the action, in Unix cron syntax format.

When StartTime and EndTime are specified with Recurrence, they form the boundaries of when the recurring action starts and stops.

" }, "MinSize": { "shape": "AutoScalingGroupMinSize", "documentation": "

The minimum size of the Auto Scaling group.

" }, "MaxSize": { "shape": "AutoScalingGroupMaxSize", "documentation": "

The maximum size of the Auto Scaling group.

" }, "DesiredCapacity": { "shape": "AutoScalingGroupDesiredCapacity", "documentation": "

The desired capacity is the initial capacity of the Auto Scaling group after the scheduled action runs and the capacity it attempts to maintain.

" }, "TimeZone": { "shape": "XmlStringMaxLen255", "documentation": "

The time zone for the cron expression.

" } }, "documentation": "

Describes a scheduled scaling action.

" }, "ScheduledUpdateGroupActionRequest": { "type": "structure", "required": [ "ScheduledActionName" ], "members": { "ScheduledActionName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the scaling action.

" }, "StartTime": { "shape": "TimestampType", "documentation": "

The date and 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.

" }, "EndTime": { "shape": "TimestampType", "documentation": "

The date and time for the recurring schedule to end, in UTC.

" }, "Recurrence": { "shape": "XmlStringMaxLen255", "documentation": "

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.

When StartTime and EndTime are specified with Recurrence, they form the boundaries of when the recurring action starts and stops.

Cron expressions use Universal Coordinated Time (UTC) by default.

" }, "MinSize": { "shape": "AutoScalingGroupMinSize", "documentation": "

The minimum size of the Auto Scaling group.

" }, "MaxSize": { "shape": "AutoScalingGroupMaxSize", "documentation": "

The maximum size of the Auto Scaling group.

" }, "DesiredCapacity": { "shape": "AutoScalingGroupDesiredCapacity", "documentation": "

The desired capacity is the initial capacity of the Auto Scaling group after the scheduled action runs and the capacity it attempts to maintain.

" }, "TimeZone": { "shape": "XmlStringMaxLen255", "documentation": "

Specifies the time zone for a cron expression. If a time zone is not provided, UTC is used by default.

Valid values are the canonical names of the IANA time zones, derived from the IANA Time Zone Database (such as Etc/GMT+9 or Pacific/Tahiti). For more information, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.

" } }, "documentation": "

Describes information used for one or more scheduled scaling action updates in a BatchPutScheduledUpdateGroupAction operation.

" }, "ScheduledUpdateGroupActionRequests": { "type": "list", "member": { "shape": "ScheduledUpdateGroupActionRequest" } }, "ScheduledUpdateGroupActions": { "type": "list", "member": { "shape": "ScheduledUpdateGroupAction" } }, "SecurityGroups": { "type": "list", "member": { "shape": "XmlString" } }, "SetDesiredCapacityType": { "type": "structure", "required": [ "AutoScalingGroupName", "DesiredCapacity" ], "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "DesiredCapacity": { "shape": "AutoScalingGroupDesiredCapacity", "documentation": "

The desired capacity is the initial capacity of the Auto Scaling group after this operation completes and the capacity it attempts to maintain.

" }, "HonorCooldown": { "shape": "HonorCooldown", "documentation": "

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.

" } } }, "SetInstanceHealthQuery": { "type": "structure", "required": [ "InstanceId", "HealthStatus" ], "members": { "InstanceId": { "shape": "XmlStringMaxLen19", "documentation": "

The ID of the instance.

" }, "HealthStatus": { "shape": "XmlStringMaxLen32", "documentation": "

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.

" }, "ShouldRespectGracePeriod": { "shape": "ShouldRespectGracePeriod", "documentation": "

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 in the Amazon EC2 Auto Scaling API Reference.

" } } }, "SetInstanceProtectionAnswer": { "type": "structure", "members": {} }, "SetInstanceProtectionQuery": { "type": "structure", "required": [ "InstanceIds", "AutoScalingGroupName", "ProtectedFromScaleIn" ], "members": { "InstanceIds": { "shape": "InstanceIds", "documentation": "

One or more instance IDs. You can specify up to 50 instances.

" }, "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "ProtectedFromScaleIn": { "shape": "ProtectedFromScaleIn", "documentation": "

Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in.

" } } }, "ShouldDecrementDesiredCapacity": { "type": "boolean" }, "ShouldRespectGracePeriod": { "type": "boolean" }, "SkipMatching": { "type": "boolean" }, "SpotInstancePools": { "type": "integer" }, "SpotPrice": { "type": "string", "max": 255, "min": 1 }, "StandbyInstances": { "type": "string", "enum": [ "Terminate", "Ignore", "Wait" ] }, "StartInstanceRefreshAnswer": { "type": "structure", "members": { "InstanceRefreshId": { "shape": "XmlStringMaxLen255", "documentation": "

A unique ID for tracking the progress of the instance refresh.

" } } }, "StartInstanceRefreshType": { "type": "structure", "required": [ "AutoScalingGroupName" ], "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "Strategy": { "shape": "RefreshStrategy", "documentation": "

The strategy to use for the instance refresh. The only valid value is Rolling.

" }, "DesiredConfiguration": { "shape": "DesiredConfiguration", "documentation": "

The desired configuration. For example, the desired configuration can specify a new launch template or a new version of the current launch template.

Once the instance refresh succeeds, Amazon EC2 Auto Scaling updates the settings of the Auto Scaling group to reflect the new desired configuration.

When you specify a new launch template or a new version of the current launch template for your desired configuration, consider enabling the SkipMatching property in preferences. If it's enabled, Amazon EC2 Auto Scaling skips replacing instances that already use the specified launch template and instance types. This can help you reduce the number of replacements that are required to apply updates.

" }, "Preferences": { "shape": "RefreshPreferences", "documentation": "

Sets your preferences for the instance refresh so that it performs as expected when you start it. Includes the instance warmup time, the minimum and maximum healthy percentages, and the behaviors that you want Amazon EC2 Auto Scaling to use if instances that are in Standby state or protected from scale in are found. You can also choose to enable additional features, such as the following:

" } } }, "StepAdjustment": { "type": "structure", "required": [ "ScalingAdjustment" ], "members": { "MetricIntervalLowerBound": { "shape": "MetricScale", "documentation": "

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.

" }, "MetricIntervalUpperBound": { "shape": "MetricScale", "documentation": "

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.

" }, "ScalingAdjustment": { "shape": "PolicyIncrement", "documentation": "

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. For exact capacity, you must specify a non-negative value.

" } }, "documentation": "

Describes information used to create a step adjustment for a step scaling policy.

For the following examples, suppose that you have an alarm with a breach threshold of 50:

There are a few rules for the step adjustments for your step policy:

For more information, see Step adjustments in the Amazon EC2 Auto Scaling User Guide.

" }, "StepAdjustments": { "type": "list", "member": { "shape": "StepAdjustment" } }, "SuspendedProcess": { "type": "structure", "members": { "ProcessName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the suspended process.

" }, "SuspensionReason": { "shape": "XmlStringMaxLen255", "documentation": "

The reason that the process was suspended.

" } }, "documentation": "

Describes an auto scaling process that has been suspended.

For more information, see Scaling processes in the Amazon EC2 Auto Scaling User Guide.

" }, "SuspendedProcesses": { "type": "list", "member": { "shape": "SuspendedProcess" } }, "Tag": { "type": "structure", "required": [ "Key" ], "members": { "ResourceId": { "shape": "XmlString", "documentation": "

The name of the Auto Scaling group.

" }, "ResourceType": { "shape": "XmlString", "documentation": "

The type of resource. The only supported value is auto-scaling-group.

" }, "Key": { "shape": "TagKey", "documentation": "

The tag key.

" }, "Value": { "shape": "TagValue", "documentation": "

The tag value.

" }, "PropagateAtLaunch": { "shape": "PropagateAtLaunch", "documentation": "

Determines whether the tag is added to new instances as they are launched in the group.

" } }, "documentation": "

Describes a tag for an Auto Scaling group.

" }, "TagDescription": { "type": "structure", "members": { "ResourceId": { "shape": "XmlString", "documentation": "

The name of the group.

" }, "ResourceType": { "shape": "XmlString", "documentation": "

The type of resource. The only supported value is auto-scaling-group.

" }, "Key": { "shape": "TagKey", "documentation": "

The tag key.

" }, "Value": { "shape": "TagValue", "documentation": "

The tag value.

" }, "PropagateAtLaunch": { "shape": "PropagateAtLaunch", "documentation": "

Determines whether the tag is added to new instances as they are launched in the group.

" } }, "documentation": "

Describes a tag for an Auto Scaling group.

" }, "TagDescriptionList": { "type": "list", "member": { "shape": "TagDescription" } }, "TagKey": { "type": "string", "max": 128, "min": 1, "pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" }, "TagValue": { "type": "string", "max": 256, "min": 0, "pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" }, "Tags": { "type": "list", "member": { "shape": "Tag" } }, "TagsType": { "type": "structure", "members": { "Tags": { "shape": "TagDescriptionList", "documentation": "

One or more tags.

" }, "NextToken": { "shape": "XmlString", "documentation": "

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.

" } } }, "TargetGroupARNs": { "type": "list", "member": { "shape": "XmlStringMaxLen511" } }, "TargetTrackingConfiguration": { "type": "structure", "required": [ "TargetValue" ], "members": { "PredefinedMetricSpecification": { "shape": "PredefinedMetricSpecification", "documentation": "

A predefined metric. You must specify either a predefined metric or a customized metric.

" }, "CustomizedMetricSpecification": { "shape": "CustomizedMetricSpecification", "documentation": "

A customized metric. You must specify either a predefined metric or a customized metric.

" }, "TargetValue": { "shape": "MetricScale", "documentation": "

The target value for the metric.

Some metrics are based on a count instead of a percentage, such as the request count for an Application Load Balancer or the number of messages in an SQS queue. If the scaling policy specifies one of these metrics, specify the target utilization as the optimal average request or message count per instance during any one-minute interval.

" }, "DisableScaleIn": { "shape": "DisableScaleIn", "documentation": "

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 false.

" } }, "documentation": "

Represents a target tracking scaling policy configuration to use with Amazon EC2 Auto Scaling.

" }, "TargetTrackingMetricDataQueries": { "type": "list", "member": { "shape": "TargetTrackingMetricDataQuery" } }, "TargetTrackingMetricDataQuery": { "type": "structure", "required": [ "Id" ], "members": { "Id": { "shape": "XmlStringMaxLen255", "documentation": "

A short name that identifies the object's results in the response. This name must be unique among all TargetTrackingMetricDataQuery objects specified for a single scaling policy. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscores. The first character must be a lowercase letter.

" }, "Expression": { "shape": "XmlStringMaxLen2047", "documentation": "

The math expression to perform on the returned data, if this object is performing a math expression. This expression can use the Id of the other metrics to refer to those metrics, and can also use the Id of other expressions to use the result of those expressions.

Conditional: Within each TargetTrackingMetricDataQuery object, you must specify either Expression or MetricStat, but not both.

" }, "MetricStat": { "shape": "TargetTrackingMetricStat", "documentation": "

Information about the metric data to return.

Conditional: Within each TargetTrackingMetricDataQuery object, you must specify either Expression or MetricStat, but not both.

" }, "Label": { "shape": "XmlStringMetricLabel", "documentation": "

A human-readable label for this metric or expression. This is especially useful if this is a math expression, so that you know what the value represents.

" }, "ReturnData": { "shape": "ReturnData", "documentation": "

Indicates whether to return the timestamps and raw data values of this metric.

If you use any math expressions, specify true for this value for only the final math expression that the metric specification is based on. You must specify false for ReturnData for all the other metrics and expressions used in the metric specification.

If you are only retrieving metrics and not performing any math expressions, do not specify anything for ReturnData. This sets it to its default (true).

" } }, "documentation": "

The metric data to return. Also defines whether this call is returning data for one metric only, or whether it is performing a math expression on the values of returned metric statistics to create a new time series. A time series is a series of data points, each of which is associated with a timestamp.

" }, "TargetTrackingMetricStat": { "type": "structure", "required": [ "Metric", "Stat" ], "members": { "Metric": { "shape": "Metric", "documentation": "

The metric to use.

" }, "Stat": { "shape": "XmlStringMetricStat", "documentation": "

The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in Statistics in the Amazon CloudWatch User Guide.

The most commonly used metric for scaling is Average.

" }, "Unit": { "shape": "MetricUnit", "documentation": "

The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the MetricDatum data type in the Amazon CloudWatch API Reference.

" } }, "documentation": "

This structure defines the CloudWatch metric to return, along with the statistic and unit.

For more information about the CloudWatch terminology below, see Amazon CloudWatch concepts in the Amazon CloudWatch User Guide.

" }, "TerminateInstanceInAutoScalingGroupType": { "type": "structure", "required": [ "InstanceId", "ShouldDecrementDesiredCapacity" ], "members": { "InstanceId": { "shape": "XmlStringMaxLen19", "documentation": "

The ID of the instance.

" }, "ShouldDecrementDesiredCapacity": { "shape": "ShouldDecrementDesiredCapacity", "documentation": "

Indicates whether terminating the instance also decrements the size of the Auto Scaling group.

" } } }, "TerminationPolicies": { "type": "list", "member": { "shape": "XmlStringMaxLen1600" } }, "TimestampType": { "type": "timestamp" }, "TotalLocalStorageGBRequest": { "type": "structure", "members": { "Min": { "shape": "NullablePositiveDouble", "documentation": "

The storage minimum in GB.

" }, "Max": { "shape": "NullablePositiveDouble", "documentation": "

The storage maximum in GB.

" } }, "documentation": "

Specifies the minimum and maximum for the TotalLocalStorageGB object when you specify InstanceRequirements for an Auto Scaling group.

" }, "TrafficSourceIdentifier": { "type": "structure", "required": [ "Identifier" ], "members": { "Identifier": { "shape": "XmlStringMaxLen511", "documentation": "

Identifies the traffic source.

For Application Load Balancers, Gateway Load Balancers, Network Load Balancers, and VPC Lattice, this will be the Amazon Resource Name (ARN) for a target group in this account and Region. For Classic Load Balancers, this will be the name of the Classic Load Balancer in this account and Region.

For example:

To get the ARN of a target group for a Application Load Balancer, Gateway Load Balancer, or Network Load Balancer, or the name of a Classic Load Balancer, use the Elastic Load Balancing DescribeTargetGroups and DescribeLoadBalancers API operations.

To get the ARN of a target group for VPC Lattice, use the VPC Lattice GetTargetGroup API operation.

" }, "Type": { "shape": "XmlStringMaxLen511", "documentation": "

Provides additional context for the value of Identifier.

The following lists the valid values:

Required if the identifier is the name of a Classic Load Balancer.

" } }, "documentation": "

Identifying information for a traffic source.

" }, "TrafficSourceState": { "type": "structure", "members": { "TrafficSource": { "shape": "XmlStringMaxLen511", "documentation": "

This is replaced by Identifier.

", "deprecated": true, "deprecatedMessage": "TrafficSource has been replaced by Identifier" }, "State": { "shape": "XmlStringMaxLen255", "documentation": "

Describes the current state of a traffic source.

The state values are as follows:

" }, "Identifier": { "shape": "XmlStringMaxLen511", "documentation": "

The unique identifier of the traffic source.

" }, "Type": { "shape": "XmlStringMaxLen511", "documentation": "

Provides additional context for the value of Identifier.

The following lists the valid values:

Required if the identifier is the name of a Classic Load Balancer.

" } }, "documentation": "

Describes the state of a traffic source.

" }, "TrafficSourceStates": { "type": "list", "member": { "shape": "TrafficSourceState" } }, "TrafficSources": { "type": "list", "member": { "shape": "TrafficSourceIdentifier" } }, "UpdateAutoScalingGroupType": { "type": "structure", "required": [ "AutoScalingGroupName" ], "members": { "AutoScalingGroupName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the Auto Scaling group.

" }, "LaunchConfigurationName": { "shape": "XmlStringMaxLen255", "documentation": "

The name of the launch configuration. If you specify LaunchConfigurationName in your update request, you can't specify LaunchTemplate or MixedInstancesPolicy.

" }, "LaunchTemplate": { "shape": "LaunchTemplateSpecification", "documentation": "

The launch template and version to use to specify the updates. If you specify LaunchTemplate in your update request, you can't specify LaunchConfigurationName or MixedInstancesPolicy.

" }, "MixedInstancesPolicy": { "shape": "MixedInstancesPolicy", "documentation": "

The mixed instances policy. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide.

" }, "MinSize": { "shape": "AutoScalingGroupMinSize", "documentation": "

The minimum size of the Auto Scaling group.

" }, "MaxSize": { "shape": "AutoScalingGroupMaxSize", "documentation": "

The maximum size of the Auto Scaling group.

With a mixed instances policy that uses instance weighting, Amazon EC2 Auto Scaling may need to go above MaxSize to meet your capacity requirements. In this event, Amazon EC2 Auto Scaling will never go above MaxSize by more than your largest instance weight (weights that define how many units each instance contributes to the desired capacity of the group).

" }, "DesiredCapacity": { "shape": "AutoScalingGroupDesiredCapacity", "documentation": "

The desired capacity is the initial capacity of the Auto Scaling group after this operation completes and the capacity it attempts to maintain. 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.

" }, "DefaultCooldown": { "shape": "Cooldown", "documentation": "

Only needed if you use simple scaling policies.

The amount of time, in seconds, between one scaling activity ending and another one starting due to simple scaling policies. For more information, see Scaling cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

" }, "AvailabilityZones": { "shape": "AvailabilityZones", "documentation": "

One or more Availability Zones for the group.

" }, "HealthCheckType": { "shape": "XmlStringMaxLen32", "documentation": "

A comma-separated value string of one or more health check types.

The valid values are EC2, ELB, and VPC_LATTICE. EC2 is the default health check and cannot be disabled. For more information, see Health checks for Auto Scaling instances in the Amazon EC2 Auto Scaling User Guide.

Only specify EC2 if you must clear a value that was previously set.

" }, "HealthCheckGracePeriod": { "shape": "HealthCheckGracePeriod", "documentation": "

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 and marking it unhealthy due to a failed health check. This is useful if your instances do not immediately pass their health checks after they enter the InService state. For more information, see Set the health check grace period for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

" }, "PlacementGroup": { "shape": "XmlStringMaxLen255", "documentation": "

The name of an existing placement group into which to launch your instances. For more information, see Placement groups in the Amazon EC2 User Guide for Linux Instances.

A cluster placement group is a logical grouping of instances within a single Availability Zone. You cannot specify multiple Availability Zones and a cluster placement group.

" }, "VPCZoneIdentifier": { "shape": "XmlStringMaxLen2047", "documentation": "

A comma-separated list of subnet IDs for a virtual private cloud (VPC). If you specify VPCZoneIdentifier with AvailabilityZones, the subnets that you specify must reside in those Availability Zones.

" }, "TerminationPolicies": { "shape": "TerminationPolicies", "documentation": "

A policy or a list of policies that are used to select the instances to terminate. The policies are executed in the order that you list them. For more information, see Work with Amazon EC2 Auto Scaling termination policies in the Amazon EC2 Auto Scaling User Guide.

Valid values: Default | AllocationStrategy | ClosestToNextInstanceHour | NewestInstance | OldestInstance | OldestLaunchConfiguration | OldestLaunchTemplate | arn:aws:lambda:region:account-id:function:my-function:my-alias

" }, "NewInstancesProtectedFromScaleIn": { "shape": "InstanceProtected", "documentation": "

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 Using instance scale-in protection in the Amazon EC2 Auto Scaling User Guide.

" }, "ServiceLinkedRoleARN": { "shape": "ResourceName", "documentation": "

The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other Amazon Web Services on your behalf. For more information, see Service-linked roles in the Amazon EC2 Auto Scaling User Guide.

" }, "MaxInstanceLifetime": { "shape": "MaxInstanceLifetime", "documentation": "

The maximum amount of time, in seconds, that an instance can be in service. The default is null. If specified, the value must be either 0 or a number equal to or greater than 86,400 seconds (1 day). To clear a previously set value, specify a new value of 0. For more information, see Replacing Auto Scaling instances based on maximum instance lifetime in the Amazon EC2 Auto Scaling User Guide.

" }, "CapacityRebalance": { "shape": "CapacityRebalanceEnabled", "documentation": "

Enables or disables Capacity Rebalancing. For more information, see Use Capacity Rebalancing to handle Amazon EC2 Spot Interruptions in the Amazon EC2 Auto Scaling User Guide.

" }, "Context": { "shape": "Context", "documentation": "

Reserved.

" }, "DesiredCapacityType": { "shape": "XmlStringMaxLen255", "documentation": "

The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports DesiredCapacityType for attribute-based instance type selection only. For more information, see Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide.

By default, Amazon EC2 Auto Scaling specifies units, which translates into number of instances.

Valid values: units | vcpu | memory-mib

" }, "DefaultInstanceWarmup": { "shape": "DefaultInstanceWarmup", "documentation": "

The amount of time, in seconds, until a new instance is considered to have finished initializing and resource consumption to become stable after it enters the InService state.

During an instance refresh, Amazon EC2 Auto Scaling waits for the warm-up period after it replaces an instance before it moves on to replacing the next instance. Amazon EC2 Auto Scaling also waits for the warm-up period before aggregating the metrics for new instances with existing instances in the Amazon CloudWatch metrics that are used for scaling, resulting in more reliable usage data. For more information, see Set the default instance warmup for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.

To manage various warm-up settings at the group level, we recommend that you set the default instance warmup, even if it is set to 0 seconds. To remove a value that you previously set, include the property but specify -1 for the value. However, we strongly recommend keeping the default instance warmup enabled by specifying a value of 0 or other nominal value.

" }, "InstanceMaintenancePolicy": { "shape": "InstanceMaintenancePolicy", "documentation": "

An instance maintenance policy. For more information, see Set instance maintenance policy in the Amazon EC2 Auto Scaling User Guide.

" } } }, "VCpuCountRequest": { "type": "structure", "required": [ "Min" ], "members": { "Min": { "shape": "NullablePositiveInteger", "documentation": "

The minimum number of vCPUs.

" }, "Max": { "shape": "NullablePositiveInteger", "documentation": "

The maximum number of vCPUs.

" } }, "documentation": "

Specifies the minimum and maximum for the VCpuCount object when you specify InstanceRequirements for an Auto Scaling group.

" }, "Values": { "type": "list", "member": { "shape": "XmlString" } }, "WarmPoolConfiguration": { "type": "structure", "members": { "MaxGroupPreparedCapacity": { "shape": "MaxGroupPreparedCapacity", "documentation": "

The maximum number of instances that are allowed to be in the warm pool or in any state except Terminated for the Auto Scaling group.

" }, "MinSize": { "shape": "WarmPoolMinSize", "documentation": "

The minimum number of instances to maintain in the warm pool.

" }, "PoolState": { "shape": "WarmPoolState", "documentation": "

The instance state to transition to after the lifecycle actions are complete.

" }, "Status": { "shape": "WarmPoolStatus", "documentation": "

The status of a warm pool that is marked for deletion.

" }, "InstanceReusePolicy": { "shape": "InstanceReusePolicy", "documentation": "

The instance reuse policy.

" } }, "documentation": "

Describes a warm pool configuration.

" }, "WarmPoolMinSize": { "type": "integer", "min": 0 }, "WarmPoolSize": { "type": "integer" }, "WarmPoolState": { "type": "string", "enum": [ "Stopped", "Running", "Hibernated" ] }, "WarmPoolStatus": { "type": "string", "enum": [ "PendingDelete" ] }, "XmlString": { "type": "string", "pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" }, "XmlStringMaxLen1023": { "type": "string", "max": 1023, "min": 1, "pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" }, "XmlStringMaxLen1600": { "type": "string", "max": 1600, "min": 1, "pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" }, "XmlStringMaxLen19": { "type": "string", "max": 19, "min": 1, "pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" }, "XmlStringMaxLen2047": { "type": "string", "max": 2047, "min": 1, "pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" }, "XmlStringMaxLen255": { "type": "string", "max": 255, "min": 1, "pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" }, "XmlStringMaxLen32": { "type": "string", "max": 32, "min": 1, "pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" }, "XmlStringMaxLen511": { "type": "string", "max": 511, "min": 1, "pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" }, "XmlStringMaxLen64": { "type": "string", "max": 64, "min": 1, "pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" }, "XmlStringMetricLabel": { "type": "string", "max": 2047, "pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" }, "XmlStringMetricStat": { "type": "string", "max": 100, "min": 1, "pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" }, "XmlStringUserData": { "type": "string", "max": 21847, "pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" } }, "documentation": "Amazon EC2 Auto Scaling

Amazon EC2 Auto Scaling is designed to automatically launch and terminate EC2 instances based on user-defined scaling policies, scheduled actions, and health checks.

For more information, see the Amazon EC2 Auto Scaling User Guide and the Amazon EC2 Auto Scaling API Reference.

" }