aws-sdk-autoscaling 1.71.0 → 1.75.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 +85 -13
- data/lib/aws-sdk-autoscaling/client.rb +205 -47
- data/lib/aws-sdk-autoscaling/client_api.rb +41 -0
- data/lib/aws-sdk-autoscaling/resource.rb +8 -9
- data/lib/aws-sdk-autoscaling/types.rb +670 -72
- 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: 1c1bf59e29d6c72cdb7a74820c0fa65e7bb478f3180a0a10bc29d7207d078d60
|
4
|
+
data.tar.gz: 7ecad1c25faa0c2bdff6a021d66e9b01d5e117bf2d9a17085137eebd51ca2ce5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6fcf1208a1b9f50100cc5809e5792d782ecc9f168080d59de5a706dc76c4671fcc5e947729826de5ec188aa948394293d832b6ed922b834dc6bf1741d3a8eb0
|
7
|
+
data.tar.gz: e6de604f408caa06806359bd71aeb5a434f370cc022fd5d49c30f97768d87fabbe4adcfd3ceeeee05c9e1d6c0bd462e1645cd7d55bc1e1dfc8c609a032968fc3
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.75.0 (2021-11-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.74.0 (2021-11-26)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Documentation updates for Amazon EC2 Auto Scaling.
|
13
|
+
|
14
|
+
1.73.0 (2021-11-24)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Customers can now configure predictive scaling policies to proactively scale EC2 Auto Scaling groups based on any CloudWatch metrics that more accurately represent the load on the group than the four predefined metrics. They can also use math expressions to further customize the metrics.
|
18
|
+
|
19
|
+
1.72.0 (2021-11-04)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.71.0 (2021-10-27)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.75.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]
|
@@ -676,6 +676,78 @@ module Aws::AutoScaling
|
|
676
676
|
# predefined_metric_type: "ASGTotalCPUUtilization", # required, accepts ASGTotalCPUUtilization, ASGTotalNetworkIn, ASGTotalNetworkOut, ALBTargetGroupRequestCount
|
677
677
|
# resource_label: "XmlStringMaxLen1023",
|
678
678
|
# },
|
679
|
+
# customized_scaling_metric_specification: {
|
680
|
+
# metric_data_queries: [ # required
|
681
|
+
# {
|
682
|
+
# id: "XmlStringMaxLen255", # required
|
683
|
+
# expression: "XmlStringMaxLen1023",
|
684
|
+
# metric_stat: {
|
685
|
+
# metric: { # required
|
686
|
+
# namespace: "MetricNamespace", # required
|
687
|
+
# metric_name: "MetricName", # required
|
688
|
+
# dimensions: [
|
689
|
+
# {
|
690
|
+
# name: "MetricDimensionName", # required
|
691
|
+
# value: "MetricDimensionValue", # required
|
692
|
+
# },
|
693
|
+
# ],
|
694
|
+
# },
|
695
|
+
# stat: "XmlStringMetricStat", # required
|
696
|
+
# unit: "MetricUnit",
|
697
|
+
# },
|
698
|
+
# label: "XmlStringMetricLabel",
|
699
|
+
# return_data: false,
|
700
|
+
# },
|
701
|
+
# ],
|
702
|
+
# },
|
703
|
+
# customized_load_metric_specification: {
|
704
|
+
# metric_data_queries: [ # required
|
705
|
+
# {
|
706
|
+
# id: "XmlStringMaxLen255", # required
|
707
|
+
# expression: "XmlStringMaxLen1023",
|
708
|
+
# metric_stat: {
|
709
|
+
# metric: { # required
|
710
|
+
# namespace: "MetricNamespace", # required
|
711
|
+
# metric_name: "MetricName", # required
|
712
|
+
# dimensions: [
|
713
|
+
# {
|
714
|
+
# name: "MetricDimensionName", # required
|
715
|
+
# value: "MetricDimensionValue", # required
|
716
|
+
# },
|
717
|
+
# ],
|
718
|
+
# },
|
719
|
+
# stat: "XmlStringMetricStat", # required
|
720
|
+
# unit: "MetricUnit",
|
721
|
+
# },
|
722
|
+
# label: "XmlStringMetricLabel",
|
723
|
+
# return_data: false,
|
724
|
+
# },
|
725
|
+
# ],
|
726
|
+
# },
|
727
|
+
# customized_capacity_metric_specification: {
|
728
|
+
# metric_data_queries: [ # required
|
729
|
+
# {
|
730
|
+
# id: "XmlStringMaxLen255", # required
|
731
|
+
# expression: "XmlStringMaxLen1023",
|
732
|
+
# metric_stat: {
|
733
|
+
# metric: { # required
|
734
|
+
# namespace: "MetricNamespace", # required
|
735
|
+
# metric_name: "MetricName", # required
|
736
|
+
# dimensions: [
|
737
|
+
# {
|
738
|
+
# name: "MetricDimensionName", # required
|
739
|
+
# value: "MetricDimensionValue", # required
|
740
|
+
# },
|
741
|
+
# ],
|
742
|
+
# },
|
743
|
+
# stat: "XmlStringMetricStat", # required
|
744
|
+
# unit: "MetricUnit",
|
745
|
+
# },
|
746
|
+
# label: "XmlStringMetricLabel",
|
747
|
+
# return_data: false,
|
748
|
+
# },
|
749
|
+
# ],
|
750
|
+
# },
|
679
751
|
# },
|
680
752
|
# ],
|
681
753
|
# mode: "ForecastAndScale", # accepts ForecastAndScale, ForecastOnly
|
@@ -776,7 +848,7 @@ module Aws::AutoScaling
|
|
776
848
|
# `StepScaling`.
|
777
849
|
# @option options [Types::TargetTrackingConfiguration] :target_tracking_configuration
|
778
850
|
# A target tracking scaling policy. Provides support for predefined or
|
779
|
-
#
|
851
|
+
# custom metrics.
|
780
852
|
#
|
781
853
|
# The following predefined metrics are available:
|
782
854
|
#
|
@@ -810,10 +882,10 @@ module Aws::AutoScaling
|
|
810
882
|
#
|
811
883
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-enable-disable-scaling-policy.html
|
812
884
|
# @option options [Types::PredictiveScalingConfiguration] :predictive_scaling_configuration
|
813
|
-
# A predictive scaling policy. Provides support for
|
814
|
-
# metrics.
|
885
|
+
# A predictive scaling policy. Provides support for predefined and
|
886
|
+
# custom metrics.
|
815
887
|
#
|
816
|
-
#
|
888
|
+
# Predefined metrics include CPU utilization, network in/out, and the
|
817
889
|
# Application Load Balancer request count.
|
818
890
|
#
|
819
891
|
# For more information, see [PredictiveScalingConfiguration][1] in the
|
@@ -1122,7 +1194,7 @@ module Aws::AutoScaling
|
|
1122
1194
|
#
|
1123
1195
|
#
|
1124
1196
|
#
|
1125
|
-
# [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
|
1126
1198
|
# @option options [Integer] :min_size
|
1127
1199
|
# The minimum size of the Auto Scaling group.
|
1128
1200
|
# @option options [Integer] :max_size
|
@@ -1163,9 +1235,9 @@ module Aws::AutoScaling
|
|
1163
1235
|
# @option options [Integer] :health_check_grace_period
|
1164
1236
|
# The amount of time, in seconds, that Amazon EC2 Auto Scaling waits
|
1165
1237
|
# before checking the health status of an EC2 instance that has come
|
1166
|
-
# into service
|
1167
|
-
#
|
1168
|
-
# 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*.
|
1169
1241
|
#
|
1170
1242
|
# Conditional: Required if you are adding an `ELB` health check.
|
1171
1243
|
#
|
@@ -1202,12 +1274,12 @@ module Aws::AutoScaling
|
|
1202
1274
|
# Indicates whether newly launched instances are protected from
|
1203
1275
|
# termination by Amazon EC2 Auto Scaling when scaling in. For more
|
1204
1276
|
# information about preventing instances from terminating on scale in,
|
1205
|
-
# see [
|
1206
|
-
# User Guide*.
|
1277
|
+
# see [Using instance scale-in protection][1] in the *Amazon EC2 Auto
|
1278
|
+
# Scaling User Guide*.
|
1207
1279
|
#
|
1208
1280
|
#
|
1209
1281
|
#
|
1210
|
-
# [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
|
1211
1283
|
# @option options [String] :service_linked_role_arn
|
1212
1284
|
# The Amazon Resource Name (ARN) of the service-linked role that the
|
1213
1285
|
# Auto Scaling group uses to call other Amazon Web Services on your
|
@@ -1235,7 +1307,7 @@ module Aws::AutoScaling
|
|
1235
1307
|
#
|
1236
1308
|
#
|
1237
1309
|
#
|
1238
|
-
# [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
|
1239
1311
|
# @option options [String] :context
|
1240
1312
|
# Reserved.
|
1241
1313
|
# @option options [String] :desired_capacity_type
|