aws-sdk-autoscaling 1.73.0 → 1.77.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-autoscaling/auto_scaling_group.rb +13 -13
- data/lib/aws-sdk-autoscaling/client.rb +64 -48
- data/lib/aws-sdk-autoscaling/resource.rb +8 -9
- data/lib/aws-sdk-autoscaling/types.rb +67 -79
- data/lib/aws-sdk-autoscaling.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4a306f580a1535480634b2fb75acd4c6dc8a64101194580f44de8f276b47265
|
4
|
+
data.tar.gz: 7d041934cf949926620080bc1a519273f886ec55bc4b858a848de5dc09e2dabf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a36102f56b2470c7242822de646d1bce336322f83449ef4e4875c5390cd37304a5f20ffc4c67b8b1c7a33dbd1b8a7d262d1ae3ddcad24bc5a815d41d7936071
|
7
|
+
data.tar.gz: 298b4858ee917aa89f7243388c010f6276ccf7321ceea82f41ff3eda7cb2fda6b867dc4a61ade751df986165287e41b358d221dcdd5351dfa2cad8eb9ff440a8
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.77.0 (2022-02-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.76.0 (2021-12-21)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.75.0 (2021-11-30)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.74.0 (2021-11-26)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Documentation updates for Amazon EC2 Auto Scaling.
|
23
|
+
|
4
24
|
1.73.0 (2021-11-24)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.77.0
|
@@ -120,7 +120,7 @@ module Aws::AutoScaling
|
|
120
120
|
|
121
121
|
# The amount of time, in seconds, that Amazon EC2 Auto Scaling waits
|
122
122
|
# before checking the health status of an EC2 instance that has come
|
123
|
-
# into service.
|
123
|
+
# into service and marking it unhealthy due to a failed health check.
|
124
124
|
# @return [Integer]
|
125
125
|
def health_check_grace_period
|
126
126
|
data[:health_check_grace_period]
|
@@ -848,7 +848,7 @@ module Aws::AutoScaling
|
|
848
848
|
# `StepScaling`.
|
849
849
|
# @option options [Types::TargetTrackingConfiguration] :target_tracking_configuration
|
850
850
|
# A target tracking scaling policy. Provides support for predefined or
|
851
|
-
#
|
851
|
+
# custom metrics.
|
852
852
|
#
|
853
853
|
# The following predefined metrics are available:
|
854
854
|
#
|
@@ -882,10 +882,10 @@ module Aws::AutoScaling
|
|
882
882
|
#
|
883
883
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-enable-disable-scaling-policy.html
|
884
884
|
# @option options [Types::PredictiveScalingConfiguration] :predictive_scaling_configuration
|
885
|
-
# A predictive scaling policy. Provides support for
|
886
|
-
# metrics.
|
885
|
+
# A predictive scaling policy. Provides support for predefined and
|
886
|
+
# custom metrics.
|
887
887
|
#
|
888
|
-
#
|
888
|
+
# Predefined metrics include CPU utilization, network in/out, and the
|
889
889
|
# Application Load Balancer request count.
|
890
890
|
#
|
891
891
|
# For more information, see [PredictiveScalingConfiguration][1] in the
|
@@ -1194,7 +1194,7 @@ module Aws::AutoScaling
|
|
1194
1194
|
#
|
1195
1195
|
#
|
1196
1196
|
#
|
1197
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
1197
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html
|
1198
1198
|
# @option options [Integer] :min_size
|
1199
1199
|
# The minimum size of the Auto Scaling group.
|
1200
1200
|
# @option options [Integer] :max_size
|
@@ -1235,9 +1235,9 @@ module Aws::AutoScaling
|
|
1235
1235
|
# @option options [Integer] :health_check_grace_period
|
1236
1236
|
# The amount of time, in seconds, that Amazon EC2 Auto Scaling waits
|
1237
1237
|
# before checking the health status of an EC2 instance that has come
|
1238
|
-
# into service
|
1239
|
-
#
|
1240
|
-
# Guide*.
|
1238
|
+
# into service and marking it unhealthy due to a failed health check.
|
1239
|
+
# The default value is `0`. For more information, see [Health check
|
1240
|
+
# grace period][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
1241
1241
|
#
|
1242
1242
|
# Conditional: Required if you are adding an `ELB` health check.
|
1243
1243
|
#
|
@@ -1274,12 +1274,12 @@ module Aws::AutoScaling
|
|
1274
1274
|
# Indicates whether newly launched instances are protected from
|
1275
1275
|
# termination by Amazon EC2 Auto Scaling when scaling in. For more
|
1276
1276
|
# information about preventing instances from terminating on scale in,
|
1277
|
-
# see [
|
1278
|
-
# User Guide*.
|
1277
|
+
# see [Using instance scale-in protection][1] in the *Amazon EC2 Auto
|
1278
|
+
# Scaling User Guide*.
|
1279
1279
|
#
|
1280
1280
|
#
|
1281
1281
|
#
|
1282
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
1282
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html
|
1283
1283
|
# @option options [String] :service_linked_role_arn
|
1284
1284
|
# The Amazon Resource Name (ARN) of the service-linked role that the
|
1285
1285
|
# Auto Scaling group uses to call other Amazon Web Services on your
|
@@ -1307,7 +1307,7 @@ module Aws::AutoScaling
|
|
1307
1307
|
#
|
1308
1308
|
#
|
1309
1309
|
#
|
1310
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/capacity-
|
1310
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-capacity-rebalancing.html
|
1311
1311
|
# @option options [String] :context
|
1312
1312
|
# Reserved.
|
1313
1313
|
# @option options [String] :desired_capacity_type
|
@@ -27,6 +27,8 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
31
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
30
32
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
31
33
|
require 'aws-sdk-core/plugins/protocols/query.rb'
|
32
34
|
|
@@ -73,6 +75,8 @@ module Aws::AutoScaling
|
|
73
75
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
74
76
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
77
|
add_plugin(Aws::Plugins::HttpChecksum)
|
78
|
+
add_plugin(Aws::Plugins::DefaultsMode)
|
79
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
76
80
|
add_plugin(Aws::Plugins::SignatureV4)
|
77
81
|
add_plugin(Aws::Plugins::Protocols::Query)
|
78
82
|
|
@@ -119,7 +123,9 @@ module Aws::AutoScaling
|
|
119
123
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
124
|
# are very aggressive. Construct and pass an instance of
|
121
125
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
-
# enable retries and extended timeouts.
|
126
|
+
# enable retries and extended timeouts. Instance profile credential
|
127
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
128
|
+
# to true.
|
123
129
|
#
|
124
130
|
# @option options [required, String] :region
|
125
131
|
# The AWS region to connect to. The configured `:region` is
|
@@ -173,6 +179,10 @@ module Aws::AutoScaling
|
|
173
179
|
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
174
180
|
# a clock skew correction and retry requests with skewed client clocks.
|
175
181
|
#
|
182
|
+
# @option options [String] :defaults_mode ("legacy")
|
183
|
+
# See {Aws::DefaultsModeConfiguration} for a list of the
|
184
|
+
# accepted modes and the configuration defaults that are included.
|
185
|
+
#
|
176
186
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
177
187
|
# Set to true to disable SDK automatically adding host prefix
|
178
188
|
# to default service endpoint when available.
|
@@ -295,7 +305,7 @@ module Aws::AutoScaling
|
|
295
305
|
# seconds to wait when opening a HTTP session before raising a
|
296
306
|
# `Timeout::Error`.
|
297
307
|
#
|
298
|
-
# @option options [
|
308
|
+
# @option options [Float] :http_read_timeout (60) The default
|
299
309
|
# number of seconds to wait for response data. This value can
|
300
310
|
# safely be set per-request on the session.
|
301
311
|
#
|
@@ -311,6 +321,9 @@ module Aws::AutoScaling
|
|
311
321
|
# disables this behaviour. This value can safely be set per
|
312
322
|
# request on the session.
|
313
323
|
#
|
324
|
+
# @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
|
325
|
+
# in seconds.
|
326
|
+
#
|
314
327
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
315
328
|
# HTTP debug output will be sent to the `:logger`.
|
316
329
|
#
|
@@ -410,6 +423,9 @@ module Aws::AutoScaling
|
|
410
423
|
# DescribeLoadBalancerTargetGroups API. To detach the target group from
|
411
424
|
# the Auto Scaling group, call the DetachLoadBalancerTargetGroups API.
|
412
425
|
#
|
426
|
+
# This operation is additive and does not detach existing target groups
|
427
|
+
# or Classic Load Balancers from the Auto Scaling group.
|
428
|
+
#
|
413
429
|
# For more information, see [Elastic Load Balancing and Amazon EC2 Auto
|
414
430
|
# Scaling][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
415
431
|
#
|
@@ -473,6 +489,9 @@ module Aws::AutoScaling
|
|
473
489
|
# DescribeLoadBalancers API. To detach the load balancer from the Auto
|
474
490
|
# Scaling group, call the DetachLoadBalancers API.
|
475
491
|
#
|
492
|
+
# This operation is additive and does not detach existing Classic Load
|
493
|
+
# Balancers or target groups from the Auto Scaling group.
|
494
|
+
#
|
476
495
|
# For more information, see [Elastic Load Balancing and Amazon EC2 Auto
|
477
496
|
# Scaling][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
478
497
|
#
|
@@ -659,9 +678,9 @@ module Aws::AutoScaling
|
|
659
678
|
# This step is a part of the procedure for adding a lifecycle hook to an
|
660
679
|
# Auto Scaling group:
|
661
680
|
#
|
662
|
-
# 1. (Optional) Create a Lambda function and a rule that allows
|
663
|
-
#
|
664
|
-
#
|
681
|
+
# 1. (Optional) Create a Lambda function and a rule that allows Amazon
|
682
|
+
# EventBridge to invoke your Lambda function when Amazon EC2 Auto
|
683
|
+
# Scaling launches or terminates instances.
|
665
684
|
#
|
666
685
|
# 2. (Optional) Create a notification target and an IAM role. The
|
667
686
|
# target can be either an Amazon SQS queue or an Amazon SNS topic.
|
@@ -674,8 +693,8 @@ module Aws::AutoScaling
|
|
674
693
|
# 4. If you need more time, record the lifecycle action heartbeat to
|
675
694
|
# keep the instance in a pending state.
|
676
695
|
#
|
677
|
-
# 5. **If you finish before the timeout period ends,
|
678
|
-
#
|
696
|
+
# 5. **If you finish before the timeout period ends, send a callback by
|
697
|
+
# using the CompleteLifecycleAction API call.**
|
679
698
|
#
|
680
699
|
# For more information, see [Amazon EC2 Auto Scaling lifecycle hooks][1]
|
681
700
|
# in the *Amazon EC2 Auto Scaling User Guide*.
|
@@ -807,7 +826,7 @@ module Aws::AutoScaling
|
|
807
826
|
#
|
808
827
|
#
|
809
828
|
#
|
810
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
829
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html
|
811
830
|
#
|
812
831
|
# @option params [String] :instance_id
|
813
832
|
# The ID of the instance used to base the launch configuration on. If
|
@@ -898,10 +917,9 @@ module Aws::AutoScaling
|
|
898
917
|
# @option params [Integer] :health_check_grace_period
|
899
918
|
# The amount of time, in seconds, that Amazon EC2 Auto Scaling waits
|
900
919
|
# before checking the health status of an EC2 instance that has come
|
901
|
-
# into service
|
902
|
-
#
|
903
|
-
#
|
904
|
-
# User Guide*.
|
920
|
+
# into service and marking it unhealthy due to a failed health check.
|
921
|
+
# The default value is `0`. For more information, see [Health check
|
922
|
+
# grace period][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
905
923
|
#
|
906
924
|
# Conditional: Required if you are adding an `ELB` health check.
|
907
925
|
#
|
@@ -946,12 +964,12 @@ module Aws::AutoScaling
|
|
946
964
|
# Indicates whether newly launched instances are protected from
|
947
965
|
# termination by Amazon EC2 Auto Scaling when scaling in. For more
|
948
966
|
# information about preventing instances from terminating on scale in,
|
949
|
-
# see [
|
950
|
-
# User Guide*.
|
967
|
+
# see [Using instance scale-in protection][1] in the *Amazon EC2 Auto
|
968
|
+
# Scaling User Guide*.
|
951
969
|
#
|
952
970
|
#
|
953
971
|
#
|
954
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
972
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html
|
955
973
|
#
|
956
974
|
# @option params [Boolean] :capacity_rebalance
|
957
975
|
# Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity
|
@@ -964,7 +982,7 @@ module Aws::AutoScaling
|
|
964
982
|
#
|
965
983
|
#
|
966
984
|
#
|
967
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/capacity-
|
985
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-capacity-rebalancing.html
|
968
986
|
#
|
969
987
|
# @option params [Array<Types::LifecycleHookSpecification>] :lifecycle_hook_specification_list
|
970
988
|
# One or more lifecycle hooks for the group, which specify actions to
|
@@ -1782,8 +1800,7 @@ module Aws::AutoScaling
|
|
1782
1800
|
# The name of the Auto Scaling group.
|
1783
1801
|
#
|
1784
1802
|
# @option params [required, String] :topic_arn
|
1785
|
-
# The Amazon Resource Name (ARN) of the Amazon
|
1786
|
-
# Service (Amazon SNS) topic.
|
1803
|
+
# The Amazon Resource Name (ARN) of the Amazon SNS topic.
|
1787
1804
|
#
|
1788
1805
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1789
1806
|
#
|
@@ -4571,16 +4588,16 @@ module Aws::AutoScaling
|
|
4571
4588
|
# Creates or updates a lifecycle hook for the specified Auto Scaling
|
4572
4589
|
# group.
|
4573
4590
|
#
|
4574
|
-
# A lifecycle hook
|
4575
|
-
#
|
4576
|
-
#
|
4591
|
+
# A lifecycle hook enables an Auto Scaling group to be aware of events
|
4592
|
+
# in the Auto Scaling instance lifecycle, and then perform a custom
|
4593
|
+
# action when the corresponding lifecycle event occurs.
|
4577
4594
|
#
|
4578
4595
|
# This step is a part of the procedure for adding a lifecycle hook to an
|
4579
4596
|
# Auto Scaling group:
|
4580
4597
|
#
|
4581
|
-
# 1. (Optional) Create a Lambda function and a rule that allows
|
4582
|
-
#
|
4583
|
-
#
|
4598
|
+
# 1. (Optional) Create a Lambda function and a rule that allows Amazon
|
4599
|
+
# EventBridge to invoke your Lambda function when Amazon EC2 Auto
|
4600
|
+
# Scaling launches or terminates instances.
|
4584
4601
|
#
|
4585
4602
|
# 2. (Optional) Create a notification target and an IAM role. The
|
4586
4603
|
# target can be either an Amazon SQS queue or an Amazon SNS topic.
|
@@ -4594,8 +4611,8 @@ module Aws::AutoScaling
|
|
4594
4611
|
# keep the instance in a pending state using the
|
4595
4612
|
# RecordLifecycleActionHeartbeat API call.
|
4596
4613
|
#
|
4597
|
-
# 5. If you finish before the timeout period ends,
|
4598
|
-
#
|
4614
|
+
# 5. If you finish before the timeout period ends, send a callback by
|
4615
|
+
# using the CompleteLifecycleAction API call.
|
4599
4616
|
#
|
4600
4617
|
# For more information, see [Amazon EC2 Auto Scaling lifecycle hooks][1]
|
4601
4618
|
# in the *Amazon EC2 Auto Scaling User Guide*.
|
@@ -4732,8 +4749,7 @@ module Aws::AutoScaling
|
|
4732
4749
|
# The name of the Auto Scaling group.
|
4733
4750
|
#
|
4734
4751
|
# @option params [required, String] :topic_arn
|
4735
|
-
# The Amazon Resource Name (ARN) of the Amazon
|
4736
|
-
# Service (Amazon SNS) topic.
|
4752
|
+
# The Amazon Resource Name (ARN) of the Amazon SNS topic.
|
4737
4753
|
#
|
4738
4754
|
# @option params [required, Array<String>] :notification_types
|
4739
4755
|
# The type of event that causes the notification to be sent. To query
|
@@ -4899,7 +4915,7 @@ module Aws::AutoScaling
|
|
4899
4915
|
#
|
4900
4916
|
# @option params [Types::TargetTrackingConfiguration] :target_tracking_configuration
|
4901
4917
|
# A target tracking scaling policy. Provides support for predefined or
|
4902
|
-
#
|
4918
|
+
# custom metrics.
|
4903
4919
|
#
|
4904
4920
|
# The following predefined metrics are available:
|
4905
4921
|
#
|
@@ -4935,10 +4951,10 @@ module Aws::AutoScaling
|
|
4935
4951
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-enable-disable-scaling-policy.html
|
4936
4952
|
#
|
4937
4953
|
# @option params [Types::PredictiveScalingConfiguration] :predictive_scaling_configuration
|
4938
|
-
# A predictive scaling policy. Provides support for
|
4939
|
-
# metrics.
|
4954
|
+
# A predictive scaling policy. Provides support for predefined and
|
4955
|
+
# custom metrics.
|
4940
4956
|
#
|
4941
|
-
#
|
4957
|
+
# Predefined metrics include CPU utilization, network in/out, and the
|
4942
4958
|
# Application Load Balancer request count.
|
4943
4959
|
#
|
4944
4960
|
# For more information, see [PredictiveScalingConfiguration][1] in the
|
@@ -5358,9 +5374,9 @@ module Aws::AutoScaling
|
|
5358
5374
|
# This step is a part of the procedure for adding a lifecycle hook to an
|
5359
5375
|
# Auto Scaling group:
|
5360
5376
|
#
|
5361
|
-
# 1. (Optional) Create a Lambda function and a rule that allows
|
5362
|
-
#
|
5363
|
-
#
|
5377
|
+
# 1. (Optional) Create a Lambda function and a rule that allows Amazon
|
5378
|
+
# EventBridge to invoke your Lambda function when Amazon EC2 Auto
|
5379
|
+
# Scaling launches or terminates instances.
|
5364
5380
|
#
|
5365
5381
|
# 2. (Optional) Create a notification target and an IAM role. The
|
5366
5382
|
# target can be either an Amazon SQS queue or an Amazon SNS topic.
|
@@ -5373,8 +5389,8 @@ module Aws::AutoScaling
|
|
5373
5389
|
# 4. **If you need more time, record the lifecycle action heartbeat to
|
5374
5390
|
# keep the instance in a pending state.**
|
5375
5391
|
#
|
5376
|
-
# 5. If you finish before the timeout period ends,
|
5377
|
-
#
|
5392
|
+
# 5. If you finish before the timeout period ends, send a callback by
|
5393
|
+
# using the CompleteLifecycleAction API call.
|
5378
5394
|
#
|
5379
5395
|
# For more information, see [Amazon EC2 Auto Scaling lifecycle hooks][1]
|
5380
5396
|
# in the *Amazon EC2 Auto Scaling User Guide*.
|
@@ -5619,7 +5635,7 @@ module Aws::AutoScaling
|
|
5619
5635
|
# This operation cannot be called on instances in a warm pool.
|
5620
5636
|
#
|
5621
5637
|
# For more information about preventing instances that are part of an
|
5622
|
-
# Auto Scaling group from terminating on scale in, see [
|
5638
|
+
# Auto Scaling group from terminating on scale in, see [Using instance
|
5623
5639
|
# scale-in protection][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
5624
5640
|
#
|
5625
5641
|
# If you exceed your maximum limit of instance IDs, which is 50 per Auto
|
@@ -5627,7 +5643,7 @@ module Aws::AutoScaling
|
|
5627
5643
|
#
|
5628
5644
|
#
|
5629
5645
|
#
|
5630
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
5646
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html
|
5631
5647
|
#
|
5632
5648
|
# @option params [required, Array<String>] :instance_ids
|
5633
5649
|
# One or more instance IDs. You can specify up to 50 instances.
|
@@ -6092,7 +6108,7 @@ module Aws::AutoScaling
|
|
6092
6108
|
#
|
6093
6109
|
#
|
6094
6110
|
#
|
6095
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
6111
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html
|
6096
6112
|
#
|
6097
6113
|
# @option params [Integer] :min_size
|
6098
6114
|
# The minimum size of the Auto Scaling group.
|
@@ -6140,9 +6156,9 @@ module Aws::AutoScaling
|
|
6140
6156
|
# @option params [Integer] :health_check_grace_period
|
6141
6157
|
# The amount of time, in seconds, that Amazon EC2 Auto Scaling waits
|
6142
6158
|
# before checking the health status of an EC2 instance that has come
|
6143
|
-
# into service
|
6144
|
-
#
|
6145
|
-
# Guide*.
|
6159
|
+
# into service and marking it unhealthy due to a failed health check.
|
6160
|
+
# The default value is `0`. For more information, see [Health check
|
6161
|
+
# grace period][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
6146
6162
|
#
|
6147
6163
|
# Conditional: Required if you are adding an `ELB` health check.
|
6148
6164
|
#
|
@@ -6183,12 +6199,12 @@ module Aws::AutoScaling
|
|
6183
6199
|
# Indicates whether newly launched instances are protected from
|
6184
6200
|
# termination by Amazon EC2 Auto Scaling when scaling in. For more
|
6185
6201
|
# information about preventing instances from terminating on scale in,
|
6186
|
-
# see [
|
6187
|
-
# User Guide*.
|
6202
|
+
# see [Using instance scale-in protection][1] in the *Amazon EC2 Auto
|
6203
|
+
# Scaling User Guide*.
|
6188
6204
|
#
|
6189
6205
|
#
|
6190
6206
|
#
|
6191
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
6207
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html
|
6192
6208
|
#
|
6193
6209
|
# @option params [String] :service_linked_role_arn
|
6194
6210
|
# The Amazon Resource Name (ARN) of the service-linked role that the
|
@@ -6219,7 +6235,7 @@ module Aws::AutoScaling
|
|
6219
6235
|
#
|
6220
6236
|
#
|
6221
6237
|
#
|
6222
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/capacity-
|
6238
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-capacity-rebalancing.html
|
6223
6239
|
#
|
6224
6240
|
# @option params [String] :context
|
6225
6241
|
# Reserved.
|
@@ -6396,7 +6412,7 @@ module Aws::AutoScaling
|
|
6396
6412
|
params: params,
|
6397
6413
|
config: config)
|
6398
6414
|
context[:gem_name] = 'aws-sdk-autoscaling'
|
6399
|
-
context[:gem_version] = '1.
|
6415
|
+
context[:gem_version] = '1.77.0'
|
6400
6416
|
Seahorse::Client::Request.new(handlers, context)
|
6401
6417
|
end
|
6402
6418
|
|
@@ -197,7 +197,7 @@ module Aws::AutoScaling
|
|
197
197
|
#
|
198
198
|
#
|
199
199
|
#
|
200
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
200
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html
|
201
201
|
# @option options [String] :instance_id
|
202
202
|
# The ID of the instance used to base the launch configuration on. If
|
203
203
|
# specified, Amazon EC2 Auto Scaling uses the configuration values from
|
@@ -278,10 +278,9 @@ module Aws::AutoScaling
|
|
278
278
|
# @option options [Integer] :health_check_grace_period
|
279
279
|
# The amount of time, in seconds, that Amazon EC2 Auto Scaling waits
|
280
280
|
# before checking the health status of an EC2 instance that has come
|
281
|
-
# into service
|
282
|
-
#
|
283
|
-
#
|
284
|
-
# User Guide*.
|
281
|
+
# into service and marking it unhealthy due to a failed health check.
|
282
|
+
# The default value is `0`. For more information, see [Health check
|
283
|
+
# grace period][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
285
284
|
#
|
286
285
|
# Conditional: Required if you are adding an `ELB` health check.
|
287
286
|
#
|
@@ -322,12 +321,12 @@ module Aws::AutoScaling
|
|
322
321
|
# Indicates whether newly launched instances are protected from
|
323
322
|
# termination by Amazon EC2 Auto Scaling when scaling in. For more
|
324
323
|
# information about preventing instances from terminating on scale in,
|
325
|
-
# see [
|
326
|
-
# User Guide*.
|
324
|
+
# see [Using instance scale-in protection][1] in the *Amazon EC2 Auto
|
325
|
+
# Scaling User Guide*.
|
327
326
|
#
|
328
327
|
#
|
329
328
|
#
|
330
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
329
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html
|
331
330
|
# @option options [Boolean] :capacity_rebalance
|
332
331
|
# Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity
|
333
332
|
# Rebalancing is disabled. When you turn on Capacity Rebalancing, Amazon
|
@@ -339,7 +338,7 @@ module Aws::AutoScaling
|
|
339
338
|
#
|
340
339
|
#
|
341
340
|
#
|
342
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/capacity-
|
341
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-capacity-rebalancing.html
|
343
342
|
# @option options [Array<Types::LifecycleHookSpecification>] :lifecycle_hook_specification_list
|
344
343
|
# One or more lifecycle hooks for the group, which specify actions to
|
345
344
|
# perform when Amazon EC2 Auto Scaling launches or terminates instances.
|
@@ -393,7 +393,7 @@ module Aws::AutoScaling
|
|
393
393
|
# @!attribute [rw] health_check_grace_period
|
394
394
|
# The amount of time, in seconds, that Amazon EC2 Auto Scaling waits
|
395
395
|
# before checking the health status of an EC2 instance that has come
|
396
|
-
# into service.
|
396
|
+
# into service and marking it unhealthy due to a failed health check.
|
397
397
|
# @return [Integer]
|
398
398
|
#
|
399
399
|
# @!attribute [rw] instances
|
@@ -1152,7 +1152,7 @@ module Aws::AutoScaling
|
|
1152
1152
|
#
|
1153
1153
|
#
|
1154
1154
|
#
|
1155
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
1155
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html
|
1156
1156
|
# @return [Types::MixedInstancesPolicy]
|
1157
1157
|
#
|
1158
1158
|
# @!attribute [rw] instance_id
|
@@ -1255,10 +1255,9 @@ module Aws::AutoScaling
|
|
1255
1255
|
# @!attribute [rw] health_check_grace_period
|
1256
1256
|
# The amount of time, in seconds, that Amazon EC2 Auto Scaling waits
|
1257
1257
|
# before checking the health status of an EC2 instance that has come
|
1258
|
-
# into service
|
1259
|
-
#
|
1260
|
-
#
|
1261
|
-
# Auto Scaling User Guide*.
|
1258
|
+
# into service and marking it unhealthy due to a failed health check.
|
1259
|
+
# The default value is `0`. For more information, see [Health check
|
1260
|
+
# grace period][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
1262
1261
|
#
|
1263
1262
|
# Conditional: Required if you are adding an `ELB` health check.
|
1264
1263
|
#
|
@@ -1307,12 +1306,12 @@ module Aws::AutoScaling
|
|
1307
1306
|
# Indicates whether newly launched instances are protected from
|
1308
1307
|
# termination by Amazon EC2 Auto Scaling when scaling in. For more
|
1309
1308
|
# information about preventing instances from terminating on scale in,
|
1310
|
-
# see [
|
1309
|
+
# see [Using instance scale-in protection][1] in the *Amazon EC2 Auto
|
1311
1310
|
# Scaling User Guide*.
|
1312
1311
|
#
|
1313
1312
|
#
|
1314
1313
|
#
|
1315
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
1314
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html
|
1316
1315
|
# @return [Boolean]
|
1317
1316
|
#
|
1318
1317
|
# @!attribute [rw] capacity_rebalance
|
@@ -1327,7 +1326,7 @@ module Aws::AutoScaling
|
|
1327
1326
|
#
|
1328
1327
|
#
|
1329
1328
|
#
|
1330
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/capacity-
|
1329
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-capacity-rebalancing.html
|
1331
1330
|
# @return [Boolean]
|
1332
1331
|
#
|
1333
1332
|
# @!attribute [rw] lifecycle_hook_specification_list
|
@@ -1806,7 +1805,7 @@ module Aws::AutoScaling
|
|
1806
1805
|
# * Add values for each required parameter from CloudWatch. You can use
|
1807
1806
|
# an existing metric, or a new metric that you create. To use your own
|
1808
1807
|
# metric, you must first publish the metric to CloudWatch. For more
|
1809
|
-
# information, see [Publish
|
1808
|
+
# information, see [Publish custom metrics][1] in the *Amazon
|
1810
1809
|
# CloudWatch User Guide*.
|
1811
1810
|
#
|
1812
1811
|
# * Choose a metric that changes proportionally with capacity. The value
|
@@ -1814,13 +1813,21 @@ module Aws::AutoScaling
|
|
1814
1813
|
# the number of capacity units. That is, the value of the metric
|
1815
1814
|
# should decrease when capacity increases.
|
1816
1815
|
#
|
1817
|
-
# For more information about CloudWatch, see
|
1818
|
-
#
|
1816
|
+
# For more information about the CloudWatch terminology below, see
|
1817
|
+
# [Amazon CloudWatch concepts][2].
|
1818
|
+
#
|
1819
|
+
# <note markdown="1"> Each individual service provides information about the metrics,
|
1820
|
+
# namespace, and dimensions they use. For more information, see [Amazon
|
1821
|
+
# Web Services services that publish CloudWatch metrics][3] in the
|
1822
|
+
# *Amazon CloudWatch User Guide*.
|
1823
|
+
#
|
1824
|
+
# </note>
|
1819
1825
|
#
|
1820
1826
|
#
|
1821
1827
|
#
|
1822
1828
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html
|
1823
1829
|
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html
|
1830
|
+
# [3]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-services-cloudwatch-metrics.html
|
1824
1831
|
#
|
1825
1832
|
# @note When making an API call, you may pass CustomizedMetricSpecification
|
1826
1833
|
# data as a hash:
|
@@ -1839,7 +1846,14 @@ module Aws::AutoScaling
|
|
1839
1846
|
# }
|
1840
1847
|
#
|
1841
1848
|
# @!attribute [rw] metric_name
|
1842
|
-
# The name of the metric.
|
1849
|
+
# The name of the metric. To get the exact metric name, namespace, and
|
1850
|
+
# dimensions, inspect the [Metric][1] object that is returned by a
|
1851
|
+
# call to [ListMetrics][2].
|
1852
|
+
#
|
1853
|
+
#
|
1854
|
+
#
|
1855
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_Metric.html
|
1856
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html
|
1843
1857
|
# @return [String]
|
1844
1858
|
#
|
1845
1859
|
# @!attribute [rw] namespace
|
@@ -1858,7 +1872,13 @@ module Aws::AutoScaling
|
|
1858
1872
|
# @return [String]
|
1859
1873
|
#
|
1860
1874
|
# @!attribute [rw] unit
|
1861
|
-
# The unit of the metric.
|
1875
|
+
# The unit of the metric. For a complete list of the units that
|
1876
|
+
# CloudWatch supports, see the [MetricDatum][1] data type in the
|
1877
|
+
# *Amazon CloudWatch API Reference*.
|
1878
|
+
#
|
1879
|
+
#
|
1880
|
+
#
|
1881
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html
|
1862
1882
|
# @return [String]
|
1863
1883
|
#
|
1864
1884
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CustomizedMetricSpecification AWS API Documentation
|
@@ -1943,8 +1963,7 @@ module Aws::AutoScaling
|
|
1943
1963
|
# @return [String]
|
1944
1964
|
#
|
1945
1965
|
# @!attribute [rw] topic_arn
|
1946
|
-
# The Amazon Resource Name (ARN) of the Amazon
|
1947
|
-
# Service (Amazon SNS) topic.
|
1966
|
+
# The Amazon Resource Name (ARN) of the Amazon SNS topic.
|
1948
1967
|
# @return [String]
|
1949
1968
|
#
|
1950
1969
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteNotificationConfigurationType AWS API Documentation
|
@@ -2827,7 +2846,7 @@ module Aws::AutoScaling
|
|
2827
2846
|
#
|
2828
2847
|
#
|
2829
2848
|
#
|
2830
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
2849
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html
|
2831
2850
|
# @return [Types::MixedInstancesPolicy]
|
2832
2851
|
#
|
2833
2852
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DesiredConfiguration AWS API Documentation
|
@@ -4790,7 +4809,7 @@ module Aws::AutoScaling
|
|
4790
4809
|
#
|
4791
4810
|
#
|
4792
4811
|
#
|
4793
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
4812
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-configuring-overrides.html
|
4794
4813
|
#
|
4795
4814
|
# @note When making an API call, you may pass LaunchTemplateOverrides
|
4796
4815
|
# data as a hash:
|
@@ -4880,7 +4899,7 @@ module Aws::AutoScaling
|
|
4880
4899
|
#
|
4881
4900
|
#
|
4882
4901
|
#
|
4883
|
-
# [1]: https://docs.aws.amazon.com/
|
4902
|
+
# [1]: https://docs.aws.amazon.com/ec2-auto-scaling-mixed-instances-groups-instance-weighting.html
|
4884
4903
|
# @return [String]
|
4885
4904
|
#
|
4886
4905
|
# @!attribute [rw] launch_template_specification
|
@@ -4894,7 +4913,7 @@ module Aws::AutoScaling
|
|
4894
4913
|
#
|
4895
4914
|
#
|
4896
4915
|
#
|
4897
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
4916
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups-launch-template-overrides.html
|
4898
4917
|
# @return [Types::LaunchTemplateSpecification]
|
4899
4918
|
#
|
4900
4919
|
# @!attribute [rw] instance_requirements
|
@@ -4991,9 +5010,9 @@ module Aws::AutoScaling
|
|
4991
5010
|
include Aws::Structure
|
4992
5011
|
end
|
4993
5012
|
|
4994
|
-
# Describes a lifecycle hook, which
|
4995
|
-
#
|
4996
|
-
#
|
5013
|
+
# Describes a lifecycle hook, which enables an Auto Scaling group to be
|
5014
|
+
# aware of events in the Auto Scaling instance lifecycle, and then
|
5015
|
+
# perform a custom action when the corresponding lifecycle event occurs.
|
4997
5016
|
#
|
4998
5017
|
# @!attribute [rw] lifecycle_hook_name
|
4999
5018
|
# The name of the lifecycle hook.
|
@@ -5068,31 +5087,6 @@ module Aws::AutoScaling
|
|
5068
5087
|
# Describes information used to specify a lifecycle hook for an Auto
|
5069
5088
|
# Scaling group.
|
5070
5089
|
#
|
5071
|
-
# A lifecycle hook tells Amazon EC2 Auto Scaling to perform an action on
|
5072
|
-
# an instance when the instance launches (before it is put into service)
|
5073
|
-
# or as the instance terminates (before it is fully terminated).
|
5074
|
-
#
|
5075
|
-
# This step is a part of the procedure for creating a lifecycle hook for
|
5076
|
-
# an Auto Scaling group:
|
5077
|
-
#
|
5078
|
-
# 1. (Optional) Create a Lambda function and a rule that allows
|
5079
|
-
# CloudWatch Events to invoke your Lambda function when Amazon EC2
|
5080
|
-
# Auto Scaling launches or terminates instances.
|
5081
|
-
#
|
5082
|
-
# 2. (Optional) Create a notification target and an IAM role. The
|
5083
|
-
# target can be either an Amazon SQS queue or an Amazon SNS topic.
|
5084
|
-
# The role allows Amazon EC2 Auto Scaling to publish lifecycle
|
5085
|
-
# notifications to the target.
|
5086
|
-
#
|
5087
|
-
# 3. **Create the lifecycle hook. Specify whether the hook is used when
|
5088
|
-
# the instances launch or terminate.**
|
5089
|
-
#
|
5090
|
-
# 4. If you need more time, record the lifecycle action heartbeat to
|
5091
|
-
# keep the instance in a pending state.
|
5092
|
-
#
|
5093
|
-
# 5. If you finish before the timeout period ends, complete the
|
5094
|
-
# lifecycle action.
|
5095
|
-
#
|
5096
5090
|
# For more information, see [Amazon EC2 Auto Scaling lifecycle hooks][1]
|
5097
5091
|
# in the *Amazon EC2 Auto Scaling User Guide*.
|
5098
5092
|
#
|
@@ -5465,8 +5459,8 @@ module Aws::AutoScaling
|
|
5465
5459
|
# is associated with a timestamp.
|
5466
5460
|
#
|
5467
5461
|
# For more information and examples, see [Advanced predictive scaling
|
5468
|
-
# policy configurations using
|
5469
|
-
#
|
5462
|
+
# policy configurations using custom metrics][1] in the *Amazon EC2 Auto
|
5463
|
+
# Scaling User Guide*.
|
5470
5464
|
#
|
5471
5465
|
#
|
5472
5466
|
#
|
@@ -5512,10 +5506,6 @@ module Aws::AutoScaling
|
|
5512
5506
|
# the other metrics to refer to those metrics, and can also use the
|
5513
5507
|
# `Id` of other expressions to use the result of those expressions.
|
5514
5508
|
#
|
5515
|
-
# For example, to use search expressions, use the SEARCH() function in
|
5516
|
-
# your metric math expression to combine multiple metrics from Auto
|
5517
|
-
# Scaling groups that use a specific name prefix.
|
5518
|
-
#
|
5519
5509
|
# Conditional: Within each `MetricDataQuery` object, you must specify
|
5520
5510
|
# either `Expression` or `MetricStat`, but not both.
|
5521
5511
|
# @return [String]
|
@@ -5537,14 +5527,14 @@ module Aws::AutoScaling
|
|
5537
5527
|
# Indicates whether to return the timestamps and raw data values of
|
5538
5528
|
# this metric.
|
5539
5529
|
#
|
5540
|
-
# If you use any math expressions, specify `
|
5530
|
+
# If you use any math expressions, specify `true` for this value for
|
5541
5531
|
# only the final math expression that the metric specification is
|
5542
|
-
# based on. You must specify `
|
5532
|
+
# based on. You must specify `false` for `ReturnData` for all the
|
5543
5533
|
# other metrics and expressions used in the metric specification.
|
5544
5534
|
#
|
5545
5535
|
# If you are only retrieving metrics and not performing any math
|
5546
5536
|
# expressions, do not specify anything for `ReturnData`. This sets it
|
5547
|
-
# to its default (`
|
5537
|
+
# to its default (`true`).
|
5548
5538
|
# @return [Boolean]
|
5549
5539
|
#
|
5550
5540
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/MetricDataQuery AWS API Documentation
|
@@ -5682,7 +5672,7 @@ module Aws::AutoScaling
|
|
5682
5672
|
#
|
5683
5673
|
#
|
5684
5674
|
#
|
5685
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
5675
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html
|
5686
5676
|
#
|
5687
5677
|
# @note When making an API call, you may pass MixedInstancesPolicy
|
5688
5678
|
# data as a hash:
|
@@ -5819,8 +5809,7 @@ module Aws::AutoScaling
|
|
5819
5809
|
# @return [String]
|
5820
5810
|
#
|
5821
5811
|
# @!attribute [rw] topic_arn
|
5822
|
-
# The Amazon Resource Name (ARN) of the Amazon
|
5823
|
-
# Service (Amazon SNS) topic.
|
5812
|
+
# The Amazon Resource Name (ARN) of the Amazon SNS topic.
|
5824
5813
|
# @return [String]
|
5825
5814
|
#
|
5826
5815
|
# @!attribute [rw] notification_type
|
@@ -6177,7 +6166,7 @@ module Aws::AutoScaling
|
|
6177
6166
|
include Aws::Structure
|
6178
6167
|
end
|
6179
6168
|
|
6180
|
-
# Describes a
|
6169
|
+
# Describes a custom load metric for a predictive scaling policy.
|
6181
6170
|
#
|
6182
6171
|
# @note When making an API call, you may pass PredictiveScalingCustomizedLoadMetric
|
6183
6172
|
# data as a hash:
|
@@ -6221,7 +6210,7 @@ module Aws::AutoScaling
|
|
6221
6210
|
include Aws::Structure
|
6222
6211
|
end
|
6223
6212
|
|
6224
|
-
# Describes a
|
6213
|
+
# Describes a custom scaling metric for a predictive scaling policy.
|
6225
6214
|
#
|
6226
6215
|
# @note When making an API call, you may pass PredictiveScalingCustomizedScalingMetric
|
6227
6216
|
# data as a hash:
|
@@ -6305,9 +6294,9 @@ module Aws::AutoScaling
|
|
6305
6294
|
# requests received by each instance is as close to 1000 requests per
|
6306
6295
|
# minute as possible at all times.
|
6307
6296
|
#
|
6308
|
-
# For information about using
|
6309
|
-
#
|
6310
|
-
#
|
6297
|
+
# For information about using custom metrics with predictive scaling,
|
6298
|
+
# see [Advanced predictive scaling policy configurations using custom
|
6299
|
+
# metrics][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
6311
6300
|
#
|
6312
6301
|
#
|
6313
6302
|
#
|
@@ -6802,8 +6791,7 @@ module Aws::AutoScaling
|
|
6802
6791
|
# @return [String]
|
6803
6792
|
#
|
6804
6793
|
# @!attribute [rw] topic_arn
|
6805
|
-
# The Amazon Resource Name (ARN) of the Amazon
|
6806
|
-
# Service (Amazon SNS) topic.
|
6794
|
+
# The Amazon Resource Name (ARN) of the Amazon SNS topic.
|
6807
6795
|
# @return [String]
|
6808
6796
|
#
|
6809
6797
|
# @!attribute [rw] notification_types
|
@@ -7076,7 +7064,7 @@ module Aws::AutoScaling
|
|
7076
7064
|
#
|
7077
7065
|
# @!attribute [rw] target_tracking_configuration
|
7078
7066
|
# A target tracking scaling policy. Provides support for predefined or
|
7079
|
-
#
|
7067
|
+
# custom metrics.
|
7080
7068
|
#
|
7081
7069
|
# The following predefined metrics are available:
|
7082
7070
|
#
|
@@ -7114,11 +7102,11 @@ module Aws::AutoScaling
|
|
7114
7102
|
# @return [Boolean]
|
7115
7103
|
#
|
7116
7104
|
# @!attribute [rw] predictive_scaling_configuration
|
7117
|
-
# A predictive scaling policy. Provides support for
|
7118
|
-
# metrics.
|
7105
|
+
# A predictive scaling policy. Provides support for predefined and
|
7106
|
+
# custom metrics.
|
7119
7107
|
#
|
7120
|
-
#
|
7121
|
-
#
|
7108
|
+
# Predefined metrics include CPU utilization, network in/out, and the
|
7109
|
+
# Application Load Balancer request count.
|
7122
7110
|
#
|
7123
7111
|
# For more information, see [PredictiveScalingConfiguration][1] in the
|
7124
7112
|
# *Amazon EC2 Auto Scaling API Reference*.
|
@@ -8582,7 +8570,7 @@ module Aws::AutoScaling
|
|
8582
8570
|
#
|
8583
8571
|
#
|
8584
8572
|
#
|
8585
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
8573
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html
|
8586
8574
|
# @return [Types::MixedInstancesPolicy]
|
8587
8575
|
#
|
8588
8576
|
# @!attribute [rw] min_size
|
@@ -8637,9 +8625,9 @@ module Aws::AutoScaling
|
|
8637
8625
|
# @!attribute [rw] health_check_grace_period
|
8638
8626
|
# The amount of time, in seconds, that Amazon EC2 Auto Scaling waits
|
8639
8627
|
# before checking the health status of an EC2 instance that has come
|
8640
|
-
# into service
|
8641
|
-
#
|
8642
|
-
# Guide*.
|
8628
|
+
# into service and marking it unhealthy due to a failed health check.
|
8629
|
+
# The default value is `0`. For more information, see [Health check
|
8630
|
+
# grace period][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
8643
8631
|
#
|
8644
8632
|
# Conditional: Required if you are adding an `ELB` health check.
|
8645
8633
|
#
|
@@ -8684,12 +8672,12 @@ module Aws::AutoScaling
|
|
8684
8672
|
# Indicates whether newly launched instances are protected from
|
8685
8673
|
# termination by Amazon EC2 Auto Scaling when scaling in. For more
|
8686
8674
|
# information about preventing instances from terminating on scale in,
|
8687
|
-
# see [
|
8675
|
+
# see [Using instance scale-in protection][1] in the *Amazon EC2 Auto
|
8688
8676
|
# Scaling User Guide*.
|
8689
8677
|
#
|
8690
8678
|
#
|
8691
8679
|
#
|
8692
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
8680
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html
|
8693
8681
|
# @return [Boolean]
|
8694
8682
|
#
|
8695
8683
|
# @!attribute [rw] service_linked_role_arn
|
@@ -8723,7 +8711,7 @@ module Aws::AutoScaling
|
|
8723
8711
|
#
|
8724
8712
|
#
|
8725
8713
|
#
|
8726
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/capacity-
|
8714
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-capacity-rebalancing.html
|
8727
8715
|
# @return [Boolean]
|
8728
8716
|
#
|
8729
8717
|
# @!attribute [rw] context
|
data/lib/aws-sdk-autoscaling.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-autoscaling
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.77.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.126.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.126.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|