{ "version":"2.0", "metadata":{ "apiVersion":"2011-01-01", "endpointPrefix":"autoscaling", "protocol":"query", "serviceFullName":"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"} ], "documentation":"

Attaches one or more EC2 instances to the specified Auto Scaling group.

When you attach instances, 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 Auto Scaling User Guide.

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

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

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

For more information, see Attach a Load Balancer to Your Auto Scaling Group in the Auto Scaling User Guide.

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

Attaches one or more Classic Load Balancers to the specified Auto Scaling group.

To attach an Application Load Balancer instead, see AttachLoadBalancerTargetGroups.

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

For more information, see Attach a Load Balancer to Your Auto Scaling Group in the Auto Scaling User Guide.

" }, "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 Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Auto Scaling launches or terminates instances.

  2. (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 Auto Scaling to publish lifecycle notifications to the target.

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

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

  5. If you finish before the timeout period ends, complete the lifecycle action.

For more information, see Auto Scaling Lifecycle in the Auto Scaling User Guide.

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

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

If you exceed your maximum limit of Auto Scaling groups, which by default is 20 per region, the call fails. For information about viewing and updating this limit, see DescribeAccountLimits.

For more information, see Auto Scaling Groups in the Auto Scaling User Guide.

" }, "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, which by default is 100 per region, the call fails. For information about viewing and updating this limit, see DescribeAccountLimits.

For more information, see Launch Configurations in the Auto Scaling User Guide.

" }, "CreateOrUpdateTags":{ "name":"CreateOrUpdateTags", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"CreateOrUpdateTagsType"}, "errors":[ {"shape":"LimitExceededFault"}, {"shape":"AlreadyExistsFault"}, {"shape":"ResourceContentionFault"} ], "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 Tagging Auto Scaling Groups and Instances in the 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.

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

To remove instances from the Auto Scaling group before deleting it, call DetachInstances with the list of instances and the option to decrement the desired capacity so that Auto Scaling does not launch replacement instances.

To terminate all instances before deleting the Auto Scaling group, call UpdateAutoScalingGroup and set the minimum size and desired capacity of the Auto Scaling group to zero.

" }, "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"} ], "documentation":"

Deletes the specified Auto Scaling policy.

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

" }, "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"} ], "documentation":"

Deletes the specified tags.

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

Describes the current Auto Scaling resource limits for your AWS account.

For information about requesting an increase in these limits, see AWS Service Limits in the Amazon Web Services General Reference.

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

Describes the policy adjustment types for use with PutScalingPolicy.

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

Describes one or more Auto Scaling groups.

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

Describes one or more Auto Scaling instances.

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

Describes the notification types that are supported by Auto Scaling.

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

Describes one or more launch configurations.

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

Describes the available types of lifecycle hooks.

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

Describes 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"} ], "documentation":"

Describes the target groups for the specified Auto Scaling group.

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

Describes the load balancers for the specified Auto Scaling group.

Note that this operation describes only Classic Load Balancers. If you have Application Load Balancers, use DescribeLoadBalancerTargetGroups instead.

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

Describes the available CloudWatch metrics for Auto Scaling.

Note that the GroupStandbyInstances metric is not returned by default. You must explicitly request this metric when calling EnableMetricsCollection.

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

Describes the notification actions associated with the specified Auto Scaling group.

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

Describes the policies for the specified Auto Scaling group.

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

Describes one or more scaling activities for the specified Auto Scaling group.

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

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

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

Describes the actions scheduled for your Auto Scaling group that haven't run. To describe the actions that have already run, use DescribeScalingActivities.

" }, "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.

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

Describes the termination policies supported by Auto Scaling.

" }, "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, 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 Auto Scaling User Guide.

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

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

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

Detaches one or more Classic Load Balancers from the specified Auto Scaling group.

Note that this operation detaches only Classic Load Balancers. If you have Application Load Balancers, use DetachLoadBalancerTargetGroups instead.

When you detach a load balancer, it enters the Removing state while deregistering the instances in the group. When all instances are deregistered, then you can no longer describe the load balancer using DescribeLoadBalancers. Note that the instances remain running.

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

Disables group metrics for the specified Auto Scaling group.

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

Enables group metrics for the specified Auto Scaling group. For more information, see Monitoring Your Auto Scaling Groups and Instances in the 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.

For more information, see Temporarily Removing Instances from Your Auto Scaling Group in the Auto Scaling User Guide.

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

Executes the specified 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.

For more information, see Temporarily Removing Instances from Your Auto Scaling Group in the 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.

A lifecycle hook tells Auto Scaling that you want to perform an action on an instance that is not actively in service; for example, either when the instance launches or before the instance terminates.

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

  1. (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Auto Scaling launches or terminates instances.

  2. (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 Auto Scaling to publish lifecycle notifications to the target.

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

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

  5. If you finish before the timeout period ends, complete the lifecycle action.

For more information, see Auto Scaling Lifecycle Hooks in the 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. For information about updating this limit, see AWS Service Limits in the Amazon Web Services General Reference.

" }, "PutNotificationConfiguration":{ "name":"PutNotificationConfiguration", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"PutNotificationConfigurationType"}, "errors":[ {"shape":"LimitExceededFault"}, {"shape":"ResourceContentionFault"} ], "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 SNS Notifications When Your Auto Scaling Group Scales in the Auto Scaling User Guide.

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

Creates or updates a policy for an Auto Scaling group. To update an existing policy, use the existing policy name and set the parameters you want to change. Any existing parameter not changed in an update to an existing policy is not changed in this update request.

If you exceed your maximum limit of step adjustments, which by default is 20 per region, the call fails. For information about updating this limit, see AWS Service Limits in the Amazon Web Services General Reference.

" }, "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. When updating a scheduled scaling action, if you leave a parameter unspecified, the corresponding value remains unchanged.

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

" }, "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 PutLifecycleHook.

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

  1. (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Auto Scaling launches or terminates instances.

  2. (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 Auto Scaling to publish lifecycle notifications to the target.

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

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

  5. If you finish before the timeout period ends, complete the lifecycle action.

For more information, see Auto Scaling Lifecycle in the 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 Auto Scaling Processes in the Auto Scaling User Guide.

" }, "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.

For more information about desired capacity, see What Is Auto Scaling? in the 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 in the 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.

For more information, see Instance Protection in the Auto Scaling User Guide.

" }, "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.

Note that if you suspend either the Launch or Terminate process types, it can prevent other process types from functioning properly.

To resume processes that have been suspended, use ResumeProcesses.

For more information, see Suspending and Resuming Auto Scaling Processes in the Auto Scaling User Guide.

" }, "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 call simply makes a termination request. The instance is not terminated immediately.

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

Updates the configuration for the specified Auto Scaling group.

The new settings take effect on any scaling activities after this call returns. Scaling activities that are currently in progress aren't affected.

To update an Auto Scaling group with a launch configuration with InstanceMonitoring set to false, you must first disable the collection of group metrics. Otherwise, you will get an error. If you have previously enabled the collection of group metrics, you can disable it using DisableMetricsCollection.

Note the following:

" } }, "shapes":{ "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":"

The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

" } } }, "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.

" } }, "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.

For more information, see Dynamic Scaling in the Auto Scaling User Guide.

" }, "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.

" }, "Alarms":{ "type":"list", "member":{"shape":"Alarm"} }, "AlreadyExistsFault":{ "type":"structure", "members":{ "message":{ "shape":"XmlStringMaxLen255", "documentation":"

" } }, "documentation":"

You already have an Auto Scaling group or launch configuration with this name.

", "error":{ "code":"AlreadyExists", "httpStatusCode":400, "senderFault":true }, "exception":true }, "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":"

One or more instance IDs.

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

The name of the group.

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

The name of the Auto Scaling group.

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

The Amazon Resource Names (ARN) of the target groups.

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

The name of the group.

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

One or more load balancer names.

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

The name of the group.

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

The Amazon Resource Name (ARN) of the group.

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

The name of the associated launch configuration.

" }, "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.

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

The amount of time, in seconds, after a scaling activity completes before another scaling activity can start.

" }, "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":"

The service to use for the health checks. The valid values are EC2 and ELB.

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

The amount of time, in seconds, that Auto Scaling waits before checking the health status of an EC2 instance that has come into service.

" }, "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 you'll launch your instances, if any. For more information, see Placement Groups in the Amazon Elastic Compute Cloud User Guide.

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

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

If you specify VPCZoneIdentifier and AvailabilityZones, ensure that the Availability Zones of the subnets match the values for AvailabilityZones.

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

The metrics enabled for the group.

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

The current state of the group when DeleteAutoScalingGroup 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 Auto Scaling when scaling in.

" } }, "documentation":"

Describes an Auto Scaling group.

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

The group names. If you omit this parameter, 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.

" } } }, "AutoScalingGroups":{ "type":"list", "member":{"shape":"AutoScalingGroup"} }, "AutoScalingGroupsType":{ "type":"structure", "required":["AutoScalingGroups"], "members":{ "AutoScalingGroups":{ "shape":"AutoScalingGroups", "documentation":"

The groups.

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

The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

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

The ID of the instance.

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

The name of the Auto Scaling group associated with the instance.

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

The Availability Zone for the instance.

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

The lifecycle state for the instance. For more information, see Auto Scaling Lifecycle in the Auto Scaling User Guide.

" }, "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 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.

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

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

" } }, "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":"

The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

" } } }, "AutoScalingNotificationTypes":{ "type":"list", "member":{"shape":"XmlStringMaxLen255"} }, "AvailabilityZones":{ "type":"list", "member":{"shape":"XmlStringMaxLen255"}, "min":1 }, "BlockDeviceEbsDeleteOnTermination":{"type":"boolean"}, "BlockDeviceEbsEncrypted":{"type":"boolean"}, "BlockDeviceEbsIops":{ "type":"integer", "max":20000, "min":100 }, "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 virtual device (for example, ephemeral0).

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

The device name exposed to the EC2 instance (for example, /dev/sdh or xvdh).

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

The information about the Amazon EBS volume.

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

Suppresses a device mapping.

If this parameter is true for the root device, the instance might fail the EC2 health check. Auto Scaling launches a replacement instance if the instance fails the health check.

" } }, "documentation":"

Describes a block device mapping.

" }, "BlockDeviceMappings":{ "type":"list", "member":{"shape":"BlockDeviceMapping"} }, "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 group for the lifecycle hook.

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

A universally unique identifier (UUID) that identifies a specific lifecycle action associated with an instance. 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. This parameter can be either CONTINUE or ABANDON.

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

The ID of the instance.

" } } }, "Cooldown":{"type":"integer"}, "CreateAutoScalingGroupType":{ "type":"structure", "required":[ "AutoScalingGroupName", "MinSize", "MaxSize" ], "members":{ "AutoScalingGroupName":{ "shape":"XmlStringMaxLen255", "documentation":"

The name of the group. This name must be unique within the scope of your AWS account.

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

The name of the launch configuration. Alternatively, specify an EC2 instance instead of a launch configuration.

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

The ID of the instance used to create a launch configuration for the group. Alternatively, specify a launch configuration instead of an EC2 instance.

When you specify an ID of an instance, Auto Scaling creates a new launch configuration and associates it with the group. This launch configuration derives its attributes from the specified instance, with the exception of the block device mapping.

For more information, see Create an Auto Scaling Group Using an EC2 Instance in the Auto Scaling User Guide.

" }, "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 number of EC2 instances that should be running in the group. This number must be greater than or equal to the minimum size of the group and less than or equal to the maximum size of the group. If you do not specify a desired capacity, the default is the minimum size of the group.

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

The amount of time, in seconds, after a scaling activity completes before another scaling activity can start. The default is 300.

For more information, see Auto Scaling Cooldowns in the Auto Scaling User Guide.

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

One or more Availability Zones for the group. This parameter is optional if you specify one or more subnets.

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

One or more Classic Load Balancers. To specify an Application Load Balancer, use TargetGroupARNs instead.

For more information, see Using a Load Balancer With an Auto Scaling Group in the Auto Scaling User Guide.

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

The Amazon Resource Names (ARN) of the target groups.

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

The service to use for the health checks. The valid values are EC2 and ELB.

By default, health checks use Amazon EC2 instance status checks to determine the health of an instance. For more information, see Health Checks in the Auto Scaling User Guide.

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

The amount of time, in seconds, that Auto Scaling waits before checking the health status of an EC2 instance that has come into service. During this time, any health check failures for the instance are ignored. The default is 0.

This parameter is required if you are adding an ELB health check.

For more information, see Health Checks in the Auto Scaling User Guide.

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

The name of the placement group into which you'll launch your instances, if any. For more information, see Placement Groups in the Amazon Elastic Compute Cloud User Guide.

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

A comma-separated list of subnet identifiers for your virtual private cloud (VPC).

If you specify subnets and Availability Zones with this call, ensure that the subnets' Availability Zones match the Availability Zones specified.

For more information, see Launching Auto Scaling Instances in a VPC in the Auto Scaling User Guide.

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

One or more termination policies used to select the instance to terminate. These policies are executed in the order that they are listed.

For more information, see Controlling Which Instances Auto Scaling Terminates During Scale In in the Auto Scaling User Guide.

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

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

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

One or more tags.

For more information, see Tagging Auto Scaling Groups and Instances in the 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 within the scope of your AWS account.

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

The ID of the Amazon Machine Image (AMI) to use to launch your EC2 instances.

If you do not specify InstanceId, you must specify ImageId.

For more information, see Finding an AMI in the Amazon Elastic Compute Cloud User Guide.

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

The name of the key pair. For more information, see Amazon EC2 Key Pairs in the Amazon Elastic Compute Cloud User Guide.

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

One or more security groups with which to associate the instances.

If your instances are launched in EC2-Classic, you can either specify security group names or the security group IDs. For more information about security groups for EC2-Classic, see Amazon EC2 Security Groups in the Amazon Elastic Compute Cloud User Guide.

If your instances are launched into a VPC, specify security group IDs. For more information, see Security Groups for Your VPC in the Amazon Virtual Private Cloud User Guide.

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

The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. This parameter is supported only if you are launching EC2-Classic instances. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide.

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

The IDs of one or more security groups for the specified ClassicLink-enabled VPC. This parameter is required if you specify a ClassicLink-enabled VPC, and is not supported otherwise. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide.

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

The user data to make available to the launched EC2 instances. For more information, see Instance Metadata and User Data in the Amazon Elastic Compute Cloud User Guide.

" }, "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, with the exception of the block device mapping.

If you do not specify InstanceId, you must specify both ImageId and InstanceType.

To create a launch configuration with a block device mapping or override any other instance attributes, specify them as part of the same request.

For more information, see Create a Launch Configuration Using an EC2 Instance in the Auto Scaling User Guide.

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

The instance type of the EC2 instance.

If you do not specify InstanceId, you must specify InstanceType.

For information about available instance types, see Available Instance Types in the Amazon Elastic Compute Cloud User Guide.

" }, "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":"

One or more mappings that specify how block devices are exposed to the instance. For more information, see Block Device Mapping in the Amazon Elastic Compute Cloud User Guide.

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

Enables detailed monitoring (true) or basic monitoring (false) for the Auto Scaling instances. The default is true.

" }, "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 market price. For more information, see Launching Spot Instances in Your Auto Scaling Group in the 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.

EC2 instances launched with an IAM role will automatically have AWS security credentials available. You can use IAM roles with Auto Scaling to automatically enable applications running on your EC2 instances to securely access other AWS resources. For more information, see Launch Auto Scaling Instances with an IAM Role in the Auto Scaling User Guide.

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

Indicates whether the instance is optimized for Amazon EBS I/O. By default, the instance is not optimized for EBS I/O. The optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization is not available with all instance types. Additional usage charges apply. For more information, see Amazon EBS-Optimized Instances in the Amazon Elastic Compute Cloud User Guide.

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

Used for groups that launch instances into a virtual private cloud (VPC). Specifies whether to assign a public IP address to each instance. For more information, see Launching Auto Scaling Instances in a VPC in the Auto Scaling User Guide.

If you specify this parameter, be sure to specify at least one subnet when you create your group.

Default: If the instance is launched into a default subnet, the default is true. If the instance is launched into a nondefault subnet, the default is false. For more information, see Supported Platforms in the Amazon Elastic Compute Cloud User Guide.

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

The tenancy of the instance. An instance with a tenancy of dedicated runs on single-tenant hardware and can only be launched into a VPC.

You must set the value of this parameter to dedicated if want to launch Dedicated Instances into a shared tenancy VPC (VPC with instance placement tenancy attribute set to default).

If you specify this parameter, be sure to specify at least one subnet when you create your group.

For more information, see Launching Auto Scaling Instances in a VPC in the Auto Scaling User Guide.

Valid values: default | dedicated

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

One or more tags.

" } } }, "DeleteAutoScalingGroupType":{ "type":"structure", "required":["AutoScalingGroupName"], "members":{ "AutoScalingGroupName":{ "shape":"ResourceName", "documentation":"

The name of the group to delete.

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

Specifies that the group will be deleted along with all instances associated with the group, without waiting for all instances to be terminated. This parameter also deletes any lifecycle actions associated with the group.

" } } }, "DeleteLifecycleHookAnswer":{ "type":"structure", "members":{ } }, "DeleteLifecycleHookType":{ "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 for the lifecycle hook.

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

The name of the Auto Scaling group.

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

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

" } } }, "DeletePolicyType":{ "type":"structure", "required":["PolicyName"], "members":{ "AutoScalingGroupName":{ "shape":"ResourceName", "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":"ResourceName", "documentation":"

The name of the Auto Scaling group.

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

The name of the action to delete.

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

One or more tags.

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

The maximum number of groups allowed for your AWS account. The default limit is 20 per region.

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

The maximum number of launch configurations allowed for your AWS account. The default limit is 100 per region.

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

The current number of groups for your AWS account.

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

The current number of launch configurations for your AWS account.

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

The policy adjustment types.

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

The instances to describe; up to 50 instance IDs. If you omit this parameter, all Auto Scaling instances are described. If you specify an ID that does not exist, it is ignored with no error.

" }, "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.

" }, "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.

" } } }, "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":"ResourceName", "documentation":"

The name of the group.

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

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

" } } }, "DescribeLoadBalancerTargetGroupsRequest":{ "type":"structure", "required":["AutoScalingGroupName"], "members":{ "AutoScalingGroupName":{ "shape":"ResourceName", "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.

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

Information about the target groups.

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

The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

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

The name of the 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.

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

The load balancers.

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

The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

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

One or more 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":"

The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

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

The name of the 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":"ResourceName", "documentation":"

The name of the group.

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

One or more policy names or policy ARNs to be described. If you omit this parameter, all policy names are described. If an group name is provided, the results are limited to that group. This list is limited to 50 items. If you specify an unknown policy name, it is ignored with no error.

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

One or more policy types. Valid values are SimpleScaling and StepScaling.

" }, "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 parameter, all activities for the past six weeks are described. If you specify an Auto Scaling group, the results are limited to that group. The list of requested activities cannot contain more than 50 items. If unknown activities are requested, they are ignored with no error.

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

The name of the group.

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

The maximum number of items to return with this call. The default 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":"ResourceName", "documentation":"

The name of the group.

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

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

You can describe up to a maximum of 50 instances with a single call. If there are more items to return, the call returns a token. To get the next set of items, repeat the call with the returned token.

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

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

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

The latest scheduled start time to return. If scheduled action names are provided, this parameter 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":"

A filter used to scope the tags to return.

" }, "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 Auto Scaling (OldestInstance, OldestLaunchConfiguration, NewestInstance, ClosestToNextInstanceHour, and Default).

" } } }, "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":"

One or more instance IDs.

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

The name of the group.

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

If True, 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":"ResourceName", "documentation":"

The name of the Auto Scaling group.

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

The Amazon Resource Names (ARN) of the target groups.

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

The name of the Auto Scaling group.

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

One or more load balancer names.

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

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

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

One or more of the following metrics. If you omit this parameter, all metrics are disabled.

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

The ID of the snapshot.

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

The volume size, in GiB. For standard volumes, specify a value from 1 to 1,024. For io1 volumes, specify a value from 4 to 16,384. For gp2 volumes, specify a value from 1 to 16,384. If you specify a snapshot, the volume size must be equal to or larger than the snapshot size.

Default: If you create a volume from a snapshot and you don't specify a volume size, the default is the snapshot size.

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

The volume type. For more information, see Amazon EBS Volume Types in the Amazon Elastic Compute Cloud User Guide.

Valid values: standard | io1 | gp2

Default: standard

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

Indicates whether the volume is deleted on instance termination.

Default: true

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

The number of I/O operations per second (IOPS) to provision for the volume.

Constraint: Required when the volume type is io1.

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

Indicates whether the volume should be encrypted. Encrypted EBS volumes must be attached to instances that support Amazon EBS encryption. Volumes that are created from encrypted snapshots are automatically encrypted. There is no way to create an encrypted volume from an unencrypted snapshot or an unencrypted volume from an encrypted snapshot. For more information, see Amazon EBS Encryption in the Amazon Elastic Compute Cloud User Guide.

" } }, "documentation":"

Describes an Amazon EBS volume.

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

The name or ARN of the Auto Scaling group.

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

One or more of the following metrics. If you omit this parameter, all metrics are enabled.

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

The granularity to associate with the metrics to collect. The only valid value is 1Minute.

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

One of the following metrics:

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

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

" } }, "documentation":"

Describes an enabled 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":"

One or more instances to move into Standby mode. You must specify at least one instance ID.

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

The name of the Auto Scaling group.

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

Specifies whether the instances moved to Standby mode count as part of the Auto Scaling group's desired capacity. If set, the desired capacity for the Auto Scaling group decrements by the number of instances moved to Standby mode.

" } } }, "EstimatedInstanceWarmup":{"type":"integer"}, "ExecutePolicyType":{ "type":"structure", "required":["PolicyName"], "members":{ "AutoScalingGroupName":{ "shape":"ResourceName", "documentation":"

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

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

The name or ARN of the policy.

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

If this parameter is true, Auto Scaling waits for the cooldown period to complete before executing the policy. Otherwise, Auto Scaling executes the policy without waiting for the cooldown period to complete.

This parameter is not supported if the policy type is StepScaling.

For more information, see Auto Scaling Cooldowns in the 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.

This parameter is required if the policy type is StepScaling and not supported otherwise.

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

The breach threshold for the alarm.

This parameter is 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":"

One or more instance IDs. You must specify at least one instance ID.

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

The name of the Auto Scaling group.

" } } }, "Filter":{ "type":"structure", "members":{ "Name":{ "shape":"XmlString", "documentation":"

The name of the filter. The valid values are: \"auto-scaling-group\", \"key\", \"value\", and \"propagate-at-launch\".

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

The value of the filter.

" } }, "documentation":"

Describes a filter.

" }, "Filters":{ "type":"list", "member":{"shape":"Filter"} }, "ForceDelete":{"type":"boolean"}, "GlobalTimeout":{"type":"integer"}, "HealthCheckGracePeriod":{"type":"integer"}, "HeartbeatTimeout":{"type":"integer"}, "HonorCooldown":{"type":"boolean"}, "Instance":{ "type":"structure", "required":[ "InstanceId", "AvailabilityZone", "LifecycleState", "HealthStatus", "LaunchConfigurationName", "ProtectedFromScaleIn" ], "members":{ "InstanceId":{ "shape":"XmlStringMaxLen19", "documentation":"

The ID of the 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. Note that the Quarantined state is not used.

" }, "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 Auto Scaling should terminate and replace it.

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

The launch configuration associated with the instance.

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

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

" } }, "documentation":"

Describes an EC2 instance.

" }, "InstanceIds":{ "type":"list", "member":{"shape":"XmlStringMaxLen19"} }, "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"}, "Instances":{ "type":"list", "member":{"shape":"Instance"} }, "InvalidNextToken":{ "type":"structure", "members":{ "message":{ "shape":"XmlStringMaxLen255", "documentation":"

" } }, "documentation":"

The NextToken value is not valid.

", "error":{ "code":"InvalidNextToken", "httpStatusCode":400, "senderFault":true }, "exception":true }, "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).

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

The name of the key pair.

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

The security groups to associate with the instances.

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

The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. This parameter can only be used if you are launching EC2-Classic instances. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide.

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

The IDs of one or more security groups for the VPC specified in ClassicLinkVPCId. This parameter is required if you specify a ClassicLink-enabled VPC, and cannot be used otherwise. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide.

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

The user data available to the instances.

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

The instance type for the 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":"

A block device mapping, which specifies the block devices for the instance.

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

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

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

The price to bid when launching Spot Instances.

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

The name or Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance.

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

The creation date and time for the launch configuration.

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

Controls whether the instance is optimized for EBS I/O (true) or not (false).

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

[EC2-VPC] Indicates whether to assign a public IP address to each instance.

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

The tenancy of the instance, either default or dedicated. An instance with dedicated tenancy runs in an isolated, single-tenant hardware and can only be launched into a VPC.

" } }, "documentation":"

Describes a launch configuration.

" }, "LaunchConfigurationNameType":{ "type":"structure", "required":["LaunchConfigurationName"], "members":{ "LaunchConfigurationName":{ "shape":"ResourceName", "documentation":"

The name of the launch configuration.

" } } }, "LaunchConfigurationNames":{ "type":"list", "member":{"shape":"ResourceName"} }, "LaunchConfigurationNamesType":{ "type":"structure", "members":{ "LaunchConfigurationNames":{ "shape":"LaunchConfigurationNames", "documentation":"

The launch configuration names. If you omit this parameter, all launch configurations 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.

" } } }, "LaunchConfigurations":{ "type":"list", "member":{"shape":"LaunchConfiguration"} }, "LaunchConfigurationsType":{ "type":"structure", "required":["LaunchConfigurations"], "members":{ "LaunchConfigurations":{ "shape":"LaunchConfigurations", "documentation":"

The launch configurations.

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

The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

" } } }, "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":"ResourceName", "documentation":"

The name of the Auto Scaling group for the lifecycle hook.

" }, "LifecycleTransition":{ "shape":"LifecycleTransition", "documentation":"

The state of the EC2 instance to which you want to attach the lifecycle hook. For a list of lifecycle hook types, see DescribeLifecycleHookTypes.

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

The ARN of the notification target that Auto Scaling uses to notify you when an instance is in the transition state for the lifecycle hook. This ARN target can be either an SQS queue or an SNS topic. The notification message sent to the target includes the following:

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

The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target.

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

Additional information that you want to include any time 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 default is 3600 seconds (1 hour). When the lifecycle hook times out, Auto Scaling performs the default action. You can prevent the lifecycle hook from timing out by calling RecordLifecycleActionHeartbeat.

" }, "GlobalTimeout":{ "shape":"GlobalTimeout", "documentation":"

The maximum time, in seconds, that an instance can remain in a Pending:Wait or Terminating:Wait state. The maximum is 172800 seconds (48 hours) or 100 times HeartbeatTimeout, whichever is smaller.

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

Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. The valid values are CONTINUE and ABANDON. The default value is CONTINUE.

" } }, "documentation":"

Describes a lifecycle hook, which tells Auto Scaling that you want to perform an action when an instance launches or terminates. When you have a lifecycle hook in place, the Auto Scaling group will either:

For more information, see Auto Scaling Lifecycle in the Auto Scaling User Guide.

" }, "LifecycleHookNames":{ "type":"list", "member":{"shape":"AsciiStringMaxLen255"} }, "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" ] }, "LifecycleTransition":{"type":"string"}, "LimitExceededFault":{ "type":"structure", "members":{ "message":{ "shape":"XmlStringMaxLen255", "documentation":"

" } }, "documentation":"

You have already reached a limit for your Auto Scaling resources (for example, groups, launch configurations, or lifecycle hooks). For more information, see DescribeAccountLimits.

", "error":{ "code":"LimitExceeded", "httpStatusCode":400, "senderFault":true }, "exception":true }, "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.

If you specify a load balancer when creating the Auto Scaling group, the state of the load balancer is InService.

If you attach a load balancer to an existing Auto Scaling group, the initial state is Adding. The state transitions to Added after all instances in the group are registered with the load balancer. If ELB health checks are enabled for the load balancer, the state transitions to InService after at least one instance in the group passes the health check. If EC2 health checks are enabled instead, the load balancer remains in the Added state.

" }, "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.

If you attach a target group to an existing Auto Scaling group, the initial state is Adding. The state transitions to Added after all Auto Scaling instances are registered with the target group. If ELB health checks are enabled, the state transitions to InService after at least one Auto Scaling instance passes the health check. If EC2 health checks are enabled instead, the target group remains in the Added state.

" }, "LoadBalancerTargetGroupStates":{ "type":"list", "member":{"shape":"LoadBalancerTargetGroupState"} }, "MaxNumberOfAutoScalingGroups":{"type":"integer"}, "MaxNumberOfLaunchConfigurations":{"type":"integer"}, "MaxRecords":{"type":"integer"}, "MetricCollectionType":{ "type":"structure", "members":{ "Metric":{ "shape":"XmlStringMaxLen255", "documentation":"

One of the following metrics:

" } }, "documentation":"

Describes a metric.

" }, "MetricCollectionTypes":{ "type":"list", "member":{"shape":"MetricCollectionType"} }, "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"} }, "MetricScale":{"type":"double"}, "Metrics":{ "type":"list", "member":{"shape":"XmlStringMaxLen255"} }, "MinAdjustmentMagnitude":{"type":"integer"}, "MinAdjustmentStep":{ "type":"integer", "deprecated":true }, "MonitoringEnabled":{"type":"boolean"}, "NoDevice":{"type":"boolean"}, "NotificationConfiguration":{ "type":"structure", "members":{ "AutoScalingGroupName":{ "shape":"ResourceName", "documentation":"

The name of the group.

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

The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (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":1600, "min":0, "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" }, "NumberOfAutoScalingGroups":{"type":"integer"}, "NumberOfLaunchConfigurations":{"type":"integer"}, "PoliciesType":{ "type":"structure", "members":{ "ScalingPolicies":{ "shape":"ScalingPolicies", "documentation":"

The scaling policies.

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

The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

" } } }, "PolicyARNType":{ "type":"structure", "members":{ "PolicyARN":{ "shape":"ResourceName", "documentation":"

The Amazon Resource Name (ARN) of the policy.

" } } }, "PolicyIncrement":{"type":"integer"}, "PolicyNames":{ "type":"list", "member":{"shape":"ResourceName"} }, "PolicyTypes":{ "type":"list", "member":{"shape":"XmlStringMaxLen64"} }, "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 Auto Scaling Processes in the 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":"ResourceName", "documentation":"

The name of the Auto Scaling group to which you want to assign the lifecycle hook.

" }, "LifecycleTransition":{ "shape":"LifecycleTransition", "documentation":"

The instance state to which you want to attach the lifecycle hook. For a list of lifecycle hook types, see DescribeLifecycleHookTypes.

This parameter is required for new lifecycle hooks, but optional when updating existing hooks.

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

The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target.

This parameter is required for new lifecycle hooks, but optional when updating existing hooks.

" }, "NotificationTargetARN":{ "shape":"NotificationTargetResourceName", "documentation":"

The ARN of the notification target that Auto Scaling will use to notify you when an instance is in the transition state for the lifecycle hook. This target can be either an SQS queue or an SNS topic. If you specify an empty string, this overrides the current ARN.

This operation uses the JSON format when sending notifications to an Amazon SQS queue, and an email key/value pair format when sending notifications to an Amazon SNS topic.

When you specify a notification target, Auto Scaling sends it a test message. Test messages contains the following additional key/value pair: \"Event\": \"autoscaling:TEST_NOTIFICATION\".

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

Contains additional information that you want to include any time Auto Scaling sends a message to the notification target.

" }, "HeartbeatTimeout":{ "shape":"HeartbeatTimeout", "documentation":"

The amount of time, in seconds, that can elapse before the lifecycle hook times out. When the lifecycle hook times out, Auto Scaling performs the default action. You can prevent the lifecycle hook from timing out by calling RecordLifecycleActionHeartbeat. The default is 3600 seconds (1 hour).

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

Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. This parameter can be either CONTINUE or ABANDON. The default value is ABANDON.

" } } }, "PutNotificationConfigurationType":{ "type":"structure", "required":[ "AutoScalingGroupName", "TopicARN", "NotificationTypes" ], "members":{ "AutoScalingGroupName":{ "shape":"ResourceName", "documentation":"

The name of the Auto Scaling group.

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

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

" }, "NotificationTypes":{ "shape":"AutoScalingNotificationTypes", "documentation":"

The type of event that will cause the notification to be sent. For details about notification types supported by Auto Scaling, see DescribeAutoScalingNotificationTypes.

" } } }, "PutScalingPolicyType":{ "type":"structure", "required":[ "AutoScalingGroupName", "PolicyName", "AdjustmentType" ], "members":{ "AutoScalingGroupName":{ "shape":"ResourceName", "documentation":"

The name or ARN of the group.

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

The name of the policy.

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

The policy type. Valid values are SimpleScaling and StepScaling. If the policy type is null, the value is treated as SimpleScaling.

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

The adjustment type. Valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.

For more information, see Dynamic Scaling in the Auto Scaling User Guide.

" }, "MinAdjustmentStep":{ "shape":"MinAdjustmentStep", "documentation":"

Available for backward compatibility. Use MinAdjustmentMagnitude instead.

" }, "MinAdjustmentMagnitude":{ "shape":"MinAdjustmentMagnitude", "documentation":"

The minimum number of instances to scale. If the value of AdjustmentType is PercentChangeInCapacity, the scaling policy changes the DesiredCapacity of the Auto Scaling group by at least this many instances. Otherwise, the error is ValidationError.

" }, "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.

This parameter is required if the policy type is SimpleScaling and not supported otherwise.

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

The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start. If this parameter is not specified, the default cooldown period for the group applies.

This parameter is not supported unless the policy type is SimpleScaling.

For more information, see Auto Scaling Cooldowns in the Auto Scaling User Guide.

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

The aggregation type for the CloudWatch metrics. Valid values are Minimum, Maximum, and Average. If the aggregation type is null, the value is treated as Average.

This parameter is not supported if the policy type is SimpleScaling.

" }, "StepAdjustments":{ "shape":"StepAdjustments", "documentation":"

A set of adjustments that enable you to scale based on the size of the alarm breach.

This parameter is required if the policy type is StepScaling and not supported otherwise.

" }, "EstimatedInstanceWarmup":{ "shape":"EstimatedInstanceWarmup", "documentation":"

The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics. The default is to use the value specified for the default cooldown period for the group.

This parameter is not supported if the policy type is SimpleScaling.

" } } }, "PutScheduledUpdateGroupActionType":{ "type":"structure", "required":[ "AutoScalingGroupName", "ScheduledActionName" ], "members":{ "AutoScalingGroupName":{ "shape":"ResourceName", "documentation":"

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

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

The name of this scaling action.

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

This parameter is deprecated.

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

The time for this action to start, in \"YYYY-MM-DDThh:mm:ssZ\" format in UTC/GMT only (for example, 2014-06-01T00:00:00Z).

If you specify Recurrence and StartTime, Auto Scaling performs the action at this time, and then performs the action based on the specified recurrence.

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

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

The time for the recurring schedule to end. Auto Scaling does not perform the action after this time.

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

The recurring schedule for this action, in Unix cron syntax format. For more information, see Cron in Wikipedia.

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

The minimum size for the Auto Scaling group.

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

The maximum size for the Auto Scaling group.

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

The number of EC2 instances that should be running in the group.

" } } }, "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 for the hook.

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

A token that uniquely identifies a specific lifecycle action associated with an instance. Auto Scaling sends this token to the notification target you specified when you created the lifecycle hook.

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

The ID of the instance.

" } } }, "ResourceContentionFault":{ "type":"structure", "members":{ "message":{ "shape":"XmlStringMaxLen255", "documentation":"

" } }, "documentation":"

You already have a pending update to an Auto Scaling resource (for example, a group, instance, or load balancer).

", "error":{ "code":"ResourceContention", "httpStatusCode":500, "senderFault":true }, "exception":true }, "ResourceInUseFault":{ "type":"structure", "members":{ "message":{ "shape":"XmlStringMaxLen255", "documentation":"

" } }, "documentation":"

The operation can't be performed because the resource is in use.

", "error":{ "code":"ResourceInUse", "httpStatusCode":400, "senderFault":true }, "exception":true }, "ResourceName":{ "type":"string", "max":1600, "min":1, "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" }, "ScalingActivityInProgressFault":{ "type":"structure", "members":{ "message":{ "shape":"XmlStringMaxLen255", "documentation":"

" } }, "documentation":"

The operation can't be performed because there are scaling activities in progress.

", "error":{ "code":"ScalingActivityInProgress", "httpStatusCode":400, "senderFault":true }, "exception":true }, "ScalingActivityStatusCode":{ "type":"string", "enum":[ "PendingSpotBidPlacement", "WaitingForSpotInstanceRequestId", "WaitingForSpotInstanceId", "WaitingForInstanceId", "PreInService", "InProgress", "WaitingForELBConnectionDraining", "MidLifecycleAction", "WaitingForInstanceWarmup", "Successful", "Failed", "Cancelled" ] }, "ScalingPolicies":{ "type":"list", "member":{"shape":"ScalingPolicy"} }, "ScalingPolicy":{ "type":"structure", "members":{ "AutoScalingGroupName":{ "shape":"XmlStringMaxLen255", "documentation":"

The name of the Auto Scaling group associated with this scaling policy.

" }, "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":"

The policy type. Valid values are SimpleScaling and StepScaling.

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

The adjustment type, which specifies how ScalingAdjustment is interpreted. Valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.

" }, "MinAdjustmentStep":{ "shape":"MinAdjustmentStep", "documentation":"

Available for backward compatibility. Use MinAdjustmentMagnitude instead.

" }, "MinAdjustmentMagnitude":{ "shape":"MinAdjustmentMagnitude", "documentation":"

The minimum number of instances to scale. If the value of AdjustmentType is PercentChangeInCapacity, the scaling policy changes the DesiredCapacity of the Auto Scaling group by at least this many instances. Otherwise, the error is ValidationError.

" }, "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 amount of time, in seconds, after a scaling activity completes before any further dynamic scaling activities can start.

" }, "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. 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.

" } }, "documentation":"

Describes a scaling policy.

" }, "ScalingProcessQuery":{ "type":"structure", "required":["AutoScalingGroupName"], "members":{ "AutoScalingGroupName":{ "shape":"ResourceName", "documentation":"

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

" }, "ScalingProcesses":{ "shape":"ProcessNames", "documentation":"

One or more of the following processes. If you omit this parameter, all processes are specified.

" } } }, "ScheduledActionNames":{ "type":"list", "member":{"shape":"ResourceName"} }, "ScheduledActionsType":{ "type":"structure", "members":{ "ScheduledUpdateGroupActions":{ "shape":"ScheduledUpdateGroupActions", "documentation":"

The scheduled actions.

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

The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

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

The name of the 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 parameter is deprecated.

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

The date and time that the action is scheduled to begin. This date and time can be up to one month in the future.

When StartTime and EndTime are specified with Recurrence, they form the boundaries of when the recurring action will start and stop.

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

The date and time that the action is scheduled to end. This date and time can be up to one month in the future.

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

The recurring schedule for the action.

" }, "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 number of instances you prefer to maintain in the group.

" } }, "documentation":"

Describes a scheduled update to an Auto Scaling group.

" }, "ScheduledUpdateGroupActions":{ "type":"list", "member":{"shape":"ScheduledUpdateGroupAction"} }, "SecurityGroups":{ "type":"list", "member":{"shape":"XmlString"} }, "SetDesiredCapacityType":{ "type":"structure", "required":[ "AutoScalingGroupName", "DesiredCapacity" ], "members":{ "AutoScalingGroupName":{ "shape":"ResourceName", "documentation":"

The name of the Auto Scaling group.

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

The number of EC2 instances that should be running in the Auto Scaling group.

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

By default, SetDesiredCapacity overrides any cooldown period associated with the Auto Scaling group. Specify True to make Auto Scaling to wait for the cool-down period associated with the Auto Scaling group to complete before initiating a scaling activity to set your Auto Scaling group to its new capacity.

" } } }, "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 if you want the instance to remain in service. Set to Unhealthy if you want the instance to be out of service. Auto Scaling will terminate and replace 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 will respect the grace period. Set this to False, if you do not want the call to respect the grace period associated with the group.

For more information, see the description of the health check grace period for CreateAutoScalingGroup.

" } } }, "SetInstanceProtectionAnswer":{ "type":"structure", "members":{ } }, "SetInstanceProtectionQuery":{ "type":"structure", "required":[ "InstanceIds", "AutoScalingGroupName", "ProtectedFromScaleIn" ], "members":{ "InstanceIds":{ "shape":"InstanceIds", "documentation":"

One or more instance IDs.

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

The name of the group.

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

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

" } } }, "ShouldDecrementDesiredCapacity":{"type":"boolean"}, "ShouldRespectGracePeriod":{"type":"boolean"}, "SpotPrice":{ "type":"string", "max":255, "min":1 }, "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.

" } }, "documentation":"

Describes an adjustment based on the difference between the value of the aggregated CloudWatch metric and the breach threshold that you've defined for the alarm.

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:

" }, "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 ProcessType.

" }, "SuspendedProcesses":{ "type":"list", "member":{"shape":"SuspendedProcess"} }, "Tag":{ "type":"structure", "required":["Key"], "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.

" }, "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":"

The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

" } } }, "TargetGroupARNs":{ "type":"list", "member":{"shape":"XmlStringMaxLen511"} }, "TerminateInstanceInAutoScalingGroupType":{ "type":"structure", "required":[ "InstanceId", "ShouldDecrementDesiredCapacity" ], "members":{ "InstanceId":{ "shape":"XmlStringMaxLen19", "documentation":"

The ID of the instance.

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

If true, terminating the instance also decrements the size of the Auto Scaling group.

" } } }, "TerminationPolicies":{ "type":"list", "member":{"shape":"XmlStringMaxLen1600"} }, "TimestampType":{"type":"timestamp"}, "UpdateAutoScalingGroupType":{ "type":"structure", "required":["AutoScalingGroupName"], "members":{ "AutoScalingGroupName":{ "shape":"ResourceName", "documentation":"

The name of the Auto Scaling group.

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

The name of the launch configuration.

" }, "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 number of EC2 instances that should be running in the Auto Scaling group. This number must be greater than or equal to the minimum size of the group and less than or equal to the maximum size of the group.

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

The amount of time, in seconds, after a scaling activity completes before another scaling activity can start. The default is 300.

For more information, see Auto Scaling Cooldowns in the Auto Scaling User Guide.

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

One or more Availability Zones for the group.

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

The service to use for the health checks. The valid values are EC2 and ELB.

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

The amount of time, in seconds, that Auto Scaling waits before checking the health status of an EC2 instance that has come into service. The default is 0.

For more information, see Health Checks in the Auto Scaling User Guide.

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

The name of the placement group into which you'll launch your instances, if any. For more information, see Placement Groups in the Amazon Elastic Compute Cloud User Guide.

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

The ID of the subnet, if you are launching into a VPC. You can specify several subnets in a comma-separated list.

When you specify VPCZoneIdentifier with AvailabilityZones, ensure that the subnets' Availability Zones match the values you specify for AvailabilityZones.

For more information, see Launching Auto Scaling Instances in a VPC in the Auto Scaling User Guide.

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

A standalone termination policy or a list of termination policies used to select the instance to terminate. The policies are executed in the order that they are listed.

For more information, see Controlling Which Instances Auto Scaling Terminates During Scale In in the Auto Scaling User Guide.

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

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

" } } }, "Values":{ "type":"list", "member":{"shape":"XmlString"} }, "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]*" }, "XmlStringUserData":{ "type":"string", "max":21847, "pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" } }, "documentation":"Auto Scaling

Auto Scaling is designed to automatically launch or terminate EC2 instances based on user-defined policies, schedules, and health checks. Use this service in conjunction with the Amazon CloudWatch and Elastic Load Balancing services.

" }