aws-sdk-autoscaling 1.73.0 → 1.74.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ea5c6e471f9b2b1e7e8654d91f691dbd20060f347e85f184a3c8c5f18de43a0e
4
- data.tar.gz: 643c5741c7d570b3ede7c7e60ce380a6e313aaee5f1b19103d73b15ce0e52307
3
+ metadata.gz: 492b595b0e3a3c515f8efb34e5576aa0a2d004a67d14ccd84f5ed6cb95e439fb
4
+ data.tar.gz: d1b4d04f77cd08c3aae04afd6933ed6c8feec98873ef9d70a263cfebadc3b70c
5
5
  SHA512:
6
- metadata.gz: 40267e4ee600aea5377dfef40b6ba09dca72fae611c533d286ee77cc9c7cbcc23d74f6e460d48caad92b0d7adf4e3e49b14898c4f3fb32f82405896b1870f38f
7
- data.tar.gz: d7b2e98718c3915cbdaf049b53765a4d20b0f9bef74113809a993af12832010c1c2def5296f06c8fb1e1a237eae0ec5b72539253263560630b3a8af862098bf9
6
+ metadata.gz: 7ea16d1b766027175bdd25877c185696707a435dee87a51dd2b61ec3aaf5579f27e10bb2020bce070256a57cb7ffdc7b4c15002427ad05dd669c7826a053831b
7
+ data.tar.gz: 56d984d38027e14654cde2f66ba7289f8c902850b82e31e8a4182bc85ce3401024ee81a2f724b1c9c204b14fba26dc6b611f4c2ea8241e5c0ce6e3c4f6dc00e3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.74.0 (2021-11-26)
5
+ ------------------
6
+
7
+ * Feature - Documentation updates for Amazon EC2 Auto Scaling.
8
+
4
9
  1.73.0 (2021-11-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.73.0
1
+ 1.74.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
- # customized metrics.
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 only predefined
886
- # metrics.
885
+ # A predictive scaling policy. Provides support for predefined and
886
+ # custom metrics.
887
887
  #
888
- # Predictive scaling works with CPU utilization, network in/out, and the
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/asg-purchase-options.html
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. The default value is `0`. For more information, see
1239
- # [Health check grace period][1] in the *Amazon EC2 Auto Scaling User
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 [Instance scale-in protection][1] in the *Amazon EC2 Auto Scaling
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/as-instance-termination.html#instance-protection
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-rebalance.html
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
@@ -410,6 +410,9 @@ module Aws::AutoScaling
410
410
  # DescribeLoadBalancerTargetGroups API. To detach the target group from
411
411
  # the Auto Scaling group, call the DetachLoadBalancerTargetGroups API.
412
412
  #
413
+ # This operation is additive and does not detach existing target groups
414
+ # or Classic Load Balancers from the Auto Scaling group.
415
+ #
413
416
  # For more information, see [Elastic Load Balancing and Amazon EC2 Auto
414
417
  # Scaling][1] in the *Amazon EC2 Auto Scaling User Guide*.
415
418
  #
@@ -473,6 +476,9 @@ module Aws::AutoScaling
473
476
  # DescribeLoadBalancers API. To detach the load balancer from the Auto
474
477
  # Scaling group, call the DetachLoadBalancers API.
475
478
  #
479
+ # This operation is additive and does not detach existing Classic Load
480
+ # Balancers or target groups from the Auto Scaling group.
481
+ #
476
482
  # For more information, see [Elastic Load Balancing and Amazon EC2 Auto
477
483
  # Scaling][1] in the *Amazon EC2 Auto Scaling User Guide*.
478
484
  #
@@ -659,9 +665,9 @@ module Aws::AutoScaling
659
665
  # This step is a part of the procedure for adding a lifecycle hook to an
660
666
  # Auto Scaling group:
661
667
  #
662
- # 1. (Optional) Create a Lambda function and a rule that allows
663
- # CloudWatch Events to invoke your Lambda function when Amazon EC2
664
- # Auto Scaling launches or terminates instances.
668
+ # 1. (Optional) Create a Lambda function and a rule that allows Amazon
669
+ # EventBridge to invoke your Lambda function when Amazon EC2 Auto
670
+ # Scaling launches or terminates instances.
665
671
  #
666
672
  # 2. (Optional) Create a notification target and an IAM role. The
667
673
  # target can be either an Amazon SQS queue or an Amazon SNS topic.
@@ -674,8 +680,8 @@ module Aws::AutoScaling
674
680
  # 4. If you need more time, record the lifecycle action heartbeat to
675
681
  # keep the instance in a pending state.
676
682
  #
677
- # 5. **If you finish before the timeout period ends, complete the
678
- # lifecycle action.**
683
+ # 5. **If you finish before the timeout period ends, send a callback by
684
+ # using the CompleteLifecycleAction API call.**
679
685
  #
680
686
  # For more information, see [Amazon EC2 Auto Scaling lifecycle hooks][1]
681
687
  # in the *Amazon EC2 Auto Scaling User Guide*.
@@ -807,7 +813,7 @@ module Aws::AutoScaling
807
813
  #
808
814
  #
809
815
  #
810
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-purchase-options.html
816
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html
811
817
  #
812
818
  # @option params [String] :instance_id
813
819
  # The ID of the instance used to base the launch configuration on. If
@@ -898,10 +904,9 @@ module Aws::AutoScaling
898
904
  # @option params [Integer] :health_check_grace_period
899
905
  # The amount of time, in seconds, that Amazon EC2 Auto Scaling waits
900
906
  # before checking the health status of an EC2 instance that has come
901
- # into service. During this time, any health check failures for the
902
- # instance are ignored. The default value is `0`. For more information,
903
- # see [Health check grace period][1] in the *Amazon EC2 Auto Scaling
904
- # User Guide*.
907
+ # into service and marking it unhealthy due to a failed health check.
908
+ # The default value is `0`. For more information, see [Health check
909
+ # grace period][1] in the *Amazon EC2 Auto Scaling User Guide*.
905
910
  #
906
911
  # Conditional: Required if you are adding an `ELB` health check.
907
912
  #
@@ -946,12 +951,12 @@ module Aws::AutoScaling
946
951
  # Indicates whether newly launched instances are protected from
947
952
  # termination by Amazon EC2 Auto Scaling when scaling in. For more
948
953
  # information about preventing instances from terminating on scale in,
949
- # see [Instance scale-in protection][1] in the *Amazon EC2 Auto Scaling
950
- # User Guide*.
954
+ # see [Using instance scale-in protection][1] in the *Amazon EC2 Auto
955
+ # Scaling User Guide*.
951
956
  #
952
957
  #
953
958
  #
954
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection
959
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html
955
960
  #
956
961
  # @option params [Boolean] :capacity_rebalance
957
962
  # Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity
@@ -964,7 +969,7 @@ module Aws::AutoScaling
964
969
  #
965
970
  #
966
971
  #
967
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/capacity-rebalance.html
972
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-capacity-rebalancing.html
968
973
  #
969
974
  # @option params [Array<Types::LifecycleHookSpecification>] :lifecycle_hook_specification_list
970
975
  # One or more lifecycle hooks for the group, which specify actions to
@@ -1782,8 +1787,7 @@ module Aws::AutoScaling
1782
1787
  # The name of the Auto Scaling group.
1783
1788
  #
1784
1789
  # @option params [required, String] :topic_arn
1785
- # The Amazon Resource Name (ARN) of the Amazon Simple Notification
1786
- # Service (Amazon SNS) topic.
1790
+ # The Amazon Resource Name (ARN) of the Amazon SNS topic.
1787
1791
  #
1788
1792
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1789
1793
  #
@@ -4571,16 +4575,16 @@ module Aws::AutoScaling
4571
4575
  # Creates or updates a lifecycle hook for the specified Auto Scaling
4572
4576
  # group.
4573
4577
  #
4574
- # A lifecycle hook tells Amazon EC2 Auto Scaling to perform an action on
4575
- # an instance when the instance launches (before it is put into service)
4576
- # or as the instance terminates (before it is fully terminated).
4578
+ # A lifecycle hook enables an Auto Scaling group to be aware of events
4579
+ # in the Auto Scaling instance lifecycle, and then perform a custom
4580
+ # action when the corresponding lifecycle event occurs.
4577
4581
  #
4578
4582
  # This step is a part of the procedure for adding a lifecycle hook to an
4579
4583
  # Auto Scaling group:
4580
4584
  #
4581
- # 1. (Optional) Create a Lambda function and a rule that allows
4582
- # CloudWatch Events to invoke your Lambda function when Amazon EC2
4583
- # Auto Scaling launches or terminates instances.
4585
+ # 1. (Optional) Create a Lambda function and a rule that allows Amazon
4586
+ # EventBridge to invoke your Lambda function when Amazon EC2 Auto
4587
+ # Scaling launches or terminates instances.
4584
4588
  #
4585
4589
  # 2. (Optional) Create a notification target and an IAM role. The
4586
4590
  # target can be either an Amazon SQS queue or an Amazon SNS topic.
@@ -4594,8 +4598,8 @@ module Aws::AutoScaling
4594
4598
  # keep the instance in a pending state using the
4595
4599
  # RecordLifecycleActionHeartbeat API call.
4596
4600
  #
4597
- # 5. If you finish before the timeout period ends, complete the
4598
- # lifecycle action using the CompleteLifecycleAction API call.
4601
+ # 5. If you finish before the timeout period ends, send a callback by
4602
+ # using the CompleteLifecycleAction API call.
4599
4603
  #
4600
4604
  # For more information, see [Amazon EC2 Auto Scaling lifecycle hooks][1]
4601
4605
  # in the *Amazon EC2 Auto Scaling User Guide*.
@@ -4732,8 +4736,7 @@ module Aws::AutoScaling
4732
4736
  # The name of the Auto Scaling group.
4733
4737
  #
4734
4738
  # @option params [required, String] :topic_arn
4735
- # The Amazon Resource Name (ARN) of the Amazon Simple Notification
4736
- # Service (Amazon SNS) topic.
4739
+ # The Amazon Resource Name (ARN) of the Amazon SNS topic.
4737
4740
  #
4738
4741
  # @option params [required, Array<String>] :notification_types
4739
4742
  # The type of event that causes the notification to be sent. To query
@@ -4899,7 +4902,7 @@ module Aws::AutoScaling
4899
4902
  #
4900
4903
  # @option params [Types::TargetTrackingConfiguration] :target_tracking_configuration
4901
4904
  # A target tracking scaling policy. Provides support for predefined or
4902
- # customized metrics.
4905
+ # custom metrics.
4903
4906
  #
4904
4907
  # The following predefined metrics are available:
4905
4908
  #
@@ -4935,10 +4938,10 @@ module Aws::AutoScaling
4935
4938
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-enable-disable-scaling-policy.html
4936
4939
  #
4937
4940
  # @option params [Types::PredictiveScalingConfiguration] :predictive_scaling_configuration
4938
- # A predictive scaling policy. Provides support for only predefined
4939
- # metrics.
4941
+ # A predictive scaling policy. Provides support for predefined and
4942
+ # custom metrics.
4940
4943
  #
4941
- # Predictive scaling works with CPU utilization, network in/out, and the
4944
+ # Predefined metrics include CPU utilization, network in/out, and the
4942
4945
  # Application Load Balancer request count.
4943
4946
  #
4944
4947
  # For more information, see [PredictiveScalingConfiguration][1] in the
@@ -5358,9 +5361,9 @@ module Aws::AutoScaling
5358
5361
  # This step is a part of the procedure for adding a lifecycle hook to an
5359
5362
  # Auto Scaling group:
5360
5363
  #
5361
- # 1. (Optional) Create a Lambda function and a rule that allows
5362
- # CloudWatch Events to invoke your Lambda function when Amazon EC2
5363
- # Auto Scaling launches or terminates instances.
5364
+ # 1. (Optional) Create a Lambda function and a rule that allows Amazon
5365
+ # EventBridge to invoke your Lambda function when Amazon EC2 Auto
5366
+ # Scaling launches or terminates instances.
5364
5367
  #
5365
5368
  # 2. (Optional) Create a notification target and an IAM role. The
5366
5369
  # target can be either an Amazon SQS queue or an Amazon SNS topic.
@@ -5373,8 +5376,8 @@ module Aws::AutoScaling
5373
5376
  # 4. **If you need more time, record the lifecycle action heartbeat to
5374
5377
  # keep the instance in a pending state.**
5375
5378
  #
5376
- # 5. If you finish before the timeout period ends, complete the
5377
- # lifecycle action.
5379
+ # 5. If you finish before the timeout period ends, send a callback by
5380
+ # using the CompleteLifecycleAction API call.
5378
5381
  #
5379
5382
  # For more information, see [Amazon EC2 Auto Scaling lifecycle hooks][1]
5380
5383
  # in the *Amazon EC2 Auto Scaling User Guide*.
@@ -5619,7 +5622,7 @@ module Aws::AutoScaling
5619
5622
  # This operation cannot be called on instances in a warm pool.
5620
5623
  #
5621
5624
  # For more information about preventing instances that are part of an
5622
- # Auto Scaling group from terminating on scale in, see [Instance
5625
+ # Auto Scaling group from terminating on scale in, see [Using instance
5623
5626
  # scale-in protection][1] in the *Amazon EC2 Auto Scaling User Guide*.
5624
5627
  #
5625
5628
  # If you exceed your maximum limit of instance IDs, which is 50 per Auto
@@ -5627,7 +5630,7 @@ module Aws::AutoScaling
5627
5630
  #
5628
5631
  #
5629
5632
  #
5630
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection
5633
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html
5631
5634
  #
5632
5635
  # @option params [required, Array<String>] :instance_ids
5633
5636
  # One or more instance IDs. You can specify up to 50 instances.
@@ -6092,7 +6095,7 @@ module Aws::AutoScaling
6092
6095
  #
6093
6096
  #
6094
6097
  #
6095
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-purchase-options.html
6098
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html
6096
6099
  #
6097
6100
  # @option params [Integer] :min_size
6098
6101
  # The minimum size of the Auto Scaling group.
@@ -6140,9 +6143,9 @@ module Aws::AutoScaling
6140
6143
  # @option params [Integer] :health_check_grace_period
6141
6144
  # The amount of time, in seconds, that Amazon EC2 Auto Scaling waits
6142
6145
  # before checking the health status of an EC2 instance that has come
6143
- # into service. The default value is `0`. For more information, see
6144
- # [Health check grace period][1] in the *Amazon EC2 Auto Scaling User
6145
- # Guide*.
6146
+ # into service and marking it unhealthy due to a failed health check.
6147
+ # The default value is `0`. For more information, see [Health check
6148
+ # grace period][1] in the *Amazon EC2 Auto Scaling User Guide*.
6146
6149
  #
6147
6150
  # Conditional: Required if you are adding an `ELB` health check.
6148
6151
  #
@@ -6183,12 +6186,12 @@ module Aws::AutoScaling
6183
6186
  # Indicates whether newly launched instances are protected from
6184
6187
  # termination by Amazon EC2 Auto Scaling when scaling in. For more
6185
6188
  # information about preventing instances from terminating on scale in,
6186
- # see [Instance scale-in protection][1] in the *Amazon EC2 Auto Scaling
6187
- # User Guide*.
6189
+ # see [Using instance scale-in protection][1] in the *Amazon EC2 Auto
6190
+ # Scaling User Guide*.
6188
6191
  #
6189
6192
  #
6190
6193
  #
6191
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection
6194
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-protection.html
6192
6195
  #
6193
6196
  # @option params [String] :service_linked_role_arn
6194
6197
  # The Amazon Resource Name (ARN) of the service-linked role that the
@@ -6219,7 +6222,7 @@ module Aws::AutoScaling
6219
6222
  #
6220
6223
  #
6221
6224
  #
6222
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/capacity-rebalance.html
6225
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-capacity-rebalancing.html
6223
6226
  #
6224
6227
  # @option params [String] :context
6225
6228
  # Reserved.
@@ -6396,7 +6399,7 @@ module Aws::AutoScaling
6396
6399
  params: params,
6397
6400
  config: config)
