aws-sdk-autoscaling 1.110.0 → 1.112.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 +99 -97
- 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
- data/sig/client.rbs +1 -0
- data/sig/resource.rbs +1 -0
- metadata +6 -6
@@ -312,6 +312,15 @@ module Aws::AutoScaling
|
|
312
312
|
#
|
313
313
|
# @option options [String] :session_token
|
314
314
|
#
|
315
|
+
# @option options [Array] :sigv4a_signing_region_set
|
316
|
+
# A list of regions that should be signed with SigV4a signing. When
|
317
|
+
# not passed, a default `:sigv4a_signing_region_set` is searched for
|
318
|
+
# in the following locations:
|
319
|
+
#
|
320
|
+
# * `Aws.config[:sigv4a_signing_region_set]`
|
321
|
+
# * `ENV['AWS_SIGV4A_SIGNING_REGION_SET']`
|
322
|
+
# * `~/.aws/config`
|
323
|
+
#
|
315
324
|
# @option options [Boolean] :stub_responses (false)
|
316
325
|
# Causes the client to return stubbed responses. By default
|
317
326
|
# fake responses are generated and returned. You can specify
|
@@ -430,12 +439,12 @@ module Aws::AutoScaling
|
|
430
439
|
# there are target groups attached to your Auto Scaling group, the
|
431
440
|
# instances are also registered with the target groups.
|
432
441
|
#
|
433
|
-
# For more information, see [
|
434
|
-
#
|
442
|
+
# For more information, see [Detach or attach instances][1] in the
|
443
|
+
# *Amazon EC2 Auto Scaling User Guide*.
|
435
444
|
#
|
436
445
|
#
|
437
446
|
#
|
438
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/attach-
|
447
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-detach-attach-instances.html
|
439
448
|
#
|
440
449
|
# @option params [Array<String>] :instance_ids
|
441
450
|
# The IDs of the instances. You can specify up to 20 instances.
|
@@ -971,7 +980,7 @@ module Aws::AutoScaling
|
|
971
980
|
# (`LaunchConfigurationName` or `InstanceId`).
|
972
981
|
#
|
973
982
|
# <note markdown="1"> The launch template that is specified must be configured for use with
|
974
|
-
# an Auto Scaling group. For more information, see [
|
983
|
+
# an Auto Scaling group. For more information, see [Create a launch
|
975
984
|
# template for an Auto Scaling group][1] in the *Amazon EC2 Auto Scaling
|
976
985
|
# User Guide*.
|
977
986
|
#
|
@@ -995,8 +1004,9 @@ module Aws::AutoScaling
|
|
995
1004
|
# specified, Amazon EC2 Auto Scaling uses the configuration values from
|
996
1005
|
# the specified instance to create a new launch configuration. To get
|
997
1006
|
# the instance ID, use the Amazon EC2 [DescribeInstances][1] API
|
998
|
-
# operation. For more information, see [
|
999
|
-
# using an
|
1007
|
+
# operation. For more information, see [Create an Auto Scaling group
|
1008
|
+
# using parameters from an existing instance][2] in the *Amazon EC2 Auto
|
1009
|
+
# Scaling User Guide*.
|
1000
1010
|
#
|
1001
1011
|
#
|
1002
1012
|
#
|
@@ -1039,7 +1049,7 @@ module Aws::AutoScaling
|
|
1039
1049
|
#
|
1040
1050
|
#
|
1041
1051
|
#
|
1042
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
1052
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-cooldowns.html
|
1043
1053
|
#
|
1044
1054
|
# @option params [Array<String>] :availability_zones
|
1045
1055
|
# A list of Availability Zones where instances in the Auto Scaling group
|
@@ -1072,14 +1082,14 @@ module Aws::AutoScaling
|
|
1072
1082
|
#
|
1073
1083
|
# The valid values are `EC2`, `ELB`, and `VPC_LATTICE`. `EC2` is the
|
1074
1084
|
# default health check and cannot be disabled. For more information, see
|
1075
|
-
# [Health checks for Auto Scaling
|
1076
|
-
# Scaling User Guide*.
|
1085
|
+
# [Health checks for instances in an Auto Scaling group][1] in the
|
1086
|
+
# *Amazon EC2 Auto Scaling User Guide*.
|
1077
1087
|
#
|
1078
1088
|
# Only specify `EC2` if you must clear a value that was previously set.
|
1079
1089
|
#
|
1080
1090
|
#
|
1081
1091
|
#
|
1082
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
1092
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-health-checks.html
|
1083
1093
|
#
|
1084
1094
|
# @option params [Integer] :health_check_grace_period
|
1085
1095
|
# The amount of time, in seconds, that Amazon EC2 Auto Scaling waits
|
@@ -1120,8 +1130,9 @@ module Aws::AutoScaling
|
|
1120
1130
|
# @option params [Array<String>] :termination_policies
|
1121
1131
|
# A policy or a list of policies that are used to select the instance to
|
1122
1132
|
# terminate. These policies are executed in the order that you list
|
1123
|
-
# them. For more information, see [
|
1124
|
-
#
|
1133
|
+
# them. For more information, see [Configure termination policies for
|
1134
|
+
# Amazon EC2 Auto Scaling][1] in the *Amazon EC2 Auto Scaling User
|
1135
|
+
# Guide*.
|
1125
1136
|
#
|
1126
1137
|
# Valid values: `Default` \| `AllocationStrategy` \|
|
1127
1138
|
# `ClosestToNextInstanceHour` \| `NewestInstance` \| `OldestInstance` \|
|
@@ -1136,7 +1147,7 @@ module Aws::AutoScaling
|
|
1136
1147
|
# Indicates whether newly launched instances are protected from
|
1137
1148
|
# termination by Amazon EC2 Auto Scaling when scaling in. For more
|
1138
1149
|
# information about preventing instances from terminating on scale in,
|
1139
|
-
# see [
|
1150
|
+
# see [Use instance scale-in protection][1] in the *Amazon EC2 Auto
|
1140
1151
|
# Scaling User Guide*.
|
1141
1152
|
#
|
1142
1153
|
#
|
@@ -1192,7 +1203,7 @@ module Aws::AutoScaling
|
|
1192
1203
|
# The maximum amount of time, in seconds, that an instance can be in
|
1193
1204
|
# service. The default is null. If specified, the value must be either 0
|
1194
1205
|
# or a number equal to or greater than 86,400 seconds (1 day). For more
|
1195
|
-
# information, see [
|
1206
|
+
# information, see [Replace Auto Scaling instances based on maximum
|
1196
1207
|
# instance lifetime][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
1197
1208
|
#
|
1198
1209
|
#
|
@@ -1206,7 +1217,7 @@ module Aws::AutoScaling
|
|
1206
1217
|
# The unit of measurement for the value specified for desired capacity.
|
1207
1218
|
# Amazon EC2 Auto Scaling supports `DesiredCapacityType` for
|
1208
1219
|
# attribute-based instance type selection only. For more information,
|
1209
|
-
# see [
|
1220
|
+
# see [Create a mixed instances group using attribute-based instance
|
1210
1221
|
# type selection][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
1211
1222
|
#
|
1212
1223
|
# By default, Amazon EC2 Auto Scaling specifies `units`, which
|
@@ -1216,7 +1227,7 @@ module Aws::AutoScaling
|
|
1216
1227
|
#
|
1217
1228
|
#
|
1218
1229
|
#
|
1219
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-
|
1230
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-mixed-instances-group-attribute-based-instance-type-selection.html
|
1220
1231
|
#
|
1221
1232
|
# @option params [Integer] :default_instance_warmup
|
1222
1233
|
# The amount of time, in seconds, until a new instance is considered to
|
@@ -1559,7 +1570,7 @@ module Aws::AutoScaling
|
|
1559
1570
|
#
|
1560
1571
|
#
|
1561
1572
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-quotas.html
|
1562
|
-
# [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
1573
|
+
# [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-configurations.html
|
1563
1574
|
# [3]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-templates.html
|
1564
1575
|
#
|
1565
1576
|
# @option params [required, String] :launch_configuration_name
|
@@ -1568,8 +1579,8 @@ module Aws::AutoScaling
|
|
1568
1579
|
#
|
1569
1580
|
# @option params [String] :image_id
|
1570
1581
|
# The ID of the Amazon Machine Image (AMI) that was assigned during
|
1571
|
-
# registration. For more information, see [
|
1572
|
-
#
|
1582
|
+
# registration. For more information, see [Find a Linux AMI][1] in the
|
1583
|
+
# *Amazon EC2 User Guide for Linux Instances*.
|
1573
1584
|
#
|
1574
1585
|
# If you specify `InstanceId`, an `ImageId` is not required.
|
1575
1586
|
#
|
@@ -1579,8 +1590,8 @@ module Aws::AutoScaling
|
|
1579
1590
|
#
|
1580
1591
|
# @option params [String] :key_name
|
1581
1592
|
# The name of the key pair. For more information, see [Amazon EC2 key
|
1582
|
-
# pairs and
|
1583
|
-
# Instances*.
|
1593
|
+
# pairs and Amazon EC2 instances][1] in the *Amazon EC2 User Guide for
|
1594
|
+
# Linux Instances*.
|
1584
1595
|
#
|
1585
1596
|
#
|
1586
1597
|
#
|
@@ -1589,12 +1600,12 @@ module Aws::AutoScaling
|
|
1589
1600
|
# @option params [Array<String>] :security_groups
|
1590
1601
|
# A list that contains the security group IDs to assign to the instances
|
1591
1602
|
# in the Auto Scaling group. For more information, see [Control traffic
|
1592
|
-
# to resources using security groups][1] in the
|
1593
|
-
# Cloud User Guide*.
|
1603
|
+
# to your Amazon Web Services resources using security groups][1] in the
|
1604
|
+
# *Amazon Virtual Private Cloud User Guide*.
|
1594
1605
|
#
|
1595
1606
|
#
|
1596
1607
|
#
|
1597
|
-
# [1]: https://docs.aws.amazon.com/
|
1608
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-security-groups.html
|
1598
1609
|
#
|
1599
1610
|
# @option params [String] :classic_link_vpc_id
|
1600
1611
|
# Available for backward compatibility.
|
@@ -1624,12 +1635,12 @@ module Aws::AutoScaling
|
|
1624
1635
|
# override any other instance attributes, specify them as part of the
|
1625
1636
|
# same request.
|
1626
1637
|
#
|
1627
|
-
# For more information, see [
|
1628
|
-
#
|
1638
|
+
# For more information, see [Create a launch configuration][1] in the
|
1639
|
+
# *Amazon EC2 Auto Scaling User Guide*.
|
1629
1640
|
#
|
1630
1641
|
#
|
1631
1642
|
#
|
1632
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-
|
1643
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html
|
1633
1644
|
#
|
1634
1645
|
# @option params [String] :instance_type
|
1635
1646
|
# Specifies the instance type of the EC2 instance. For information about
|
@@ -1688,8 +1699,8 @@ module Aws::AutoScaling
|
|
1688
1699
|
# When detailed monitoring is enabled, Amazon CloudWatch generates
|
1689
1700
|
# metrics every minute and your account is charged a fee. When you
|
1690
1701
|
# disable detailed monitoring, CloudWatch generates metrics every 5
|
1691
|
-
# minutes. For more information, see [Configure
|
1692
|
-
# Scaling
|
1702
|
+
# minutes. For more information, see [Configure monitoring for Auto
|
1703
|
+
# Scaling instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
1693
1704
|
#
|
1694
1705
|
#
|
1695
1706
|
#
|
@@ -1740,7 +1751,7 @@ module Aws::AutoScaling
|
|
1740
1751
|
#
|
1741
1752
|
#
|
1742
1753
|
#
|
1743
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
1754
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html
|
1744
1755
|
#
|
1745
1756
|
# @option params [Boolean] :associate_public_ip_address
|
1746
1757
|
# Specifies whether to assign a public IPv4 address to the group's
|
@@ -1753,8 +1764,8 @@ module Aws::AutoScaling
|
|
1753
1764
|
#
|
1754
1765
|
# If you specify `true`, each instance in the Auto Scaling group
|
1755
1766
|
# receives a unique public IPv4 address. For more information, see
|
1756
|
-
# [
|
1757
|
-
# Scaling User Guide*.
|
1767
|
+
# [Provide network connectivity for your Auto Scaling instances using
|
1768
|
+
# Amazon VPC][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
1758
1769
|
#
|
1759
1770
|
# If you specify this property, you must specify at least one subnet for
|
1760
1771
|
# `VPCZoneIdentifier` when you create your group.
|
@@ -1769,22 +1780,16 @@ module Aws::AutoScaling
|
|
1769
1780
|
# hardware and can only be launched into a VPC. To launch dedicated
|
1770
1781
|
# instances into a shared tenancy VPC (a VPC with the instance placement
|
1771
1782
|
# tenancy attribute set to `default`), you must set the value of this
|
1772
|
-
# property to `dedicated`.
|
1773
|
-
# instance tenancy with Amazon EC2 Auto Scaling][1] in the *Amazon EC2
|
1774
|
-
# Auto Scaling User Guide*.
|
1783
|
+
# property to `dedicated`.
|
1775
1784
|
#
|
1776
1785
|
# If you specify `PlacementTenancy`, you must specify at least one
|
1777
1786
|
# subnet for `VPCZoneIdentifier` when you create your group.
|
1778
1787
|
#
|
1779
1788
|
# Valid values: `default` \| `dedicated`
|
1780
1789
|
#
|
1781
|
-
#
|
1782
|
-
#
|
1783
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-dedicated-instances.html
|
1784
|
-
#
|
1785
1790
|
# @option params [Types::InstanceMetadataOptions] :metadata_options
|
1786
1791
|
# The metadata options for the instances. For more information, see
|
1787
|
-
# [
|
1792
|
+
# [Configure the instance metadata options][1] in the *Amazon EC2 Auto
|
1788
1793
|
# Scaling User Guide*.
|
1789
1794
|
#
|
1790
1795
|
#
|
@@ -2117,8 +2122,8 @@ module Aws::AutoScaling
|
|
2117
2122
|
# deletes the underlying alarm action, but does not delete the alarm,
|
2118
2123
|
# even if it no longer has an associated action.
|
2119
2124
|
#
|
2120
|
-
# For more information, see [
|
2121
|
-
#
|
2125
|
+
# For more information, see [Delete a scaling policy][1] in the *Amazon
|
2126
|
+
# EC2 Auto Scaling User Guide*.
|
2122
2127
|
#
|
2123
2128
|
#
|
2124
2129
|
#
|
@@ -3754,7 +3759,7 @@ module Aws::AutoScaling
|
|
3754
3759
|
# Region.
|
3755
3760
|
#
|
3756
3761
|
# When scaling events occur, you see a record of the scaling activity in
|
3757
|
-
# the scaling activities. For more information, see [
|
3762
|
+
# the scaling activities. For more information, see [Verify a scaling
|
3758
3763
|
# activity for an Auto Scaling group][1] in the *Amazon EC2 Auto Scaling
|
3759
3764
|
# User Guide*.
|
3760
3765
|
#
|
@@ -4133,8 +4138,8 @@ module Aws::AutoScaling
|
|
4133
4138
|
# Describes the termination policies supported by Amazon EC2 Auto
|
4134
4139
|
# Scaling.
|
4135
4140
|
#
|
4136
|
-
# For more information, see [
|
4137
|
-
#
|
4141
|
+
# For more information, see [Configure termination policies for Amazon
|
4142
|
+
# EC2 Auto Scaling][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
4138
4143
|
#
|
4139
4144
|
#
|
4140
4145
|
#
|
@@ -4345,12 +4350,12 @@ module Aws::AutoScaling
|
|
4345
4350
|
# are target groups attached to the Auto Scaling group, the instances
|
4346
4351
|
# are deregistered from the target groups.
|
4347
4352
|
#
|
4348
|
-
# For more information, see [Detach
|
4349
|
-
#
|
4353
|
+
# For more information, see [Detach or attach instances][1] in the
|
4354
|
+
# *Amazon EC2 Auto Scaling User Guide*.
|
4350
4355
|
#
|
4351
4356
|
#
|
4352
4357
|
#
|
4353
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/detach-
|
4358
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-detach-attach-instances.html
|
4354
4359
|
#
|
4355
4360
|
# @option params [Array<String>] :instance_ids
|
4356
4361
|
# The IDs of the instances. You can specify up to 20 instances.
|
@@ -4656,12 +4661,12 @@ module Aws::AutoScaling
|
|
4656
4661
|
#
|
4657
4662
|
# If you omit this property, all metrics are disabled.
|
4658
4663
|
#
|
4659
|
-
# For more information, see [
|
4660
|
-
# *Amazon EC2 Auto Scaling User Guide*.
|
4664
|
+
# For more information, see [Amazon CloudWatch metrics for Amazon EC2
|
4665
|
+
# Auto Scaling][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
4661
4666
|
#
|
4662
4667
|
#
|
4663
4668
|
#
|
4664
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-
|
4669
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-metrics.html
|
4665
4670
|
#
|
4666
4671
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4667
4672
|
#
|
@@ -4757,12 +4762,12 @@ module Aws::AutoScaling
|
|
4757
4762
|
# If you specify `Granularity` and don't specify any metrics, all
|
4758
4763
|
# metrics are enabled.
|
4759
4764
|
#
|
4760
|
-
# For more information, see [
|
4761
|
-
# *Amazon EC2 Auto Scaling User Guide*.
|
4765
|
+
# For more information, see [Amazon CloudWatch metrics for Amazon EC2
|
4766
|
+
# Auto Scaling][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
4762
4767
|
#
|
4763
4768
|
#
|
4764
4769
|
#
|
4765
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-
|
4770
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-metrics.html
|
4766
4771
|
#
|
4767
4772
|
# @option params [required, String] :granularity
|
4768
4773
|
# The frequency at which Amazon EC2 Auto Scaling sends aggregated data
|
@@ -4910,7 +4915,7 @@ module Aws::AutoScaling
|
|
4910
4915
|
#
|
4911
4916
|
#
|
4912
4917
|
#
|
4913
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
4918
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-cooldowns.html
|
4914
4919
|
#
|
4915
4920
|
# @option params [Float] :metric_value
|
4916
4921
|
# The metric value to compare to `BreachThreshold`. This enables you to
|
@@ -5316,16 +5321,15 @@ module Aws::AutoScaling
|
|
5316
5321
|
#
|
5317
5322
|
# This configuration overwrites any existing configuration.
|
5318
5323
|
#
|
5319
|
-
# For more information, see [
|
5320
|
-
# Auto Scaling
|
5321
|
-
# Guide*.
|
5324
|
+
# For more information, see [Amazon SNS notification options for Amazon
|
5325
|
+
# EC2 Auto Scaling][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
5322
5326
|
#
|
5323
5327
|
# If you exceed your maximum limit of SNS topics, which is 10 per Auto
|
5324
5328
|
# Scaling group, the call fails.
|
5325
5329
|
#
|
5326
5330
|
#
|
5327
5331
|
#
|
5328
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
5332
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-sns-notifications.html
|
5329
5333
|
#
|
5330
5334
|
# @option params [required, String] :auto_scaling_group_name
|
5331
5335
|
# The name of the Auto Scaling group.
|
@@ -5472,7 +5476,7 @@ module Aws::AutoScaling
|
|
5472
5476
|
#
|
5473
5477
|
#
|
5474
5478
|
#
|
5475
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
5479
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-cooldowns.html
|
5476
5480
|
#
|
5477
5481
|
# @option params [String] :metric_aggregation_type
|
5478
5482
|
# The aggregation type for the CloudWatch metrics. The valid values are
|
@@ -5535,7 +5539,7 @@ module Aws::AutoScaling
|
|
5535
5539
|
#
|
5536
5540
|
# @option params [Boolean] :enabled
|
5537
5541
|
# Indicates whether the scaling policy is enabled or disabled. The
|
5538
|
-
# default is enabled. For more information, see [
|
5542
|
+
# default is enabled. For more information, see [Disable a scaling
|
5539
5543
|
# policy for an Auto Scaling group][1] in the *Amazon EC2 Auto Scaling
|
5540
5544
|
# User Guide*.
|
5541
5545
|
#
|
@@ -5635,7 +5639,7 @@ module Aws::AutoScaling
|
|
5635
5639
|
# unit: "MetricUnit",
|
5636
5640
|
# metrics: [
|
5637
5641
|
# {
|
5638
|
-
# id: "
|
5642
|
+
# id: "XmlStringMaxLen64", # required
|
5639
5643
|
# expression: "XmlStringMaxLen2047",
|
5640
5644
|
# metric_stat: {
|
5641
5645
|
# metric: { # required
|
@@ -5789,7 +5793,7 @@ module Aws::AutoScaling
|
|
5789
5793
|
#
|
5790
5794
|
#
|
5791
5795
|
#
|
5792
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
5796
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scheduled-scaling.html
|
5793
5797
|
#
|
5794
5798
|
# @option params [required, String] :auto_scaling_group_name
|
5795
5799
|
# The name of the Auto Scaling group.
|
@@ -5904,19 +5908,18 @@ module Aws::AutoScaling
|
|
5904
5908
|
# warm pool is a pool of pre-initialized EC2 instances that sits
|
5905
5909
|
# alongside the Auto Scaling group. Whenever your application needs to
|
5906
5910
|
# scale out, the Auto Scaling group can draw on the warm pool to meet
|
5907
|
-
# its new desired capacity.
|
5908
|
-
# configurations, see [Warm pools for Amazon EC2 Auto Scaling][1] in the
|
5909
|
-
# *Amazon EC2 Auto Scaling User Guide*.
|
5911
|
+
# its new desired capacity.
|
5910
5912
|
#
|
5911
5913
|
# This operation must be called from the Region in which the Auto
|
5912
|
-
# Scaling group was created.
|
5913
|
-
# Scaling group that has a mixed instances policy or a launch template
|
5914
|
-
# or launch configuration that requests Spot Instances.
|
5914
|
+
# Scaling group was created.
|
5915
5915
|
#
|
5916
5916
|
# You can view the instances in the warm pool using the DescribeWarmPool
|
5917
5917
|
# API call. If you are no longer using a warm pool, you can delete it by
|
5918
5918
|
# calling the DeleteWarmPool API.
|
5919
5919
|
#
|
5920
|
+
# For more information, see [Warm pools for Amazon EC2 Auto Scaling][1]
|
5921
|
+
# in the *Amazon EC2 Auto Scaling User Guide*.
|
5922
|
+
#
|
5920
5923
|
#
|
5921
5924
|
#
|
5922
5925
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-warm-pools.html
|
@@ -6084,7 +6087,7 @@ module Aws::AutoScaling
|
|
6084
6087
|
# Resumes the specified suspended auto scaling processes, or all
|
6085
6088
|
# suspended process, for the specified Auto Scaling group.
|
6086
6089
|
#
|
6087
|
-
# For more information, see [
|
6090
|
+
# For more information, see [Suspend and resume Amazon EC2 Auto Scaling
|
6088
6091
|
# processes][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
6089
6092
|
#
|
6090
6093
|
#
|
@@ -6216,7 +6219,7 @@ module Aws::AutoScaling
|
|
6216
6219
|
#
|
6217
6220
|
#
|
6218
6221
|
#
|
6219
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
6222
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-manually.html
|
6220
6223
|
#
|
6221
6224
|
# @option params [required, String] :auto_scaling_group_name
|
6222
6225
|
# The name of the Auto Scaling group.
|
@@ -6265,12 +6268,12 @@ module Aws::AutoScaling
|
|
6265
6268
|
|
6266
6269
|
# Sets the health status of the specified instance.
|
6267
6270
|
#
|
6268
|
-
# For more information, see [Health checks for Auto
|
6269
|
-
#
|
6271
|
+
# For more information, see [Health checks for instances in an Auto
|
6272
|
+
# Scaling group][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
6270
6273
|
#
|
6271
6274
|
#
|
6272
6275
|
#
|
6273
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
6276
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-health-checks.html
|
6274
6277
|
#
|
6275
6278
|
# @option params [required, String] :instance_id
|
6276
6279
|
# The ID of the instance.
|
@@ -6287,13 +6290,13 @@ module Aws::AutoScaling
|
|
6287
6290
|
# call respects the grace period. Set this to `False`, to have the call
|
6288
6291
|
# not respect the grace period associated with the group.
|
6289
6292
|
#
|
6290
|
-
# For more information about the health check grace period, see
|
6291
|
-
#
|
6292
|
-
#
|
6293
|
+
# For more information about the health check grace period, see [Set the
|
6294
|
+
# health check grace period for an Auto Scaling group][1] in the *Amazon
|
6295
|
+
# EC2 Auto Scaling User Guide*.
|
6293
6296
|
#
|
6294
6297
|
#
|
6295
6298
|
#
|
6296
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/
|
6299
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/health-check-grace-period.html
|
6297
6300
|
#
|
6298
6301
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
6299
6302
|
#
|
@@ -6327,9 +6330,8 @@ module Aws::AutoScaling
|
|
6327
6330
|
# Updates the instance protection settings of the specified instances.
|
6328
6331
|
# This operation cannot be called on instances in a warm pool.
|
6329
6332
|
#
|
6330
|
-
# For more information
|
6331
|
-
# Auto Scaling
|
6332
|
-
# scale-in protection][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
6333
|
+
# For more information, see [Use instance scale-in protection][1] in the
|
6334
|
+
# *Amazon EC2 Auto Scaling User Guide*.
|
6333
6335
|
#
|
6334
6336
|
# If you exceed your maximum limit of instance IDs, which is 50 per Auto
|
6335
6337
|
# Scaling group, the call fails.
|
@@ -6630,8 +6632,8 @@ module Aws::AutoScaling
|
|
6630
6632
|
#
|
6631
6633
|
# If you suspend either the `Launch` or `Terminate` process types, it
|
6632
6634
|
# can prevent other process types from functioning properly. For more
|
6633
|
-
# information, see [
|
6634
|
-
# *Amazon EC2 Auto Scaling User Guide*.
|
6635
|
+
# information, see [Suspend and resume Amazon EC2 Auto Scaling
|
6636
|
+
# processes][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
6635
6637
|
#
|
6636
6638
|
# To resume processes that have been suspended, call the ResumeProcesses
|
6637
6639
|
# API.
|
@@ -6713,13 +6715,12 @@ module Aws::AutoScaling
|
|
6713
6715
|
# Availability Zones. If you decrement the desired capacity, your Auto
|
6714
6716
|
# Scaling group can become unbalanced between Availability Zones. Amazon
|
6715
6717
|
# EC2 Auto Scaling tries to rebalance the group, and rebalancing might
|
6716
|
-
# terminate instances in other zones. For more information, see
|
6717
|
-
#
|
6718
|
-
# Guide*.
|
6718
|
+
# terminate instances in other zones. For more information, see [Manual
|
6719
|
+
# scaling][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
6719
6720
|
#
|
6720
6721
|
#
|
6721
6722
|
#
|
6722
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-
|
6723
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-manually.html
|
6723
6724
|
#
|
6724
6725
|
# @option params [required, String] :instance_id
|
6725
6726
|
# The ID of the instance.
|
@@ -6877,7 +6878,7 @@ module Aws::AutoScaling
|
|
6877
6878
|
#
|
6878
6879
|
#
|
6879
6880
|
#
|
6880
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
6881
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-cooldowns.html
|
6881
6882
|
#
|
6882
6883
|
# @option params [Array<String>] :availability_zones
|
6883
6884
|
# One or more Availability Zones for the group.
|
@@ -6887,14 +6888,14 @@ module Aws::AutoScaling
|
|
6887
6888
|
#
|
6888
6889
|
# The valid values are `EC2`, `ELB`, and `VPC_LATTICE`. `EC2` is the
|
6889
6890
|
# default health check and cannot be disabled. For more information, see
|
6890
|
-
# [Health checks for Auto Scaling
|
6891
|
-
# Scaling User Guide*.
|
6891
|
+
# [Health checks for instances in an Auto Scaling group][1] in the
|
6892
|
+
# *Amazon EC2 Auto Scaling User Guide*.
|
6892
6893
|
#
|
6893
6894
|
# Only specify `EC2` if you must clear a value that was previously set.
|
6894
6895
|
#
|
6895
6896
|
#
|
6896
6897
|
#
|
6897
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
6898
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-health-checks.html
|
6898
6899
|
#
|
6899
6900
|
# @option params [Integer] :health_check_grace_period
|
6900
6901
|
# The amount of time, in seconds, that Amazon EC2 Auto Scaling waits
|
@@ -6932,8 +6933,9 @@ module Aws::AutoScaling
|
|
6932
6933
|
# @option params [Array<String>] :termination_policies
|
6933
6934
|
# A policy or a list of policies that are used to select the instances
|
6934
6935
|
# to terminate. The policies are executed in the order that you list
|
6935
|
-
# them. For more information, see [
|
6936
|
-
#
|
6936
|
+
# them. For more information, see [Configure termination policies for
|
6937
|
+
# Amazon EC2 Auto Scaling][1] in the *Amazon EC2 Auto Scaling User
|
6938
|
+
# Guide*.
|
6937
6939
|
#
|
6938
6940
|
# Valid values: `Default` \| `AllocationStrategy` \|
|
6939
6941
|
# `ClosestToNextInstanceHour` \| `NewestInstance` \| `OldestInstance` \|
|
@@ -6948,7 +6950,7 @@ module Aws::AutoScaling
|
|
6948
6950
|
# Indicates whether newly launched instances are protected from
|
6949
6951
|
# termination by Amazon EC2 Auto Scaling when scaling in. For more
|
6950
6952
|
# information about preventing instances from terminating on scale in,
|
6951
|
-
# see [
|
6953
|
+
# see [Use instance scale-in protection][1] in the *Amazon EC2 Auto
|
6952
6954
|
# Scaling User Guide*.
|
6953
6955
|
#
|
6954
6956
|
#
|
@@ -6993,7 +6995,7 @@ module Aws::AutoScaling
|
|
6993
6995
|
# The unit of measurement for the value specified for desired capacity.
|
6994
6996
|
# Amazon EC2 Auto Scaling supports `DesiredCapacityType` for
|
6995
6997
|
# attribute-based instance type selection only. For more information,
|
6996
|
-
# see [
|
6998
|
+
# see [Create a mixed instances group using attribute-based instance
|
6997
6999
|
# type selection][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
6998
7000
|
#
|
6999
7001
|
# By default, Amazon EC2 Auto Scaling specifies `units`, which
|
@@ -7003,7 +7005,7 @@ module Aws::AutoScaling
|
|
7003
7005
|
#
|
7004
7006
|
#
|
7005
7007
|
#
|
7006
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-
|
7008
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-mixed-instances-group-attribute-based-instance-type-selection.html
|
7007
7009
|
#
|
7008
7010
|
# @option params [Integer] :default_instance_warmup
|
7009
7011
|
# The amount of time, in seconds, until a new instance is considered to
|
@@ -7193,7 +7195,7 @@ module Aws::AutoScaling
|
|
7193
7195
|
params: params,
|
7194
7196
|
config: config)
|
7195
7197
|
context[:gem_name] = 'aws-sdk-autoscaling'
|
7196
|
-
context[:gem_version] = '1.
|
7198
|
+
context[:gem_version] = '1.112.0'
|
7197
7199
|
Seahorse::Client::Request.new(handlers, context)
|
7198
7200
|
end
|
7199
7201
|
|
@@ -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)
|