aws-sdk-autoscaling 1.109.0 → 1.111.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-autoscaling/auto_scaling_group.rb +19 -18
- data/lib/aws-sdk-autoscaling/client.rb +95 -99
- data/lib/aws-sdk-autoscaling/client_api.rb +3 -1
- data/lib/aws-sdk-autoscaling/instance.rb +6 -6
- data/lib/aws-sdk-autoscaling/launch_configuration.rb +18 -24
- data/lib/aws-sdk-autoscaling/resource.rb +32 -36
- data/lib/aws-sdk-autoscaling/scaling_policy.rb +1 -1
- data/lib/aws-sdk-autoscaling/types.rb +122 -125
- data/lib/aws-sdk-autoscaling.rb +1 -1
- metadata +4 -4
@@ -89,6 +89,11 @@ module Aws::AutoScaling
|
|
89
89
|
|
90
90
|
# @overload initialize(options)
|
91
91
|
# @param [Hash] options
|
92
|
+
#
|
93
|
+
# @option options [Array<Seahorse::Client::Plugin>] :plugins ([]])
|
94
|
+
# A list of plugins to apply to the client. Each plugin is either a
|
95
|
+
# class name or an instance of a plugin class.
|
96
|
+
#
|
92
97
|
# @option options [required, Aws::CredentialProvider] :credentials
|
93
98
|
# Your AWS credentials. This can be an instance of any one of the
|
94
99
|
# following classes:
|
@@ -209,7 +214,6 @@ module Aws::AutoScaling
|
|
209
214
|
# 'https://example.com'
|
210
215
|
# 'http://example.com:123'
|
211
216
|
#
|
212
|
-
#
|
213
217
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
214
218
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
215
219
|
# for endpoint discovery enabled operations. Defaults to 1000.
|
@@ -298,7 +302,6 @@ module Aws::AutoScaling
|
|
298
302
|
# throttling. This is a provisional mode that may change behavior
|
299
303
|
# in the future.
|
300
304
|
#
|
301
|
-
#
|
302
305
|
# @option options [String] :sdk_ua_app_id
|
303
306
|
# A unique and opaque application ID that is appended to the
|
304
307
|
# User-Agent header as app/sdk_ua_app_id. It should have a
|
@@ -427,12 +430,12 @@ module Aws::AutoScaling
|
|
427
430
|
# there are target groups attached to your Auto Scaling group, the
|
428
431
|
# instances are also registered with the target groups.
|
429
432
|
#
|
430
|
-
# For more information, see [
|
431
|
-
#
|
433
|
+
# For more information, see [Detach or attach instances][1] in the
|
434
|
+
# *Amazon EC2 Auto Scaling User Guide*.
|
432
435
|
#
|
433
436
|
#
|
434
437
|
#
|
435
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/attach-
|
438
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-detach-attach-instances.html
|
436
439
|
#
|
437
440
|
# @option params [Array<String>] :instance_ids
|
438
441
|
# The IDs of the instances. You can specify up to 20 instances.
|
@@ -968,7 +971,7 @@ module Aws::AutoScaling
|
|
968
971
|
# (`LaunchConfigurationName` or `InstanceId`).
|
969
972
|
#
|
970
973
|
# <note markdown="1"> The launch template that is specified must be configured for use with
|
971
|
-
# an Auto Scaling group. For more information, see [
|
974
|
+
# an Auto Scaling group. For more information, see [Create a launch
|
972
975
|
# template for an Auto Scaling group][1] in the *Amazon EC2 Auto Scaling
|
973
976
|
# User Guide*.
|
974
977
|
#
|
@@ -992,8 +995,9 @@ module Aws::AutoScaling
|
|
992
995
|
# specified, Amazon EC2 Auto Scaling uses the configuration values from
|
993
996
|
# the specified instance to create a new launch configuration. To get
|
994
997
|
# the instance ID, use the Amazon EC2 [DescribeInstances][1] API
|
995
|
-
# operation. For more information, see [
|
996
|
-
# using an
|
998
|
+
# operation. For more information, see [Create an Auto Scaling group
|
999
|
+
# using parameters from an existing instance][2] in the *Amazon EC2 Auto
|
1000
|
+
# Scaling User Guide*.
|
997
1001
|
#
|
998
1002
|
#
|
999
1003
|
#
|
@@ -1036,7 +1040,7 @@ module Aws::AutoScaling
|
|
1036
1040
|
#
|
1037
1041
|
#
|
1038
1042
|
#
|
1039
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
1043
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-cooldowns.html
|
1040
1044
|
#
|
1041
1045
|
# @option params [Array<String>] :availability_zones
|
1042
1046
|
# A list of Availability Zones where instances in the Auto Scaling group
|
@@ -1069,14 +1073,14 @@ module Aws::AutoScaling
|
|
1069
1073
|
#
|
1070
1074
|
# The valid values are `EC2`, `ELB`, and `VPC_LATTICE`. `EC2` is the
|
1071
1075
|
# default health check and cannot be disabled. For more information, see
|
1072
|
-
# [Health checks for Auto Scaling
|
1073
|
-
# Scaling User Guide*.
|
1076
|
+
# [Health checks for instances in an Auto Scaling group][1] in the
|
1077
|
+
# *Amazon EC2 Auto Scaling User Guide*.
|
1074
1078
|
#
|
1075
1079
|
# Only specify `EC2` if you must clear a value that was previously set.
|
1076
1080
|
#
|
1077
1081
|
#
|
1078
1082
|
#
|
1079
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
1083
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-health-checks.html
|
1080
1084
|
#
|
1081
1085
|
# @option params [Integer] :health_check_grace_period
|
1082
1086
|
# The amount of time, in seconds, that Amazon EC2 Auto Scaling waits
|
@@ -1117,8 +1121,9 @@ module Aws::AutoScaling
|
|
1117
1121
|
# @option params [Array<String>] :termination_policies
|
1118
1122
|
# A policy or a list of policies that are used to select the instance to
|
1119
1123
|
# terminate. These policies are executed in the order that you list
|
1120
|
-
# them. For more information, see [
|
1121
|
-
#
|
1124
|
+
# them. For more information, see [Configure termination policies for
|
1125
|
+
# Amazon EC2 Auto Scaling][1] in the *Amazon EC2 Auto Scaling User
|
1126
|
+
# Guide*.
|
1122
1127
|
#
|
1123
1128
|
# Valid values: `Default` \| `AllocationStrategy` \|
|
1124
1129
|
# `ClosestToNextInstanceHour` \| `NewestInstance` \| `OldestInstance` \|
|
@@ -1133,7 +1138,7 @@ module Aws::AutoScaling
|
|
1133
1138
|
# Indicates whether newly launched instances are protected from
|
1134
1139
|
# termination by Amazon EC2 Auto Scaling when scaling in. For more
|
1135
1140
|
# information about preventing instances from terminating on scale in,
|
1136
|
-
# see [
|
1141
|
+
# see [Use instance scale-in protection][1] in the *Amazon EC2 Auto
|
1137
1142
|
# Scaling User Guide*.
|
1138
1143
|
#
|
1139
1144
|
#
|
@@ -1189,7 +1194,7 @@ module Aws::AutoScaling
|
|
1189
1194
|
# The maximum amount of time, in seconds, that an instance can be in
|
1190
1195
|
# service. The default is null. If specified, the value must be either 0
|
1191
1196
|
# or a number equal to or greater than 86,400 seconds (1 day). For more
|
1192
|
-
# information, see [
|
1197
|
+
# information, see [Replace Auto Scaling instances based on maximum
|
1193
1198
|
# instance lifetime][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
1194
1199
|
#
|
1195
1200
|
#
|
@@ -1203,7 +1208,7 @@ module Aws::AutoScaling
|
|
1203
1208
|
# The unit of measurement for the value specified for desired capacity.
|
1204
1209
|
# Amazon EC2 Auto Scaling supports `DesiredCapacityType` for
|
1205
1210
|
# attribute-based instance type selection only. For more information,
|
1206
|
-
# see [
|
1211
|
+
# see [Create a mixed instances group using attribute-based instance
|
1207
1212
|
# type selection][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
1208
1213
|
#
|
1209
1214
|
# By default, Amazon EC2 Auto Scaling specifies `units`, which
|
@@ -1213,7 +1218,7 @@ module Aws::AutoScaling
|
|
1213
1218
|
#
|
1214
1219
|
#
|
1215
1220
|
#
|
1216
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-
|
1221
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-mixed-instances-group-attribute-based-instance-type-selection.html
|
1217
1222
|
#
|
1218
1223
|
# @option params [Integer] :default_instance_warmup
|
1219
1224
|
# The amount of time, in seconds, until a new instance is considered to
|
@@ -1556,7 +1561,7 @@ module Aws::AutoScaling
|
|
1556
1561
|
#
|
1557
1562
|
#
|
1558
1563
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-quotas.html
|
1559
|
-
# [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
1564
|
+
# [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-configurations.html
|
1560
1565
|
# [3]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-templates.html
|
1561
1566
|
#
|
1562
1567
|
# @option params [required, String] :launch_configuration_name
|
@@ -1565,8 +1570,8 @@ module Aws::AutoScaling
|
|
1565
1570
|
#
|
1566
1571
|
# @option params [String] :image_id
|
1567
1572
|
# The ID of the Amazon Machine Image (AMI) that was assigned during
|
1568
|
-
# registration. For more information, see [
|
1569
|
-
#
|
1573
|
+
# registration. For more information, see [Find a Linux AMI][1] in the
|
1574
|
+
# *Amazon EC2 User Guide for Linux Instances*.
|
1570
1575
|
#
|
1571
1576
|
# If you specify `InstanceId`, an `ImageId` is not required.
|
1572
1577
|
#
|
@@ -1576,8 +1581,8 @@ module Aws::AutoScaling
|
|
1576
1581
|
#
|
1577
1582
|
# @option params [String] :key_name
|
1578
1583
|
# The name of the key pair. For more information, see [Amazon EC2 key
|
1579
|
-
# pairs and
|
1580
|
-
# Instances*.
|
1584
|
+
# pairs and Amazon EC2 instances][1] in the *Amazon EC2 User Guide for
|
1585
|
+
# Linux Instances*.
|
1581
1586
|
#
|
1582
1587
|
#
|
1583
1588
|
#
|
@@ -1586,12 +1591,12 @@ module Aws::AutoScaling
|
|
1586
1591
|
# @option params [Array<String>] :security_groups
|
1587
1592
|
# A list that contains the security group IDs to assign to the instances
|
1588
1593
|
# in the Auto Scaling group. For more information, see [Control traffic
|
1589
|
-
# to resources using security groups][1] in the
|
1590
|
-
# Cloud User Guide*.
|
1594
|
+
# to your Amazon Web Services resources using security groups][1] in the
|
1595
|
+
# *Amazon Virtual Private Cloud User Guide*.
|
1591
1596
|
#
|
1592
1597
|
#
|
1593
1598
|
#
|
1594
|
-
# [1]: https://docs.aws.amazon.com/
|
1599
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-security-groups.html
|
1595
1600
|
#
|
1596
1601
|
# @option params [String] :classic_link_vpc_id
|
1597
1602
|
# Available for backward compatibility.
|
@@ -1621,12 +1626,12 @@ module Aws::AutoScaling
|
|
1621
1626
|
# override any other instance attributes, specify them as part of the
|
1622
1627
|
# same request.
|
1623
1628
|
#
|
1624
|
-
# For more information, see [
|
1625
|
-
#
|
1629
|
+
# For more information, see [Create a launch configuration][1] in the
|
1630
|
+
# *Amazon EC2 Auto Scaling User Guide*.
|
1626
1631
|
#
|
1627
1632
|
#
|
1628
1633
|
#
|
1629
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-
|
1634
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html
|
1630
1635
|
#
|
1631
1636
|
# @option params [String] :instance_type
|
1632
1637
|
# Specifies the instance type of the EC2 instance. For information about
|
@@ -1685,8 +1690,8 @@ module Aws::AutoScaling
|
|
1685
1690
|
# When detailed monitoring is enabled, Amazon CloudWatch generates
|
1686
1691
|
# metrics every minute and your account is charged a fee. When you
|
1687
1692
|
# disable detailed monitoring, CloudWatch generates metrics every 5
|
1688
|
-
# minutes. For more information, see [Configure
|
1689
|
-
# Scaling
|
1693
|
+
# minutes. For more information, see [Configure monitoring for Auto
|
1694
|
+
# Scaling instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
1690
1695
|
#
|
1691
1696
|
#
|
1692
1697
|
#
|
@@ -1737,7 +1742,7 @@ module Aws::AutoScaling
|
|
1737
1742
|
#
|
1738
1743
|
#
|
1739
1744
|
#
|
1740
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
1745
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html
|
1741
1746
|
#
|
1742
1747
|
# @option params [Boolean] :associate_public_ip_address
|
1743
1748
|
# Specifies whether to assign a public IPv4 address to the group's
|
@@ -1750,8 +1755,8 @@ module Aws::AutoScaling
|
|
1750
1755
|
#
|
1751
1756
|
# If you specify `true`, each instance in the Auto Scaling group
|
1752
1757
|
# receives a unique public IPv4 address. For more information, see
|
1753
|
-
# [
|
1754
|
-
# Scaling User Guide*.
|
1758
|
+
# [Provide network connectivity for your Auto Scaling instances using
|
1759
|
+
# Amazon VPC][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
1755
1760
|
#
|
1756
1761
|
# If you specify this property, you must specify at least one subnet for
|
1757
1762
|
# `VPCZoneIdentifier` when you create your group.
|
@@ -1766,22 +1771,16 @@ module Aws::AutoScaling
|
|
1766
1771
|
# hardware and can only be launched into a VPC. To launch dedicated
|
1767
1772
|
# instances into a shared tenancy VPC (a VPC with the instance placement
|
1768
1773
|
# tenancy attribute set to `default`), you must set the value of this
|
1769
|
-
# property to `dedicated`.
|
1770
|
-
# instance tenancy with Amazon EC2 Auto Scaling][1] in the *Amazon EC2
|
1771
|
-
# Auto Scaling User Guide*.
|
1774
|
+
# property to `dedicated`.
|
1772
1775
|
#
|
1773
1776
|
# If you specify `PlacementTenancy`, you must specify at least one
|
1774
1777
|
# subnet for `VPCZoneIdentifier` when you create your group.
|
1775
1778
|
#
|
1776
1779
|
# Valid values: `default` \| `dedicated`
|
1777
1780
|
#
|
1778
|
-
#
|
1779
|
-
#
|
1780
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-dedicated-instances.html
|
1781
|
-
#
|
1782
1781
|
# @option params [Types::InstanceMetadataOptions] :metadata_options
|
1783
1782
|
# The metadata options for the instances. For more information, see
|
1784
|
-
# [
|
1783
|
+
# [Configure the instance metadata options][1] in the *Amazon EC2 Auto
|
1785
1784
|
# Scaling User Guide*.
|
1786
1785
|
#
|
1787
1786
|
#
|
@@ -2114,8 +2113,8 @@ module Aws::AutoScaling
|
|
2114
2113
|
# deletes the underlying alarm action, but does not delete the alarm,
|
2115
2114
|
# even if it no longer has an associated action.
|
2116
2115
|
#
|
2117
|
-
# For more information, see [
|
2118
|
-
#
|
2116
|
+
# For more information, see [Delete a scaling policy][1] in the *Amazon
|
2117
|
+
# EC2 Auto Scaling User Guide*.
|
2119
2118
|
#
|
2120
2119
|
#
|
2121
2120
|
#
|
@@ -3751,7 +3750,7 @@ module Aws::AutoScaling
|
|
3751
3750
|
# Region.
|
3752
3751
|
#
|
3753
3752
|
# When scaling events occur, you see a record of the scaling activity in
|
3754
|
-
# the scaling activities. For more information, see [
|
3753
|
+
# the scaling activities. For more information, see [Verify a scaling
|
3755
3754
|
# activity for an Auto Scaling group][1] in the *Amazon EC2 Auto Scaling
|
3756
3755
|
# User Guide*.
|
3757
3756
|
#
|
@@ -4130,8 +4129,8 @@ module Aws::AutoScaling
|
|
4130
4129
|
# Describes the termination policies supported by Amazon EC2 Auto
|
4131
4130
|
# Scaling.
|
4132
4131
|
#
|
4133
|
-
# For more information, see [
|
4134
|
-
#
|
4132
|
+
# For more information, see [Configure termination policies for Amazon
|
4133
|
+
# EC2 Auto Scaling][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
4135
4134
|
#
|
4136
4135
|
#
|
4137
4136
|
#
|
@@ -4342,12 +4341,12 @@ module Aws::AutoScaling
|
|
4342
4341
|
# are target groups attached to the Auto Scaling group, the instances
|
4343
4342
|
# are deregistered from the target groups.
|
4344
4343
|
#
|
4345
|
-
# For more information, see [Detach
|
4346
|
-
#
|
4344
|
+
# For more information, see [Detach or attach instances][1] in the
|
4345
|
+
# *Amazon EC2 Auto Scaling User Guide*.
|
4347
4346
|
#
|
4348
4347
|
#
|
4349
4348
|
#
|
4350
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/detach-
|
4349
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-detach-attach-instances.html
|
4351
4350
|
#
|
4352
4351
|
# @option params [Array<String>] :instance_ids
|
4353
4352
|
# The IDs of the instances. You can specify up to 20 instances.
|
@@ -4653,12 +4652,12 @@ module Aws::AutoScaling
|
|
4653
4652
|
#
|
4654
4653
|
# If you omit this property, all metrics are disabled.
|
4655
4654
|
#
|
4656
|
-
# For more information, see [
|
4657
|
-
# *Amazon EC2 Auto Scaling User Guide*.
|
4655
|
+
# For more information, see [Amazon CloudWatch metrics for Amazon EC2
|
4656
|
+
# Auto Scaling][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
4658
4657
|
#
|
4659
4658
|
#
|
4660
4659
|
#
|
4661
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-
|
4660
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-metrics.html
|
4662
4661
|
#
|
4663
4662
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4664
4663
|
#
|
@@ -4754,12 +4753,12 @@ module Aws::AutoScaling
|
|
4754
4753
|
# If you specify `Granularity` and don't specify any metrics, all
|
4755
4754
|
# metrics are enabled.
|
4756
4755
|
#
|
4757
|
-
# For more information, see [
|
4758
|
-
# *Amazon EC2 Auto Scaling User Guide*.
|
4756
|
+
# For more information, see [Amazon CloudWatch metrics for Amazon EC2
|
4757
|
+
# Auto Scaling][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
4759
4758
|
#
|
4760
4759
|
#
|
4761
4760
|
#
|
4762
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-
|
4761
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-metrics.html
|
4763
4762
|
#
|
4764
4763
|
# @option params [required, String] :granularity
|
4765
4764
|
# The frequency at which Amazon EC2 Auto Scaling sends aggregated data
|
@@ -4907,7 +4906,7 @@ module Aws::AutoScaling
|
|
4907
4906
|
#
|
4908
4907
|
#
|
4909
4908
|
#
|
4910
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
4909
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-cooldowns.html
|
4911
4910
|
#
|
4912
4911
|
# @option params [Float] :metric_value
|
4913
4912
|
# The metric value to compare to `BreachThreshold`. This enables you to
|
@@ -5313,16 +5312,15 @@ module Aws::AutoScaling
|
|
5313
5312
|
#
|
5314
5313
|
# This configuration overwrites any existing configuration.
|
5315
5314
|
#
|
5316
|
-
# For more information, see [
|
5317
|
-
# Auto Scaling
|
5318
|
-
# Guide*.
|
5315
|
+
# For more information, see [Amazon SNS notification options for Amazon
|
5316
|
+
# EC2 Auto Scaling][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
5319
5317
|
#
|
5320
5318
|
# If you exceed your maximum limit of SNS topics, which is 10 per Auto
|
5321
5319
|
# Scaling group, the call fails.
|
5322
5320
|
#
|
5323
5321
|
#
|
5324
5322
|
#
|
5325
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
5323
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-sns-notifications.html
|
5326
5324
|
#
|
5327
5325
|
# @option params [required, String] :auto_scaling_group_name
|
5328
5326
|
# The name of the Auto Scaling group.
|
@@ -5469,7 +5467,7 @@ module Aws::AutoScaling
|
|
5469
5467
|
#
|
5470
5468
|
#
|
5471
5469
|
#
|
5472
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
5470
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-cooldowns.html
|
5473
5471
|
#
|
5474
5472
|
# @option params [String] :metric_aggregation_type
|
5475
5473
|
# The aggregation type for the CloudWatch metrics. The valid values are
|
@@ -5532,7 +5530,7 @@ module Aws::AutoScaling
|
|
5532
5530
|
#
|
5533
5531
|
# @option params [Boolean] :enabled
|
5534
5532
|
# Indicates whether the scaling policy is enabled or disabled. The
|
5535
|
-
# default is enabled. For more information, see [
|
5533
|
+
# default is enabled. For more information, see [Disable a scaling
|
5536
5534
|
# policy for an Auto Scaling group][1] in the *Amazon EC2 Auto Scaling
|
5537
5535
|
# User Guide*.
|
5538
5536
|
#
|
@@ -5632,7 +5630,7 @@ module Aws::AutoScaling
|
|
5632
5630
|
# unit: "MetricUnit",
|
5633
5631
|
# metrics: [
|
5634
5632
|
# {
|
5635
|
-
# id: "
|
5633
|
+
# id: "XmlStringMaxLen64", # required
|
5636
5634
|
# expression: "XmlStringMaxLen2047",
|
5637
5635
|
# metric_stat: {
|
5638
5636
|
# metric: { # required
|
@@ -5786,7 +5784,7 @@ module Aws::AutoScaling
|
|
5786
5784
|
#
|
5787
5785
|
#
|
5788
5786
|
#
|
5789
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
5787
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scheduled-scaling.html
|
5790
5788
|
#
|
5791
5789
|
# @option params [required, String] :auto_scaling_group_name
|
5792
5790
|
# The name of the Auto Scaling group.
|
@@ -5901,19 +5899,18 @@ module Aws::AutoScaling
|
|
5901
5899
|
# warm pool is a pool of pre-initialized EC2 instances that sits
|
5902
5900
|
# alongside the Auto Scaling group. Whenever your application needs to
|
5903
5901
|
# scale out, the Auto Scaling group can draw on the warm pool to meet
|
5904
|
-
# its new desired capacity.
|
5905
|
-
# configurations, see [Warm pools for Amazon EC2 Auto Scaling][1] in the
|
5906
|
-
# *Amazon EC2 Auto Scaling User Guide*.
|
5902
|
+
# its new desired capacity.
|
5907
5903
|
#
|
5908
5904
|
# This operation must be called from the Region in which the Auto
|
5909
|
-
# Scaling group was created.
|
5910
|
-
# Scaling group that has a mixed instances policy or a launch template
|
5911
|
-
# or launch configuration that requests Spot Instances.
|
5905
|
+
# Scaling group was created.
|
5912
5906
|
#
|
5913
5907
|
# You can view the instances in the warm pool using the DescribeWarmPool
|
5914
5908
|
# API call. If you are no longer using a warm pool, you can delete it by
|
5915
5909
|
# calling the DeleteWarmPool API.
|
5916
5910
|
#
|
5911
|
+
# For more information, see [Warm pools for Amazon EC2 Auto Scaling][1]
|
5912
|
+
# in the *Amazon EC2 Auto Scaling User Guide*.
|
5913
|
+
#
|
5917
5914
|
#
|
5918
5915
|
#
|
5919
5916
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html
|
@@ -6081,7 +6078,7 @@ module Aws::AutoScaling
|
|
6081
6078
|
# Resumes the specified suspended auto scaling processes, or all
|
6082
6079
|
# suspended process, for the specified Auto Scaling group.
|
6083
6080
|
#
|
6084
|
-
# For more information, see [
|
6081
|
+
# For more information, see [Suspend and resume Amazon EC2 Auto Scaling
|
6085
6082
|
# processes][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
6086
6083
|
#
|
6087
6084
|
#
|
@@ -6213,7 +6210,7 @@ module Aws::AutoScaling
|
|
6213
6210
|
#
|
6214
6211
|
#
|
6215
6212
|
#
|
6216
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
6213
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-manually.html
|
6217
6214
|
#
|
6218
6215
|
# @option params [required, String] :auto_scaling_group_name
|
6219
6216
|
# The name of the Auto Scaling group.
|
@@ -6262,12 +6259,12 @@ module Aws::AutoScaling
|
|
6262
6259
|
|
6263
6260
|
# Sets the health status of the specified instance.
|
6264
6261
|
#
|
6265
|
-
# For more information, see [Health checks for Auto
|
6266
|
-
#
|
6262
|
+
# For more information, see [Health checks for instances in an Auto
|
6263
|
+
# Scaling group][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
6267
6264
|
#
|
6268
6265
|
#
|
6269
6266
|
#
|
6270
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
6267
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-health-checks.html
|
6271
6268
|
#
|
6272
6269
|
# @option params [required, String] :instance_id
|
6273
6270
|
# The ID of the instance.
|
@@ -6284,13 +6281,13 @@ module Aws::AutoScaling
|
|
6284
6281
|
# call respects the grace period. Set this to `False`, to have the call
|
6285
6282
|
# not respect the grace period associated with the group.
|
6286
6283
|
#
|
6287
|
-
# For more information about the health check grace period, see
|
6288
|
-
#
|
6289
|
-
#
|
6284
|
+
# For more information about the health check grace period, see [Set the
|
6285
|
+
# health check grace period for an Auto Scaling group][1] in the *Amazon
|
6286
|
+
# EC2 Auto Scaling User Guide*.
|
6290
6287
|
#
|
6291
6288
|
#
|
6292
6289
|
#
|
6293
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/
|
6290
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/health-check-grace-period.html
|
6294
6291
|
#
|
6295
6292
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
6296
6293
|
#
|
@@ -6324,9 +6321,8 @@ module Aws::AutoScaling
|
|
6324
6321
|
# Updates the instance protection settings of the specified instances.
|
6325
6322
|
# This operation cannot be called on instances in a warm pool.
|
6326
6323
|
#
|
6327
|
-
# For more information
|
6328
|
-
# Auto Scaling
|
6329
|
-
# scale-in protection][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
6324
|
+
# For more information, see [Use instance scale-in protection][1] in the
|
6325
|
+
# *Amazon EC2 Auto Scaling User Guide*.
|
6330
6326
|
#
|
6331
6327
|
# If you exceed your maximum limit of instance IDs, which is 50 per Auto
|
6332
6328
|
# Scaling group, the call fails.
|
@@ -6627,8 +6623,8 @@ module Aws::AutoScaling
|
|
6627
6623
|
#
|
6628
6624
|
# If you suspend either the `Launch` or `Terminate` process types, it
|
6629
6625
|
# can prevent other process types from functioning properly. For more
|
6630
|
-
# information, see [
|
6631
|
-
# *Amazon EC2 Auto Scaling User Guide*.
|
6626
|
+
# information, see [Suspend and resume Amazon EC2 Auto Scaling
|
6627
|
+
# processes][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
6632
6628
|
#
|
6633
6629
|
# To resume processes that have been suspended, call the ResumeProcesses
|
6634
6630
|
# API.
|
@@ -6710,13 +6706,12 @@ module Aws::AutoScaling
|
|
6710
6706
|
# Availability Zones. If you decrement the desired capacity, your Auto
|
6711
6707
|
# Scaling group can become unbalanced between Availability Zones. Amazon
|
6712
6708
|
# EC2 Auto Scaling tries to rebalance the group, and rebalancing might
|
6713
|
-
# terminate instances in other zones. For more information, see
|
6714
|
-
#
|
6715
|
-
# Guide*.
|
6709
|
+
# terminate instances in other zones. For more information, see [Manual
|
6710
|
+
# scaling][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
6716
6711
|
#
|
6717
6712
|
#
|
6718
6713
|
#
|
6719
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-
|
6714
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-manually.html
|
6720
6715
|
#
|
6721
6716
|
# @option params [required, String] :instance_id
|
6722
6717
|
# The ID of the instance.
|
@@ -6874,7 +6869,7 @@ module Aws::AutoScaling
|
|
6874
6869
|
#
|
6875
6870
|
#
|
6876
6871
|
#
|
6877
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
6872
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-cooldowns.html
|
6878
6873
|
#
|
6879
6874
|
# @option params [Array<String>] :availability_zones
|
6880
6875
|
# One or more Availability Zones for the group.
|
@@ -6884,14 +6879,14 @@ module Aws::AutoScaling
|
|
6884
6879
|
#
|
6885
6880
|
# The valid values are `EC2`, `ELB`, and `VPC_LATTICE`. `EC2` is the
|
6886
6881
|
# default health check and cannot be disabled. For more information, see
|
6887
|
-
# [Health checks for Auto Scaling
|
6888
|
-
# Scaling User Guide*.
|
6882
|
+
# [Health checks for instances in an Auto Scaling group][1] in the
|
6883
|
+
# *Amazon EC2 Auto Scaling User Guide*.
|
6889
6884
|
#
|
6890
6885
|
# Only specify `EC2` if you must clear a value that was previously set.
|
6891
6886
|
#
|
6892
6887
|
#
|
6893
6888
|
#
|
6894
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
6889
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-health-checks.html
|
6895
6890
|
#
|
6896
6891
|
# @option params [Integer] :health_check_grace_period
|
6897
6892
|
# The amount of time, in seconds, that Amazon EC2 Auto Scaling waits
|
@@ -6929,8 +6924,9 @@ module Aws::AutoScaling
|
|
6929
6924
|
# @option params [Array<String>] :termination_policies
|
6930
6925
|
# A policy or a list of policies that are used to select the instances
|
6931
6926
|
# to terminate. The policies are executed in the order that you list
|
6932
|
-
# them. For more information, see [
|
6933
|
-
#
|
6927
|
+
# them. For more information, see [Configure termination policies for
|
6928
|
+
# Amazon EC2 Auto Scaling][1] in the *Amazon EC2 Auto Scaling User
|
6929
|
+
# Guide*.
|
6934
6930
|
#
|
6935
6931
|
# Valid values: `Default` \| `AllocationStrategy` \|
|
6936
6932
|
# `ClosestToNextInstanceHour` \| `NewestInstance` \| `OldestInstance` \|
|
@@ -6945,7 +6941,7 @@ module Aws::AutoScaling
|
|
6945
6941
|
# Indicates whether newly launched instances are protected from
|
6946
6942
|
# termination by Amazon EC2 Auto Scaling when scaling in. For more
|
6947
6943
|
# information about preventing instances from terminating on scale in,
|
6948
|
-
# see [
|
6944
|
+
# see [Use instance scale-in protection][1] in the *Amazon EC2 Auto
|
6949
6945
|
# Scaling User Guide*.
|
6950
6946
|
#
|
6951
6947
|
#
|
@@ -6990,7 +6986,7 @@ module Aws::AutoScaling
|
|
6990
6986
|
# The unit of measurement for the value specified for desired capacity.
|
6991
6987
|
# Amazon EC2 Auto Scaling supports `DesiredCapacityType` for
|
6992
6988
|
# attribute-based instance type selection only. For more information,
|
6993
|
-
# see [
|
6989
|
+
# see [Create a mixed instances group using attribute-based instance
|
6994
6990
|
# type selection][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
6995
6991
|
#
|
6996
6992
|
# By default, Amazon EC2 Auto Scaling specifies `units`, which
|
@@ -7000,7 +6996,7 @@ module Aws::AutoScaling
|
|
7000
6996
|
#
|
7001
6997
|
#
|
7002
6998
|
#
|
7003
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-
|
6999
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-mixed-instances-group-attribute-based-instance-type-selection.html
|
7004
7000
|
#
|
7005
7001
|
# @option params [Integer] :default_instance_warmup
|
7006
7002
|
# The amount of time, in seconds, until a new instance is considered to
|
@@ -7190,7 +7186,7 @@ module Aws::AutoScaling
|
|
7190
7186
|
params: params,
|
7191
7187
|
config: config)
|
7192
7188
|
context[:gem_name] = 'aws-sdk-autoscaling'
|
7193
|
-
context[:gem_version] = '1.
|
7189
|
+
context[:gem_version] = '1.111.0'
|
7194
7190
|
Seahorse::Client::Request.new(handlers, context)
|
7195
7191
|
end
|
7196
7192
|
|
@@ -1490,7 +1490,7 @@ module Aws::AutoScaling
|
|
1490
1490
|
|
1491
1491
|
TargetTrackingMetricDataQueries.member = Shapes::ShapeRef.new(shape: TargetTrackingMetricDataQuery)
|
1492
1492
|
|
1493
|
-
TargetTrackingMetricDataQuery.add_member(:id, Shapes::ShapeRef.new(shape:
|
1493
|
+
TargetTrackingMetricDataQuery.add_member(:id, Shapes::ShapeRef.new(shape: XmlStringMaxLen64, required: true, location_name: "Id"))
|
1494
1494
|
TargetTrackingMetricDataQuery.add_member(:expression, Shapes::ShapeRef.new(shape: XmlStringMaxLen2047, location_name: "Expression"))
|
1495
1495
|
TargetTrackingMetricDataQuery.add_member(:metric_stat, Shapes::ShapeRef.new(shape: TargetTrackingMetricStat, location_name: "MetricStat"))
|
1496
1496
|
TargetTrackingMetricDataQuery.add_member(:label, Shapes::ShapeRef.new(shape: XmlStringMetricLabel, location_name: "Label"))
|
@@ -1571,8 +1571,10 @@ module Aws::AutoScaling
|
|
1571
1571
|
|
1572
1572
|
api.metadata = {
|
1573
1573
|
"apiVersion" => "2011-01-01",
|
1574
|
+
"auth" => ["aws.auth#sigv4"],
|
1574
1575
|
"endpointPrefix" => "autoscaling",
|
1575
1576
|
"protocol" => "query",
|
1577
|
+
"protocols" => ["query"],
|
1576
1578
|
"serviceFullName" => "Auto Scaling",
|
1577
1579
|
"serviceId" => "Auto Scaling",
|
1578
1580
|
"signatureVersion" => "v4",
|
@@ -57,7 +57,7 @@ module Aws::AutoScaling
|
|
57
57
|
end
|
58
58
|
|
59
59
|
# The lifecycle state for the instance. The `Quarantined` state is not
|
60
|
-
# used. For information
|
60
|
+
# used. For more information, see [Amazon EC2 Auto Scaling instance
|
61
61
|
# lifecycle][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
62
62
|
#
|
63
63
|
# Valid values: `Pending` \| `Pending:Wait` \| `Pending:Proceed` \|
|
@@ -71,7 +71,7 @@ module Aws::AutoScaling
|
|
71
71
|
#
|
72
72
|
#
|
73
73
|
#
|
74
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
74
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-lifecycle.html
|
75
75
|
# @return [String]
|
76
76
|
def lifecycle_state
|
77
77
|
data[:lifecycle_state]
|
@@ -369,13 +369,13 @@ module Aws::AutoScaling
|
|
369
369
|
# call respects the grace period. Set this to `False`, to have the call
|
370
370
|
# not respect the grace period associated with the group.
|
371
371
|
#
|
372
|
-
# For more information about the health check grace period, see
|
373
|
-
#
|
374
|
-
#
|
372
|
+
# For more information about the health check grace period, see [Set the
|
373
|
+
# health check grace period for an Auto Scaling group][1] in the *Amazon
|
374
|
+
# EC2 Auto Scaling User Guide*.
|
375
375
|
#
|
376
376
|
#
|
377
377
|
#
|
378
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/
|
378
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/health-check-grace-period.html
|
379
379
|
# @return [EmptyStructure]
|
380
380
|
def set_health(options = {})
|
381
381
|
options = options.merge(instance_id: @id)
|