{ "smithy": "1.0", "metadata": { "suppressions": [ { "id": "HttpMethodSemantics", "namespace": "*" }, { "id": "HttpResponseCodeSemantics", "namespace": "*" }, { "id": "PaginatedTrait", "namespace": "*" }, { "id": "HttpHeaderTrait", "namespace": "*" }, { "id": "HttpUriConflict", "namespace": "*" }, { "id": "Service", "namespace": "*" } ] }, "shapes": { "com.amazonaws.autoscaling#ActiveInstanceRefreshNotFoundFault": { "type": "structure", "members": { "message": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255" } }, "traits": { "smithy.api#documentation": "
The request failed because an active instance refresh for the specified Auto Scaling group was\n not found.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.autoscaling#Activities": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#Activity" } }, "com.amazonaws.autoscaling#ActivitiesType": { "type": "structure", "members": { "Activities": { "target": "com.amazonaws.autoscaling#Activities", "traits": { "smithy.api#documentation": "The scaling activities. Activities are sorted by start time. Activities still in\n progress are described first.
", "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.autoscaling#XmlString", "traits": { "smithy.api#documentation": "A string that indicates that the response contains more items than can be returned in\n a single response. To receive additional items, specify this string for the\n NextToken
value when requesting the next set of items. This value is\n null when there are no more items to return.
The ID of the activity.
", "smithy.api#required": {} } }, "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
", "smithy.api#required": {} } }, "Description": { "target": "com.amazonaws.autoscaling#XmlString", "traits": { "smithy.api#documentation": "A friendly, more verbose description of the activity.
" } }, "Cause": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen1023", "traits": { "smithy.api#documentation": "The reason the activity began.
", "smithy.api#required": {} } }, "StartTime": { "target": "com.amazonaws.autoscaling#TimestampType", "traits": { "smithy.api#documentation": "The start time of the activity.
", "smithy.api#required": {} } }, "EndTime": { "target": "com.amazonaws.autoscaling#TimestampType", "traits": { "smithy.api#documentation": "The end time of the activity.
" } }, "StatusCode": { "target": "com.amazonaws.autoscaling#ScalingActivityStatusCode", "traits": { "smithy.api#documentation": "The current status of the activity.
", "smithy.api#required": {} } }, "StatusMessage": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "A friendly, more verbose description of the activity status.
" } }, "Progress": { "target": "com.amazonaws.autoscaling#Progress", "traits": { "smithy.api#documentation": "A value between 0 and 100 that indicates the progress of the activity.
" } }, "Details": { "target": "com.amazonaws.autoscaling#XmlString", "traits": { "smithy.api#documentation": "The details about the activity.
" } }, "AutoScalingGroupState": { "target": "com.amazonaws.autoscaling#AutoScalingGroupState", "traits": { "smithy.api#documentation": "The state of the Auto Scaling group, which is either InService
or\n Deleted
.
The Amazon Resource Name (ARN) of the Auto Scaling group.
" } } }, "traits": { "smithy.api#documentation": "Describes scaling activity, which is a long-running process that represents a change\n to your Auto Scaling group, such as changing its size or replacing an instance.
" } }, "com.amazonaws.autoscaling#ActivityIds": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#XmlString" } }, "com.amazonaws.autoscaling#ActivityType": { "type": "structure", "members": { "Activity": { "target": "com.amazonaws.autoscaling#Activity", "traits": { "smithy.api#documentation": "A scaling activity.
" } } } }, "com.amazonaws.autoscaling#AdjustmentType": { "type": "structure", "members": { "AdjustmentType": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The policy adjustment type. The valid values are ChangeInCapacity
,\n ExactCapacity
, and PercentChangeInCapacity
.
Describes a policy adjustment type.
" } }, "com.amazonaws.autoscaling#AdjustmentTypes": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#AdjustmentType" } }, "com.amazonaws.autoscaling#Alarm": { "type": "structure", "members": { "AlarmName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the alarm.
" } }, "AlarmARN": { "target": "com.amazonaws.autoscaling#ResourceName", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the alarm.
" } } }, "traits": { "smithy.api#documentation": "Describes an alarm.
" } }, "com.amazonaws.autoscaling#Alarms": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#Alarm" } }, "com.amazonaws.autoscaling#AlreadyExistsFault": { "type": "structure", "members": { "message": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "" } } }, "traits": { "smithy.api#documentation": "You already have an Auto Scaling group or launch configuration with this name.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.autoscaling#AsciiStringMaxLen255": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 255 }, "smithy.api#pattern": "[A-Za-z0-9\\-_\\/]+" } }, "com.amazonaws.autoscaling#AssociatePublicIpAddress": { "type": "boolean", "traits": { "smithy.api#box": {} } }, "com.amazonaws.autoscaling#AttachInstances": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#AttachInstancesQuery" }, "errors": [ { "target": "com.amazonaws.autoscaling#ResourceContentionFault" }, { "target": "com.amazonaws.autoscaling#ServiceLinkedRoleFailure" } ], "traits": { "smithy.api#documentation": "Attaches one or more EC2 instances to the specified Auto Scaling group.
\nWhen you attach instances, Amazon EC2 Auto Scaling increases the desired capacity of the group by the\n number of instances being attached. If the number of instances being attached plus the\n desired capacity of the group exceeds the maximum size of the group, the operation\n fails.
\nIf there is a Classic Load Balancer attached to your Auto Scaling group, the instances are\n also registered with the load balancer. If there are target groups attached to your Auto Scaling\n group, the instances are also registered with the target groups.
\nFor more information, see Attach EC2 instances to\n your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.
" } }, "com.amazonaws.autoscaling#AttachInstancesQuery": { "type": "structure", "members": { "InstanceIds": { "target": "com.amazonaws.autoscaling#InstanceIds", "traits": { "smithy.api#documentation": "The IDs of the instances. You can specify up to 20 instances.
" } }, "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
", "smithy.api#required": {} } } } }, "com.amazonaws.autoscaling#AttachLoadBalancerTargetGroups": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#AttachLoadBalancerTargetGroupsType" }, "output": { "target": "com.amazonaws.autoscaling#AttachLoadBalancerTargetGroupsResultType" }, "errors": [ { "target": "com.amazonaws.autoscaling#ResourceContentionFault" }, { "target": "com.amazonaws.autoscaling#ServiceLinkedRoleFailure" } ], "traits": { "smithy.api#documentation": "Attaches one or more target groups to the specified Auto Scaling group.
\nThis operation is used with the following load balancer types:
\nApplication Load Balancer - Operates at the application layer (layer 7) and\n supports HTTP and HTTPS.
\nNetwork Load Balancer - Operates at the transport layer (layer 4) and\n supports TCP, TLS, and UDP.
\nGateway Load Balancer - Operates at the network layer (layer 3).
\nTo describe the target groups for an Auto Scaling group, call the DescribeLoadBalancerTargetGroups API. To detach the target group from\n the Auto Scaling group, call the DetachLoadBalancerTargetGroups API.
\nFor more information, see Elastic Load Balancing and\n Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.
" } }, "com.amazonaws.autoscaling#AttachLoadBalancerTargetGroupsResultType": { "type": "structure", "members": {} }, "com.amazonaws.autoscaling#AttachLoadBalancerTargetGroupsType": { "type": "structure", "members": { "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
", "smithy.api#required": {} } }, "TargetGroupARNs": { "target": "com.amazonaws.autoscaling#TargetGroupARNs", "traits": { "smithy.api#documentation": "The Amazon Resource Names (ARN) of the target groups. You can specify up to 10 target\n groups. To get the ARN of a target group, use the Elastic Load Balancing DescribeTargetGroups API operation.
", "smithy.api#required": {} } } } }, "com.amazonaws.autoscaling#AttachLoadBalancers": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#AttachLoadBalancersType" }, "output": { "target": "com.amazonaws.autoscaling#AttachLoadBalancersResultType" }, "errors": [ { "target": "com.amazonaws.autoscaling#ResourceContentionFault" }, { "target": "com.amazonaws.autoscaling#ServiceLinkedRoleFailure" } ], "traits": { "smithy.api#documentation": "To attach an Application Load Balancer, Network Load Balancer, or Gateway Load\n Balancer, use the AttachLoadBalancerTargetGroups API operation\n instead.
\nAttaches one or more Classic Load Balancers to the specified Auto Scaling group. Amazon EC2 Auto Scaling\n registers the running instances with these Classic Load Balancers.
\nTo describe the load balancers for an Auto Scaling group, call the DescribeLoadBalancers API. To detach the load balancer from the Auto Scaling\n group, call the DetachLoadBalancers API.
\nFor more information, see Elastic Load Balancing and\n Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.
" } }, "com.amazonaws.autoscaling#AttachLoadBalancersResultType": { "type": "structure", "members": {} }, "com.amazonaws.autoscaling#AttachLoadBalancersType": { "type": "structure", "members": { "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
", "smithy.api#required": {} } }, "LoadBalancerNames": { "target": "com.amazonaws.autoscaling#LoadBalancerNames", "traits": { "smithy.api#documentation": "The names of the load balancers. You can specify up to 10 load balancers.
", "smithy.api#required": {} } } } }, "com.amazonaws.autoscaling#AutoScalingGroup": { "type": "structure", "members": { "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
", "smithy.api#required": {} } }, "AutoScalingGroupARN": { "target": "com.amazonaws.autoscaling#ResourceName", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Auto Scaling group.
" } }, "LaunchConfigurationName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the associated launch configuration.
" } }, "LaunchTemplate": { "target": "com.amazonaws.autoscaling#LaunchTemplateSpecification", "traits": { "smithy.api#documentation": "The launch template for the group.
" } }, "MixedInstancesPolicy": { "target": "com.amazonaws.autoscaling#MixedInstancesPolicy", "traits": { "smithy.api#documentation": "The mixed instances policy for the group.
" } }, "MinSize": { "target": "com.amazonaws.autoscaling#AutoScalingGroupMinSize", "traits": { "smithy.api#documentation": "The minimum size of the group.
", "smithy.api#required": {} } }, "MaxSize": { "target": "com.amazonaws.autoscaling#AutoScalingGroupMaxSize", "traits": { "smithy.api#documentation": "The maximum size of the group.
", "smithy.api#required": {} } }, "DesiredCapacity": { "target": "com.amazonaws.autoscaling#AutoScalingGroupDesiredCapacity", "traits": { "smithy.api#documentation": "The desired size of the group.
", "smithy.api#required": {} } }, "PredictedCapacity": { "target": "com.amazonaws.autoscaling#AutoScalingGroupPredictedCapacity", "traits": { "smithy.api#documentation": "The predicted capacity of the group when it has a predictive scaling policy.
" } }, "DefaultCooldown": { "target": "com.amazonaws.autoscaling#Cooldown", "traits": { "smithy.api#documentation": "The duration of the default cooldown period, in seconds.
", "smithy.api#required": {} } }, "AvailabilityZones": { "target": "com.amazonaws.autoscaling#AvailabilityZones", "traits": { "smithy.api#documentation": "One or more Availability Zones for the group.
", "smithy.api#required": {} } }, "LoadBalancerNames": { "target": "com.amazonaws.autoscaling#LoadBalancerNames", "traits": { "smithy.api#documentation": "One or more load balancers associated with the group.
" } }, "TargetGroupARNs": { "target": "com.amazonaws.autoscaling#TargetGroupARNs", "traits": { "smithy.api#documentation": "The Amazon Resource Names (ARN) of the target groups for your load balancer.
" } }, "HealthCheckType": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen32", "traits": { "smithy.api#documentation": "The service to use for the health checks. The valid values are EC2
and\n ELB
. If you configure an Auto Scaling group to use ELB health checks, it\n considers the instance unhealthy if it fails either the EC2 status checks or the load\n balancer health checks.
The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status\n of an EC2 instance that has come into service.
" } }, "Instances": { "target": "com.amazonaws.autoscaling#Instances", "traits": { "smithy.api#documentation": "The EC2 instances associated with the group.
" } }, "CreatedTime": { "target": "com.amazonaws.autoscaling#TimestampType", "traits": { "smithy.api#documentation": "The date and time the group was created.
", "smithy.api#required": {} } }, "SuspendedProcesses": { "target": "com.amazonaws.autoscaling#SuspendedProcesses", "traits": { "smithy.api#documentation": "The suspended processes associated with the group.
" } }, "PlacementGroup": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the placement group into which to launch your instances, if any.
" } }, "VPCZoneIdentifier": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen2047", "traits": { "smithy.api#documentation": "One or more subnet IDs, if applicable, separated by commas.
" } }, "EnabledMetrics": { "target": "com.amazonaws.autoscaling#EnabledMetrics", "traits": { "smithy.api#documentation": "The metrics enabled for the group.
" } }, "Status": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The current state of the group when the DeleteAutoScalingGroup\n operation is in progress.
" } }, "Tags": { "target": "com.amazonaws.autoscaling#TagDescriptionList", "traits": { "smithy.api#documentation": "The tags for the group.
" } }, "TerminationPolicies": { "target": "com.amazonaws.autoscaling#TerminationPolicies", "traits": { "smithy.api#documentation": "The termination policies for the group.
" } }, "NewInstancesProtectedFromScaleIn": { "target": "com.amazonaws.autoscaling#InstanceProtected", "traits": { "smithy.api#documentation": "Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling\n when scaling in.
" } }, "ServiceLinkedRoleARN": { "target": "com.amazonaws.autoscaling#ResourceName", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to\n call other AWS services on your behalf.
" } }, "MaxInstanceLifetime": { "target": "com.amazonaws.autoscaling#MaxInstanceLifetime", "traits": { "smithy.api#documentation": "The maximum amount of time, in seconds, that an instance can be in service.
\nValid Range: Minimum value of 0.
" } }, "CapacityRebalance": { "target": "com.amazonaws.autoscaling#CapacityRebalanceEnabled", "traits": { "smithy.api#documentation": "Indicates whether Capacity Rebalancing is enabled.
" } }, "WarmPoolConfiguration": { "target": "com.amazonaws.autoscaling#WarmPoolConfiguration", "traits": { "smithy.api#documentation": "The warm pool for the group.
" } }, "WarmPoolSize": { "target": "com.amazonaws.autoscaling#WarmPoolSize", "traits": { "smithy.api#documentation": "The current size of the warm pool.
" } } }, "traits": { "smithy.api#documentation": "Describes an Auto Scaling group.
" } }, "com.amazonaws.autoscaling#AutoScalingGroupDesiredCapacity": { "type": "integer", "traits": { "smithy.api#box": {} } }, "com.amazonaws.autoscaling#AutoScalingGroupMaxSize": { "type": "integer", "traits": { "smithy.api#box": {} } }, "com.amazonaws.autoscaling#AutoScalingGroupMinSize": { "type": "integer", "traits": { "smithy.api#box": {} } }, "com.amazonaws.autoscaling#AutoScalingGroupNames": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255" } }, "com.amazonaws.autoscaling#AutoScalingGroupNamesType": { "type": "structure", "members": { "AutoScalingGroupNames": { "target": "com.amazonaws.autoscaling#AutoScalingGroupNames", "traits": { "smithy.api#documentation": "The names of the Auto Scaling groups. By default, you can only specify up to 50 names. You can\n optionally increase this limit using the MaxRecords
parameter.
If you omit this parameter, all Auto Scaling groups are described.
" } }, "NextToken": { "target": "com.amazonaws.autoscaling#XmlString", "traits": { "smithy.api#documentation": "The token for the next set of items to return. (You received this token from a\n previous call.)
" } }, "MaxRecords": { "target": "com.amazonaws.autoscaling#MaxRecords", "traits": { "smithy.api#documentation": "The maximum number of items to return with this call. The default value is\n 50
and the maximum value is 100
.
The groups.
", "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.autoscaling#XmlString", "traits": { "smithy.api#documentation": "A string that indicates that the response contains more items than can be returned in\n a single response. To receive additional items, specify this string for the\n NextToken
value when requesting the next set of items. This value is\n null when there are no more items to return.
The ID of the instance.
", "smithy.api#required": {} } }, "InstanceType": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The instance type of the EC2 instance.
" } }, "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group for the instance.
", "smithy.api#required": {} } }, "AvailabilityZone": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The Availability Zone for the instance.
", "smithy.api#required": {} } }, "LifecycleState": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen32", "traits": { "smithy.api#documentation": "The lifecycle state for the instance. The Quarantined
state is not used.\n For information about lifecycle states, see Instance\n lifecycle in the Amazon EC2 Auto Scaling User Guide.
Valid Values: Pending
| Pending:Wait
|\n Pending:Proceed
| Quarantined
| InService
|\n Terminating
| Terminating:Wait
|\n Terminating:Proceed
| Terminated
| Detaching
\n | Detached
| EnteringStandby
| Standby
|\n Warmed:Pending
| Warmed:Pending:Wait
|\n Warmed:Pending:Proceed
| Warmed:Terminating
|\n Warmed:Terminating:Wait
| Warmed:Terminating:Proceed
|\n Warmed:Terminated
| Warmed:Stopped
|\n Warmed:Running
\n
The last reported health status of this instance. \"Healthy\" means that the instance is\n healthy and should remain in service. \"Unhealthy\" means that the instance is unhealthy\n and Amazon EC2 Auto Scaling should terminate and replace it.
", "smithy.api#required": {} } }, "LaunchConfigurationName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The launch configuration used to launch the instance. This value is not available if\n you attached the instance to the Auto Scaling group.
" } }, "LaunchTemplate": { "target": "com.amazonaws.autoscaling#LaunchTemplateSpecification", "traits": { "smithy.api#documentation": "The launch template for the instance.
" } }, "ProtectedFromScaleIn": { "target": "com.amazonaws.autoscaling#InstanceProtected", "traits": { "smithy.api#documentation": "Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling\n in.
", "smithy.api#required": {} } }, "WeightedCapacity": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen32", "traits": { "smithy.api#documentation": "The number of capacity units contributed by the instance based on its instance\n type.
\nValid Range: Minimum value of 1. Maximum value of 999.
" } } }, "traits": { "smithy.api#documentation": "Describes an EC2 instance associated with an Auto Scaling group.
" } }, "com.amazonaws.autoscaling#AutoScalingInstances": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#AutoScalingInstanceDetails" } }, "com.amazonaws.autoscaling#AutoScalingInstancesType": { "type": "structure", "members": { "AutoScalingInstances": { "target": "com.amazonaws.autoscaling#AutoScalingInstances", "traits": { "smithy.api#documentation": "The instances.
" } }, "NextToken": { "target": "com.amazonaws.autoscaling#XmlString", "traits": { "smithy.api#documentation": "A string that indicates that the response contains more items than can be returned in\n a single response. To receive additional items, specify this string for the\n NextToken
value when requesting the next set of items. This value is\n null when there are no more items to return.
Amazon EC2 Auto Scaling is designed to automatically launch or terminate EC2 instances\n based on user-defined scaling policies, scheduled actions, and health checks.
\nFor more information about Amazon EC2 Auto Scaling, see the Amazon EC2 Auto Scaling User Guide. For information about granting IAM users required\n permissions for calls to Amazon EC2 Auto Scaling, see Granting\n IAM users required permissions for Amazon EC2 Auto Scaling resources in the\n Amazon EC2 Auto Scaling API Reference.
", "smithy.api#title": "Auto Scaling", "smithy.api#xmlNamespace": { "uri": "http://autoscaling.amazonaws.com/doc/2011-01-01/" } } }, "com.amazonaws.autoscaling#AvailabilityZones": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255" } }, "com.amazonaws.autoscaling#BatchDeleteScheduledAction": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#BatchDeleteScheduledActionType" }, "output": { "target": "com.amazonaws.autoscaling#BatchDeleteScheduledActionAnswer" }, "errors": [ { "target": "com.amazonaws.autoscaling#ResourceContentionFault" } ], "traits": { "smithy.api#documentation": "Deletes one or more scheduled actions for the specified Auto Scaling group.
" } }, "com.amazonaws.autoscaling#BatchDeleteScheduledActionAnswer": { "type": "structure", "members": { "FailedScheduledActions": { "target": "com.amazonaws.autoscaling#FailedScheduledUpdateGroupActionRequests", "traits": { "smithy.api#documentation": "The names of the scheduled actions that could not be deleted, including an error\n message.
" } } } }, "com.amazonaws.autoscaling#BatchDeleteScheduledActionType": { "type": "structure", "members": { "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
", "smithy.api#required": {} } }, "ScheduledActionNames": { "target": "com.amazonaws.autoscaling#ScheduledActionNames", "traits": { "smithy.api#documentation": "The names of the scheduled actions to delete. The maximum number allowed is 50.\n
", "smithy.api#required": {} } } } }, "com.amazonaws.autoscaling#BatchPutScheduledUpdateGroupAction": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#BatchPutScheduledUpdateGroupActionType" }, "output": { "target": "com.amazonaws.autoscaling#BatchPutScheduledUpdateGroupActionAnswer" }, "errors": [ { "target": "com.amazonaws.autoscaling#AlreadyExistsFault" }, { "target": "com.amazonaws.autoscaling#LimitExceededFault" }, { "target": "com.amazonaws.autoscaling#ResourceContentionFault" } ], "traits": { "smithy.api#documentation": "Creates or updates one or more scheduled scaling actions for an Auto Scaling group.
" } }, "com.amazonaws.autoscaling#BatchPutScheduledUpdateGroupActionAnswer": { "type": "structure", "members": { "FailedScheduledUpdateGroupActions": { "target": "com.amazonaws.autoscaling#FailedScheduledUpdateGroupActionRequests", "traits": { "smithy.api#documentation": "The names of the scheduled actions that could not be created or updated, including an\n error message.
" } } } }, "com.amazonaws.autoscaling#BatchPutScheduledUpdateGroupActionType": { "type": "structure", "members": { "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
", "smithy.api#required": {} } }, "ScheduledUpdateGroupActions": { "target": "com.amazonaws.autoscaling#ScheduledUpdateGroupActionRequests", "traits": { "smithy.api#documentation": "One or more scheduled actions. The maximum number allowed is 50.
", "smithy.api#required": {} } } } }, "com.amazonaws.autoscaling#BlockDeviceEbsDeleteOnTermination": { "type": "boolean", "traits": { "smithy.api#box": {} } }, "com.amazonaws.autoscaling#BlockDeviceEbsEncrypted": { "type": "boolean", "traits": { "smithy.api#box": {} } }, "com.amazonaws.autoscaling#BlockDeviceEbsIops": { "type": "integer", "traits": { "smithy.api#box": {}, "smithy.api#range": { "min": 100, "max": 20000 } } }, "com.amazonaws.autoscaling#BlockDeviceEbsVolumeSize": { "type": "integer", "traits": { "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 16384 } } }, "com.amazonaws.autoscaling#BlockDeviceEbsVolumeType": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 255 } } }, "com.amazonaws.autoscaling#BlockDeviceMapping": { "type": "structure", "members": { "VirtualName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the virtual device (for example, ephemeral0
).
You can specify either VirtualName
or Ebs
, but not\n both.
The device name exposed to the EC2 instance (for example, /dev/sdh
or\n xvdh
). For more information, see Device Naming on Linux\n Instances in the Amazon EC2 User Guide for Linux Instances.
Parameters used to automatically set up EBS volumes when an instance is\n launched.
\nYou can specify either VirtualName
or Ebs
, but not\n both.
Setting this value to true
suppresses the specified device included in\n the block device mapping of the AMI.
If NoDevice
is true
for the root device, instances might\n fail the EC2 health check. In that case, Amazon EC2 Auto Scaling launches replacement instances.
If you specify NoDevice
, you cannot specify Ebs
.
Describes a block device mapping.
" } }, "com.amazonaws.autoscaling#BlockDeviceMappings": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#BlockDeviceMapping" } }, "com.amazonaws.autoscaling#CancelInstanceRefresh": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#CancelInstanceRefreshType" }, "output": { "target": "com.amazonaws.autoscaling#CancelInstanceRefreshAnswer" }, "errors": [ { "target": "com.amazonaws.autoscaling#ActiveInstanceRefreshNotFoundFault" }, { "target": "com.amazonaws.autoscaling#LimitExceededFault" }, { "target": "com.amazonaws.autoscaling#ResourceContentionFault" } ], "traits": { "smithy.api#documentation": "Cancels an instance refresh operation in progress. Cancellation does not roll back any\n replacements that have already been completed, but it prevents new replacements from\n being started.
\nFor more information, see Replacing Auto Scaling instances\n based on an instance refresh in the\n Amazon EC2 Auto Scaling User Guide.
" } }, "com.amazonaws.autoscaling#CancelInstanceRefreshAnswer": { "type": "structure", "members": { "InstanceRefreshId": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The instance refresh ID.
" } } } }, "com.amazonaws.autoscaling#CancelInstanceRefreshType": { "type": "structure", "members": { "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
", "smithy.api#required": {} } } } }, "com.amazonaws.autoscaling#CapacityForecast": { "type": "structure", "members": { "Timestamps": { "target": "com.amazonaws.autoscaling#PredictiveScalingForecastTimestamps", "traits": { "smithy.api#documentation": "The time stamps for the data points, in UTC format.
", "smithy.api#required": {} } }, "Values": { "target": "com.amazonaws.autoscaling#PredictiveScalingForecastValues", "traits": { "smithy.api#documentation": "The values of the data points.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A GetPredictiveScalingForecast
call returns the capacity forecast for a\n predictive scaling policy. This structure includes the data points for that capacity\n forecast, along with the timestamps of those data points.
Completes the lifecycle action for the specified token or instance with the specified\n result.
\nThis step is a part of the procedure for adding a lifecycle hook to an Auto Scaling\n group:
\n(Optional) Create a Lambda function and a rule that allows CloudWatch Events to\n invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates\n instances.
\n(Optional) Create a notification target and an IAM role. The target can be\n either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to\n publish lifecycle notifications to the target.
\nCreate the lifecycle hook. Specify whether the hook is used when the instances\n launch or terminate.
\nIf you need more time, record the lifecycle action heartbeat to keep the\n instance in a pending state.
\n\n If you finish before the timeout period ends, complete\n the lifecycle action.\n
\nFor more information, see Amazon EC2 Auto Scaling lifecycle\n hooks in the Amazon EC2 Auto Scaling User Guide.
" } }, "com.amazonaws.autoscaling#CompleteLifecycleActionAnswer": { "type": "structure", "members": {} }, "com.amazonaws.autoscaling#CompleteLifecycleActionType": { "type": "structure", "members": { "LifecycleHookName": { "target": "com.amazonaws.autoscaling#AsciiStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the lifecycle hook.
", "smithy.api#required": {} } }, "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#ResourceName", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
", "smithy.api#required": {} } }, "LifecycleActionToken": { "target": "com.amazonaws.autoscaling#LifecycleActionToken", "traits": { "smithy.api#documentation": "A universally unique identifier (UUID) that identifies a specific lifecycle action\n associated with an instance. Amazon EC2 Auto Scaling sends this token to the notification target you\n specified when you created the lifecycle hook.
" } }, "LifecycleActionResult": { "target": "com.amazonaws.autoscaling#LifecycleActionResult", "traits": { "smithy.api#documentation": "The action for the group to take. This parameter can be either CONTINUE
\n or ABANDON
.
The ID of the instance.
" } } } }, "com.amazonaws.autoscaling#Cooldown": { "type": "integer", "traits": { "smithy.api#box": {} } }, "com.amazonaws.autoscaling#CreateAutoScalingGroup": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#CreateAutoScalingGroupType" }, "errors": [ { "target": "com.amazonaws.autoscaling#AlreadyExistsFault" }, { "target": "com.amazonaws.autoscaling#LimitExceededFault" }, { "target": "com.amazonaws.autoscaling#ResourceContentionFault" }, { "target": "com.amazonaws.autoscaling#ServiceLinkedRoleFailure" } ], "traits": { "smithy.api#documentation": "\n We strongly recommend using a launch template when calling this operation to ensure full functionality for Amazon EC2 Auto Scaling and Amazon EC2.\n
\nCreates an Auto Scaling group with\n the specified name and attributes.
\nIf you exceed your maximum limit of Auto Scaling groups, the call fails. To query this limit,\n call the DescribeAccountLimits API. For information about updating\n this limit, see Amazon EC2 Auto Scaling service\n quotas in the Amazon EC2 Auto Scaling User Guide.
\nFor introductory exercises for creating an Auto Scaling group, see Getting started with\n Amazon EC2 Auto Scaling and Tutorial: Set up a\n scaled and load-balanced application in the\n Amazon EC2 Auto Scaling User Guide. For more information, see Auto Scaling\n groups in the Amazon EC2 Auto Scaling User Guide.
\nEvery Auto Scaling group has three size parameters (DesiredCapacity
,\n MaxSize
, and MinSize
). Usually, you set these sizes based\n on a specific number of instances. However, if you configure a mixed instances policy\n that defines weights for the instance types, you must specify these sizes with the same\n units that you use for weighting instances.
The name of the Auto Scaling group. This name must be unique per Region per account.
", "smithy.api#required": {} } }, "LaunchConfigurationName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the launch configuration to use to launch instances.
\nConditional: You must specify either a launch template (LaunchTemplate
or\n MixedInstancesPolicy
) or a launch configuration\n (LaunchConfigurationName
or InstanceId
).
Parameters used to specify the launch template and version to use to launch instances.
\nConditional: You must specify either a launch template (LaunchTemplate
or\n MixedInstancesPolicy
) or a launch configuration\n (LaunchConfigurationName
or InstanceId
).
The launch template that is specified must be configured for use with an Auto Scaling\n group. For more information, see Creating a launch\n template for an Auto Scaling group in the\n Amazon EC2 Auto Scaling User Guide.
\nAn embedded object that specifies a mixed instances policy. The required properties\n must be specified. If optional properties are unspecified, their default values are\n used.
\nThe policy includes properties that not only define the distribution of On-Demand\n Instances and Spot Instances, the maximum price to pay for Spot Instances, and how the\n Auto Scaling group allocates instance types to fulfill On-Demand and Spot capacities, but also\n the properties that specify the instance configuration information—the launch template\n and instance types. The policy can also include a weight for each instance type and\n different launch templates for individual instance types. For more information, see\n Auto Scaling groups with multiple\n instance types and purchase options in the Amazon EC2 Auto Scaling User\n Guide.
" } }, "InstanceId": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen19", "traits": { "smithy.api#documentation": "The ID of the instance used to base the launch configuration on. If specified, Amazon\n EC2 Auto Scaling uses the configuration values from the specified instance to create a\n new launch configuration. To get the instance ID, use the Amazon EC2 DescribeInstances API operation. For more information, see Creating an Auto Scaling group using an EC2 instance in the\n Amazon EC2 Auto Scaling User Guide.
" } }, "MinSize": { "target": "com.amazonaws.autoscaling#AutoScalingGroupMinSize", "traits": { "smithy.api#documentation": "The minimum size of the group.
", "smithy.api#required": {} } }, "MaxSize": { "target": "com.amazonaws.autoscaling#AutoScalingGroupMaxSize", "traits": { "smithy.api#documentation": "The maximum size of the group.
\nWith a mixed instances policy that uses instance weighting, Amazon EC2 Auto Scaling may need to\n go above MaxSize
to meet your capacity requirements. In this event,\n Amazon EC2 Auto Scaling will never go above MaxSize
by more than your largest instance\n weight (weights that define how many units each instance contributes to the desired\n capacity of the group).
The desired capacity is the initial capacity of the Auto Scaling group at the time of its\n creation and the capacity it attempts to maintain. It can scale beyond this capacity if\n you configure auto scaling. This number must be greater than or equal to the minimum\n size of the group and less than or equal to the maximum size of the group. If you do not\n specify a desired capacity, the default is the minimum size of the group.
" } }, "DefaultCooldown": { "target": "com.amazonaws.autoscaling#Cooldown", "traits": { "smithy.api#documentation": "The amount of time, in seconds, after a scaling activity completes before another\n scaling activity can start. The default value is 300
. This setting applies\n when using simple scaling policies, but not when using other scaling policies or\n scheduled scaling. For more information, see Scaling cooldowns for Amazon EC2 Auto Scaling\n in the Amazon EC2 Auto Scaling User Guide.
A list of Availability Zones where instances in the Auto Scaling group can be created. This\n parameter is optional if you specify one or more subnets for\n VPCZoneIdentifier
.
Conditional: If your account supports EC2-Classic and VPC, this parameter is required\n to launch instances into EC2-Classic.
" } }, "LoadBalancerNames": { "target": "com.amazonaws.autoscaling#LoadBalancerNames", "traits": { "smithy.api#documentation": "A list of Classic Load Balancers associated with this Auto Scaling group. For\n Application Load Balancers, Network Load Balancers, and Gateway Load Balancers, specify\n the TargetGroupARNs
property instead.
The Amazon Resource Names (ARN) of the target groups to associate with the Auto Scaling group.\n Instances are registered as targets in a target group, and traffic is routed to the\n target group. For more information, see Elastic Load Balancing and\n Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.
" } }, "HealthCheckType": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen32", "traits": { "smithy.api#documentation": "The service to use for the health checks. The valid values are EC2
\n (default) and ELB
. If you configure an Auto Scaling group to use load balancer\n (ELB) health checks, it considers the instance unhealthy if it fails either the EC2\n status checks or the load balancer health checks. For more information, see Health checks\n for Auto Scaling instances in the Amazon EC2 Auto Scaling User Guide.
The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status\n of an EC2 instance that has come into service. During this time, any health check\n failures for the instance are ignored. The default value is 0
. For more\n information, see Health\n check grace period in the Amazon EC2 Auto Scaling User Guide.
Conditional: Required if you are adding an ELB
health check.
The name of an existing placement group into which to launch your instances, if any. A\n placement group is a logical grouping of instances within a single Availability Zone.\n You cannot specify multiple Availability Zones and a placement group. For more\n information, see Placement Groups in the\n Amazon EC2 User Guide for Linux Instances.
" } }, "VPCZoneIdentifier": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen2047", "traits": { "smithy.api#documentation": "A comma-separated list of subnet IDs for a virtual private cloud (VPC) where instances\n in the Auto Scaling group can be created. If you specify VPCZoneIdentifier
with\n AvailabilityZones
, the subnets that you specify for this parameter must\n reside in those Availability Zones.
Conditional: If your account supports EC2-Classic and VPC, this parameter is required\n to launch instances into a VPC.
" } }, "TerminationPolicies": { "target": "com.amazonaws.autoscaling#TerminationPolicies", "traits": { "smithy.api#documentation": "A policy or a list of policies that are used to select the instance to terminate.\n These policies are executed in the order that you list them. For more information, see\n Controlling which Auto Scaling\n instances terminate during scale in in the\n Amazon EC2 Auto Scaling User Guide.
" } }, "NewInstancesProtectedFromScaleIn": { "target": "com.amazonaws.autoscaling#InstanceProtected", "traits": { "smithy.api#documentation": "Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling\n when scaling in. For more information about preventing instances from terminating on\n scale in, see Instance scale-in protection in the\n Amazon EC2 Auto Scaling User Guide.
" } }, "CapacityRebalance": { "target": "com.amazonaws.autoscaling#CapacityRebalanceEnabled", "traits": { "smithy.api#documentation": "Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity Rebalancing is\n disabled. When you turn on Capacity Rebalancing, Amazon EC2 Auto Scaling attempts to launch a Spot\n Instance whenever Amazon EC2 notifies that a Spot Instance is at an elevated risk of\n interruption. After launching a new instance, it then terminates an old instance. For\n more information, see Amazon EC2 Auto Scaling Capacity\n Rebalancing in the Amazon EC2 Auto Scaling User Guide.
" } }, "LifecycleHookSpecificationList": { "target": "com.amazonaws.autoscaling#LifecycleHookSpecifications", "traits": { "smithy.api#documentation": "One or more lifecycle hooks for the group, which specify actions to perform when\n Amazon EC2 Auto Scaling launches or terminates instances.
" } }, "Tags": { "target": "com.amazonaws.autoscaling#Tags", "traits": { "smithy.api#documentation": "One or more tags. You can tag your Auto Scaling group and propagate the tags to the Amazon EC2\n instances it launches. Tags are not propagated to Amazon EBS volumes. To add tags to Amazon EBS\n volumes, specify the tags in a launch template but use caution. If the launch template\n specifies an instance tag with a key that is also specified for the Auto Scaling group, Amazon EC2 Auto Scaling\n overrides the value of that instance tag with the value specified by the Auto Scaling group. For\n more information, see Tagging Auto Scaling groups and\n instances in the Amazon EC2 Auto Scaling User Guide.
" } }, "ServiceLinkedRoleARN": { "target": "com.amazonaws.autoscaling#ResourceName", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to\n call other AWS services on your behalf. By default, Amazon EC2 Auto Scaling uses a service-linked\n role named AWSServiceRoleForAutoScaling, which it creates if it does not exist. For more\n information, see Service-linked\n roles in the Amazon EC2 Auto Scaling User Guide.
" } }, "MaxInstanceLifetime": { "target": "com.amazonaws.autoscaling#MaxInstanceLifetime", "traits": { "smithy.api#documentation": "The maximum amount of time, in seconds, that an instance can be in service. The\n default is null. If specified, the value must be either 0 or a number equal to or\n greater than 86,400 seconds (1 day). For more information, see Replacing Auto Scaling instances based on maximum instance lifetime in the\n Amazon EC2 Auto Scaling User Guide.
" } } } }, "com.amazonaws.autoscaling#CreateLaunchConfiguration": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#CreateLaunchConfigurationType" }, "errors": [ { "target": "com.amazonaws.autoscaling#AlreadyExistsFault" }, { "target": "com.amazonaws.autoscaling#LimitExceededFault" }, { "target": "com.amazonaws.autoscaling#ResourceContentionFault" } ], "traits": { "smithy.api#documentation": "Creates a launch configuration.
\nIf you exceed your maximum limit of launch configurations, the call fails. To query\n this limit, call the DescribeAccountLimits API. For information about\n updating this limit, see Amazon EC2 Auto Scaling service\n quotas in the Amazon EC2 Auto Scaling User Guide.
\nFor more information, see Launch\n configurations in the Amazon EC2 Auto Scaling User Guide.
" } }, "com.amazonaws.autoscaling#CreateLaunchConfigurationType": { "type": "structure", "members": { "LaunchConfigurationName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the launch configuration. This name must be unique per Region per\n account.
", "smithy.api#required": {} } }, "ImageId": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The ID of the Amazon Machine Image (AMI) that was assigned during registration. For\n more information, see Finding an AMI in the\n Amazon EC2 User Guide for Linux Instances.
\nIf you do not specify InstanceId
, you must specify\n ImageId
.
The name of the key pair. For more information, see Amazon EC2 Key Pairs in the\n Amazon EC2 User Guide for Linux Instances.
" } }, "SecurityGroups": { "target": "com.amazonaws.autoscaling#SecurityGroups", "traits": { "smithy.api#documentation": "A list that contains the security groups to assign to the instances in the Auto Scaling\n group.
\n[EC2-VPC] Specify the security group IDs. For more information, see Security Groups for Your VPC in the Amazon Virtual Private Cloud\n User Guide.
\n[EC2-Classic] Specify either the security group names or the security group IDs. For\n more information, see Amazon EC2 Security\n Groups in the Amazon EC2 User Guide for Linux Instances.
" } }, "ClassicLinkVPCId": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. For more\n information, see ClassicLink in the\n Amazon EC2 User Guide for Linux Instances and Linking EC2-Classic\n instances to a VPC in the Amazon EC2 Auto Scaling User Guide.
\nThis parameter can only be used if you are launching EC2-Classic instances.
" } }, "ClassicLinkVPCSecurityGroups": { "target": "com.amazonaws.autoscaling#ClassicLinkVPCSecurityGroups", "traits": { "smithy.api#documentation": "The IDs of one or more security groups for the specified ClassicLink-enabled VPC. For\n more information, see ClassicLink in the\n Amazon EC2 User Guide for Linux Instances and Linking EC2-Classic\n instances to a VPC in the Amazon EC2 Auto Scaling User Guide.
\nIf you specify the ClassicLinkVPCId
parameter, you must specify this\n parameter.
The user data to make available to the launched EC2 instances. For more information,\n see Instance metadata and user data (Linux) and Instance metadata and\n user data (Windows). If you are using a command line tool, base64-encoding\n is performed for you, and you can load the text from a file. Otherwise, you must provide\n base64-encoded text. User data is limited to 16 KB.
" } }, "InstanceId": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen19", "traits": { "smithy.api#documentation": "The ID of the instance to use to create the launch configuration. The new launch\n configuration derives attributes from the instance, except for the block device\n mapping.
\nTo create a launch configuration with a block device mapping or override any other\n instance attributes, specify them as part of the same request.
\nFor more information, see Creating a launch\n configuration using an EC2 instance in the\n Amazon EC2 Auto Scaling User Guide.
\nIf you do not specify InstanceId
, you must specify both\n ImageId
and InstanceType
.
Specifies the instance type of the EC2 instance.
\nFor information about available instance types, see Available\n Instance Types in the Amazon EC2 User Guide for Linux Instances.
\nIf you do not specify InstanceId
, you must specify\n InstanceType
.
The ID of the kernel associated with the AMI.
" } }, "RamdiskId": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The ID of the RAM disk to select.
" } }, "BlockDeviceMappings": { "target": "com.amazonaws.autoscaling#BlockDeviceMappings", "traits": { "smithy.api#documentation": "A block device mapping, which specifies the block devices for the instance. You can\n specify virtual devices and EBS volumes. For more information, see Block Device\n Mapping in the Amazon EC2 User Guide for Linux Instances.
" } }, "InstanceMonitoring": { "target": "com.amazonaws.autoscaling#InstanceMonitoring", "traits": { "smithy.api#documentation": "Controls whether instances in this group are launched with detailed\n (true
) or basic (false
) monitoring.
The default value is true
(enabled).
When detailed monitoring is enabled, Amazon CloudWatch generates metrics every minute and\n your account is charged a fee. When you disable detailed monitoring, CloudWatch generates\n metrics every 5 minutes. For more information, see Configure\n Monitoring for Auto Scaling Instances in the\n Amazon EC2 Auto Scaling User Guide.
\nThe maximum hourly price to be paid for any Spot Instance launched to fulfill the\n request. Spot Instances are launched when the price you specify exceeds the current Spot\n price. For more information, see Requesting Spot\n Instances in the Amazon EC2 Auto Scaling User Guide.
\nWhen you change your maximum price by creating a new launch configuration, running\n instances will continue to run as long as the maximum price for those running\n instances is higher than the current Spot price.
\nThe name or the Amazon Resource Name (ARN) of the instance profile associated with the\n IAM role for the instance. The instance profile contains the IAM role.
\nFor more information, see IAM role for applications that run\n on Amazon EC2 instances in the Amazon EC2 Auto Scaling User Guide.
" } }, "EbsOptimized": { "target": "com.amazonaws.autoscaling#EbsOptimized", "traits": { "smithy.api#documentation": "Specifies whether the launch configuration is optimized for EBS I/O\n (true
) or not (false
). The optimization provides dedicated\n throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O\n performance. This optimization is not available with all instance types. Additional fees\n are incurred when you enable EBS optimization for an instance type that is not\n EBS-optimized by default. For more information, see Amazon EBS-Optimized\n Instances in the Amazon EC2 User Guide for Linux Instances.
The default value is false
.
For Auto Scaling groups that are running in a virtual private cloud (VPC), specifies whether\n to assign a public IP address to the group's instances. If you specify\n true
, each instance in the Auto Scaling group receives a unique public IP address.\n For more information, see Launching Auto Scaling instances in a\n VPC in the Amazon EC2 Auto Scaling User Guide.
If you specify this parameter, you must specify at least one subnet for\n VPCZoneIdentifier
when you create your group.
If the instance is launched into a default subnet, the default is to assign a\n public IP address, unless you disabled the option to assign a public IP address on\n the subnet. If the instance is launched into a nondefault subnet, the default is not\n to assign a public IP address, unless you enabled the option to assign a public IP\n address on the subnet.
\nThe tenancy of the instance. An instance with dedicated
tenancy runs on\n isolated, single-tenant hardware and can only be launched into a VPC.
To launch dedicated instances into a shared tenancy VPC (a VPC with the instance\n placement tenancy attribute set to default
), you must set the value of this\n parameter to dedicated
.
If you specify PlacementTenancy
, you must specify at least one subnet for\n VPCZoneIdentifier
when you create your group.
For more information, see Configuring\n instance tenancy with Amazon EC2 Auto Scaling in the\n Amazon EC2 Auto Scaling User Guide.
\nValid Values: default
| dedicated
\n
The metadata options for the instances. For more information, see Configuring the Instance Metadata Options in the\n Amazon EC2 Auto Scaling User Guide.
" } } } }, "com.amazonaws.autoscaling#CreateOrUpdateTags": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#CreateOrUpdateTagsType" }, "errors": [ { "target": "com.amazonaws.autoscaling#AlreadyExistsFault" }, { "target": "com.amazonaws.autoscaling#LimitExceededFault" }, { "target": "com.amazonaws.autoscaling#ResourceContentionFault" }, { "target": "com.amazonaws.autoscaling#ResourceInUseFault" } ], "traits": { "smithy.api#documentation": "Creates or updates tags for the specified Auto Scaling group.
\nWhen you specify a tag with a key that already exists, the operation overwrites the\n previous tag definition, and you do not get an error message.
\nFor more information, see Tagging Auto Scaling groups and\n instances in the Amazon EC2 Auto Scaling User Guide.
" } }, "com.amazonaws.autoscaling#CreateOrUpdateTagsType": { "type": "structure", "members": { "Tags": { "target": "com.amazonaws.autoscaling#Tags", "traits": { "smithy.api#documentation": "One or more tags.
", "smithy.api#required": {} } } } }, "com.amazonaws.autoscaling#CustomizedMetricSpecification": { "type": "structure", "members": { "MetricName": { "target": "com.amazonaws.autoscaling#MetricName", "traits": { "smithy.api#documentation": "The name of the metric.
", "smithy.api#required": {} } }, "Namespace": { "target": "com.amazonaws.autoscaling#MetricNamespace", "traits": { "smithy.api#documentation": "The namespace of the metric.
", "smithy.api#required": {} } }, "Dimensions": { "target": "com.amazonaws.autoscaling#MetricDimensions", "traits": { "smithy.api#documentation": "The dimensions of the metric.
\nConditional: If you published your metric with dimensions, you must specify the same\n dimensions in your scaling policy.
" } }, "Statistic": { "target": "com.amazonaws.autoscaling#MetricStatistic", "traits": { "smithy.api#documentation": "The statistic of the metric.
", "smithy.api#required": {} } }, "Unit": { "target": "com.amazonaws.autoscaling#MetricUnit", "traits": { "smithy.api#documentation": "The unit of the metric.
" } } }, "traits": { "smithy.api#documentation": "Represents a CloudWatch metric of your choosing for a target tracking scaling policy to use\n with Amazon EC2 Auto Scaling.
\nTo create your customized metric specification:
\nAdd values for each required parameter from CloudWatch. You can use an existing\n metric, or a new metric that you create. To use your own metric, you must first\n publish the metric to CloudWatch. For more information, see Publish\n Custom Metrics in the Amazon CloudWatch User\n Guide.
\nChoose a metric that changes proportionally with capacity. The value of the\n metric should increase or decrease in inverse proportion to the number of\n capacity units. That is, the value of the metric should decrease when capacity\n increases.
\nFor more information about CloudWatch, see Amazon CloudWatch\n Concepts.
" } }, "com.amazonaws.autoscaling#DeleteAutoScalingGroup": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#DeleteAutoScalingGroupType" }, "errors": [ { "target": "com.amazonaws.autoscaling#ResourceContentionFault" }, { "target": "com.amazonaws.autoscaling#ResourceInUseFault" }, { "target": "com.amazonaws.autoscaling#ScalingActivityInProgressFault" } ], "traits": { "smithy.api#documentation": "Deletes the specified Auto Scaling group.
\nIf the group has instances or scaling activities in progress, you must specify the\n option to force the deletion in order for it to succeed.
\nIf the group has policies, deleting the group deletes the policies, the underlying\n alarm actions, and any alarm that no longer has an associated action.
\nTo remove instances from the Auto Scaling group before deleting it, call the DetachInstances API with the list of instances and the option to\n decrement the desired capacity. This ensures that Amazon EC2 Auto Scaling does not launch replacement\n instances.
\nTo terminate all instances before deleting the Auto Scaling group, call the UpdateAutoScalingGroup API and set the minimum size and desired capacity\n of the Auto Scaling group to zero.
" } }, "com.amazonaws.autoscaling#DeleteAutoScalingGroupType": { "type": "structure", "members": { "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
", "smithy.api#required": {} } }, "ForceDelete": { "target": "com.amazonaws.autoscaling#ForceDelete", "traits": { "smithy.api#documentation": "Specifies that the group is to be deleted along with all instances associated with the\n group, without waiting for all instances to be terminated. This parameter also deletes\n any outstanding lifecycle actions associated with the group.
" } } } }, "com.amazonaws.autoscaling#DeleteLaunchConfiguration": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#LaunchConfigurationNameType" }, "errors": [ { "target": "com.amazonaws.autoscaling#ResourceContentionFault" }, { "target": "com.amazonaws.autoscaling#ResourceInUseFault" } ], "traits": { "smithy.api#documentation": "Deletes the specified launch configuration.
\nThe launch configuration must not be attached to an Auto Scaling group. When this call\n completes, the launch configuration is no longer available for use.
" } }, "com.amazonaws.autoscaling#DeleteLifecycleHook": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#DeleteLifecycleHookType" }, "output": { "target": "com.amazonaws.autoscaling#DeleteLifecycleHookAnswer" }, "errors": [ { "target": "com.amazonaws.autoscaling#ResourceContentionFault" } ], "traits": { "smithy.api#documentation": "Deletes the specified lifecycle hook.
\nIf there are any outstanding lifecycle actions, they are completed first\n (ABANDON
for launching instances, CONTINUE
for terminating\n instances).
The name of the lifecycle hook.
", "smithy.api#required": {} } }, "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
", "smithy.api#required": {} } } } }, "com.amazonaws.autoscaling#DeleteNotificationConfiguration": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#DeleteNotificationConfigurationType" }, "errors": [ { "target": "com.amazonaws.autoscaling#ResourceContentionFault" } ], "traits": { "smithy.api#documentation": "Deletes the specified notification.
" } }, "com.amazonaws.autoscaling#DeleteNotificationConfigurationType": { "type": "structure", "members": { "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
", "smithy.api#required": {} } }, "TopicARN": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (Amazon SNS)\n topic.
", "smithy.api#required": {} } } } }, "com.amazonaws.autoscaling#DeletePolicy": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#DeletePolicyType" }, "errors": [ { "target": "com.amazonaws.autoscaling#ResourceContentionFault" }, { "target": "com.amazonaws.autoscaling#ServiceLinkedRoleFailure" } ], "traits": { "smithy.api#documentation": "Deletes the specified scaling policy.
\nDeleting either a step scaling policy or a simple scaling policy deletes the\n underlying alarm action, but does not delete the alarm, even if it no longer has an\n associated action.
\nFor more information, see Deleting a scaling\n policy in the Amazon EC2 Auto Scaling User Guide.
" } }, "com.amazonaws.autoscaling#DeletePolicyType": { "type": "structure", "members": { "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
" } }, "PolicyName": { "target": "com.amazonaws.autoscaling#ResourceName", "traits": { "smithy.api#documentation": "The name or Amazon Resource Name (ARN) of the policy.
", "smithy.api#required": {} } } } }, "com.amazonaws.autoscaling#DeleteScheduledAction": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#DeleteScheduledActionType" }, "errors": [ { "target": "com.amazonaws.autoscaling#ResourceContentionFault" } ], "traits": { "smithy.api#documentation": "Deletes the specified scheduled action.
" } }, "com.amazonaws.autoscaling#DeleteScheduledActionType": { "type": "structure", "members": { "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
", "smithy.api#required": {} } }, "ScheduledActionName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the action to delete.
", "smithy.api#required": {} } } } }, "com.amazonaws.autoscaling#DeleteTags": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#DeleteTagsType" }, "errors": [ { "target": "com.amazonaws.autoscaling#ResourceContentionFault" }, { "target": "com.amazonaws.autoscaling#ResourceInUseFault" } ], "traits": { "smithy.api#documentation": "Deletes the specified tags.
" } }, "com.amazonaws.autoscaling#DeleteTagsType": { "type": "structure", "members": { "Tags": { "target": "com.amazonaws.autoscaling#Tags", "traits": { "smithy.api#documentation": "One or more tags.
", "smithy.api#required": {} } } } }, "com.amazonaws.autoscaling#DeleteWarmPool": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#DeleteWarmPoolType" }, "output": { "target": "com.amazonaws.autoscaling#DeleteWarmPoolAnswer" }, "errors": [ { "target": "com.amazonaws.autoscaling#LimitExceededFault" }, { "target": "com.amazonaws.autoscaling#ResourceContentionFault" }, { "target": "com.amazonaws.autoscaling#ResourceInUseFault" }, { "target": "com.amazonaws.autoscaling#ScalingActivityInProgressFault" } ], "traits": { "smithy.api#documentation": "Deletes the warm pool for the specified Auto Scaling group.
" } }, "com.amazonaws.autoscaling#DeleteWarmPoolAnswer": { "type": "structure", "members": {} }, "com.amazonaws.autoscaling#DeleteWarmPoolType": { "type": "structure", "members": { "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
", "smithy.api#required": {} } }, "ForceDelete": { "target": "com.amazonaws.autoscaling#ForceDelete", "traits": { "smithy.api#documentation": "Specifies that the warm pool is to be deleted along with all of its associated\n instances, without waiting for all instances to be terminated. This parameter also\n deletes any outstanding lifecycle actions associated with the warm pool\n instances.
" } } } }, "com.amazonaws.autoscaling#DescribeAccountLimits": { "type": "operation", "output": { "target": "com.amazonaws.autoscaling#DescribeAccountLimitsAnswer" }, "errors": [ { "target": "com.amazonaws.autoscaling#ResourceContentionFault" } ], "traits": { "smithy.api#documentation": "Describes the current Amazon EC2 Auto Scaling resource quotas for your AWS account.
\nFor information about requesting an increase, see Amazon EC2 Auto Scaling service\n quotas in the Amazon EC2 Auto Scaling User Guide.
" } }, "com.amazonaws.autoscaling#DescribeAccountLimitsAnswer": { "type": "structure", "members": { "MaxNumberOfAutoScalingGroups": { "target": "com.amazonaws.autoscaling#MaxNumberOfAutoScalingGroups", "traits": { "smithy.api#documentation": "The maximum number of groups allowed for your AWS account. The default is 200 groups\n per AWS Region.
" } }, "MaxNumberOfLaunchConfigurations": { "target": "com.amazonaws.autoscaling#MaxNumberOfLaunchConfigurations", "traits": { "smithy.api#documentation": "The maximum number of launch configurations allowed for your AWS account. The\n default is 200 launch configurations per AWS Region.
" } }, "NumberOfAutoScalingGroups": { "target": "com.amazonaws.autoscaling#NumberOfAutoScalingGroups", "traits": { "smithy.api#documentation": "The current number of groups for your AWS account.
" } }, "NumberOfLaunchConfigurations": { "target": "com.amazonaws.autoscaling#NumberOfLaunchConfigurations", "traits": { "smithy.api#documentation": "The current number of launch configurations for your AWS account.
" } } } }, "com.amazonaws.autoscaling#DescribeAdjustmentTypes": { "type": "operation", "output": { "target": "com.amazonaws.autoscaling#DescribeAdjustmentTypesAnswer" }, "errors": [ { "target": "com.amazonaws.autoscaling#ResourceContentionFault" } ], "traits": { "smithy.api#documentation": "Describes the available adjustment types for Amazon EC2 Auto Scaling scaling policies. These settings\n apply to step scaling policies and simple scaling policies; they do not apply to target\n tracking scaling policies.
\nThe following adjustment types are supported:
\nChangeInCapacity
\nExactCapacity
\nPercentChangeInCapacity
\nThe policy adjustment types.
" } } } }, "com.amazonaws.autoscaling#DescribeAutoScalingGroups": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#AutoScalingGroupNamesType" }, "output": { "target": "com.amazonaws.autoscaling#AutoScalingGroupsType" }, "errors": [ { "target": "com.amazonaws.autoscaling#InvalidNextToken" }, { "target": "com.amazonaws.autoscaling#ResourceContentionFault" } ], "traits": { "smithy.api#documentation": "Describes one or more Auto Scaling groups.
\nThis operation returns information about instances in Auto Scaling groups. To retrieve\n information about the instances in a warm pool, you must call the DescribeWarmPool API.
", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "items": "AutoScalingGroups", "pageSize": "MaxRecords" }, "smithy.waiters#waitable": { "GroupExists": { "acceptors": [ { "state": "success", "matcher": { "output": { "path": "length(AutoScalingGroups) > `0`", "expected": "true", "comparator": "booleanEquals" } } }, { "state": "retry", "matcher": { "output": { "path": "length(AutoScalingGroups) > `0`", "expected": "false", "comparator": "booleanEquals" } } } ], "minDelay": 5 }, "GroupInService": { "acceptors": [ { "state": "success", "matcher": { "output": { "path": "contains(AutoScalingGroups[].[length(Instances[?LifecycleState=='InService']) >= MinSize][], `false`)", "expected": "false", "comparator": "booleanEquals" } } }, { "state": "retry", "matcher": { "output": { "path": "contains(AutoScalingGroups[].[length(Instances[?LifecycleState=='InService']) >= MinSize][], `false`)", "expected": "true", "comparator": "booleanEquals" } } } ], "minDelay": 15 }, "GroupNotExists": { "acceptors": [ { "state": "success", "matcher": { "output": { "path": "length(AutoScalingGroups) > `0`", "expected": "false", "comparator": "booleanEquals" } } }, { "state": "retry", "matcher": { "output": { "path": "length(AutoScalingGroups) > `0`", "expected": "true", "comparator": "booleanEquals" } } } ], "minDelay": 15 } } } }, "com.amazonaws.autoscaling#DescribeAutoScalingInstances": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#DescribeAutoScalingInstancesType" }, "output": { "target": "com.amazonaws.autoscaling#AutoScalingInstancesType" }, "errors": [ { "target": "com.amazonaws.autoscaling#InvalidNextToken" }, { "target": "com.amazonaws.autoscaling#ResourceContentionFault" } ], "traits": { "smithy.api#documentation": "Describes one or more Auto Scaling instances.
", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "items": "AutoScalingInstances", "pageSize": "MaxRecords" } } }, "com.amazonaws.autoscaling#DescribeAutoScalingInstancesType": { "type": "structure", "members": { "InstanceIds": { "target": "com.amazonaws.autoscaling#InstanceIds", "traits": { "smithy.api#documentation": "The IDs of the instances. You can specify up to MaxRecords
IDs. If you\n omit this parameter, all Auto Scaling instances are described. If you specify an ID that does\n not exist, it is ignored with no error.
The maximum number of items to return with this call. The default value is\n 50
and the maximum value is 50
.
The token for the next set of items to return. (You received this token from a\n previous call.)
" } } } }, "com.amazonaws.autoscaling#DescribeAutoScalingNotificationTypes": { "type": "operation", "output": { "target": "com.amazonaws.autoscaling#DescribeAutoScalingNotificationTypesAnswer" }, "errors": [ { "target": "com.amazonaws.autoscaling#ResourceContentionFault" } ], "traits": { "smithy.api#documentation": "Describes the notification types that are supported by Amazon EC2 Auto Scaling.
" } }, "com.amazonaws.autoscaling#DescribeAutoScalingNotificationTypesAnswer": { "type": "structure", "members": { "AutoScalingNotificationTypes": { "target": "com.amazonaws.autoscaling#AutoScalingNotificationTypes", "traits": { "smithy.api#documentation": "The notification types.
" } } } }, "com.amazonaws.autoscaling#DescribeInstanceRefreshes": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#DescribeInstanceRefreshesType" }, "output": { "target": "com.amazonaws.autoscaling#DescribeInstanceRefreshesAnswer" }, "errors": [ { "target": "com.amazonaws.autoscaling#InvalidNextToken" }, { "target": "com.amazonaws.autoscaling#ResourceContentionFault" } ], "traits": { "smithy.api#documentation": "Describes one or more instance refreshes.
\nYou can determine the status of a request by looking at the Status
\n parameter. The following are the possible statuses:
\n Pending
- The request was created, but the operation has not\n started.
\n InProgress
- The operation is in progress.
\n Successful
- The operation completed successfully.
\n Failed
- The operation failed to complete. You can troubleshoot\n using the status reason and the scaling activities.
\n Cancelling
- An ongoing operation is being cancelled.\n Cancellation does not roll back any replacements that have already been\n completed, but it prevents new replacements from being started.
\n Cancelled
- The operation is cancelled.
For more information, see Replacing Auto Scaling instances\n based on an instance refresh in the\n Amazon EC2 Auto Scaling User Guide.
" } }, "com.amazonaws.autoscaling#DescribeInstanceRefreshesAnswer": { "type": "structure", "members": { "InstanceRefreshes": { "target": "com.amazonaws.autoscaling#InstanceRefreshes", "traits": { "smithy.api#documentation": "The instance refreshes for the specified group.
" } }, "NextToken": { "target": "com.amazonaws.autoscaling#XmlString", "traits": { "smithy.api#documentation": "A string that indicates that the response contains more items than can be returned in\n a single response. To receive additional items, specify this string for the\n NextToken
value when requesting the next set of items. This value is\n null when there are no more items to return.
The name of the Auto Scaling group.
", "smithy.api#required": {} } }, "InstanceRefreshIds": { "target": "com.amazonaws.autoscaling#InstanceRefreshIds", "traits": { "smithy.api#documentation": "One or more instance refresh IDs.
" } }, "NextToken": { "target": "com.amazonaws.autoscaling#XmlString", "traits": { "smithy.api#documentation": "The token for the next set of items to return. (You received this token from a\n previous call.)
" } }, "MaxRecords": { "target": "com.amazonaws.autoscaling#MaxRecords", "traits": { "smithy.api#documentation": "The maximum number of items to return with this call. The default value is\n 50
and the maximum value is 100
.
Describes one or more launch configurations.
", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "items": "LaunchConfigurations", "pageSize": "MaxRecords" } } }, "com.amazonaws.autoscaling#DescribeLifecycleHookTypes": { "type": "operation", "output": { "target": "com.amazonaws.autoscaling#DescribeLifecycleHookTypesAnswer" }, "errors": [ { "target": "com.amazonaws.autoscaling#ResourceContentionFault" } ], "traits": { "smithy.api#documentation": "Describes the available types of lifecycle hooks.
\nThe following hook types are supported:
\nautoscaling:EC2_INSTANCE_LAUNCHING
\nautoscaling:EC2_INSTANCE_TERMINATING
\nThe lifecycle hook types.
" } } } }, "com.amazonaws.autoscaling#DescribeLifecycleHooks": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#DescribeLifecycleHooksType" }, "output": { "target": "com.amazonaws.autoscaling#DescribeLifecycleHooksAnswer" }, "errors": [ { "target": "com.amazonaws.autoscaling#ResourceContentionFault" } ], "traits": { "smithy.api#documentation": "Describes the lifecycle hooks for the specified Auto Scaling group.
" } }, "com.amazonaws.autoscaling#DescribeLifecycleHooksAnswer": { "type": "structure", "members": { "LifecycleHooks": { "target": "com.amazonaws.autoscaling#LifecycleHooks", "traits": { "smithy.api#documentation": "The lifecycle hooks for the specified group.
" } } } }, "com.amazonaws.autoscaling#DescribeLifecycleHooksType": { "type": "structure", "members": { "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
", "smithy.api#required": {} } }, "LifecycleHookNames": { "target": "com.amazonaws.autoscaling#LifecycleHookNames", "traits": { "smithy.api#documentation": "The names of one or more lifecycle hooks. If you omit this parameter, all lifecycle\n hooks are described.
" } } } }, "com.amazonaws.autoscaling#DescribeLoadBalancerTargetGroups": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#DescribeLoadBalancerTargetGroupsRequest" }, "output": { "target": "com.amazonaws.autoscaling#DescribeLoadBalancerTargetGroupsResponse" }, "errors": [ { "target": "com.amazonaws.autoscaling#ResourceContentionFault" } ], "traits": { "smithy.api#documentation": "Describes the target groups for the specified Auto Scaling group.
" } }, "com.amazonaws.autoscaling#DescribeLoadBalancerTargetGroupsRequest": { "type": "structure", "members": { "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
", "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.autoscaling#XmlString", "traits": { "smithy.api#documentation": "The token for the next set of items to return. (You received this token from a\n previous call.)
" } }, "MaxRecords": { "target": "com.amazonaws.autoscaling#MaxRecords", "traits": { "smithy.api#documentation": "The maximum number of items to return with this call. The default value is\n 100
and the maximum value is 100
.
Information about the target groups.
" } }, "NextToken": { "target": "com.amazonaws.autoscaling#XmlString", "traits": { "smithy.api#documentation": "A string that indicates that the response contains more items than can be returned in\n a single response. To receive additional items, specify this string for the\n NextToken
value when requesting the next set of items. This value is\n null when there are no more items to return.
Describes the load balancers for the specified Auto Scaling group.
\nThis operation describes only Classic Load Balancers. If you have Application Load\n Balancers, Network Load Balancers, or Gateway Load Balancers, use the DescribeLoadBalancerTargetGroups API instead.
" } }, "com.amazonaws.autoscaling#DescribeLoadBalancersRequest": { "type": "structure", "members": { "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
", "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.autoscaling#XmlString", "traits": { "smithy.api#documentation": "The token for the next set of items to return. (You received this token from a\n previous call.)
" } }, "MaxRecords": { "target": "com.amazonaws.autoscaling#MaxRecords", "traits": { "smithy.api#documentation": "The maximum number of items to return with this call. The default value is\n 100
and the maximum value is 100
.
The load balancers.
" } }, "NextToken": { "target": "com.amazonaws.autoscaling#XmlString", "traits": { "smithy.api#documentation": "A string that indicates that the response contains more items than can be returned in\n a single response. To receive additional items, specify this string for the\n NextToken
value when requesting the next set of items. This value is\n null when there are no more items to return.
Describes the available CloudWatch metrics for Amazon EC2 Auto Scaling.
\nThe GroupStandbyInstances
metric is not returned by default. You must\n explicitly request this metric when calling the EnableMetricsCollection API.
One or more metrics.
" } }, "Granularities": { "target": "com.amazonaws.autoscaling#MetricGranularityTypes", "traits": { "smithy.api#documentation": "The granularities for the metrics.
" } } } }, "com.amazonaws.autoscaling#DescribeNotificationConfigurations": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#DescribeNotificationConfigurationsType" }, "output": { "target": "com.amazonaws.autoscaling#DescribeNotificationConfigurationsAnswer" }, "errors": [ { "target": "com.amazonaws.autoscaling#InvalidNextToken" }, { "target": "com.amazonaws.autoscaling#ResourceContentionFault" } ], "traits": { "smithy.api#documentation": "Describes the notification actions associated with the specified Auto Scaling group.
", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "items": "NotificationConfigurations", "pageSize": "MaxRecords" } } }, "com.amazonaws.autoscaling#DescribeNotificationConfigurationsAnswer": { "type": "structure", "members": { "NotificationConfigurations": { "target": "com.amazonaws.autoscaling#NotificationConfigurations", "traits": { "smithy.api#documentation": "The notification configurations.
", "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.autoscaling#XmlString", "traits": { "smithy.api#documentation": "A string that indicates that the response contains more items than can be returned in\n a single response. To receive additional items, specify this string for the\n NextToken
value when requesting the next set of items. This value is\n null when there are no more items to return.
The name of the Auto Scaling group.
" } }, "NextToken": { "target": "com.amazonaws.autoscaling#XmlString", "traits": { "smithy.api#documentation": "The token for the next set of items to return. (You received this token from a\n previous call.)
" } }, "MaxRecords": { "target": "com.amazonaws.autoscaling#MaxRecords", "traits": { "smithy.api#documentation": "The maximum number of items to return with this call. The default value is\n 50
and the maximum value is 100
.
Describes the policies for the specified Auto Scaling group.
", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "items": "ScalingPolicies", "pageSize": "MaxRecords" } } }, "com.amazonaws.autoscaling#DescribePoliciesType": { "type": "structure", "members": { "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
" } }, "PolicyNames": { "target": "com.amazonaws.autoscaling#PolicyNames", "traits": { "smithy.api#documentation": "The names of one or more policies. If you omit this parameter, all policies are\n described. If a group name is provided, the results are limited to that group. This list\n is limited to 50 items. If you specify an unknown policy name, it is ignored with no\n error.
" } }, "PolicyTypes": { "target": "com.amazonaws.autoscaling#PolicyTypes", "traits": { "smithy.api#documentation": "One or more policy types. The valid values are SimpleScaling
,\n StepScaling
, TargetTrackingScaling
, and\n PredictiveScaling
.
The token for the next set of items to return. (You received this token from a\n previous call.)
" } }, "MaxRecords": { "target": "com.amazonaws.autoscaling#MaxRecords", "traits": { "smithy.api#documentation": "The maximum number of items to be returned with each call. The default value is\n 50
and the maximum value is 100
.
Describes one or more scaling activities for the specified Auto Scaling group.
\nTo view the scaling activities from the Amazon EC2 Auto Scaling console, choose the Activity tab of the Auto Scaling group. When scaling events occur,\n you see scaling activity messages in the Activity\n history. For more information, see Verifying a scaling\n activity for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.
", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "items": "Activities", "pageSize": "MaxRecords" } } }, "com.amazonaws.autoscaling#DescribeScalingActivitiesType": { "type": "structure", "members": { "ActivityIds": { "target": "com.amazonaws.autoscaling#ActivityIds", "traits": { "smithy.api#documentation": "The activity IDs of the desired scaling activities. You can specify up to 50 IDs. If\n you omit this parameter, all activities for the past six weeks are described. If unknown\n activities are requested, they are ignored with no error. If you specify an Auto Scaling group,\n the results are limited to that group.
" } }, "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
" } }, "IncludeDeletedGroups": { "target": "com.amazonaws.autoscaling#IncludeDeletedGroups", "traits": { "smithy.api#documentation": "Indicates whether to include scaling activity from deleted Auto Scaling groups.
" } }, "MaxRecords": { "target": "com.amazonaws.autoscaling#MaxRecords", "traits": { "smithy.api#documentation": "The maximum number of items to return with this call. The default value is\n 100
and the maximum value is 100
.
The token for the next set of items to return. (You received this token from a\n previous call.)
" } } } }, "com.amazonaws.autoscaling#DescribeScalingProcessTypes": { "type": "operation", "output": { "target": "com.amazonaws.autoscaling#ProcessesType" }, "errors": [ { "target": "com.amazonaws.autoscaling#ResourceContentionFault" } ], "traits": { "smithy.api#documentation": "Describes the scaling process types for use with the ResumeProcesses\n and SuspendProcesses APIs.
" } }, "com.amazonaws.autoscaling#DescribeScheduledActions": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#DescribeScheduledActionsType" }, "output": { "target": "com.amazonaws.autoscaling#ScheduledActionsType" }, "errors": [ { "target": "com.amazonaws.autoscaling#InvalidNextToken" }, { "target": "com.amazonaws.autoscaling#ResourceContentionFault" } ], "traits": { "smithy.api#documentation": "Describes the actions scheduled for your Auto Scaling group that haven't run or that have not\n reached their end time. To describe the actions that have already run, call the DescribeScalingActivities API.
", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "items": "ScheduledUpdateGroupActions", "pageSize": "MaxRecords" } } }, "com.amazonaws.autoscaling#DescribeScheduledActionsType": { "type": "structure", "members": { "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
" } }, "ScheduledActionNames": { "target": "com.amazonaws.autoscaling#ScheduledActionNames", "traits": { "smithy.api#documentation": "The names of one or more scheduled actions. You can specify up to 50 actions. If you\n omit this parameter, all scheduled actions are described. If you specify an unknown\n scheduled action, it is ignored with no error.
" } }, "StartTime": { "target": "com.amazonaws.autoscaling#TimestampType", "traits": { "smithy.api#documentation": "The earliest scheduled start time to return. If scheduled action names are provided,\n this parameter is ignored.
" } }, "EndTime": { "target": "com.amazonaws.autoscaling#TimestampType", "traits": { "smithy.api#documentation": "The latest scheduled start time to return. If scheduled action names are provided,\n this parameter is ignored.
" } }, "NextToken": { "target": "com.amazonaws.autoscaling#XmlString", "traits": { "smithy.api#documentation": "The token for the next set of items to return. (You received this token from a\n previous call.)
" } }, "MaxRecords": { "target": "com.amazonaws.autoscaling#MaxRecords", "traits": { "smithy.api#documentation": "The maximum number of items to return with this call. The default value is\n 50
and the maximum value is 100
.
Describes the specified tags.
\nYou can use filters to limit the results. For example, you can query for the tags for\n a specific Auto Scaling group. You can specify multiple values for a filter. A tag must match at\n least one of the specified values for it to be included in the results.
\nYou can also specify multiple filters. The result includes information for a\n particular tag only if it matches all the filters. If there's no match, no special\n message is returned.
\nFor more information, see Tagging Auto Scaling groups and\n instances in the Amazon EC2 Auto Scaling User Guide.
", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "items": "Tags", "pageSize": "MaxRecords" } } }, "com.amazonaws.autoscaling#DescribeTagsType": { "type": "structure", "members": { "Filters": { "target": "com.amazonaws.autoscaling#Filters", "traits": { "smithy.api#documentation": "One or more filters to scope the tags to return. The maximum number of filters per\n filter type (for example, auto-scaling-group
) is 1000.
The token for the next set of items to return. (You received this token from a\n previous call.)
" } }, "MaxRecords": { "target": "com.amazonaws.autoscaling#MaxRecords", "traits": { "smithy.api#documentation": "The maximum number of items to return with this call. The default value is\n 50
and the maximum value is 100
.
Describes the termination policies supported by Amazon EC2 Auto Scaling.
\nFor more information, see Controlling which Auto Scaling\n instances terminate during scale in in the\n Amazon EC2 Auto Scaling User Guide.
" } }, "com.amazonaws.autoscaling#DescribeTerminationPolicyTypesAnswer": { "type": "structure", "members": { "TerminationPolicyTypes": { "target": "com.amazonaws.autoscaling#TerminationPolicies", "traits": { "smithy.api#documentation": "The termination policies supported by Amazon EC2 Auto Scaling: OldestInstance
,\n OldestLaunchConfiguration
, NewestInstance
,\n ClosestToNextInstanceHour
, Default
,\n OldestLaunchTemplate
, and AllocationStrategy
.
Describes a warm pool and its instances.
" } }, "com.amazonaws.autoscaling#DescribeWarmPoolAnswer": { "type": "structure", "members": { "WarmPoolConfiguration": { "target": "com.amazonaws.autoscaling#WarmPoolConfiguration", "traits": { "smithy.api#documentation": "The warm pool configuration details.
" } }, "Instances": { "target": "com.amazonaws.autoscaling#Instances", "traits": { "smithy.api#documentation": "The instances that are currently in the warm pool.
" } }, "NextToken": { "target": "com.amazonaws.autoscaling#XmlString", "traits": { "smithy.api#documentation": "The token for the next set of items to return. (You received this token from a\n previous call.)
" } } } }, "com.amazonaws.autoscaling#DescribeWarmPoolType": { "type": "structure", "members": { "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
", "smithy.api#required": {} } }, "MaxRecords": { "target": "com.amazonaws.autoscaling#MaxRecords", "traits": { "smithy.api#documentation": "The maximum number of instances to return with this call. The maximum value is\n 50
.
The token for the next set of instances to return. (You received this token from a\n previous call.)
" } } } }, "com.amazonaws.autoscaling#DetachInstances": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#DetachInstancesQuery" }, "output": { "target": "com.amazonaws.autoscaling#DetachInstancesAnswer" }, "errors": [ { "target": "com.amazonaws.autoscaling#ResourceContentionFault" } ], "traits": { "smithy.api#documentation": "Removes one or more instances from the specified Auto Scaling group.
\nAfter the instances are detached, you can manage them independent of the Auto Scaling\n group.
\nIf you do not specify the option to decrement the desired capacity, Amazon EC2 Auto Scaling launches\n instances to replace the ones that are detached.
\nIf there is a Classic Load Balancer attached to the Auto Scaling group, the instances are\n deregistered from the load balancer. If there are target groups attached to the Auto Scaling\n group, the instances are deregistered from the target groups.
\nFor more information, see Detach EC2 instances from\n your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.
" } }, "com.amazonaws.autoscaling#DetachInstancesAnswer": { "type": "structure", "members": { "Activities": { "target": "com.amazonaws.autoscaling#Activities", "traits": { "smithy.api#documentation": "The activities related to detaching the instances from the Auto Scaling group.
" } } } }, "com.amazonaws.autoscaling#DetachInstancesQuery": { "type": "structure", "members": { "InstanceIds": { "target": "com.amazonaws.autoscaling#InstanceIds", "traits": { "smithy.api#documentation": "The IDs of the instances. You can specify up to 20 instances.
" } }, "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
", "smithy.api#required": {} } }, "ShouldDecrementDesiredCapacity": { "target": "com.amazonaws.autoscaling#ShouldDecrementDesiredCapacity", "traits": { "smithy.api#documentation": "Indicates whether the Auto Scaling group decrements the desired capacity value by the number\n of instances detached.
", "smithy.api#required": {} } } } }, "com.amazonaws.autoscaling#DetachLoadBalancerTargetGroups": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#DetachLoadBalancerTargetGroupsType" }, "output": { "target": "com.amazonaws.autoscaling#DetachLoadBalancerTargetGroupsResultType" }, "errors": [ { "target": "com.amazonaws.autoscaling#ResourceContentionFault" } ], "traits": { "smithy.api#documentation": "Detaches one or more target groups from the specified Auto Scaling group.
" } }, "com.amazonaws.autoscaling#DetachLoadBalancerTargetGroupsResultType": { "type": "structure", "members": {} }, "com.amazonaws.autoscaling#DetachLoadBalancerTargetGroupsType": { "type": "structure", "members": { "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
", "smithy.api#required": {} } }, "TargetGroupARNs": { "target": "com.amazonaws.autoscaling#TargetGroupARNs", "traits": { "smithy.api#documentation": "The Amazon Resource Names (ARN) of the target groups. You can specify up to 10 target\n groups.
", "smithy.api#required": {} } } } }, "com.amazonaws.autoscaling#DetachLoadBalancers": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#DetachLoadBalancersType" }, "output": { "target": "com.amazonaws.autoscaling#DetachLoadBalancersResultType" }, "errors": [ { "target": "com.amazonaws.autoscaling#ResourceContentionFault" } ], "traits": { "smithy.api#documentation": "Detaches one or more Classic Load Balancers from the specified Auto Scaling group.
\nThis operation detaches only Classic Load Balancers. If you have Application Load\n Balancers, Network Load Balancers, or Gateway Load Balancers, use the DetachLoadBalancerTargetGroups API instead.
\nWhen you detach a load balancer, it enters the Removing
state while\n deregistering the instances in the group. When all instances are deregistered, then you\n can no longer describe the load balancer using the DescribeLoadBalancers API call. The instances remain running.
The name of the Auto Scaling group.
", "smithy.api#required": {} } }, "LoadBalancerNames": { "target": "com.amazonaws.autoscaling#LoadBalancerNames", "traits": { "smithy.api#documentation": "The names of the load balancers. You can specify up to 10 load balancers.
", "smithy.api#required": {} } } } }, "com.amazonaws.autoscaling#DisableMetricsCollection": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#DisableMetricsCollectionQuery" }, "errors": [ { "target": "com.amazonaws.autoscaling#ResourceContentionFault" } ], "traits": { "smithy.api#documentation": "Disables group metrics for the specified Auto Scaling group.
" } }, "com.amazonaws.autoscaling#DisableMetricsCollectionQuery": { "type": "structure", "members": { "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
", "smithy.api#required": {} } }, "Metrics": { "target": "com.amazonaws.autoscaling#Metrics", "traits": { "smithy.api#documentation": "Specifies one or more of the following metrics:
\n\n GroupMinSize
\n
\n GroupMaxSize
\n
\n GroupDesiredCapacity
\n
\n GroupInServiceInstances
\n
\n GroupPendingInstances
\n
\n GroupStandbyInstances
\n
\n GroupTerminatingInstances
\n
\n GroupTotalInstances
\n
\n GroupInServiceCapacity
\n
\n GroupPendingCapacity
\n
\n GroupStandbyCapacity
\n
\n GroupTerminatingCapacity
\n
\n GroupTotalCapacity
\n
\n WarmPoolDesiredCapacity
\n
\n WarmPoolWarmedCapacity
\n
\n WarmPoolPendingCapacity
\n
\n WarmPoolTerminatingCapacity
\n
\n WarmPoolTotalCapacity
\n
\n GroupAndWarmPoolDesiredCapacity
\n
\n GroupAndWarmPoolTotalCapacity
\n
If you omit this parameter, all metrics are disabled.
" } } } }, "com.amazonaws.autoscaling#DisableScaleIn": { "type": "boolean", "traits": { "smithy.api#box": {} } }, "com.amazonaws.autoscaling#Ebs": { "type": "structure", "members": { "SnapshotId": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The snapshot ID of the volume to use.
\nYou must specify either a VolumeSize
or a SnapshotId
.
The volume size, in Gibibytes (GiB).
\nThis can be a number from 1-1,024 for standard
, 4-16,384 for\n io1
, 1-16,384 for gp2
, and 500-16,384 for st1
\n and sc1
. If you specify a snapshot, the volume size must be equal to or\n larger than the snapshot size.
Default: If you create a volume from a snapshot and you don't specify a volume size,\n the default is the snapshot size.
\nYou must specify either a VolumeSize
or a SnapshotId
. If you\n specify both SnapshotId
and VolumeSize
, the volume size must\n be equal or greater than the size of the snapshot.
The volume type, which can be standard
for Magnetic, io1
for\n Provisioned IOPS SSD, gp2
for General Purpose SSD, st1
for\n Throughput Optimized HDD, or sc1
for Cold HDD. For more information, see\n Amazon\n EBS Volume Types in the Amazon EC2 User Guide for Linux Instances.
Valid Values: standard
| io1
| gp2
|\n st1
| sc1
\n
Indicates whether the volume is deleted on instance termination. For Amazon EC2 Auto Scaling, the\n default value is true
.
The number of I/O operations per second (IOPS) to provision for the volume. The\n maximum ratio of IOPS to volume size (in GiB) is 50:1. For more information, see Amazon EBS\n Volume Types in the Amazon EC2 User Guide for Linux Instances.
\nRequired when the volume type is io1
. (Not used with\n standard
, gp2
, st1
, or sc1
\n volumes.)
Specifies whether the volume should be encrypted. Encrypted EBS volumes can only be\n attached to instances that support Amazon EBS encryption. For more information, see\n Supported Instance Types. If your AMI uses encrypted volumes, you can also\n only launch it on supported instance types.
\nIf you are creating a volume from a snapshot, you cannot specify an encryption\n value. Volumes that are created from encrypted snapshots are automatically\n encrypted, and volumes that are created from unencrypted snapshots are automatically\n unencrypted. By default, encrypted snapshots use the AWS managed CMK that is used\n for EBS encryption, but you can specify a custom CMK when you create the snapshot.\n The ability to encrypt a snapshot during copying also allows you to apply a new CMK\n to an already-encrypted snapshot. Volumes restored from the\n resulting copy are only accessible using the new CMK.
\nEnabling encryption by default results in all EBS volumes being encrypted with\n the AWS managed CMK or a customer managed CMK, whether or not the snapshot was\n encrypted.
\nFor more information, see Using Encryption with EBS-Backed\n AMIs in the Amazon EC2 User Guide for Linux Instances and Required\n CMK key policy for use with encrypted volumes in the\n Amazon EC2 Auto Scaling User Guide.
" } } }, "traits": { "smithy.api#documentation": "Describes information used to set up an Amazon EBS volume specified in a block device\n mapping.
" } }, "com.amazonaws.autoscaling#EbsOptimized": { "type": "boolean", "traits": { "smithy.api#box": {} } }, "com.amazonaws.autoscaling#EnableMetricsCollection": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#EnableMetricsCollectionQuery" }, "errors": [ { "target": "com.amazonaws.autoscaling#ResourceContentionFault" } ], "traits": { "smithy.api#documentation": "Enables group metrics for the specified Auto Scaling group. For more information, see Monitoring CloudWatch metrics for your Auto Scaling groups and instances in the\n Amazon EC2 Auto Scaling User Guide.
" } }, "com.amazonaws.autoscaling#EnableMetricsCollectionQuery": { "type": "structure", "members": { "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
", "smithy.api#required": {} } }, "Metrics": { "target": "com.amazonaws.autoscaling#Metrics", "traits": { "smithy.api#documentation": "Specifies which group-level metrics to start collecting. You can specify one or more\n of the following metrics:
\n\n GroupMinSize
\n
\n GroupMaxSize
\n
\n GroupDesiredCapacity
\n
\n GroupInServiceInstances
\n
\n GroupPendingInstances
\n
\n GroupStandbyInstances
\n
\n GroupTerminatingInstances
\n
\n GroupTotalInstances
\n
The instance weighting feature supports the following additional metrics:
\n\n GroupInServiceCapacity
\n
\n GroupPendingCapacity
\n
\n GroupStandbyCapacity
\n
\n GroupTerminatingCapacity
\n
\n GroupTotalCapacity
\n
The warm pools feature supports the following additional metrics:
\n\n WarmPoolDesiredCapacity
\n
\n WarmPoolWarmedCapacity
\n
\n WarmPoolPendingCapacity
\n
\n WarmPoolTerminatingCapacity
\n
\n WarmPoolTotalCapacity
\n
\n GroupAndWarmPoolDesiredCapacity
\n
\n GroupAndWarmPoolTotalCapacity
\n
If you omit this parameter, all metrics are enabled.
" } }, "Granularity": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The granularity to associate with the metrics to collect. The only valid value is\n 1Minute
.
One of the following metrics:
\n\n GroupMinSize
\n
\n GroupMaxSize
\n
\n GroupDesiredCapacity
\n
\n GroupInServiceInstances
\n
\n GroupPendingInstances
\n
\n GroupStandbyInstances
\n
\n GroupTerminatingInstances
\n
\n GroupTotalInstances
\n
\n GroupInServiceCapacity
\n
\n GroupPendingCapacity
\n
\n GroupStandbyCapacity
\n
\n GroupTerminatingCapacity
\n
\n GroupTotalCapacity
\n
\n WarmPoolDesiredCapacity
\n
\n WarmPoolWarmedCapacity
\n
\n WarmPoolPendingCapacity
\n
\n WarmPoolTerminatingCapacity
\n
\n WarmPoolTotalCapacity
\n
\n GroupAndWarmPoolDesiredCapacity
\n
\n GroupAndWarmPoolTotalCapacity
\n
The granularity of the metric. The only valid value is 1Minute
.
Describes an enabled metric.
" } }, "com.amazonaws.autoscaling#EnabledMetrics": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#EnabledMetric" } }, "com.amazonaws.autoscaling#EnterStandby": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#EnterStandbyQuery" }, "output": { "target": "com.amazonaws.autoscaling#EnterStandbyAnswer" }, "errors": [ { "target": "com.amazonaws.autoscaling#ResourceContentionFault" } ], "traits": { "smithy.api#documentation": "Moves the specified instances into the standby state.
\nIf you choose to decrement the desired capacity of the Auto Scaling group, the instances can\n enter standby as long as the desired capacity of the Auto Scaling group after the instances are\n placed into standby is equal to or greater than the minimum capacity of the\n group.
\nIf you choose not to decrement the desired capacity of the Auto Scaling group, the Auto Scaling group\n launches new instances to replace the instances on standby.
\nFor more information, see Temporarily removing\n instances from your Auto Scaling group in the\n Amazon EC2 Auto Scaling User Guide.
" } }, "com.amazonaws.autoscaling#EnterStandbyAnswer": { "type": "structure", "members": { "Activities": { "target": "com.amazonaws.autoscaling#Activities", "traits": { "smithy.api#documentation": "The activities related to moving instances into Standby
mode.
The IDs of the instances. You can specify up to 20 instances.
" } }, "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
", "smithy.api#required": {} } }, "ShouldDecrementDesiredCapacity": { "target": "com.amazonaws.autoscaling#ShouldDecrementDesiredCapacity", "traits": { "smithy.api#documentation": "Indicates whether to decrement the desired capacity of the Auto Scaling group by the number of\n instances moved to Standby
mode.
Executes the specified policy. This can be useful for testing the design of your\n scaling policy.
" } }, "com.amazonaws.autoscaling#ExecutePolicyType": { "type": "structure", "members": { "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
" } }, "PolicyName": { "target": "com.amazonaws.autoscaling#ResourceName", "traits": { "smithy.api#documentation": "The name or ARN of the policy.
", "smithy.api#required": {} } }, "HonorCooldown": { "target": "com.amazonaws.autoscaling#HonorCooldown", "traits": { "smithy.api#documentation": "Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before executing\n the policy.
\nValid only if the policy type is SimpleScaling
. For more information, see\n Scaling\n cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.
The metric value to compare to BreachThreshold
. This enables you to\n execute a policy of type StepScaling
and determine which step adjustment to\n use. For example, if the breach threshold is 50 and you want to use a step adjustment\n with a lower bound of 0 and an upper bound of 10, you can set the metric value to\n 59.
If you specify a metric value that doesn't correspond to a step adjustment for the\n policy, the call returns an error.
\nRequired if the policy type is StepScaling
and not supported\n otherwise.
The breach threshold for the alarm.
\nRequired if the policy type is StepScaling
and not supported\n otherwise.
Moves the specified instances out of the standby state.
\nAfter you put the instances back in service, the desired capacity is\n incremented.
\nFor more information, see Temporarily removing\n instances from your Auto Scaling group in the\n Amazon EC2 Auto Scaling User Guide.
" } }, "com.amazonaws.autoscaling#ExitStandbyAnswer": { "type": "structure", "members": { "Activities": { "target": "com.amazonaws.autoscaling#Activities", "traits": { "smithy.api#documentation": "The activities related to moving instances out of Standby
mode.
The IDs of the instances. You can specify up to 20 instances.
" } }, "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
", "smithy.api#required": {} } } } }, "com.amazonaws.autoscaling#FailedScheduledUpdateGroupActionRequest": { "type": "structure", "members": { "ScheduledActionName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the scheduled action.
", "smithy.api#required": {} } }, "ErrorCode": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen64", "traits": { "smithy.api#documentation": "The error code.
" } }, "ErrorMessage": { "target": "com.amazonaws.autoscaling#XmlString", "traits": { "smithy.api#documentation": "The error message accompanying the error code.
" } } }, "traits": { "smithy.api#documentation": "Describes a scheduled action that could not be created, updated, or deleted.
" } }, "com.amazonaws.autoscaling#FailedScheduledUpdateGroupActionRequests": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#FailedScheduledUpdateGroupActionRequest" } }, "com.amazonaws.autoscaling#Filter": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.autoscaling#XmlString", "traits": { "smithy.api#documentation": "The name of the filter. The valid values are: auto-scaling-group
,\n key
, value
, and propagate-at-launch
.
One or more filter values. Filter values are case-sensitive.
" } } }, "traits": { "smithy.api#documentation": "Describes a filter that is used to return a more specific list of results when\n describing tags.
\nFor more information, see Tagging Auto Scaling groups and\n instances in the Amazon EC2 Auto Scaling User Guide.
" } }, "com.amazonaws.autoscaling#Filters": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#Filter" } }, "com.amazonaws.autoscaling#ForceDelete": { "type": "boolean", "traits": { "smithy.api#box": {} } }, "com.amazonaws.autoscaling#GetPredictiveScalingForecast": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#GetPredictiveScalingForecastType" }, "output": { "target": "com.amazonaws.autoscaling#GetPredictiveScalingForecastAnswer" }, "errors": [ { "target": "com.amazonaws.autoscaling#ResourceContentionFault" } ], "traits": { "smithy.api#documentation": "Retrieves the forecast data for a predictive scaling policy.
\nLoad forecasts are predictions of the hourly load values using historical load data\n from CloudWatch and an analysis of historical trends. Capacity forecasts are represented as\n predicted values for the minimum capacity that is needed on an hourly basis, based on\n the hourly load forecast.
\nA minimum of 24 hours of data is required to create the initial forecasts. However,\n having a full 14 days of historical data results in more accurate forecasts.
\nFor more information, see Predictive\n scaling for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.
" } }, "com.amazonaws.autoscaling#GetPredictiveScalingForecastAnswer": { "type": "structure", "members": { "LoadForecast": { "target": "com.amazonaws.autoscaling#LoadForecasts", "traits": { "smithy.api#documentation": "The load forecast.
", "smithy.api#required": {} } }, "CapacityForecast": { "target": "com.amazonaws.autoscaling#CapacityForecast", "traits": { "smithy.api#documentation": "The capacity forecast.
", "smithy.api#required": {} } }, "UpdateTime": { "target": "com.amazonaws.autoscaling#TimestampType", "traits": { "smithy.api#documentation": "The time the forecast was made.
", "smithy.api#required": {} } } } }, "com.amazonaws.autoscaling#GetPredictiveScalingForecastType": { "type": "structure", "members": { "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
", "smithy.api#required": {} } }, "PolicyName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the policy.
", "smithy.api#required": {} } }, "StartTime": { "target": "com.amazonaws.autoscaling#TimestampType", "traits": { "smithy.api#documentation": "The inclusive start time of the time range for the forecast data to get. At most, the\n date and time can be one year before the current date and time.
", "smithy.api#required": {} } }, "EndTime": { "target": "com.amazonaws.autoscaling#TimestampType", "traits": { "smithy.api#documentation": "The exclusive end time of the time range for the forecast data to get. The maximum\n time duration between the start and end time is 30 days.
\nAlthough this parameter can accept a date and time that is more than two days in the\n future, the availability of forecast data has limits. Amazon EC2 Auto Scaling only issues forecasts for\n periods of two days in advance.
", "smithy.api#required": {} } } } }, "com.amazonaws.autoscaling#GlobalTimeout": { "type": "integer", "traits": { "smithy.api#box": {} } }, "com.amazonaws.autoscaling#HealthCheckGracePeriod": { "type": "integer", "traits": { "smithy.api#box": {} } }, "com.amazonaws.autoscaling#HeartbeatTimeout": { "type": "integer", "traits": { "smithy.api#box": {} } }, "com.amazonaws.autoscaling#HonorCooldown": { "type": "boolean", "traits": { "smithy.api#box": {} } }, "com.amazonaws.autoscaling#IncludeDeletedGroups": { "type": "boolean", "traits": { "smithy.api#box": {} } }, "com.amazonaws.autoscaling#Instance": { "type": "structure", "members": { "InstanceId": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen19", "traits": { "smithy.api#documentation": "The ID of the instance.
", "smithy.api#required": {} } }, "InstanceType": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The instance type of the EC2 instance.
" } }, "AvailabilityZone": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The Availability Zone in which the instance is running.
", "smithy.api#required": {} } }, "LifecycleState": { "target": "com.amazonaws.autoscaling#LifecycleState", "traits": { "smithy.api#documentation": "A description of the current lifecycle state. The Quarantined
state is\n not used. For information about lifecycle states, see Instance\n lifecycle in the Amazon EC2 Auto Scaling User Guide.
The last reported health status of the instance. \"Healthy\" means that the instance is\n healthy and should remain in service. \"Unhealthy\" means that the instance is unhealthy\n and that Amazon EC2 Auto Scaling should terminate and replace it.
", "smithy.api#required": {} } }, "LaunchConfigurationName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The launch configuration associated with the instance.
" } }, "LaunchTemplate": { "target": "com.amazonaws.autoscaling#LaunchTemplateSpecification", "traits": { "smithy.api#documentation": "The launch template for the instance.
" } }, "ProtectedFromScaleIn": { "target": "com.amazonaws.autoscaling#InstanceProtected", "traits": { "smithy.api#documentation": "Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling\n in.
", "smithy.api#required": {} } }, "WeightedCapacity": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen32", "traits": { "smithy.api#documentation": "The number of capacity units contributed by the instance based on its instance\n type.
\nValid Range: Minimum value of 1. Maximum value of 999.
" } } }, "traits": { "smithy.api#documentation": "Describes an EC2 instance.
" } }, "com.amazonaws.autoscaling#InstanceIds": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen19" } }, "com.amazonaws.autoscaling#InstanceMetadataEndpointState": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "disabled", "name": "Disabled" }, { "value": "enabled", "name": "Enabled" } ] } }, "com.amazonaws.autoscaling#InstanceMetadataHttpPutResponseHopLimit": { "type": "integer", "traits": { "smithy.api#box": {}, "smithy.api#range": { "min": 1, "max": 64 } } }, "com.amazonaws.autoscaling#InstanceMetadataHttpTokensState": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "optional", "name": "Optional" }, { "value": "required", "name": "Required" } ] } }, "com.amazonaws.autoscaling#InstanceMetadataOptions": { "type": "structure", "members": { "HttpTokens": { "target": "com.amazonaws.autoscaling#InstanceMetadataHttpTokensState", "traits": { "smithy.api#documentation": "The state of token usage for your instance metadata requests. If the parameter is not\n specified in the request, the default state is optional
.
If the state is optional
, you can choose to retrieve instance metadata\n with or without a signed token header on your request. If you retrieve the IAM role\n credentials without a token, the version 1.0 role credentials are returned. If you\n retrieve the IAM role credentials using a valid signed token, the version 2.0 role\n credentials are returned.
If the state is required
, you must send a signed token header with any\n instance metadata retrieval requests. In this state, retrieving the IAM role credentials\n always returns the version 2.0 credentials; the version 1.0 credentials are not\n available.
The desired HTTP PUT response hop limit for instance metadata requests. The larger the\n number, the further instance metadata requests can travel.
\nDefault: 1
" } }, "HttpEndpoint": { "target": "com.amazonaws.autoscaling#InstanceMetadataEndpointState", "traits": { "smithy.api#documentation": "This parameter enables or disables the HTTP metadata endpoint on your instances. If\n the parameter is not specified, the default state is enabled
.
If you specify a value of disabled
, you will not be able to access\n your instance metadata.
The metadata options for the instances. For more information, see Configuring the Instance Metadata Options in the\n Amazon EC2 Auto Scaling User Guide.
" } }, "com.amazonaws.autoscaling#InstanceMonitoring": { "type": "structure", "members": { "Enabled": { "target": "com.amazonaws.autoscaling#MonitoringEnabled", "traits": { "smithy.api#documentation": "If true
, detailed monitoring is enabled. Otherwise, basic monitoring is\n enabled.
Describes whether detailed monitoring is enabled for the Auto Scaling instances.
" } }, "com.amazonaws.autoscaling#InstanceProtected": { "type": "boolean", "traits": { "smithy.api#box": {} } }, "com.amazonaws.autoscaling#InstanceRefresh": { "type": "structure", "members": { "InstanceRefreshId": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The instance refresh ID.
" } }, "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
" } }, "Status": { "target": "com.amazonaws.autoscaling#InstanceRefreshStatus", "traits": { "smithy.api#documentation": "The current status for the instance refresh operation:
\n\n Pending
- The request was created, but the operation has not\n started.
\n InProgress
- The operation is in progress.
\n Successful
- The operation completed successfully.
\n Failed
- The operation failed to complete. You can troubleshoot\n using the status reason and the scaling activities.
\n Cancelling
- An ongoing operation is being cancelled.\n Cancellation does not roll back any replacements that have already been\n completed, but it prevents new replacements from being started.
\n Cancelled
- The operation is cancelled.
Provides more details about the current status of the instance refresh.
" } }, "StartTime": { "target": "com.amazonaws.autoscaling#TimestampType", "traits": { "smithy.api#documentation": "The date and time at which the instance refresh began.
" } }, "EndTime": { "target": "com.amazonaws.autoscaling#TimestampType", "traits": { "smithy.api#documentation": "The date and time at which the instance refresh ended.
" } }, "PercentageComplete": { "target": "com.amazonaws.autoscaling#IntPercent", "traits": { "smithy.api#documentation": "The percentage of the instance refresh that is complete. For each instance\n replacement, Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time. When the\n instance's health status changes to healthy and the specified warm-up time passes, the\n instance is considered updated and is added to the percentage complete.
" } }, "InstancesToUpdate": { "target": "com.amazonaws.autoscaling#InstancesToUpdate", "traits": { "smithy.api#documentation": "The number of instances remaining to update before the instance refresh is\n complete.
" } }, "ProgressDetails": { "target": "com.amazonaws.autoscaling#InstanceRefreshProgressDetails", "traits": { "smithy.api#documentation": "Additional progress details for an Auto Scaling group that has a warm pool.
" } } }, "traits": { "smithy.api#documentation": "Describes an instance refresh for an Auto Scaling group.
" } }, "com.amazonaws.autoscaling#InstanceRefreshIds": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255" } }, "com.amazonaws.autoscaling#InstanceRefreshInProgressFault": { "type": "structure", "members": { "message": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255" } }, "traits": { "smithy.api#documentation": "The request failed because an active instance refresh operation already exists for the\n specified Auto Scaling group.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.autoscaling#InstanceRefreshLivePoolProgress": { "type": "structure", "members": { "PercentageComplete": { "target": "com.amazonaws.autoscaling#IntPercent", "traits": { "smithy.api#documentation": "The percentage of instances in the Auto Scaling group that have been replaced. For each\n instance replacement, Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time.\n When the instance's health status changes to healthy and the specified warm-up time\n passes, the instance is considered updated and is added to the percentage\n complete.
" } }, "InstancesToUpdate": { "target": "com.amazonaws.autoscaling#InstancesToUpdate", "traits": { "smithy.api#documentation": "The number of instances remaining to update.
" } } }, "traits": { "smithy.api#documentation": "Reports the progress of an instance refresh on instances that are in the Auto Scaling\n group.
" } }, "com.amazonaws.autoscaling#InstanceRefreshProgressDetails": { "type": "structure", "members": { "LivePoolProgress": { "target": "com.amazonaws.autoscaling#InstanceRefreshLivePoolProgress", "traits": { "smithy.api#documentation": "Indicates the progress of an instance refresh on instances that are in the Auto Scaling\n group.
" } }, "WarmPoolProgress": { "target": "com.amazonaws.autoscaling#InstanceRefreshWarmPoolProgress", "traits": { "smithy.api#documentation": "Indicates the progress of an instance refresh on instances that are in the warm\n pool.
" } } }, "traits": { "smithy.api#documentation": "Reports the progress of an instance refresh on an Auto Scaling group that has a warm pool.\n This includes separate details for instances in the warm pool and instances in the Auto Scaling\n group (the live pool).
" } }, "com.amazonaws.autoscaling#InstanceRefreshStatus": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "Pending", "name": "Pending" }, { "value": "InProgress", "name": "InProgress" }, { "value": "Successful", "name": "Successful" }, { "value": "Failed", "name": "Failed" }, { "value": "Cancelling", "name": "Cancelling" }, { "value": "Cancelled", "name": "Cancelled" } ] } }, "com.amazonaws.autoscaling#InstanceRefreshWarmPoolProgress": { "type": "structure", "members": { "PercentageComplete": { "target": "com.amazonaws.autoscaling#IntPercent", "traits": { "smithy.api#documentation": "The percentage of instances in the warm pool that have been replaced. For each\n instance replacement, Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time.\n When the instance's health status changes to healthy and the specified warm-up time\n passes, the instance is considered updated and is added to the percentage\n complete.
" } }, "InstancesToUpdate": { "target": "com.amazonaws.autoscaling#InstancesToUpdate", "traits": { "smithy.api#documentation": "The number of instances remaining to update.
" } } }, "traits": { "smithy.api#documentation": "Reports the progress of an instance refresh on instances that are in the warm\n pool.
" } }, "com.amazonaws.autoscaling#InstanceRefreshes": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#InstanceRefresh" } }, "com.amazonaws.autoscaling#Instances": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#Instance" } }, "com.amazonaws.autoscaling#InstancesDistribution": { "type": "structure", "members": { "OnDemandAllocationStrategy": { "target": "com.amazonaws.autoscaling#XmlString", "traits": { "smithy.api#documentation": "Indicates how to allocate instance types to fulfill On-Demand capacity. The only valid\n value is prioritized
, which is also the default value. This strategy uses\n the order of instance types in the LaunchTemplateOverrides
to define the\n launch priority of each instance type. The first instance type in the array is\n prioritized higher than the last. If all your On-Demand capacity cannot be fulfilled\n using your highest priority instance, then the Auto Scaling groups launches the remaining\n capacity using the second priority instance type, and so on.
The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand\n Instances. This base portion is provisioned first as your group scales. Defaults to 0 if\n not specified. If you specify weights for the instance types in the overrides, set the\n value of OnDemandBaseCapacity
in terms of the number of capacity units, and\n not the number of instances.
Controls the percentages of On-Demand Instances and Spot Instances for your additional\n capacity beyond OnDemandBaseCapacity
. Expressed as a number (for example,\n 20 specifies 20% On-Demand Instances, 80% Spot Instances). Defaults to 100 if not\n specified. If set to 100, only On-Demand Instances are provisioned.
Indicates how to allocate instances across Spot Instance pools.
\nIf the allocation strategy is lowest-price
, the Auto Scaling group launches\n instances using the Spot pools with the lowest price, and evenly allocates your\n instances across the number of Spot pools that you specify. Defaults to\n lowest-price
if not specified.
If the allocation strategy is capacity-optimized
(recommended), the Auto Scaling\n group launches instances using Spot pools that are optimally chosen based on the\n available Spot capacity. Alternatively, you can use\n capacity-optimized-prioritized
and set the order of instance types in\n the list of launch template overrides from highest to lowest priority (from first to\n last in the list). Amazon EC2 Auto Scaling honors the instance type priorities on a best-effort basis\n but optimizes for capacity first.
The number of Spot Instance pools across which to allocate your Spot Instances. The\n Spot pools are determined from the different instance types in the overrides. Valid only\n when the Spot allocation strategy is lowest-price
. Value must be in the\n range of 1 to 20. Defaults to 2 if not specified.
The maximum price per unit hour that you are willing to pay for a Spot Instance. If\n you leave the value at its default (empty), Amazon EC2 Auto Scaling uses the On-Demand price as the\n maximum Spot price. To remove a value that you previously set, include the property but\n specify an empty string (\"\") for the value.
" } } }, "traits": { "smithy.api#documentation": "Describes an instances distribution for an Auto Scaling group with a MixedInstancesPolicy.
\nThe instances distribution specifies the distribution of On-Demand Instances and Spot\n Instances, the maximum price to pay for Spot Instances, and how the Auto Scaling group allocates\n instance types to fulfill On-Demand and Spot capacities.
\nWhen you update SpotAllocationStrategy
, SpotInstancePools
,\n or SpotMaxPrice
, this update action does not deploy any changes across the\n running Amazon EC2 instances in the group. Your existing Spot Instances continue to run\n as long as the maximum price for those instances is higher than the current Spot price.\n When scale out occurs, Amazon EC2 Auto Scaling launches instances based on the new settings. When scale\n in occurs, Amazon EC2 Auto Scaling terminates instances according to the group's termination\n policies.
The NextToken
value is not valid.
The name of the launch configuration.
", "smithy.api#required": {} } }, "LaunchConfigurationARN": { "target": "com.amazonaws.autoscaling#ResourceName", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the launch configuration.
" } }, "ImageId": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The ID of the Amazon Machine Image (AMI) to use to launch your EC2 instances. For more\n information, see Finding an AMI in the\n Amazon EC2 User Guide for Linux Instances.
", "smithy.api#required": {} } }, "KeyName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the key pair.
\nFor more information, see Amazon EC2 Key Pairs in the\n Amazon EC2 User Guide for Linux Instances.
" } }, "SecurityGroups": { "target": "com.amazonaws.autoscaling#SecurityGroups", "traits": { "smithy.api#documentation": "A list that contains the security groups to assign to the instances in the Auto Scaling group.\n For more information, see Security Groups for Your\n VPC in the Amazon Virtual Private Cloud User\n Guide.
" } }, "ClassicLinkVPCId": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. For more\n information, see ClassicLink in the\n Amazon EC2 User Guide for Linux Instances and Linking EC2-Classic\n instances to a VPC in the Amazon EC2 Auto Scaling User Guide.
" } }, "ClassicLinkVPCSecurityGroups": { "target": "com.amazonaws.autoscaling#ClassicLinkVPCSecurityGroups", "traits": { "smithy.api#documentation": "The IDs of one or more security groups for the VPC specified in\n ClassicLinkVPCId
.
For more information, see ClassicLink in the\n Amazon EC2 User Guide for Linux Instances and Linking EC2-Classic\n instances to a VPC in the Amazon EC2 Auto Scaling User Guide.
" } }, "UserData": { "target": "com.amazonaws.autoscaling#XmlStringUserData", "traits": { "smithy.api#documentation": "The user data to make available to the launched EC2 instances. For more information,\n see Instance metadata and user data (Linux) and Instance metadata and\n user data (Windows). If you are using a command line tool, base64-encoding\n is performed for you, and you can load the text from a file. Otherwise, you must provide\n base64-encoded text. User data is limited to 16 KB.
" } }, "InstanceType": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The instance type for the instances.
\nFor information about available instance types, see Available\n Instance Types in the Amazon EC2 User Guide for Linux Instances.
", "smithy.api#required": {} } }, "KernelId": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The ID of the kernel associated with the AMI.
" } }, "RamdiskId": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The ID of the RAM disk associated with the AMI.
" } }, "BlockDeviceMappings": { "target": "com.amazonaws.autoscaling#BlockDeviceMappings", "traits": { "smithy.api#documentation": "A block device mapping, which specifies the block devices for the instance. For more\n information, see Block Device\n Mapping in the Amazon EC2 User Guide for Linux Instances.
" } }, "InstanceMonitoring": { "target": "com.amazonaws.autoscaling#InstanceMonitoring", "traits": { "smithy.api#documentation": "Controls whether instances in this group are launched with detailed\n (true
) or basic (false
) monitoring.
For more information, see Configure\n Monitoring for Auto Scaling Instances in the\n Amazon EC2 Auto Scaling User Guide.
" } }, "SpotPrice": { "target": "com.amazonaws.autoscaling#SpotPrice", "traits": { "smithy.api#documentation": "The maximum hourly price to be paid for any Spot Instance launched to fulfill the\n request. Spot Instances are launched when the price you specify exceeds the current Spot\n price. For more information, see Requesting Spot\n Instances in the Amazon EC2 Auto Scaling User Guide.
" } }, "IamInstanceProfile": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen1600", "traits": { "smithy.api#documentation": "The name or the Amazon Resource Name (ARN) of the instance profile associated with the\n IAM role for the instance. The instance profile contains the IAM role. For more\n information, see IAM role for applications that run\n on Amazon EC2 instances in the Amazon EC2 Auto Scaling User Guide.
" } }, "CreatedTime": { "target": "com.amazonaws.autoscaling#TimestampType", "traits": { "smithy.api#documentation": "The creation date and time for the launch configuration.
", "smithy.api#required": {} } }, "EbsOptimized": { "target": "com.amazonaws.autoscaling#EbsOptimized", "traits": { "smithy.api#documentation": "Specifies whether the launch configuration is optimized for EBS I/O\n (true
) or not (false
). For more information, see Amazon\n EBS-Optimized Instances in the Amazon EC2 User Guide for Linux Instances.
For Auto Scaling groups that are running in a VPC, specifies whether to assign a public IP\n address to the group's instances. For more information, see Launching Auto Scaling instances in a\n VPC in the Amazon EC2 Auto Scaling User Guide.
" } }, "PlacementTenancy": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen64", "traits": { "smithy.api#documentation": "The tenancy of the instance, either default
or dedicated
. An\n instance with dedicated
tenancy runs on isolated, single-tenant hardware\n and can only be launched into a VPC.
For more information, see Configuring\n instance tenancy with Amazon EC2 Auto Scaling in the\n Amazon EC2 Auto Scaling User Guide.
" } }, "MetadataOptions": { "target": "com.amazonaws.autoscaling#InstanceMetadataOptions", "traits": { "smithy.api#documentation": "The metadata options for the instances. For more information, see Configuring the Instance Metadata Options in the\n Amazon EC2 Auto Scaling User Guide.
" } } }, "traits": { "smithy.api#documentation": "Describes a launch configuration.
" } }, "com.amazonaws.autoscaling#LaunchConfigurationNameType": { "type": "structure", "members": { "LaunchConfigurationName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the launch configuration.
", "smithy.api#required": {} } } } }, "com.amazonaws.autoscaling#LaunchConfigurationNames": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255" } }, "com.amazonaws.autoscaling#LaunchConfigurationNamesType": { "type": "structure", "members": { "LaunchConfigurationNames": { "target": "com.amazonaws.autoscaling#LaunchConfigurationNames", "traits": { "smithy.api#documentation": "The launch configuration names. If you omit this parameter, all launch configurations\n are described.
" } }, "NextToken": { "target": "com.amazonaws.autoscaling#XmlString", "traits": { "smithy.api#documentation": "The token for the next set of items to return. (You received this token from a\n previous call.)
" } }, "MaxRecords": { "target": "com.amazonaws.autoscaling#MaxRecords", "traits": { "smithy.api#documentation": "The maximum number of items to return with this call. The default value is\n 50
and the maximum value is 100
.
The launch configurations.
", "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.autoscaling#XmlString", "traits": { "smithy.api#documentation": "A string that indicates that the response contains more items than can be returned in\n a single response. To receive additional items, specify this string for the\n NextToken
value when requesting the next set of items. This value is\n null when there are no more items to return.
The launch template to use.
" } }, "Overrides": { "target": "com.amazonaws.autoscaling#Overrides", "traits": { "smithy.api#documentation": "Any properties that you specify override the same properties in the launch template.\n If not provided, Amazon EC2 Auto Scaling uses the instance type specified in the launch template when\n it launches an instance.
" } } }, "traits": { "smithy.api#documentation": "Describes a launch template and overrides.
\nYou specify these properties as part of a mixed instances policy.
\nWhen you update the launch template or overrides, existing Amazon EC2 instances continue to\n run. When scale out occurs, Amazon EC2 Auto Scaling launches instances to match the new settings. When\n scale in occurs, Amazon EC2 Auto Scaling terminates instances according to the group's termination\n policies.
" } }, "com.amazonaws.autoscaling#LaunchTemplateName": { "type": "string", "traits": { "smithy.api#length": { "min": 3, "max": 128 }, "smithy.api#pattern": "[a-zA-Z0-9\\(\\)\\.\\-/_]+" } }, "com.amazonaws.autoscaling#LaunchTemplateOverrides": { "type": "structure", "members": { "InstanceType": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The instance type, such as m3.xlarge
. You must use an instance type that\n is supported in your requested Region and Availability Zones. For more information, see\n Instance types in the Amazon Elastic Compute Cloud User\n Guide.
The number of capacity units provided by the specified instance type in terms of\n virtual CPUs, memory, storage, throughput, or other relative performance characteristic.\n When a Spot or On-Demand Instance is provisioned, the capacity units count toward the\n desired capacity. Amazon EC2 Auto Scaling provisions instances until the desired capacity is totally\n fulfilled, even if this results in an overage. For example, if there are 2 units\n remaining to fulfill capacity, and Amazon EC2 Auto Scaling can only provision an instance with a\n WeightedCapacity
of 5 units, the instance is provisioned, and the\n desired capacity is exceeded by 3 units. For more information, see Instance weighting for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.\n Value must be in the range of 1 to 999.
Provides the launch template to be used when launching the instance type. For example,\n some instance types might require a launch template with a different AMI. If not\n provided, Amazon EC2 Auto Scaling uses the launch template that's defined for your mixed instances\n policy. For more information, see Specifying a\n different launch template for an instance type in the\n Amazon EC2 Auto Scaling User Guide.
" } } }, "traits": { "smithy.api#documentation": "Describes an override for a launch template. The maximum number of instance types that\n can be associated with an Auto Scaling group is 40. The maximum number of distinct launch\n templates you can define for an Auto Scaling group is 20. For more information about configuring\n overrides, see Configuring\n overrides in the Amazon EC2 Auto Scaling User Guide.
" } }, "com.amazonaws.autoscaling#LaunchTemplateSpecification": { "type": "structure", "members": { "LaunchTemplateId": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The ID of the launch template. To get the template ID, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created\n using the Amazon EC2 CreateLaunchTemplate API.
\nConditional: You must specify either a LaunchTemplateId
or a\n LaunchTemplateName
.
The name of the launch template. To get the template name, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created\n using the Amazon EC2 CreateLaunchTemplate API.
\nConditional: You must specify either a LaunchTemplateId
or a\n LaunchTemplateName
.
The version number, $Latest
, or $Default
. To get the version\n number, use the Amazon EC2 DescribeLaunchTemplateVersions API operation. New launch template versions\n can be created using the Amazon EC2 CreateLaunchTemplateVersion API. If the value is $Latest
,\n Amazon EC2 Auto Scaling selects the latest version of the launch template when launching instances. If\n the value is $Default
, Amazon EC2 Auto Scaling selects the default version of the launch\n template when launching instances. The default value is $Default
.
Describes the Amazon EC2 launch template and the launch template version that can be used\n by an Auto Scaling group to configure Amazon EC2 instances.
\nThe launch template that is specified must be configured for use with an Auto Scaling group.\n For more information, see Creating a launch\n template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.
" } }, "com.amazonaws.autoscaling#LifecycleActionResult": { "type": "string" }, "com.amazonaws.autoscaling#LifecycleActionToken": { "type": "string", "traits": { "smithy.api#length": { "min": 36, "max": 36 } } }, "com.amazonaws.autoscaling#LifecycleHook": { "type": "structure", "members": { "LifecycleHookName": { "target": "com.amazonaws.autoscaling#AsciiStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the lifecycle hook.
" } }, "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group for the lifecycle hook.
" } }, "LifecycleTransition": { "target": "com.amazonaws.autoscaling#LifecycleTransition", "traits": { "smithy.api#documentation": "The state of the EC2 instance to which to attach the lifecycle hook. The following are\n possible values:
\nautoscaling:EC2_INSTANCE_LAUNCHING
\nautoscaling:EC2_INSTANCE_TERMINATING
\nThe ARN of the target that Amazon EC2 Auto Scaling sends notifications to when an instance is in the\n transition state for the lifecycle hook. The notification target can be either an SQS\n queue or an SNS topic.
" } }, "RoleARN": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The ARN of the IAM role that allows the Auto Scaling group to publish to the specified\n notification target.
" } }, "NotificationMetadata": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen1023", "traits": { "smithy.api#documentation": "Additional information that is included any time Amazon EC2 Auto Scaling sends a message to the\n notification target.
" } }, "HeartbeatTimeout": { "target": "com.amazonaws.autoscaling#HeartbeatTimeout", "traits": { "smithy.api#documentation": "The maximum time, in seconds, that can elapse before the lifecycle hook times out. If\n the lifecycle hook times out, Amazon EC2 Auto Scaling performs the action that you specified in the\n DefaultResult
parameter.
The maximum time, in seconds, that an instance can remain in a\n Pending:Wait
or Terminating:Wait
state. The maximum is\n 172800 seconds (48 hours) or 100 times HeartbeatTimeout
, whichever is\n smaller.
Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses\n or if an unexpected failure occurs. The possible values are CONTINUE
and\n ABANDON
.
Describes a lifecycle hook, which tells Amazon EC2 Auto Scaling that you want to perform an action\n whenever it launches instances or terminates\n instances.
" } }, "com.amazonaws.autoscaling#LifecycleHookNames": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#AsciiStringMaxLen255" }, "traits": { "smithy.api#length": { "min": 0, "max": 50 } } }, "com.amazonaws.autoscaling#LifecycleHookSpecification": { "type": "structure", "members": { "LifecycleHookName": { "target": "com.amazonaws.autoscaling#AsciiStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the lifecycle hook.
", "smithy.api#required": {} } }, "LifecycleTransition": { "target": "com.amazonaws.autoscaling#LifecycleTransition", "traits": { "smithy.api#documentation": "The state of the EC2 instance to which you want to attach the lifecycle hook. The\n valid values are:
\nautoscaling:EC2_INSTANCE_LAUNCHING
\nautoscaling:EC2_INSTANCE_TERMINATING
\nAdditional information that you want to include any time Amazon EC2 Auto Scaling sends a message to\n the notification target.
" } }, "HeartbeatTimeout": { "target": "com.amazonaws.autoscaling#HeartbeatTimeout", "traits": { "smithy.api#documentation": "The maximum time, in seconds, that can elapse before the lifecycle hook times\n out.
\nIf the lifecycle hook times out, Amazon EC2 Auto Scaling performs the action that you specified in\n the DefaultResult
parameter. You can prevent the lifecycle hook from timing\n out by calling RecordLifecycleActionHeartbeat.
Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses\n or if an unexpected failure occurs. The valid values are CONTINUE
and\n ABANDON
. The default value is ABANDON
.
The ARN of the target that Amazon EC2 Auto Scaling sends notifications to when an instance is in the\n transition state for the lifecycle hook. The notification target can be either an SQS\n queue or an SNS topic.
" } }, "RoleARN": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The ARN of the IAM role that allows the Auto Scaling group to publish to the specified\n notification target, for example, an Amazon SNS topic or an Amazon SQS queue.
" } } }, "traits": { "smithy.api#documentation": "Describes information used to specify a lifecycle hook for an Auto Scaling\n group.
\nA lifecycle hook tells Amazon EC2 Auto Scaling to perform an action on an instance when the instance\n launches (before it is put into service) or as the instance terminates (before it is\n fully terminated).
\nThis step is a part of the procedure for creating a lifecycle hook for an Auto Scaling\n group:
\n(Optional) Create a Lambda function and a rule that allows CloudWatch Events to\n invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates\n instances.
\n(Optional) Create a notification target and an IAM role. The target can be\n either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to\n publish lifecycle notifications to the target.
\n\n Create the lifecycle hook. Specify whether the hook is\n used when the instances launch or terminate.\n
\nIf you need more time, record the lifecycle action heartbeat to keep the\n instance in a pending state.
\nIf you finish before the timeout period ends, complete the lifecycle\n action.
\nFor more information, see Amazon EC2 Auto Scaling lifecycle\n hooks in the Amazon EC2 Auto Scaling User Guide.
" } }, "com.amazonaws.autoscaling#LifecycleHookSpecifications": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#LifecycleHookSpecification" } }, "com.amazonaws.autoscaling#LifecycleHooks": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#LifecycleHook" } }, "com.amazonaws.autoscaling#LifecycleState": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "Pending", "name": "PENDING" }, { "value": "Pending:Wait", "name": "PENDING_WAIT" }, { "value": "Pending:Proceed", "name": "PENDING_PROCEED" }, { "value": "Quarantined", "name": "QUARANTINED" }, { "value": "InService", "name": "IN_SERVICE" }, { "value": "Terminating", "name": "TERMINATING" }, { "value": "Terminating:Wait", "name": "TERMINATING_WAIT" }, { "value": "Terminating:Proceed", "name": "TERMINATING_PROCEED" }, { "value": "Terminated", "name": "TERMINATED" }, { "value": "Detaching", "name": "DETACHING" }, { "value": "Detached", "name": "DETACHED" }, { "value": "EnteringStandby", "name": "ENTERING_STANDBY" }, { "value": "Standby", "name": "STANDBY" }, { "value": "Warmed:Pending", "name": "WARMED_PENDING" }, { "value": "Warmed:Pending:Wait", "name": "WARMED_PENDING_WAIT" }, { "value": "Warmed:Pending:Proceed", "name": "WARMED_PENDING_PROCEED" }, { "value": "Warmed:Terminating", "name": "WARMED_TERMINATING" }, { "value": "Warmed:Terminating:Wait", "name": "WARMED_TERMINATING_WAIT" }, { "value": "Warmed:Terminating:Proceed", "name": "WARMED_TERMINATING_PROCEED" }, { "value": "Warmed:Terminated", "name": "WARMED_TERMINATED" }, { "value": "Warmed:Stopped", "name": "WARMED_STOPPED" }, { "value": "Warmed:Running", "name": "WARMED_RUNNING" } ] } }, "com.amazonaws.autoscaling#LifecycleTransition": { "type": "string" }, "com.amazonaws.autoscaling#LimitExceededFault": { "type": "structure", "members": { "message": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "" } } }, "traits": { "smithy.api#documentation": "You have already reached a limit for your Amazon EC2 Auto Scaling\n resources (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). For\n more information, see DescribeAccountLimits in the Amazon EC2 Auto Scaling API\n Reference.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.autoscaling#LoadBalancerNames": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255" } }, "com.amazonaws.autoscaling#LoadBalancerState": { "type": "structure", "members": { "LoadBalancerName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the load balancer.
" } }, "State": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "One of the following load balancer states:
\n\n Adding
- The instances in the group are being registered with the\n load balancer.
\n Added
- All instances in the group are registered with the load\n balancer.
\n InService
- At least one instance in the group passed an ELB\n health check.
\n Removing
- The instances in the group are being deregistered from\n the load balancer. If connection draining is enabled, Elastic Load Balancing waits for in-flight\n requests to complete before deregistering the instances.
\n Removed
- All instances in the group are deregistered from the\n load balancer.
Describes the state of a Classic Load Balancer.
\nIf you specify a load balancer when creating the Auto Scaling group, the state of the load\n balancer is InService
.
If you attach a load balancer to an existing Auto Scaling group, the initial state is\n Adding
. The state transitions to Added
after all instances\n in the group are registered with the load balancer. If Elastic Load Balancing health checks are enabled\n for the load balancer, the state transitions to InService
after at least\n one instance in the group passes the health check. If EC2 health checks are enabled\n instead, the load balancer remains in the Added
state.
The Amazon Resource Name (ARN) of the target group.
" } }, "State": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The state of the target group.
\n\n Adding
- The Auto Scaling instances are being registered with the target\n group.
\n Added
- All Auto Scaling instances are registered with the target\n group.
\n InService
- At least one Auto Scaling instance passed an ELB health\n check.
\n Removing
- The Auto Scaling instances are being deregistered from the\n target group. If connection draining is enabled, Elastic Load Balancing waits for in-flight\n requests to complete before deregistering the instances.
\n Removed
- All Auto Scaling instances are deregistered from the target\n group.
Describes the state of a target group.
\nIf you attach a target group to an existing Auto Scaling group, the initial state is\n Adding
. The state transitions to Added
after all Auto Scaling\n instances are registered with the target group. If Elastic Load Balancing health checks are enabled, the\n state transitions to InService
after at least one Auto Scaling instance passes the\n health check. If EC2 health checks are enabled instead, the target group remains in the\n Added
state.
The time stamps for the data points, in UTC format.
", "smithy.api#required": {} } }, "Values": { "target": "com.amazonaws.autoscaling#PredictiveScalingForecastValues", "traits": { "smithy.api#documentation": "The values of the data points.
", "smithy.api#required": {} } }, "MetricSpecification": { "target": "com.amazonaws.autoscaling#PredictiveScalingMetricSpecification", "traits": { "smithy.api#documentation": "The metric specification for the load forecast.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "A GetPredictiveScalingForecast
call returns the load forecast for a\n predictive scaling policy. This structure includes the data points for that load\n forecast, along with the timestamps of those data points and the metric specification.\n
One of the following metrics:
\n\n GroupMinSize
\n
\n GroupMaxSize
\n
\n GroupDesiredCapacity
\n
\n GroupInServiceInstances
\n
\n GroupPendingInstances
\n
\n GroupStandbyInstances
\n
\n GroupTerminatingInstances
\n
\n GroupTotalInstances
\n
\n GroupInServiceCapacity
\n
\n GroupPendingCapacity
\n
\n GroupStandbyCapacity
\n
\n GroupTerminatingCapacity
\n
\n GroupTotalCapacity
\n
\n WarmPoolDesiredCapacity
\n
\n WarmPoolWarmedCapacity
\n
\n WarmPoolPendingCapacity
\n
\n WarmPoolTerminatingCapacity
\n
\n WarmPoolTotalCapacity
\n
\n GroupAndWarmPoolDesiredCapacity
\n
\n GroupAndWarmPoolTotalCapacity
\n
Describes a metric.
" } }, "com.amazonaws.autoscaling#MetricCollectionTypes": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#MetricCollectionType" } }, "com.amazonaws.autoscaling#MetricDimension": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.autoscaling#MetricDimensionName", "traits": { "smithy.api#documentation": "The name of the dimension.
", "smithy.api#required": {} } }, "Value": { "target": "com.amazonaws.autoscaling#MetricDimensionValue", "traits": { "smithy.api#documentation": "The value of the dimension.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Describes the dimension of a metric.
" } }, "com.amazonaws.autoscaling#MetricDimensionName": { "type": "string" }, "com.amazonaws.autoscaling#MetricDimensionValue": { "type": "string" }, "com.amazonaws.autoscaling#MetricDimensions": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#MetricDimension" } }, "com.amazonaws.autoscaling#MetricGranularityType": { "type": "structure", "members": { "Granularity": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The granularity. The only valid value is 1Minute
.
Describes a granularity of a metric.
" } }, "com.amazonaws.autoscaling#MetricGranularityTypes": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#MetricGranularityType" } }, "com.amazonaws.autoscaling#MetricName": { "type": "string" }, "com.amazonaws.autoscaling#MetricNamespace": { "type": "string" }, "com.amazonaws.autoscaling#MetricScale": { "type": "double", "traits": { "smithy.api#box": {} } }, "com.amazonaws.autoscaling#MetricStatistic": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "Average", "name": "Average" }, { "value": "Minimum", "name": "Minimum" }, { "value": "Maximum", "name": "Maximum" }, { "value": "SampleCount", "name": "SampleCount" }, { "value": "Sum", "name": "Sum" } ] } }, "com.amazonaws.autoscaling#MetricType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "ASGAverageCPUUtilization", "name": "ASGAverageCPUUtilization" }, { "value": "ASGAverageNetworkIn", "name": "ASGAverageNetworkIn" }, { "value": "ASGAverageNetworkOut", "name": "ASGAverageNetworkOut" }, { "value": "ALBRequestCountPerTarget", "name": "ALBRequestCountPerTarget" } ] } }, "com.amazonaws.autoscaling#MetricUnit": { "type": "string" }, "com.amazonaws.autoscaling#Metrics": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255" } }, "com.amazonaws.autoscaling#MinAdjustmentMagnitude": { "type": "integer", "traits": { "smithy.api#box": {} } }, "com.amazonaws.autoscaling#MinAdjustmentStep": { "type": "integer", "traits": { "smithy.api#box": {}, "smithy.api#deprecated": {} } }, "com.amazonaws.autoscaling#MixedInstanceSpotPrice": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 255 } } }, "com.amazonaws.autoscaling#MixedInstancesPolicy": { "type": "structure", "members": { "LaunchTemplate": { "target": "com.amazonaws.autoscaling#LaunchTemplate", "traits": { "smithy.api#documentation": "Specifies the launch template to use and optionally the instance types (overrides)\n that are used to provision EC2 instances to fulfill On-Demand and Spot capacities.\n Required when creating a mixed instances policy.
" } }, "InstancesDistribution": { "target": "com.amazonaws.autoscaling#InstancesDistribution", "traits": { "smithy.api#documentation": "Specifies the instances distribution. If not provided, the value for each property in\n InstancesDistribution
uses a default value.
Describes a mixed instances policy for an Auto Scaling group. With mixed instances, your Auto Scaling\n group can provision a combination of On-Demand Instances and Spot Instances across\n multiple instance types. For more information, see Auto Scaling groups with multiple\n instance types and purchase options in the Amazon EC2 Auto Scaling User\n Guide.
\nYou can create a mixed instances policy for a new Auto Scaling group, or you can create it for\n an existing group by updating the group to specify MixedInstancesPolicy
as\n the top-level property instead of a launch configuration or launch template.
The name of the Auto Scaling group.
" } }, "TopicARN": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (Amazon SNS)\n topic.
" } }, "NotificationType": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "One of the following event notification types:
\n\n autoscaling:EC2_INSTANCE_LAUNCH
\n
\n autoscaling:EC2_INSTANCE_LAUNCH_ERROR
\n
\n autoscaling:EC2_INSTANCE_TERMINATE
\n
\n autoscaling:EC2_INSTANCE_TERMINATE_ERROR
\n
\n autoscaling:TEST_NOTIFICATION
\n
Describes a notification.
" } }, "com.amazonaws.autoscaling#NotificationConfigurations": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#NotificationConfiguration" } }, "com.amazonaws.autoscaling#NotificationTargetResourceName": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 255 }, "smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" } }, "com.amazonaws.autoscaling#NumberOfAutoScalingGroups": { "type": "integer", "traits": { "smithy.api#box": {} } }, "com.amazonaws.autoscaling#NumberOfLaunchConfigurations": { "type": "integer", "traits": { "smithy.api#box": {} } }, "com.amazonaws.autoscaling#OnDemandBaseCapacity": { "type": "integer", "traits": { "smithy.api#box": {} } }, "com.amazonaws.autoscaling#OnDemandPercentageAboveBaseCapacity": { "type": "integer", "traits": { "smithy.api#box": {} } }, "com.amazonaws.autoscaling#Overrides": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#LaunchTemplateOverrides" } }, "com.amazonaws.autoscaling#PoliciesType": { "type": "structure", "members": { "ScalingPolicies": { "target": "com.amazonaws.autoscaling#ScalingPolicies", "traits": { "smithy.api#documentation": "The scaling policies.
" } }, "NextToken": { "target": "com.amazonaws.autoscaling#XmlString", "traits": { "smithy.api#documentation": "A string that indicates that the response contains more items than can be returned in\n a single response. To receive additional items, specify this string for the\n NextToken
value when requesting the next set of items. This value is\n null when there are no more items to return.
The Amazon Resource Name (ARN) of the policy.
" } }, "Alarms": { "target": "com.amazonaws.autoscaling#Alarms", "traits": { "smithy.api#documentation": "The CloudWatch alarms created for the target tracking scaling policy.
" } } }, "traits": { "smithy.api#documentation": "Contains the output of PutScalingPolicy.
" } }, "com.amazonaws.autoscaling#PolicyIncrement": { "type": "integer", "traits": { "smithy.api#box": {} } }, "com.amazonaws.autoscaling#PolicyNames": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#ResourceName" } }, "com.amazonaws.autoscaling#PolicyTypes": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen64" } }, "com.amazonaws.autoscaling#PredefinedLoadMetricType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "ASGTotalCPUUtilization", "name": "ASGTotalCPUUtilization" }, { "value": "ASGTotalNetworkIn", "name": "ASGTotalNetworkIn" }, { "value": "ASGTotalNetworkOut", "name": "ASGTotalNetworkOut" }, { "value": "ALBTargetGroupRequestCount", "name": "ALBTargetGroupRequestCount" } ] } }, "com.amazonaws.autoscaling#PredefinedMetricPairType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "ASGCPUUtilization", "name": "ASGCPUUtilization" }, { "value": "ASGNetworkIn", "name": "ASGNetworkIn" }, { "value": "ASGNetworkOut", "name": "ASGNetworkOut" }, { "value": "ALBRequestCount", "name": "ALBRequestCount" } ] } }, "com.amazonaws.autoscaling#PredefinedMetricSpecification": { "type": "structure", "members": { "PredefinedMetricType": { "target": "com.amazonaws.autoscaling#MetricType", "traits": { "smithy.api#documentation": "The metric type. The following predefined metrics are available:
\n\n ASGAverageCPUUtilization
- Average CPU utilization of the Auto Scaling\n group.
\n ASGAverageNetworkIn
- Average number of bytes received on all\n network interfaces by the Auto Scaling group.
\n ASGAverageNetworkOut
- Average number of bytes sent out on all\n network interfaces by the Auto Scaling group.
\n ALBRequestCountPerTarget
- Number of requests completed per\n target in an Application Load Balancer target group.
Identifies the resource associated with the metric type. You can't specify a resource\n label unless the metric type is ALBRequestCountPerTarget
and there is a\n target group attached to the Auto Scaling group.
You create the resource label by appending the final portion of the load balancer ARN\n and the final portion of the target group ARN into a single value, separated by a\n forward slash (/). The format is\n app/
app/
targetgroup/
This is an example:\n app/EC2Co-EcsEl-1TKLTMITMM0EO/f37c06a68c1748aa/targetgroup/EC2Co-Defau-LDNM7Q3ZH1ZN/6d4ea56ca2d6a18d.
\nTo find the ARN for an Application Load Balancer, use the DescribeLoadBalancers API operation. To find the ARN for the target group,\n use the DescribeTargetGroups API operation.
" } } }, "traits": { "smithy.api#documentation": "Represents a predefined metric for a target tracking scaling policy to use with\n Amazon EC2 Auto Scaling.
" } }, "com.amazonaws.autoscaling#PredefinedScalingMetricType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "ASGAverageCPUUtilization", "name": "ASGAverageCPUUtilization" }, { "value": "ASGAverageNetworkIn", "name": "ASGAverageNetworkIn" }, { "value": "ASGAverageNetworkOut", "name": "ASGAverageNetworkOut" }, { "value": "ALBRequestCountPerTarget", "name": "ALBRequestCountPerTarget" } ] } }, "com.amazonaws.autoscaling#PredictiveScalingConfiguration": { "type": "structure", "members": { "MetricSpecifications": { "target": "com.amazonaws.autoscaling#PredictiveScalingMetricSpecifications", "traits": { "smithy.api#documentation": "This structure includes the metrics and target utilization to use for predictive\n scaling.
\nThis is an array, but we currently only support a single metric specification. That\n is, you can specify a target value and a single metric pair, or a target value and one\n scaling metric and one load metric.
", "smithy.api#required": {} } }, "Mode": { "target": "com.amazonaws.autoscaling#PredictiveScalingMode", "traits": { "smithy.api#documentation": "The predictive scaling mode. Defaults to ForecastOnly
if not\n specified.
The amount of time, in seconds, by which the instance launch time can be advanced. For\n example, the forecast says to add capacity at 10:00 AM, and you choose to pre-launch\n instances by 5 minutes. In that case, the instances will be launched at 9:55 AM. The\n intention is to give resources time to be provisioned. It can take a few minutes to\n launch an EC2 instance. The actual amount of time required depends on several factors,\n such as the size of the instance and whether there are startup scripts to complete.
\nThe value must be less than the forecast interval duration of 3600 seconds (60\n minutes). Defaults to 300 seconds if not specified.
" } }, "MaxCapacityBreachBehavior": { "target": "com.amazonaws.autoscaling#PredictiveScalingMaxCapacityBreachBehavior", "traits": { "smithy.api#documentation": "Defines the behavior that should be applied if the forecast capacity approaches or\n exceeds the maximum capacity of the Auto Scaling group. Defaults to\n HonorMaxCapacity
if not specified.
The following are possible values:
\n\n HonorMaxCapacity
- Amazon EC2 Auto Scaling cannot scale out capacity higher than\n the maximum capacity. The maximum capacity is enforced as a hard limit.
\n IncreaseMaxCapacity
- Amazon EC2 Auto Scaling can scale out capacity higher than\n the maximum capacity when the forecast capacity is close to or exceeds the\n maximum capacity. The upper limit is determined by the forecasted capacity and\n the value for MaxCapacityBuffer
.
The size of the capacity buffer to use when the forecast capacity is close to or\n exceeds the maximum capacity. The value is specified as a percentage relative to the\n forecast capacity. For example, if the buffer is 10, this means a 10 percent buffer,\n such that if the forecast capacity is 50, and the maximum capacity is 40, then the\n effective maximum capacity is 55.
\nIf set to 0, Amazon EC2 Auto Scaling may scale capacity higher than the maximum capacity to equal but\n not exceed forecast capacity.
\nRequired if the MaxCapacityBreachBehavior
property is set to\n IncreaseMaxCapacity
, and cannot be used otherwise.
Represents a predictive scaling policy configuration to use with Amazon EC2 Auto Scaling.
" } }, "com.amazonaws.autoscaling#PredictiveScalingForecastTimestamps": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#TimestampType" } }, "com.amazonaws.autoscaling#PredictiveScalingForecastValues": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#MetricScale" } }, "com.amazonaws.autoscaling#PredictiveScalingMaxCapacityBreachBehavior": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "HonorMaxCapacity", "name": "HonorMaxCapacity" }, { "value": "IncreaseMaxCapacity", "name": "IncreaseMaxCapacity" } ] } }, "com.amazonaws.autoscaling#PredictiveScalingMaxCapacityBuffer": { "type": "integer", "traits": { "smithy.api#box": {}, "smithy.api#range": { "min": 0, "max": 100 } } }, "com.amazonaws.autoscaling#PredictiveScalingMetricSpecification": { "type": "structure", "members": { "TargetValue": { "target": "com.amazonaws.autoscaling#MetricScale", "traits": { "smithy.api#documentation": "Specifies the target utilization.
", "smithy.api#required": {} } }, "PredefinedMetricPairSpecification": { "target": "com.amazonaws.autoscaling#PredictiveScalingPredefinedMetricPair", "traits": { "smithy.api#documentation": "The metric pair specification from which Amazon EC2 Auto Scaling determines the appropriate scaling\n metric and load metric to use.
" } }, "PredefinedScalingMetricSpecification": { "target": "com.amazonaws.autoscaling#PredictiveScalingPredefinedScalingMetric", "traits": { "smithy.api#documentation": "The scaling metric specification.
" } }, "PredefinedLoadMetricSpecification": { "target": "com.amazonaws.autoscaling#PredictiveScalingPredefinedLoadMetric", "traits": { "smithy.api#documentation": "The load metric specification.
" } } }, "traits": { "smithy.api#documentation": "This structure specifies the metrics and target utilization settings for a predictive\n scaling policy.
\nYou must specify either a metric pair, or a load metric and a scaling metric\n individually. Specifying a metric pair instead of individual metrics provides a simpler\n way to configure metrics for a scaling policy. You choose the metric pair, and the\n policy automatically knows the correct sum and average statistics to use for the load\n metric and the scaling metric.
\nExample
\nYou create a predictive scaling policy and specify\n ALBRequestCount
as the value for the metric pair and\n 1000.0
as the target value. For this type of metric, you must\n provide the metric dimension for the corresponding target group, so you also\n provide a resource label for the Application Load Balancer target group that is\n attached to your Auto Scaling group.
The number of requests the target group receives per minute provides the load\n metric, and the request count averaged between the members of the target group\n provides the scaling metric. In CloudWatch, this refers to the\n RequestCount
and RequestCountPerTarget
metrics,\n respectively.
For optimal use of predictive scaling, you adhere to the best practice of\n using a dynamic scaling policy to automatically scale between the minimum\n capacity and maximum capacity in response to real-time changes in resource\n utilization.
\nAmazon EC2 Auto Scaling consumes data points for the load metric over the last 14 days and\n creates an hourly load forecast for predictive scaling. (A minimum of 24 hours\n of data is required.)
\nAfter creating the load forecast, Amazon EC2 Auto Scaling determines when to reduce or\n increase the capacity of your Auto Scaling group in each hour of the forecast period so\n that the average number of requests received by each instance is as close to\n 1000 requests per minute as possible at all times.
\nThe metric type.
", "smithy.api#required": {} } }, "ResourceLabel": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen1023", "traits": { "smithy.api#documentation": "A label that uniquely identifies a specific Application Load Balancer target \n group from which to determine the request count served by your Auto Scaling group. You can't specify a resource label \n unless the target group is attached to the Auto Scaling group.
\nYou create the resource label by appending the final portion of the load balancer ARN\n and the final portion of the target group ARN into a single value, separated by a forward\n slash (/). The format of the resource label is:
\n\n app/EC2Co-EcsEl-1TKLTMITMM0EO/f37c06a68c1748aa/targetgroup/EC2Co-Defau-LDNM7Q3ZH1ZN/6d4ea56ca2d6a18d
.
Where:
\napp/
targetgroup/
To find the ARN for an Application Load Balancer, use the DescribeLoadBalancers API operation. To find the ARN for the target group, use\n the DescribeTargetGroups API operation.
" } } }, "traits": { "smithy.api#documentation": "Describes a load metric for a predictive scaling policy.
\nWhen returned in the output of DescribePolicies
, it indicates that a\n predictive scaling policy uses individually specified load and scaling metrics instead\n of a metric pair.
Indicates which metrics to use. There are two different types of metrics for each\n metric type: one is a load metric and one is a scaling metric. For example, if the\n metric type is ASGCPUUtilization
, the Auto Scaling group's total CPU metric is used\n as the load metric, and the average CPU metric is used for the scaling metric.
A label that uniquely identifies a specific Application Load Balancer target \n group from which to determine the request count served by your Auto Scaling group. You can't specify a resource label \n unless the target group is attached to the Auto Scaling group.
\nYou create the resource label by appending the final portion of the load balancer ARN\n and the final portion of the target group ARN into a single value, separated by a forward\n slash (/). The format of the resource label is:
\n\n app/EC2Co-EcsEl-1TKLTMITMM0EO/f37c06a68c1748aa/targetgroup/EC2Co-Defau-LDNM7Q3ZH1ZN/6d4ea56ca2d6a18d
.
Where:
\napp/
targetgroup/
To find the ARN for an Application Load Balancer, use the DescribeLoadBalancers API operation. To find the ARN for the target group, use\n the DescribeTargetGroups API operation.
" } } }, "traits": { "smithy.api#documentation": "Represents a metric pair for a predictive scaling policy.
" } }, "com.amazonaws.autoscaling#PredictiveScalingPredefinedScalingMetric": { "type": "structure", "members": { "PredefinedMetricType": { "target": "com.amazonaws.autoscaling#PredefinedScalingMetricType", "traits": { "smithy.api#documentation": "The metric type.
", "smithy.api#required": {} } }, "ResourceLabel": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen1023", "traits": { "smithy.api#documentation": "A label that uniquely identifies a specific Application Load Balancer target \n group from which to determine the request count served by your Auto Scaling group. You can't specify a resource label \n unless the target group is attached to the Auto Scaling group.
\nYou create the resource label by appending the final portion of the load balancer ARN\n and the final portion of the target group ARN into a single value, separated by a forward\n slash (/). The format of the resource label is:
\n\n app/EC2Co-EcsEl-1TKLTMITMM0EO/f37c06a68c1748aa/targetgroup/EC2Co-Defau-LDNM7Q3ZH1ZN/6d4ea56ca2d6a18d
.
Where:
\napp/
targetgroup/
To find the ARN for an Application Load Balancer, use the DescribeLoadBalancers API operation. To find the ARN for the target group, use\n the DescribeTargetGroups API operation.
" } } }, "traits": { "smithy.api#documentation": "Describes a scaling metric for a predictive scaling policy.
\nWhen returned in the output of DescribePolicies
, it indicates that a\n predictive scaling policy uses individually specified load and scaling metrics instead\n of a metric pair.
One of the following processes:
\n\n Launch
\n
\n Terminate
\n
\n AddToLoadBalancer
\n
\n AlarmNotification
\n
\n AZRebalance
\n
\n HealthCheck
\n
\n InstanceRefresh
\n
\n ReplaceUnhealthy
\n
\n ScheduledActions
\n
Describes a process type.
\nFor more information, see Scaling processes in the Amazon EC2 Auto Scaling User Guide.
" } }, "com.amazonaws.autoscaling#Processes": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#ProcessType" } }, "com.amazonaws.autoscaling#ProcessesType": { "type": "structure", "members": { "Processes": { "target": "com.amazonaws.autoscaling#Processes", "traits": { "smithy.api#documentation": "The names of the process types.
" } } } }, "com.amazonaws.autoscaling#Progress": { "type": "integer" }, "com.amazonaws.autoscaling#PropagateAtLaunch": { "type": "boolean", "traits": { "smithy.api#box": {} } }, "com.amazonaws.autoscaling#ProtectedFromScaleIn": { "type": "boolean", "traits": { "smithy.api#box": {} } }, "com.amazonaws.autoscaling#PutLifecycleHook": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#PutLifecycleHookType" }, "output": { "target": "com.amazonaws.autoscaling#PutLifecycleHookAnswer" }, "errors": [ { "target": "com.amazonaws.autoscaling#LimitExceededFault" }, { "target": "com.amazonaws.autoscaling#ResourceContentionFault" } ], "traits": { "smithy.api#documentation": "Creates or updates a lifecycle hook for the specified Auto Scaling group.
\nA lifecycle hook tells Amazon EC2 Auto Scaling to perform an action on an instance when the instance\n launches (before it is put into service) or as the instance terminates (before it is\n fully terminated).
\nThis step is a part of the procedure for adding a lifecycle hook to an Auto Scaling\n group:
\n(Optional) Create a Lambda function and a rule that allows CloudWatch Events to\n invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates\n instances.
\n(Optional) Create a notification target and an IAM role. The target can be\n either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to\n publish lifecycle notifications to the target.
\n\n Create the lifecycle hook. Specify whether the hook is\n used when the instances launch or terminate.\n
\nIf you need more time, record the lifecycle action heartbeat to keep the\n instance in a pending state using the RecordLifecycleActionHeartbeat API call.
\nIf you finish before the timeout period ends, complete the lifecycle action\n using the CompleteLifecycleAction API call.
\nFor more information, see Amazon EC2 Auto Scaling lifecycle\n hooks in the Amazon EC2 Auto Scaling User Guide.
\nIf you exceed your maximum limit of lifecycle hooks, which by default is 50 per Auto Scaling\n group, the call fails.
\nYou can view the lifecycle hooks for an Auto Scaling group using the DescribeLifecycleHooks API call. If you are no longer using a lifecycle\n hook, you can delete it by calling the DeleteLifecycleHook API.
" } }, "com.amazonaws.autoscaling#PutLifecycleHookAnswer": { "type": "structure", "members": {} }, "com.amazonaws.autoscaling#PutLifecycleHookType": { "type": "structure", "members": { "LifecycleHookName": { "target": "com.amazonaws.autoscaling#AsciiStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the lifecycle hook.
", "smithy.api#required": {} } }, "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
", "smithy.api#required": {} } }, "LifecycleTransition": { "target": "com.amazonaws.autoscaling#LifecycleTransition", "traits": { "smithy.api#documentation": "The instance state to which you want to attach the lifecycle hook. The valid values\n are:
\nautoscaling:EC2_INSTANCE_LAUNCHING
\nautoscaling:EC2_INSTANCE_TERMINATING
\nRequired for new lifecycle hooks, but optional when updating existing hooks.
" } }, "RoleARN": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The ARN of the IAM role that allows the Auto Scaling group to publish to the specified\n notification target, for example, an Amazon SNS topic or an Amazon SQS queue.
\nRequired for new lifecycle hooks, but optional when updating existing hooks.
" } }, "NotificationTargetARN": { "target": "com.amazonaws.autoscaling#NotificationTargetResourceName", "traits": { "smithy.api#documentation": "The ARN of the notification target that Amazon EC2 Auto Scaling uses to notify you when an instance\n is in the transition state for the lifecycle hook. This target can be either an SQS\n queue or an SNS topic.
\nIf you specify an empty string, this overrides the current ARN.
\nThis operation uses the JSON format when sending notifications to an Amazon SQS queue,\n and an email key-value pair format when sending notifications to an Amazon SNS\n topic.
\nWhen you specify a notification target, Amazon EC2 Auto Scaling sends it a test message. Test\n messages contain the following additional key-value pair: \"Event\":\n \"autoscaling:TEST_NOTIFICATION\"
.
Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to\n the notification target.
" } }, "HeartbeatTimeout": { "target": "com.amazonaws.autoscaling#HeartbeatTimeout", "traits": { "smithy.api#documentation": "The maximum time, in seconds, that can elapse before the lifecycle hook times out. The\n range is from 30
to 7200
seconds. The default value is\n 3600
seconds (1 hour).
If the lifecycle hook times out, Amazon EC2 Auto Scaling performs the action that you specified in\n the DefaultResult
parameter. You can prevent the lifecycle hook from timing\n out by calling the RecordLifecycleActionHeartbeat API.
Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses\n or if an unexpected failure occurs. This parameter can be either CONTINUE
\n or ABANDON
. The default value is ABANDON
.
Configures an Auto Scaling group to send notifications when specified events take place.\n Subscribers to the specified topic can have messages delivered to an endpoint such as a\n web server or an email address.
\nThis configuration overwrites any existing configuration.
\nFor more information, see Getting Amazon SNS\n notifications when your Auto Scaling group scales in the\n Amazon EC2 Auto Scaling User Guide.
\nIf you exceed your maximum limit of SNS topics, which is 10 per Auto Scaling group, the call\n fails.
" } }, "com.amazonaws.autoscaling#PutNotificationConfigurationType": { "type": "structure", "members": { "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
", "smithy.api#required": {} } }, "TopicARN": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (Amazon SNS)\n topic.
", "smithy.api#required": {} } }, "NotificationTypes": { "target": "com.amazonaws.autoscaling#AutoScalingNotificationTypes", "traits": { "smithy.api#documentation": "The type of event that causes the notification to be sent. To query the notification\n types supported by Amazon EC2 Auto Scaling, call the DescribeAutoScalingNotificationTypes API.
", "smithy.api#required": {} } } } }, "com.amazonaws.autoscaling#PutScalingPolicy": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#PutScalingPolicyType" }, "output": { "target": "com.amazonaws.autoscaling#PolicyARNType" }, "errors": [ { "target": "com.amazonaws.autoscaling#LimitExceededFault" }, { "target": "com.amazonaws.autoscaling#ResourceContentionFault" }, { "target": "com.amazonaws.autoscaling#ServiceLinkedRoleFailure" } ], "traits": { "smithy.api#documentation": "Creates or updates a scaling policy for an Auto Scaling group. Scaling policies are used to\n scale an Auto Scaling group based on configurable metrics. If no policies are defined, the\n dynamic scaling and predictive scaling features are not used.
\nFor more information about using dynamic scaling, see Target tracking\n scaling policies and Step and simple scaling\n policies in the Amazon EC2 Auto Scaling User Guide.
\nFor more information about using predictive scaling, see Predictive\n scaling for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.
\nYou can view the scaling policies for an Auto Scaling group using the DescribePolicies API call. If you are no longer using a scaling policy,\n you can delete it by calling the DeletePolicy API.
" } }, "com.amazonaws.autoscaling#PutScalingPolicyType": { "type": "structure", "members": { "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
", "smithy.api#required": {} } }, "PolicyName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the policy.
", "smithy.api#required": {} } }, "PolicyType": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen64", "traits": { "smithy.api#documentation": "One of the following policy types:
\n\n TargetTrackingScaling
\n
\n StepScaling
\n
\n SimpleScaling
(default)
\n PredictiveScaling
\n
Specifies how the scaling adjustment is interpreted (for example, an absolute number\n or a percentage). The valid values are ChangeInCapacity
,\n ExactCapacity
, and PercentChangeInCapacity
.
Required if the policy type is StepScaling
or SimpleScaling
.\n For more information, see Scaling adjustment types in the Amazon EC2 Auto Scaling User Guide.
Available for backward compatibility. Use MinAdjustmentMagnitude
\n instead.
The minimum value to scale by when the adjustment type is\n PercentChangeInCapacity
. For example, suppose that you create a step\n scaling policy to scale out an Auto Scaling group by 25 percent and you specify a\n MinAdjustmentMagnitude
of 2. If the group has 4 instances and the\n scaling policy is performed, 25 percent of 4 is 1. However, because you specified a\n MinAdjustmentMagnitude
of 2, Amazon EC2 Auto Scaling scales out the group by 2\n instances.
Valid only if the policy type is StepScaling
or\n SimpleScaling
. For more information, see Scaling adjustment types in the Amazon EC2 Auto Scaling User\n Guide.
Some Auto Scaling groups use instance weights. In this case, set the\n MinAdjustmentMagnitude
to a value that is at least as large as your\n largest instance weight.
The amount by which to scale, based on the specified adjustment type. A positive value\n adds to the current capacity while a negative number removes from the current capacity.\n For exact capacity, you must specify a positive value.
\nRequired if the policy type is SimpleScaling
. (Not used with any other\n policy type.)
The duration of the policy's cooldown period, in seconds. When a cooldown period is\n specified here, it overrides the default cooldown period defined for the Auto Scaling\n group.
\nValid only if the policy type is SimpleScaling
. For more information, see\n Scaling\n cooldowns for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.
The aggregation type for the CloudWatch metrics. The valid values are Minimum
,\n Maximum
, and Average
. If the aggregation type is null, the\n value is treated as Average
.
Valid only if the policy type is StepScaling
.
A set of adjustments that enable you to scale based on the size of the alarm\n breach.
\nRequired if the policy type is StepScaling
. (Not used with any other\n policy type.)
The estimated time, in seconds, until a newly launched instance can contribute to the\n CloudWatch metrics. If not provided, the default is to use the value from the default cooldown\n period for the Auto Scaling group.
\nValid only if the policy type is TargetTrackingScaling
or\n StepScaling
.
A target tracking scaling policy. Provides support for predefined or customized\n metrics.
\nThe following predefined metrics are available:
\n\n ASGAverageCPUUtilization
\n
\n ASGAverageNetworkIn
\n
\n ASGAverageNetworkOut
\n
\n ALBRequestCountPerTarget
\n
If you specify ALBRequestCountPerTarget
for the metric, you must specify\n the ResourceLabel
parameter with the\n PredefinedMetricSpecification
.
For more information, see TargetTrackingConfiguration in the Amazon EC2 Auto Scaling API\n Reference.
\nRequired if the policy type is TargetTrackingScaling
.
Indicates whether the scaling policy is enabled or disabled. The default is enabled.\n For more information, see Disabling a\n scaling policy for an Auto Scaling group in the\n Amazon EC2 Auto Scaling User Guide.
" } }, "PredictiveScalingConfiguration": { "target": "com.amazonaws.autoscaling#PredictiveScalingConfiguration", "traits": { "smithy.api#documentation": "A predictive scaling policy. Provides support for only predefined metrics.
\nPredictive scaling works with CPU utilization, network in/out, and the Application\n Load Balancer request count.
\nFor more information, see PredictiveScalingConfiguration in the Amazon EC2 Auto Scaling API\n Reference.
\nRequired if the policy type is PredictiveScaling
.
Creates or updates a scheduled scaling action for an Auto Scaling group.
\nFor more information, see Scheduled scaling in the\n Amazon EC2 Auto Scaling User Guide.
\nYou can view the scheduled actions for an Auto Scaling group using the DescribeScheduledActions API call. If you are no longer using a\n scheduled action, you can delete it by calling the DeleteScheduledAction API.
" } }, "com.amazonaws.autoscaling#PutScheduledUpdateGroupActionType": { "type": "structure", "members": { "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
", "smithy.api#required": {} } }, "ScheduledActionName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of this scaling action.
", "smithy.api#required": {} } }, "Time": { "target": "com.amazonaws.autoscaling#TimestampType", "traits": { "smithy.api#documentation": "This parameter is no longer used.
" } }, "StartTime": { "target": "com.amazonaws.autoscaling#TimestampType", "traits": { "smithy.api#documentation": "The date and time for this action to start, in YYYY-MM-DDThh:mm:ssZ format in UTC/GMT\n only and in quotes (for example, \"2019-06-01T00:00:00Z\"
).
If you specify Recurrence
and StartTime
, Amazon EC2 Auto Scaling performs\n the action at this time, and then performs the action based on the specified\n recurrence.
If you try to schedule your action in the past, Amazon EC2 Auto Scaling returns an error\n message.
" } }, "EndTime": { "target": "com.amazonaws.autoscaling#TimestampType", "traits": { "smithy.api#documentation": "The date and time for the recurring schedule to end, in UTC.
" } }, "Recurrence": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The recurring schedule for this action. This format consists of five fields separated\n by white spaces: [Minute] [Hour] [Day_of_Month] [Month_of_Year] [Day_of_Week]. The value\n must be in quotes (for example, \"30 0 1 1,6,12 *\"
). For more information\n about this format, see Crontab.
When StartTime
and EndTime
are specified with\n Recurrence
, they form the boundaries of when the recurring action\n starts and stops.
Cron expressions use Universal Coordinated Time (UTC) by default.
" } }, "MinSize": { "target": "com.amazonaws.autoscaling#AutoScalingGroupMinSize", "traits": { "smithy.api#documentation": "The minimum size of the Auto Scaling group.
" } }, "MaxSize": { "target": "com.amazonaws.autoscaling#AutoScalingGroupMaxSize", "traits": { "smithy.api#documentation": "The maximum size of the Auto Scaling group.
" } }, "DesiredCapacity": { "target": "com.amazonaws.autoscaling#AutoScalingGroupDesiredCapacity", "traits": { "smithy.api#documentation": "The desired capacity is the initial capacity of the Auto Scaling group after the scheduled\n action runs and the capacity it attempts to maintain. It can scale beyond this capacity\n if you add more scaling conditions.
" } }, "TimeZone": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "Specifies the time zone for a cron expression. If a time zone is not provided, UTC is\n used by default.
\nValid values are the canonical names of the IANA time zones, derived from the IANA\n Time Zone Database (such as Etc/GMT+9
or Pacific/Tahiti
). For\n more information, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
Creates or updates a warm pool for the specified Auto Scaling group. A warm pool is a pool of\n pre-initialized EC2 instances that sits alongside the Auto Scaling group. Whenever your\n application needs to scale out, the Auto Scaling group can draw on the warm pool to meet its new\n desired capacity. For more information and example configurations, see Warm pools for\n Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.
\nThis operation must be called from the Region in which the Auto Scaling group was created.\n This operation cannot be called on an Auto Scaling group that has a mixed instances policy or a\n launch template or launch configuration that requests Spot Instances.
\nYou can view the instances in the warm pool using the DescribeWarmPool API call. If you are no longer using a warm pool, you can delete it by calling the\n DeleteWarmPool API.
" } }, "com.amazonaws.autoscaling#PutWarmPoolAnswer": { "type": "structure", "members": {} }, "com.amazonaws.autoscaling#PutWarmPoolType": { "type": "structure", "members": { "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
", "smithy.api#required": {} } }, "MaxGroupPreparedCapacity": { "target": "com.amazonaws.autoscaling#MaxGroupPreparedCapacity", "traits": { "smithy.api#documentation": "Specifies the maximum number of instances that are allowed to be in the warm pool or\n in any state except Terminated
for the Auto Scaling group. This is an optional\n property. Specify it only if you do not want the warm pool size to be determined by the\n difference between the group's maximum capacity and its desired capacity.
If a value for MaxGroupPreparedCapacity
is not specified, Amazon EC2 Auto Scaling\n launches and maintains the difference between the group's maximum capacity and its\n desired capacity. If you specify a value for MaxGroupPreparedCapacity
,\n Amazon EC2 Auto Scaling uses the difference between the MaxGroupPreparedCapacity
and\n the desired capacity instead.
The size of the warm pool is dynamic. Only when\n MaxGroupPreparedCapacity
and MinSize
are set to the\n same value does the warm pool have an absolute size.
If the desired capacity of the Auto Scaling group is higher than the\n MaxGroupPreparedCapacity
, the capacity of the warm pool is 0, unless\n you specify a value for MinSize
. To remove a value that you previously set,\n include the property but specify -1 for the value.
Specifies the minimum number of instances to maintain in the warm pool. This helps you\n to ensure that there is always a certain number of warmed instances available to handle\n traffic spikes. Defaults to 0 if not specified.
" } }, "PoolState": { "target": "com.amazonaws.autoscaling#WarmPoolState", "traits": { "smithy.api#documentation": "Sets the instance state to transition to after the lifecycle actions are complete.\n Default is Stopped
.
Records a heartbeat for the lifecycle action associated with the specified token or\n instance. This extends the timeout by the length of time defined using the PutLifecycleHook API call.
\n\nThis step is a part of the procedure for adding a lifecycle hook to an Auto Scaling\n group:
\n(Optional) Create a Lambda function and a rule that allows CloudWatch Events to\n invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates\n instances.
\n(Optional) Create a notification target and an IAM role. The target can be\n either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to\n publish lifecycle notifications to the target.
\nCreate the lifecycle hook. Specify whether the hook is used when the instances\n launch or terminate.
\n\n If you need more time, record the lifecycle action\n heartbeat to keep the instance in a pending state.\n
\nIf you finish before the timeout period ends, complete the lifecycle\n action.
\nFor more information, see Amazon EC2 Auto Scaling lifecycle\n hooks in the Amazon EC2 Auto Scaling User Guide.
" } }, "com.amazonaws.autoscaling#RecordLifecycleActionHeartbeatAnswer": { "type": "structure", "members": {} }, "com.amazonaws.autoscaling#RecordLifecycleActionHeartbeatType": { "type": "structure", "members": { "LifecycleHookName": { "target": "com.amazonaws.autoscaling#AsciiStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the lifecycle hook.
", "smithy.api#required": {} } }, "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#ResourceName", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
", "smithy.api#required": {} } }, "LifecycleActionToken": { "target": "com.amazonaws.autoscaling#LifecycleActionToken", "traits": { "smithy.api#documentation": "A token that uniquely identifies a specific lifecycle action associated with an\n instance. Amazon EC2 Auto Scaling sends this token to the notification target that you specified when\n you created the lifecycle hook.
" } }, "InstanceId": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen19", "traits": { "smithy.api#documentation": "The ID of the instance.
" } } } }, "com.amazonaws.autoscaling#RefreshInstanceWarmup": { "type": "integer", "traits": { "smithy.api#box": {}, "smithy.api#range": { "min": 0 } } }, "com.amazonaws.autoscaling#RefreshPreferences": { "type": "structure", "members": { "MinHealthyPercentage": { "target": "com.amazonaws.autoscaling#IntPercent", "traits": { "smithy.api#documentation": "The amount of capacity in the Auto Scaling group that must remain healthy during an instance\n refresh to allow the operation to continue, as a percentage of the desired capacity of\n the Auto Scaling group (rounded up to the nearest integer). The default is 90
.\n
The number of seconds until a newly launched instance is configured and ready to use.\n During this time, Amazon EC2 Auto Scaling does not immediately move on to the next replacement. The\n default is to use the value for the health check grace period defined for the\n group.
" } }, "CheckpointPercentages": { "target": "com.amazonaws.autoscaling#CheckpointPercentages", "traits": { "smithy.api#documentation": "Threshold values for each checkpoint in ascending order. Each number must be unique.\n To replace all instances in the Auto Scaling group, the last number in the array must be\n 100
.
For usage examples, see Adding\n checkpoints to an instance refresh in the\n Amazon EC2 Auto Scaling User Guide.
" } }, "CheckpointDelay": { "target": "com.amazonaws.autoscaling#CheckpointDelay", "traits": { "smithy.api#documentation": "The amount of time, in seconds, to wait after a checkpoint before continuing. This\n property is optional, but if you specify a value for it, you must also specify a value\n for CheckpointPercentages
. If you specify a value for\n CheckpointPercentages
and not for CheckpointDelay
, the\n CheckpointDelay
defaults to 3600
(1 hour).
Describes information used to start an instance refresh.
\nAll properties are optional. However, if you specify a value for\n CheckpointDelay
, you must also provide a value for\n CheckpointPercentages
.
You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group,\n instance, or load balancer).
", "smithy.api#error": "server", "smithy.api#httpError": 500 } }, "com.amazonaws.autoscaling#ResourceInUseFault": { "type": "structure", "members": { "message": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "" } } }, "traits": { "smithy.api#documentation": "The operation can't be performed because the resource is in use.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.autoscaling#ResourceName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1600 }, "smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" } }, "com.amazonaws.autoscaling#ResumeProcesses": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#ScalingProcessQuery" }, "errors": [ { "target": "com.amazonaws.autoscaling#ResourceContentionFault" }, { "target": "com.amazonaws.autoscaling#ResourceInUseFault" } ], "traits": { "smithy.api#documentation": "Resumes the specified suspended auto scaling processes, or all suspended process, for\n the specified Auto Scaling group.
\nFor more information, see Suspending and\n resuming scaling processes in the Amazon EC2 Auto Scaling User Guide.
" } }, "com.amazonaws.autoscaling#ScalingActivityInProgressFault": { "type": "structure", "members": { "message": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "" } } }, "traits": { "smithy.api#documentation": "The operation can't be performed because there are scaling activities in\n progress.
", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.autoscaling#ScalingActivityStatusCode": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "PendingSpotBidPlacement", "name": "PendingSpotBidPlacement" }, { "value": "WaitingForSpotInstanceRequestId", "name": "WaitingForSpotInstanceRequestId" }, { "value": "WaitingForSpotInstanceId", "name": "WaitingForSpotInstanceId" }, { "value": "WaitingForInstanceId", "name": "WaitingForInstanceId" }, { "value": "PreInService", "name": "PreInService" }, { "value": "InProgress", "name": "InProgress" }, { "value": "WaitingForELBConnectionDraining", "name": "WaitingForELBConnectionDraining" }, { "value": "MidLifecycleAction", "name": "MidLifecycleAction" }, { "value": "WaitingForInstanceWarmup", "name": "WaitingForInstanceWarmup" }, { "value": "Successful", "name": "Successful" }, { "value": "Failed", "name": "Failed" }, { "value": "Cancelled", "name": "Cancelled" } ] } }, "com.amazonaws.autoscaling#ScalingPolicies": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#ScalingPolicy" } }, "com.amazonaws.autoscaling#ScalingPolicy": { "type": "structure", "members": { "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
" } }, "PolicyName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the scaling policy.
" } }, "PolicyARN": { "target": "com.amazonaws.autoscaling#ResourceName", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the policy.
" } }, "PolicyType": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen64", "traits": { "smithy.api#documentation": "One of the following policy types:
\n\n TargetTrackingScaling
\n
\n StepScaling
\n
\n SimpleScaling
(default)
\n PredictiveScaling
\n
For more information, see Target tracking\n scaling policies and Step and simple scaling\n policies in the Amazon EC2 Auto Scaling User Guide.
" } }, "AdjustmentType": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "Specifies how the scaling adjustment is interpreted (for example, an absolute number\n or a percentage). The valid values are ChangeInCapacity
,\n ExactCapacity
, and PercentChangeInCapacity
.
Available for backward compatibility. Use MinAdjustmentMagnitude
\n instead.
The minimum value to scale by when the adjustment type is\n PercentChangeInCapacity
.
The amount by which to scale, based on the specified adjustment type. A positive value\n adds to the current capacity while a negative number removes from the current\n capacity.
" } }, "Cooldown": { "target": "com.amazonaws.autoscaling#Cooldown", "traits": { "smithy.api#documentation": "The duration of the policy's cooldown period, in seconds.
" } }, "StepAdjustments": { "target": "com.amazonaws.autoscaling#StepAdjustments", "traits": { "smithy.api#documentation": "A set of adjustments that enable you to scale based on the size of the alarm\n breach.
" } }, "MetricAggregationType": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen32", "traits": { "smithy.api#documentation": "The aggregation type for the CloudWatch metrics. The valid values are Minimum
,\n Maximum
, and Average
.
The estimated time, in seconds, until a newly launched instance can contribute to the\n CloudWatch metrics.
" } }, "Alarms": { "target": "com.amazonaws.autoscaling#Alarms", "traits": { "smithy.api#documentation": "The CloudWatch alarms related to the policy.
" } }, "TargetTrackingConfiguration": { "target": "com.amazonaws.autoscaling#TargetTrackingConfiguration", "traits": { "smithy.api#documentation": "A target tracking scaling policy.
" } }, "Enabled": { "target": "com.amazonaws.autoscaling#ScalingPolicyEnabled", "traits": { "smithy.api#documentation": "Indicates whether the policy is enabled (true
) or disabled\n (false
).
A predictive scaling policy.
" } } }, "traits": { "smithy.api#documentation": "Describes a scaling policy.
" } }, "com.amazonaws.autoscaling#ScalingPolicyEnabled": { "type": "boolean", "traits": { "smithy.api#box": {} } }, "com.amazonaws.autoscaling#ScalingProcessQuery": { "type": "structure", "members": { "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
", "smithy.api#required": {} } }, "ScalingProcesses": { "target": "com.amazonaws.autoscaling#ProcessNames", "traits": { "smithy.api#documentation": "One or more of the following processes:
\n\n Launch
\n
\n Terminate
\n
\n AddToLoadBalancer
\n
\n AlarmNotification
\n
\n AZRebalance
\n
\n HealthCheck
\n
\n InstanceRefresh
\n
\n ReplaceUnhealthy
\n
\n ScheduledActions
\n
If you omit this parameter, all processes are specified.
" } } } }, "com.amazonaws.autoscaling#ScheduledActionNames": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255" } }, "com.amazonaws.autoscaling#ScheduledActionsType": { "type": "structure", "members": { "ScheduledUpdateGroupActions": { "target": "com.amazonaws.autoscaling#ScheduledUpdateGroupActions", "traits": { "smithy.api#documentation": "The scheduled actions.
" } }, "NextToken": { "target": "com.amazonaws.autoscaling#XmlString", "traits": { "smithy.api#documentation": "A string that indicates that the response contains more items than can be returned in\n a single response. To receive additional items, specify this string for the\n NextToken
value when requesting the next set of items. This value is\n null when there are no more items to return.
The name of the Auto Scaling group.
" } }, "ScheduledActionName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the scheduled action.
" } }, "ScheduledActionARN": { "target": "com.amazonaws.autoscaling#ResourceName", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the scheduled action.
" } }, "Time": { "target": "com.amazonaws.autoscaling#TimestampType", "traits": { "smithy.api#documentation": "This parameter is no longer used.
" } }, "StartTime": { "target": "com.amazonaws.autoscaling#TimestampType", "traits": { "smithy.api#documentation": "The date and time in UTC for this action to start. For example,\n \"2019-06-01T00:00:00Z\"
.\n
The date and time in UTC for the recurring schedule to end. For example,\n \"2019-06-01T00:00:00Z\"
.\n
The recurring schedule for the action, in Unix cron syntax format.
\nWhen StartTime
and EndTime
are specified with\n Recurrence
, they form the boundaries of when the recurring action\n starts and stops.
The minimum size of the Auto Scaling group.
" } }, "MaxSize": { "target": "com.amazonaws.autoscaling#AutoScalingGroupMaxSize", "traits": { "smithy.api#documentation": "The maximum size of the Auto Scaling group.
" } }, "DesiredCapacity": { "target": "com.amazonaws.autoscaling#AutoScalingGroupDesiredCapacity", "traits": { "smithy.api#documentation": "The desired capacity is the initial capacity of the Auto Scaling group after the scheduled\n action runs and the capacity it attempts to maintain.
" } }, "TimeZone": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The time zone for the cron expression.
" } } }, "traits": { "smithy.api#documentation": "Describes a scheduled scaling\n action.
" } }, "com.amazonaws.autoscaling#ScheduledUpdateGroupActionRequest": { "type": "structure", "members": { "ScheduledActionName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the scaling action.
", "smithy.api#required": {} } }, "StartTime": { "target": "com.amazonaws.autoscaling#TimestampType", "traits": { "smithy.api#documentation": "The date and time for the action to start, in YYYY-MM-DDThh:mm:ssZ format in UTC/GMT\n only and in quotes (for example, \"2019-06-01T00:00:00Z\"
).
If you specify Recurrence
and StartTime
, Amazon EC2 Auto Scaling performs\n the action at this time, and then performs the action based on the specified\n recurrence.
If you try to schedule the action in the past, Amazon EC2 Auto Scaling returns an error\n message.
" } }, "EndTime": { "target": "com.amazonaws.autoscaling#TimestampType", "traits": { "smithy.api#documentation": "The date and time for the recurring schedule to end, in UTC.
" } }, "Recurrence": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The recurring schedule for the action, in Unix cron syntax format. This format\n consists of five fields separated by white spaces: [Minute] [Hour] [Day_of_Month]\n [Month_of_Year] [Day_of_Week]. The value must be in quotes (for example, \"30 0 1\n 1,6,12 *\"
). For more information about this format, see Crontab.
When StartTime
and EndTime
are specified with\n Recurrence
, they form the boundaries of when the recurring action\n starts and stops.
Cron expressions use Universal Coordinated Time (UTC) by default.
" } }, "MinSize": { "target": "com.amazonaws.autoscaling#AutoScalingGroupMinSize", "traits": { "smithy.api#documentation": "The minimum size of the Auto Scaling group.
" } }, "MaxSize": { "target": "com.amazonaws.autoscaling#AutoScalingGroupMaxSize", "traits": { "smithy.api#documentation": "The maximum size of the Auto Scaling group.
" } }, "DesiredCapacity": { "target": "com.amazonaws.autoscaling#AutoScalingGroupDesiredCapacity", "traits": { "smithy.api#documentation": "The desired capacity is the initial capacity of the Auto Scaling group after the scheduled\n action runs and the capacity it attempts to maintain.
" } }, "TimeZone": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "Specifies the time zone for a cron expression. If a time zone is not provided, UTC is\n used by default.
\nValid values are the canonical names of the IANA time zones, derived from the IANA\n Time Zone Database (such as Etc/GMT+9
or Pacific/Tahiti
). For\n more information, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
Describes information used for one or more scheduled scaling action updates in a BatchPutScheduledUpdateGroupAction operation.
" } }, "com.amazonaws.autoscaling#ScheduledUpdateGroupActionRequests": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#ScheduledUpdateGroupActionRequest" } }, "com.amazonaws.autoscaling#ScheduledUpdateGroupActions": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#ScheduledUpdateGroupAction" } }, "com.amazonaws.autoscaling#SecurityGroups": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#XmlString" } }, "com.amazonaws.autoscaling#ServiceLinkedRoleFailure": { "type": "structure", "members": { "message": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255" } }, "traits": { "smithy.api#documentation": "The service-linked role is not yet ready for use.
", "smithy.api#error": "server", "smithy.api#httpError": 500 } }, "com.amazonaws.autoscaling#SetDesiredCapacity": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#SetDesiredCapacityType" }, "errors": [ { "target": "com.amazonaws.autoscaling#ResourceContentionFault" }, { "target": "com.amazonaws.autoscaling#ScalingActivityInProgressFault" } ], "traits": { "smithy.api#documentation": "Sets the size of the specified Auto Scaling group.
\nIf a scale-in activity occurs as a result of a new DesiredCapacity
value\n that is lower than the current size of the group, the Auto Scaling group uses its termination\n policy to determine which instances to terminate.
For more information, see Manual scaling in the\n Amazon EC2 Auto Scaling User Guide.
" } }, "com.amazonaws.autoscaling#SetDesiredCapacityType": { "type": "structure", "members": { "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
", "smithy.api#required": {} } }, "DesiredCapacity": { "target": "com.amazonaws.autoscaling#AutoScalingGroupDesiredCapacity", "traits": { "smithy.api#documentation": "The desired capacity is the initial capacity of the Auto Scaling group after this operation\n completes and the capacity it attempts to maintain.
", "smithy.api#required": {} } }, "HonorCooldown": { "target": "com.amazonaws.autoscaling#HonorCooldown", "traits": { "smithy.api#documentation": "Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before initiating\n a scaling activity to set your Auto Scaling group to its new capacity. By default, Amazon EC2 Auto Scaling does\n not honor the cooldown period during manual scaling activities.
" } } } }, "com.amazonaws.autoscaling#SetInstanceHealth": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#SetInstanceHealthQuery" }, "errors": [ { "target": "com.amazonaws.autoscaling#ResourceContentionFault" } ], "traits": { "smithy.api#documentation": "Sets the health status of the specified instance.
\nFor more information, see Health checks for Auto Scaling\n instances in the Amazon EC2 Auto Scaling User Guide.
" } }, "com.amazonaws.autoscaling#SetInstanceHealthQuery": { "type": "structure", "members": { "InstanceId": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen19", "traits": { "smithy.api#documentation": "The ID of the instance.
", "smithy.api#required": {} } }, "HealthStatus": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen32", "traits": { "smithy.api#documentation": "The health status of the instance. Set to Healthy
to have the instance\n remain in service. Set to Unhealthy
to have the instance be out of service.\n Amazon EC2 Auto Scaling terminates and replaces the unhealthy instance.
If the Auto Scaling group of the specified instance has a HealthCheckGracePeriod
\n specified for the group, by default, this call respects the grace period. Set this to\n False
, to have the call not respect the grace period associated with\n the group.
For more information about the health check grace\n period, see CreateAutoScalingGroup in the Amazon EC2 Auto Scaling API\n Reference.
" } } } }, "com.amazonaws.autoscaling#SetInstanceProtection": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#SetInstanceProtectionQuery" }, "output": { "target": "com.amazonaws.autoscaling#SetInstanceProtectionAnswer" }, "errors": [ { "target": "com.amazonaws.autoscaling#LimitExceededFault" }, { "target": "com.amazonaws.autoscaling#ResourceContentionFault" } ], "traits": { "smithy.api#documentation": "Updates the instance protection settings of the specified instances. This operation\n cannot be called on instances in a warm pool.
\nFor more information about preventing instances that are part of an Auto Scaling group from\n terminating on scale in, see Instance scale-in protection in the\n Amazon EC2 Auto Scaling User Guide.
\nIf you exceed your maximum limit of instance IDs, which is 50 per Auto Scaling group, the call\n fails.
" } }, "com.amazonaws.autoscaling#SetInstanceProtectionAnswer": { "type": "structure", "members": {} }, "com.amazonaws.autoscaling#SetInstanceProtectionQuery": { "type": "structure", "members": { "InstanceIds": { "target": "com.amazonaws.autoscaling#InstanceIds", "traits": { "smithy.api#documentation": "One or more instance IDs. You can specify up to 50 instances.
", "smithy.api#required": {} } }, "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
", "smithy.api#required": {} } }, "ProtectedFromScaleIn": { "target": "com.amazonaws.autoscaling#ProtectedFromScaleIn", "traits": { "smithy.api#documentation": "Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling\n in.
", "smithy.api#required": {} } } } }, "com.amazonaws.autoscaling#ShouldDecrementDesiredCapacity": { "type": "boolean", "traits": { "smithy.api#box": {} } }, "com.amazonaws.autoscaling#ShouldRespectGracePeriod": { "type": "boolean", "traits": { "smithy.api#box": {} } }, "com.amazonaws.autoscaling#SpotInstancePools": { "type": "integer", "traits": { "smithy.api#box": {} } }, "com.amazonaws.autoscaling#SpotPrice": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 255 } } }, "com.amazonaws.autoscaling#StartInstanceRefresh": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#StartInstanceRefreshType" }, "output": { "target": "com.amazonaws.autoscaling#StartInstanceRefreshAnswer" }, "errors": [ { "target": "com.amazonaws.autoscaling#InstanceRefreshInProgressFault" }, { "target": "com.amazonaws.autoscaling#LimitExceededFault" }, { "target": "com.amazonaws.autoscaling#ResourceContentionFault" } ], "traits": { "smithy.api#documentation": "Starts a new instance refresh operation, which triggers a rolling replacement of\n previously launched instances in the Auto Scaling group with a new group of instances.
\nIf successful, this call creates a new instance refresh request with a unique ID that\n you can use to track its progress. To query its status, call the DescribeInstanceRefreshes API. To describe the instance refreshes that\n have already run, call the DescribeInstanceRefreshes API. To cancel an\n instance refresh operation in progress, use the CancelInstanceRefresh\n API.
\nFor more information, see Replacing Auto Scaling instances\n based on an instance refresh in the\n Amazon EC2 Auto Scaling User Guide.
" } }, "com.amazonaws.autoscaling#StartInstanceRefreshAnswer": { "type": "structure", "members": { "InstanceRefreshId": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "A unique ID for tracking the progress of the request.
" } } } }, "com.amazonaws.autoscaling#StartInstanceRefreshType": { "type": "structure", "members": { "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
", "smithy.api#required": {} } }, "Strategy": { "target": "com.amazonaws.autoscaling#RefreshStrategy", "traits": { "smithy.api#documentation": "The strategy to use for the instance refresh. The only valid value is\n Rolling
.
A rolling update is an update that is applied to all instances in an Auto Scaling group until\n all instances have been updated. A rolling update can fail due to failed health checks\n or if instances are on standby or are protected from scale in. If the rolling update\n process fails, any instances that were already replaced are not rolled back to their\n previous configuration.
" } }, "Preferences": { "target": "com.amazonaws.autoscaling#RefreshPreferences", "traits": { "smithy.api#documentation": "Set of preferences associated with the instance refresh request.
\nIf not provided, the default values are used. For MinHealthyPercentage
,\n the default value is 90
. For InstanceWarmup
, the default is to\n use the value specified for the health check grace period for the Auto Scaling group.
For more information, see RefreshPreferences in the Amazon EC2 Auto Scaling API\n Reference.
" } } } }, "com.amazonaws.autoscaling#StepAdjustment": { "type": "structure", "members": { "MetricIntervalLowerBound": { "target": "com.amazonaws.autoscaling#MetricScale", "traits": { "smithy.api#documentation": "The lower bound for the difference between the alarm threshold and the CloudWatch metric. If\n the metric value is above the breach threshold, the lower bound is inclusive (the metric\n must be greater than or equal to the threshold plus the lower bound). Otherwise, it is\n exclusive (the metric must be greater than the threshold plus the lower bound). A null\n value indicates negative infinity.
" } }, "MetricIntervalUpperBound": { "target": "com.amazonaws.autoscaling#MetricScale", "traits": { "smithy.api#documentation": "The upper bound for the difference between the alarm threshold and the CloudWatch metric. If\n the metric value is above the breach threshold, the upper bound is exclusive (the metric\n must be less than the threshold plus the upper bound). Otherwise, it is inclusive (the\n metric must be less than or equal to the threshold plus the upper bound). A null value\n indicates positive infinity.
\nThe upper bound must be greater than the lower bound.
" } }, "ScalingAdjustment": { "target": "com.amazonaws.autoscaling#PolicyIncrement", "traits": { "smithy.api#documentation": "The amount by which to scale, based on the specified adjustment type. A positive value\n adds to the current capacity while a negative number removes from the current\n capacity.
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "Describes information used to create a step adjustment for a step scaling\n policy.
\nFor the following examples, suppose that you have an alarm with a breach threshold of\n 50:
\nTo trigger the adjustment when the metric is greater than or equal to 50 and\n less than 60, specify a lower bound of 0 and an upper bound of 10.
\nTo trigger the adjustment when the metric is greater than 40 and less than or\n equal to 50, specify a lower bound of -10 and an upper bound of 0.
\nThere are a few rules for the step adjustments for your step policy:
\nThe ranges of your step adjustments can't overlap or have a gap.
\nAt most, one step adjustment can have a null lower bound. If one step\n adjustment has a negative lower bound, then there must be a step adjustment with\n a null lower bound.
\nAt most, one step adjustment can have a null upper bound. If one step\n adjustment has a positive upper bound, then there must be a step adjustment with\n a null upper bound.
\nThe upper and lower bound can't be null in the same step adjustment.
\nFor more information, see Step\n adjustments in the Amazon EC2 Auto Scaling User Guide.
" } }, "com.amazonaws.autoscaling#StepAdjustments": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#StepAdjustment" } }, "com.amazonaws.autoscaling#SuspendProcesses": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#ScalingProcessQuery" }, "errors": [ { "target": "com.amazonaws.autoscaling#ResourceContentionFault" }, { "target": "com.amazonaws.autoscaling#ResourceInUseFault" } ], "traits": { "smithy.api#documentation": "Suspends the specified auto scaling processes, or all processes, for the specified\n Auto Scaling group.
\nIf you suspend either the Launch
or Terminate
process types,\n it can prevent other process types from functioning properly. For more information, see\n Suspending and\n resuming scaling processes in the Amazon EC2 Auto Scaling User Guide.
To resume processes that have been suspended, call the ResumeProcesses API.
" } }, "com.amazonaws.autoscaling#SuspendedProcess": { "type": "structure", "members": { "ProcessName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the suspended process.
" } }, "SuspensionReason": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The reason that the process was suspended.
" } } }, "traits": { "smithy.api#documentation": "Describes an auto scaling process that has been suspended.
\nFor more information, see Scaling processes in the Amazon EC2 Auto Scaling User Guide.
" } }, "com.amazonaws.autoscaling#SuspendedProcesses": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#SuspendedProcess" } }, "com.amazonaws.autoscaling#Tag": { "type": "structure", "members": { "ResourceId": { "target": "com.amazonaws.autoscaling#XmlString", "traits": { "smithy.api#documentation": "The name of the group.
" } }, "ResourceType": { "target": "com.amazonaws.autoscaling#XmlString", "traits": { "smithy.api#documentation": "The type of resource. The only supported value is\n auto-scaling-group
.
The tag key.
", "smithy.api#required": {} } }, "Value": { "target": "com.amazonaws.autoscaling#TagValue", "traits": { "smithy.api#documentation": "The tag value.
" } }, "PropagateAtLaunch": { "target": "com.amazonaws.autoscaling#PropagateAtLaunch", "traits": { "smithy.api#documentation": "Determines whether the tag is added to new instances as they are launched in the\n group.
" } } }, "traits": { "smithy.api#documentation": "Describes a tag for an Auto Scaling group.
" } }, "com.amazonaws.autoscaling#TagDescription": { "type": "structure", "members": { "ResourceId": { "target": "com.amazonaws.autoscaling#XmlString", "traits": { "smithy.api#documentation": "The name of the group.
" } }, "ResourceType": { "target": "com.amazonaws.autoscaling#XmlString", "traits": { "smithy.api#documentation": "The type of resource. The only supported value is\n auto-scaling-group
.
The tag key.
" } }, "Value": { "target": "com.amazonaws.autoscaling#TagValue", "traits": { "smithy.api#documentation": "The tag value.
" } }, "PropagateAtLaunch": { "target": "com.amazonaws.autoscaling#PropagateAtLaunch", "traits": { "smithy.api#documentation": "Determines whether the tag is added to new instances as they are launched in the\n group.
" } } }, "traits": { "smithy.api#documentation": "Describes a tag for an Auto Scaling group.
" } }, "com.amazonaws.autoscaling#TagDescriptionList": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#TagDescription" } }, "com.amazonaws.autoscaling#TagKey": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 128 }, "smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" } }, "com.amazonaws.autoscaling#TagValue": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 256 }, "smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" } }, "com.amazonaws.autoscaling#Tags": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#Tag" } }, "com.amazonaws.autoscaling#TagsType": { "type": "structure", "members": { "Tags": { "target": "com.amazonaws.autoscaling#TagDescriptionList", "traits": { "smithy.api#documentation": "One or more tags.
" } }, "NextToken": { "target": "com.amazonaws.autoscaling#XmlString", "traits": { "smithy.api#documentation": "A string that indicates that the response contains more items than can be returned in\n a single response. To receive additional items, specify this string for the\n NextToken
value when requesting the next set of items. This value is\n null when there are no more items to return.
A predefined metric. You must specify either a predefined metric or a customized\n metric.
" } }, "CustomizedMetricSpecification": { "target": "com.amazonaws.autoscaling#CustomizedMetricSpecification", "traits": { "smithy.api#documentation": "A customized metric. You must specify either a predefined metric or a customized\n metric.
" } }, "TargetValue": { "target": "com.amazonaws.autoscaling#MetricScale", "traits": { "smithy.api#documentation": "The target value for the metric.
", "smithy.api#required": {} } }, "DisableScaleIn": { "target": "com.amazonaws.autoscaling#DisableScaleIn", "traits": { "smithy.api#documentation": "Indicates whether scaling in by the target tracking scaling policy is disabled. If\n scaling in is disabled, the target tracking scaling policy doesn't remove instances from\n the Auto Scaling group. Otherwise, the target tracking scaling policy can remove instances from\n the Auto Scaling group. The default is false
.
Represents a target tracking scaling policy configuration to use with Amazon EC2 Auto Scaling.
" } }, "com.amazonaws.autoscaling#TerminateInstanceInAutoScalingGroup": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#TerminateInstanceInAutoScalingGroupType" }, "output": { "target": "com.amazonaws.autoscaling#ActivityType" }, "errors": [ { "target": "com.amazonaws.autoscaling#ResourceContentionFault" }, { "target": "com.amazonaws.autoscaling#ScalingActivityInProgressFault" } ], "traits": { "smithy.api#documentation": "Terminates the specified instance and optionally adjusts the desired group size. This\n operation cannot be called on instances in a warm pool.
\nThis call simply makes a termination request. The instance is not terminated\n immediately. When an instance is terminated, the instance status changes to\n terminated
. You can't connect to or start an instance after you've\n terminated it.
If you do not specify the option to decrement the desired capacity, Amazon EC2 Auto Scaling launches\n instances to replace the ones that are terminated.
\nBy default, Amazon EC2 Auto Scaling balances instances across all Availability Zones. If you\n decrement the desired capacity, your Auto Scaling group can become unbalanced between\n Availability Zones. Amazon EC2 Auto Scaling tries to rebalance the group, and rebalancing might\n terminate instances in other zones. For more information, see Rebalancing activities in the Amazon EC2 Auto Scaling User Guide.
" } }, "com.amazonaws.autoscaling#TerminateInstanceInAutoScalingGroupType": { "type": "structure", "members": { "InstanceId": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen19", "traits": { "smithy.api#documentation": "The ID of the instance.
", "smithy.api#required": {} } }, "ShouldDecrementDesiredCapacity": { "target": "com.amazonaws.autoscaling#ShouldDecrementDesiredCapacity", "traits": { "smithy.api#documentation": "Indicates whether terminating the instance also decrements the size of the Auto Scaling\n group.
", "smithy.api#required": {} } } } }, "com.amazonaws.autoscaling#TerminationPolicies": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen1600" } }, "com.amazonaws.autoscaling#TimestampType": { "type": "timestamp" }, "com.amazonaws.autoscaling#UpdateAutoScalingGroup": { "type": "operation", "input": { "target": "com.amazonaws.autoscaling#UpdateAutoScalingGroupType" }, "errors": [ { "target": "com.amazonaws.autoscaling#ResourceContentionFault" }, { "target": "com.amazonaws.autoscaling#ScalingActivityInProgressFault" }, { "target": "com.amazonaws.autoscaling#ServiceLinkedRoleFailure" } ], "traits": { "smithy.api#documentation": "\n We strongly recommend that all Auto Scaling groups use launch templates to ensure full functionality for Amazon EC2 Auto Scaling and Amazon EC2.\n
\nUpdates the configuration for\n the specified Auto Scaling group.
\nTo update an Auto Scaling group, specify the name of the group and the parameter that you want\n to change. Any parameters that you don't specify are not changed by this update request.\n The new settings take effect on any scaling activities after this call returns.\n
\nIf you associate a new launch configuration or template with an Auto Scaling group, all new\n instances will get the updated configuration. Existing instances continue to run with\n the configuration that they were originally launched with. When you update a group to\n specify a mixed instances policy instead of a launch configuration or template, existing\n instances may be replaced to match the new purchasing options that you specified in the\n policy. For example, if the group currently has 100% On-Demand capacity and the policy\n specifies 50% Spot capacity, this means that half of your instances will be gradually\n terminated and relaunched as Spot Instances. When replacing instances, Amazon EC2 Auto Scaling launches\n new instances before terminating the old ones, so that updating your group does not\n compromise the performance or availability of your application.
\nNote the following about changing DesiredCapacity
, MaxSize
,\n or MinSize
:
If a scale-in activity occurs as a result of a new\n DesiredCapacity
value that is lower than the current size of\n the group, the Auto Scaling group uses its termination policy to determine which\n instances to terminate.
If you specify a new value for MinSize
without specifying a value\n for DesiredCapacity
, and the new MinSize
is larger\n than the current size of the group, this sets the group's\n DesiredCapacity
to the new MinSize
value.
If you specify a new value for MaxSize
without specifying a value\n for DesiredCapacity
, and the new MaxSize
is smaller\n than the current size of the group, this sets the group's\n DesiredCapacity
to the new MaxSize
value.
To see which parameters have been set, call the DescribeAutoScalingGroups API. To view the scaling policies for an Auto Scaling\n group, call the DescribePolicies API. If the group has scaling\n policies, you can update them by calling the PutScalingPolicy\n API.
" } }, "com.amazonaws.autoscaling#UpdateAutoScalingGroupType": { "type": "structure", "members": { "AutoScalingGroupName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the Auto Scaling group.
", "smithy.api#required": {} } }, "LaunchConfigurationName": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen255", "traits": { "smithy.api#documentation": "The name of the launch configuration. If you specify\n LaunchConfigurationName
in your update request, you can't specify\n LaunchTemplate
or MixedInstancesPolicy
.
The launch template and version to use to specify the updates. If you specify\n LaunchTemplate
in your update request, you can't specify\n LaunchConfigurationName
or MixedInstancesPolicy
.
An embedded object that specifies a mixed instances policy. When you make changes to\n an existing policy, all optional properties are left unchanged if not specified. For\n more information, see Auto Scaling groups with multiple\n instance types and purchase options in the Amazon EC2 Auto Scaling User\n Guide.
" } }, "MinSize": { "target": "com.amazonaws.autoscaling#AutoScalingGroupMinSize", "traits": { "smithy.api#documentation": "The minimum size of the Auto Scaling group.
" } }, "MaxSize": { "target": "com.amazonaws.autoscaling#AutoScalingGroupMaxSize", "traits": { "smithy.api#documentation": "The maximum size of the Auto Scaling group.
\nWith a mixed instances policy that uses instance weighting, Amazon EC2 Auto Scaling may need to\n go above MaxSize
to meet your capacity requirements. In this event,\n Amazon EC2 Auto Scaling will never go above MaxSize
by more than your largest instance\n weight (weights that define how many units each instance contributes to the desired\n capacity of the group).
The desired capacity is the initial capacity of the Auto Scaling group after this operation\n completes and the capacity it attempts to maintain. This number must be greater than or\n equal to the minimum size of the group and less than or equal to the maximum size of the\n group.
" } }, "DefaultCooldown": { "target": "com.amazonaws.autoscaling#Cooldown", "traits": { "smithy.api#documentation": "The amount of time, in seconds, after a scaling activity completes before another\n scaling activity can start. The default value is 300
. This setting applies\n when using simple scaling policies, but not when using other scaling policies or\n scheduled scaling. For more information, see Scaling cooldowns for Amazon EC2 Auto Scaling\n in the Amazon EC2 Auto Scaling User Guide.
One or more Availability Zones for the group.
" } }, "HealthCheckType": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen32", "traits": { "smithy.api#documentation": "The service to use for the health checks. The valid values are EC2
and\n ELB
. If you configure an Auto Scaling group to use ELB health checks, it\n considers the instance unhealthy if it fails either the EC2 status checks or the load\n balancer health checks.
The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status\n of an EC2 instance that has come into service. The default value is 0
. For\n more information, see Health\n check grace period in the Amazon EC2 Auto Scaling User Guide.
Conditional: Required if you are adding an ELB
health check.
The name of an existing placement group into which to launch your instances, if any. A\n placement group is a logical grouping of instances within a single Availability Zone.\n You cannot specify multiple Availability Zones and a placement group. For more\n information, see Placement Groups in the\n Amazon EC2 User Guide for Linux Instances.
" } }, "VPCZoneIdentifier": { "target": "com.amazonaws.autoscaling#XmlStringMaxLen2047", "traits": { "smithy.api#documentation": "A comma-separated list of subnet IDs for a virtual private cloud (VPC). If you specify\n VPCZoneIdentifier
with AvailabilityZones
, the subnets that\n you specify for this parameter must reside in those Availability Zones.
A policy or a list of policies that are used to select the instances to terminate. The\n policies are executed in the order that you list them. For more information, see Controlling which Auto Scaling instances terminate during scale in in the\n Amazon EC2 Auto Scaling User Guide.
" } }, "NewInstancesProtectedFromScaleIn": { "target": "com.amazonaws.autoscaling#InstanceProtected", "traits": { "smithy.api#documentation": "Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling\n when scaling in. For more information about preventing instances from terminating on\n scale in, see Instance scale-in protection in the\n Amazon EC2 Auto Scaling User Guide.
" } }, "ServiceLinkedRoleARN": { "target": "com.amazonaws.autoscaling#ResourceName", "traits": { "smithy.api#documentation": "The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to\n call other AWS services on your behalf. For more information, see Service-linked\n roles in the Amazon EC2 Auto Scaling User Guide.
" } }, "MaxInstanceLifetime": { "target": "com.amazonaws.autoscaling#MaxInstanceLifetime", "traits": { "smithy.api#documentation": "The maximum amount of time, in seconds, that an instance can be in service. The\n default is null. If specified, the value must be either 0 or a number equal to or\n greater than 86,400 seconds (1 day). To clear a previously set value, specify a new\n value of 0. For more information, see Replacing Auto Scaling\n instances based on maximum instance lifetime in the\n Amazon EC2 Auto Scaling User Guide.
" } }, "CapacityRebalance": { "target": "com.amazonaws.autoscaling#CapacityRebalanceEnabled", "traits": { "smithy.api#documentation": "Enables or disables Capacity Rebalancing. For more information, see Amazon EC2 Auto Scaling Capacity Rebalancing in the\n Amazon EC2 Auto Scaling User Guide.
" } } } }, "com.amazonaws.autoscaling#Values": { "type": "list", "member": { "target": "com.amazonaws.autoscaling#XmlString" } }, "com.amazonaws.autoscaling#WarmPoolConfiguration": { "type": "structure", "members": { "MaxGroupPreparedCapacity": { "target": "com.amazonaws.autoscaling#MaxGroupPreparedCapacity", "traits": { "smithy.api#documentation": "The maximum number of instances that are allowed to be in the warm pool or in any\n state except Terminated
for the Auto Scaling group.
The minimum number of instances to maintain in the warm pool.
" } }, "PoolState": { "target": "com.amazonaws.autoscaling#WarmPoolState", "traits": { "smithy.api#documentation": "The instance state to transition to after the lifecycle actions are complete.
" } }, "Status": { "target": "com.amazonaws.autoscaling#WarmPoolStatus", "traits": { "smithy.api#documentation": "The status of a warm pool that is marked for deletion.
" } } }, "traits": { "smithy.api#documentation": "Describes a warm pool configuration.
" } }, "com.amazonaws.autoscaling#WarmPoolMinSize": { "type": "integer", "traits": { "smithy.api#box": {}, "smithy.api#range": { "min": 0 } } }, "com.amazonaws.autoscaling#WarmPoolSize": { "type": "integer", "traits": { "smithy.api#box": {} } }, "com.amazonaws.autoscaling#WarmPoolState": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "Stopped", "name": "Stopped" }, { "value": "Running", "name": "Running" } ] } }, "com.amazonaws.autoscaling#WarmPoolStatus": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "PendingDelete", "name": "PendingDelete" } ] } }, "com.amazonaws.autoscaling#XmlString": { "type": "string", "traits": { "smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" } }, "com.amazonaws.autoscaling#XmlStringMaxLen1023": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1023 }, "smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" } }, "com.amazonaws.autoscaling#XmlStringMaxLen1600": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 1600 }, "smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" } }, "com.amazonaws.autoscaling#XmlStringMaxLen19": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 19 }, "smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" } }, "com.amazonaws.autoscaling#XmlStringMaxLen2047": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 2047 }, "smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" } }, "com.amazonaws.autoscaling#XmlStringMaxLen255": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 255 }, "smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" } }, "com.amazonaws.autoscaling#XmlStringMaxLen32": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 32 }, "smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" } }, "com.amazonaws.autoscaling#XmlStringMaxLen511": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 511 }, "smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" } }, "com.amazonaws.autoscaling#XmlStringMaxLen64": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" } }, "com.amazonaws.autoscaling#XmlStringUserData": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 21847 }, "smithy.api#pattern": "[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\r\\n\\t]*" } } } }