6398
6401
  context[:gem_name] = 'aws-sdk-autoscaling'
6399
- context[:gem_version] = '1.73.0'
6402
+ context[:gem_version] = '1.74.0'
6400
6403
  Seahorse::Client::Request.new(handlers, context)
6401
6404
  end
6402
6405
 
@@ -197,7 +197,7 @@ module Aws::AutoScaling
197
197
  #
198
198
  #
199
199
  #
200
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-purchase-options.html
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. During this time, any health check failures for the
282
- # instance are ignored. The default value is `0`. For more information,
283
- # see [Health check grace period][1] in the *Amazon EC2 Auto Scaling
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 [Instance scale-in protection][1] in the *Amazon EC2 Auto Scaling
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/as-instance-termination.html#instance-protection
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-rebalance.html
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/asg-purchase-options.html
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. During this time, any health check failures for the
1259
- # instance are ignored. The default value is `0`. For more
1260
- # information, see [Health check grace period][1] in the *Amazon EC2
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 [Instance scale-in protection][1] in the *Amazon EC2 Auto
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/as-instance-termination.html#instance-protection
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-rebalance.html
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 Custom Metrics][1] in the *Amazon
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 [Amazon CloudWatch
1818
- # Concepts][2].
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 Simple Notification
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/asg-purchase-options.html
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/asg-override-options.html
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/autoscaling/ec2/userguide/asg-instance-weighting.html
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/asg-launch-template-overrides.html
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 tells Amazon EC2 Auto Scaling that
4995
- # you want to perform an action whenever it launches instances or
4996
- # terminates instances.
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 customized metrics][1] in the *Amazon EC2
5469
- # Auto Scaling User Guide*.
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 `True` for this value for
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 `False` for `ReturnData` for all the
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 (`True`).
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/asg-purchase-options.html
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 Simple Notification
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 customized load metric for a predictive scaling policy.
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 customized scaling metric for a predictive scaling policy.
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 customized metrics with predictive
6309
- # scaling, see [Advanced predictive scaling policy configurations using
6310
- # customized metrics][1] in the *Amazon EC2 Auto Scaling User Guide*.
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 Simple Notification
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
- # customized metrics.
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 only predefined
7118
- # metrics.
7105
+ # A predictive scaling policy. Provides support for predefined and
7106
+ # custom metrics.
7119
7107
  #
7120
- # Predictive scaling works with CPU utilization, network in/out, and
7121
- # the Application Load Balancer request count.
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/asg-purchase-options.html
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. The default value is `0`. For more information, see
8641
- # [Health check grace period][1] in the *Amazon EC2 Auto Scaling User
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 [Instance scale-in protection][1] in the *Amazon EC2 Auto
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/as-instance-termination.html#instance-protection
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-rebalance.html
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
@@ -59,6 +59,6 @@ require_relative 'aws-sdk-autoscaling/customizations'
59
59
  # @!group service
60
60
  module Aws::AutoScaling
61
61
 
62
- GEM_VERSION = '1.73.0'
62
+ GEM_VERSION = '1.74.0'
63
63
 
64
64
  end
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.73.0
4
+ version: 1.74.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: 2021-11-24 00:00:00.000000000 Z
11
+ date: 2021-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core