aws-sdk-applicationautoscaling 1.17.0 → 1.18.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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28eda4bb084327991f36e111229c3a72621712e3
|
4
|
+
data.tar.gz: 01e674d054b989681a85fa29fc08f4d2256a26dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33365c589c218c2d4914fd08989bb987c038d582254b86ed1084b6ade94ca6ec60af77b1126937fddb5a1cb09944b74d3f2f1dcca2dba693356cf16540460157
|
7
|
+
data.tar.gz: 76e0d6b50794a6f3ebb95f607a1a59ca27203038bec2717e68692d917fea8a39adadf4f89d483b7ff1d0c83de4d8fb2867f6303d4caa0de89a04f3a1c7e2a836
|
@@ -413,7 +413,7 @@ module Aws::ApplicationAutoScaling
|
|
413
413
|
#
|
414
414
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
415
415
|
#
|
416
|
-
# @option params [String] :scalable_dimension
|
416
|
+
# @option params [required, String] :scalable_dimension
|
417
417
|
# The scalable dimension. This string consists of the service namespace,
|
418
418
|
# resource type, and scaling property.
|
419
419
|
#
|
@@ -459,7 +459,7 @@ module Aws::ApplicationAutoScaling
|
|
459
459
|
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource
|
460
460
|
# scheduled_action_name: "ResourceIdMaxLen1600", # required
|
461
461
|
# resource_id: "ResourceIdMaxLen1600", # required
|
462
|
-
# scalable_dimension: "ecs:service:DesiredCount", # accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property
|
462
|
+
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property
|
463
463
|
# })
|
464
464
|
#
|
465
465
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/DeleteScheduledAction AWS API Documentation
|
@@ -1366,6 +1366,25 @@ module Aws::ApplicationAutoScaling
|
|
1366
1366
|
# DescribeScalingPolicies. If you are no longer using a scaling policy,
|
1367
1367
|
# you can delete it using DeleteScalingPolicy.
|
1368
1368
|
#
|
1369
|
+
# Multiple scaling policies can be in force at the same time for the
|
1370
|
+
# same scalable target. You can have one or more target tracking scaling
|
1371
|
+
# policies, one or more step scaling policies, or both. However, there
|
1372
|
+
# is a chance that multiple policies could conflict, instructing the
|
1373
|
+
# scalable target to scale out or in at the same time. Application Auto
|
1374
|
+
# Scaling gives precedence to the policy that provides the largest
|
1375
|
+
# capacity for both scale in and scale out. For example, if one policy
|
1376
|
+
# increases capacity by 3, another policy increases capacity by 200
|
1377
|
+
# percent, and the current capacity is 10, Application Auto Scaling uses
|
1378
|
+
# the policy with the highest calculated capacity (200% of 10 = 20) and
|
1379
|
+
# scales out to 30.
|
1380
|
+
#
|
1381
|
+
# Learn more about how to work with scaling policies in the [Application
|
1382
|
+
# Auto Scaling User Guide][1].
|
1383
|
+
#
|
1384
|
+
#
|
1385
|
+
#
|
1386
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/what-is-application-auto-scaling.html
|
1387
|
+
#
|
1369
1388
|
# @option params [required, String] :policy_name
|
1370
1389
|
# The name of the scaling policy.
|
1371
1390
|
#
|
@@ -1481,7 +1500,8 @@ module Aws::ApplicationAutoScaling
|
|
1481
1500
|
# type is `StepScaling`.
|
1482
1501
|
#
|
1483
1502
|
# @option params [Types::TargetTrackingScalingPolicyConfiguration] :target_tracking_scaling_policy_configuration
|
1484
|
-
# A target tracking policy.
|
1503
|
+
# A target tracking scaling policy. Includes support for predefined or
|
1504
|
+
# customized metrics.
|
1485
1505
|
#
|
1486
1506
|
# This parameter is required if you are creating a policy and the policy
|
1487
1507
|
# type is `TargetTrackingScaling`.
|
@@ -1627,6 +1647,13 @@ module Aws::ApplicationAutoScaling
|
|
1627
1647
|
# you are no longer using a scheduled action, you can delete it using
|
1628
1648
|
# DeleteScheduledAction.
|
1629
1649
|
#
|
1650
|
+
# Learn more about how to work with scheduled actions in the
|
1651
|
+
# [Application Auto Scaling User Guide][1].
|
1652
|
+
#
|
1653
|
+
#
|
1654
|
+
#
|
1655
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/application/userguide/what-is-application-auto-scaling.html
|
1656
|
+
#
|
1630
1657
|
# @option params [required, String] :service_namespace
|
1631
1658
|
# The namespace of the AWS service that provides the resource or
|
1632
1659
|
# `custom-resource` for a resource provided by your own application or
|
@@ -1705,9 +1732,8 @@ module Aws::ApplicationAutoScaling
|
|
1705
1732
|
#
|
1706
1733
|
# [1]: https://github.com/aws/aws-auto-scaling-custom-resource
|
1707
1734
|
#
|
1708
|
-
# @option params [String] :scalable_dimension
|
1709
|
-
# The scalable dimension. This
|
1710
|
-
# a scheduled action. This string consists of the service namespace,
|
1735
|
+
# @option params [required, String] :scalable_dimension
|
1736
|
+
# The scalable dimension. This string consists of the service namespace,
|
1711
1737
|
# resource type, and scaling property.
|
1712
1738
|
#
|
1713
1739
|
# * `ecs:service:DesiredCount` - The desired task count of an ECS
|
@@ -1766,7 +1792,7 @@ module Aws::ApplicationAutoScaling
|
|
1766
1792
|
# schedule: "ResourceIdMaxLen1600",
|
1767
1793
|
# scheduled_action_name: "ScheduledActionName", # required
|
1768
1794
|
# resource_id: "ResourceIdMaxLen1600", # required
|
1769
|
-
# scalable_dimension: "ecs:service:DesiredCount", # accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property
|
1795
|
+
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property
|
1770
1796
|
# start_time: Time.now,
|
1771
1797
|
# end_time: Time.now,
|
1772
1798
|
# scalable_target_action: {
|
@@ -1785,7 +1811,7 @@ module Aws::ApplicationAutoScaling
|
|
1785
1811
|
end
|
1786
1812
|
|
1787
1813
|
# Registers or updates a scalable target. A scalable target is a
|
1788
|
-
# resource that Application Auto Scaling can scale
|
1814
|
+
# resource that Application Auto Scaling can scale out and scale in.
|
1789
1815
|
# Each scalable target has a resource ID, scalable dimension, and
|
1790
1816
|
# namespace, as well as values for minimum and maximum capacity.
|
1791
1817
|
#
|
@@ -1891,11 +1917,11 @@ module Aws::ApplicationAutoScaling
|
|
1891
1917
|
# a custom resource provided by your own application or service.
|
1892
1918
|
#
|
1893
1919
|
# @option params [Integer] :min_capacity
|
1894
|
-
# The minimum value to scale to in response to a scale
|
1920
|
+
# The minimum value to scale to in response to a scale-in event. This
|
1895
1921
|
# parameter is required to register a scalable target.
|
1896
1922
|
#
|
1897
1923
|
# @option params [Integer] :max_capacity
|
1898
|
-
# The maximum value to scale to in response to a scale
|
1924
|
+
# The maximum value to scale to in response to a scale-out event. This
|
1899
1925
|
# parameter is required to register a scalable target.
|
1900
1926
|
#
|
1901
1927
|
# @option params [String] :role_arn
|
@@ -1981,7 +2007,7 @@ module Aws::ApplicationAutoScaling
|
|
1981
2007
|
params: params,
|
1982
2008
|
config: config)
|
1983
2009
|
context[:gem_name] = 'aws-sdk-applicationautoscaling'
|
1984
|
-
context[:gem_version] = '1.
|
2010
|
+
context[:gem_version] = '1.18.0'
|
1985
2011
|
Seahorse::Client::Request.new(handlers, context)
|
1986
2012
|
end
|
1987
2013
|
|
@@ -111,7 +111,7 @@ module Aws::ApplicationAutoScaling
|
|
111
111
|
DeleteScheduledActionRequest.add_member(:service_namespace, Shapes::ShapeRef.new(shape: ServiceNamespace, required: true, location_name: "ServiceNamespace"))
|
112
112
|
DeleteScheduledActionRequest.add_member(:scheduled_action_name, Shapes::ShapeRef.new(shape: ResourceIdMaxLen1600, required: true, location_name: "ScheduledActionName"))
|
113
113
|
DeleteScheduledActionRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceIdMaxLen1600, required: true, location_name: "ResourceId"))
|
114
|
-
DeleteScheduledActionRequest.add_member(:scalable_dimension, Shapes::ShapeRef.new(shape: ScalableDimension, location_name: "ScalableDimension"))
|
114
|
+
DeleteScheduledActionRequest.add_member(:scalable_dimension, Shapes::ShapeRef.new(shape: ScalableDimension, required: true, location_name: "ScalableDimension"))
|
115
115
|
DeleteScheduledActionRequest.struct_class = Types::DeleteScheduledActionRequest
|
116
116
|
|
117
117
|
DeleteScheduledActionResponse.struct_class = Types::DeleteScheduledActionResponse
|
@@ -196,7 +196,7 @@ module Aws::ApplicationAutoScaling
|
|
196
196
|
PutScheduledActionRequest.add_member(:schedule, Shapes::ShapeRef.new(shape: ResourceIdMaxLen1600, location_name: "Schedule"))
|
197
197
|
PutScheduledActionRequest.add_member(:scheduled_action_name, Shapes::ShapeRef.new(shape: ScheduledActionName, required: true, location_name: "ScheduledActionName"))
|
198
198
|
PutScheduledActionRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceIdMaxLen1600, required: true, location_name: "ResourceId"))
|
199
|
-
PutScheduledActionRequest.add_member(:scalable_dimension, Shapes::ShapeRef.new(shape: ScalableDimension, location_name: "ScalableDimension"))
|
199
|
+
PutScheduledActionRequest.add_member(:scalable_dimension, Shapes::ShapeRef.new(shape: ScalableDimension, required: true, location_name: "ScalableDimension"))
|
200
200
|
PutScheduledActionRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: TimestampType, location_name: "StartTime"))
|
201
201
|
PutScheduledActionRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: TimestampType, location_name: "EndTime"))
|
202
202
|
PutScheduledActionRequest.add_member(:scalable_target_action, Shapes::ShapeRef.new(shape: ScalableTargetAction, location_name: "ScalableTargetAction"))
|
@@ -26,15 +26,29 @@ module Aws::ApplicationAutoScaling
|
|
26
26
|
include Aws::Structure
|
27
27
|
end
|
28
28
|
|
29
|
-
#
|
30
|
-
# with Application Auto Scaling.
|
29
|
+
# Represents a CloudWatch metric of your choosing for a target tracking
|
30
|
+
# scaling policy to use with Application Auto Scaling.
|
31
31
|
#
|
32
|
-
#
|
33
|
-
# Concepts][1].
|
32
|
+
# To create your customized metric specification:
|
34
33
|
#
|
34
|
+
# * Add values for each required parameter from CloudWatch. You can use
|
35
|
+
# an existing metric, or a new metric that you create. To use your own
|
36
|
+
# metric, you must first publish the metric to CloudWatch. For more
|
37
|
+
# information, see [Publish Custom Metrics][1] in the *Amazon
|
38
|
+
# CloudWatch User Guide*.
|
35
39
|
#
|
40
|
+
# * Choose a metric that changes proportionally with capacity. The value
|
41
|
+
# of the metric should increase or decrease in inverse proportion to
|
42
|
+
# the number of capacity units. That is, the value of the metric
|
43
|
+
# should decrease when capacity increases.
|
36
44
|
#
|
37
|
-
# [
|
45
|
+
# For more information about CloudWatch, see [Amazon CloudWatch
|
46
|
+
# Concepts][2].
|
47
|
+
#
|
48
|
+
#
|
49
|
+
#
|
50
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/publishingMetrics.html
|
51
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html
|
38
52
|
#
|
39
53
|
# @note When making an API call, you may pass CustomizedMetricSpecification
|
40
54
|
# data as a hash:
|
@@ -62,6 +76,9 @@ module Aws::ApplicationAutoScaling
|
|
62
76
|
#
|
63
77
|
# @!attribute [rw] dimensions
|
64
78
|
# The dimensions of the metric.
|
79
|
+
#
|
80
|
+
# Conditional: If you published your metric with dimensions, you must
|
81
|
+
# specify the same dimensions in your scaling policy.
|
65
82
|
# @return [Array<Types::MetricDimension>]
|
66
83
|
#
|
67
84
|
# @!attribute [rw] statistic
|
@@ -212,7 +229,7 @@ module Aws::ApplicationAutoScaling
|
|
212
229
|
# service_namespace: "ecs", # required, accepts ecs, elasticmapreduce, ec2, appstream, dynamodb, rds, sagemaker, custom-resource
|
213
230
|
# scheduled_action_name: "ResourceIdMaxLen1600", # required
|
214
231
|
# resource_id: "ResourceIdMaxLen1600", # required
|
215
|
-
# scalable_dimension: "ecs:service:DesiredCount", # accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property
|
232
|
+
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property
|
216
233
|
# }
|
217
234
|
#
|
218
235
|
# @!attribute [rw] service_namespace
|
@@ -1061,7 +1078,7 @@ module Aws::ApplicationAutoScaling
|
|
1061
1078
|
include Aws::Structure
|
1062
1079
|
end
|
1063
1080
|
|
1064
|
-
# Describes the dimension
|
1081
|
+
# Describes the dimension names and values associated with a metric.
|
1065
1082
|
#
|
1066
1083
|
# @note When making an API call, you may pass MetricDimension
|
1067
1084
|
# data as a hash:
|
@@ -1087,8 +1104,8 @@ module Aws::ApplicationAutoScaling
|
|
1087
1104
|
include Aws::Structure
|
1088
1105
|
end
|
1089
1106
|
|
1090
|
-
#
|
1091
|
-
# with Application Auto Scaling.
|
1107
|
+
# Represents a predefined metric for a target tracking scaling policy to
|
1108
|
+
# use with Application Auto Scaling.
|
1092
1109
|
#
|
1093
1110
|
# @note When making an API call, you may pass PredefinedMetricSpecification
|
1094
1111
|
# data as a hash:
|
@@ -1296,7 +1313,8 @@ module Aws::ApplicationAutoScaling
|
|
1296
1313
|
# @return [Types::StepScalingPolicyConfiguration]
|
1297
1314
|
#
|
1298
1315
|
# @!attribute [rw] target_tracking_scaling_policy_configuration
|
1299
|
-
# A target tracking policy.
|
1316
|
+
# A target tracking scaling policy. Includes support for predefined or
|
1317
|
+
# customized metrics.
|
1300
1318
|
#
|
1301
1319
|
# This parameter is required if you are creating a policy and the
|
1302
1320
|
# policy type is `TargetTrackingScaling`.
|
@@ -1320,7 +1338,8 @@ module Aws::ApplicationAutoScaling
|
|
1320
1338
|
# @return [String]
|
1321
1339
|
#
|
1322
1340
|
# @!attribute [rw] alarms
|
1323
|
-
# The CloudWatch alarms created for the target tracking
|
1341
|
+
# The CloudWatch alarms created for the target tracking scaling
|
1342
|
+
# policy.
|
1324
1343
|
# @return [Array<Types::Alarm>]
|
1325
1344
|
#
|
1326
1345
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/PutScalingPolicyResponse AWS API Documentation
|
@@ -1339,7 +1358,7 @@ module Aws::ApplicationAutoScaling
|
|
1339
1358
|
# schedule: "ResourceIdMaxLen1600",
|
1340
1359
|
# scheduled_action_name: "ScheduledActionName", # required
|
1341
1360
|
# resource_id: "ResourceIdMaxLen1600", # required
|
1342
|
-
# scalable_dimension: "ecs:service:DesiredCount", # accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property
|
1361
|
+
# scalable_dimension: "ecs:service:DesiredCount", # required, accepts ecs:service:DesiredCount, ec2:spot-fleet-request:TargetCapacity, elasticmapreduce:instancegroup:InstanceCount, appstream:fleet:DesiredCapacity, dynamodb:table:ReadCapacityUnits, dynamodb:table:WriteCapacityUnits, dynamodb:index:ReadCapacityUnits, dynamodb:index:WriteCapacityUnits, rds:cluster:ReadReplicaCount, sagemaker:variant:DesiredInstanceCount, custom-resource:ResourceType:Property
|
1343
1362
|
# start_time: Time.now,
|
1344
1363
|
# end_time: Time.now,
|
1345
1364
|
# scalable_target_action: {
|
@@ -1431,8 +1450,7 @@ module Aws::ApplicationAutoScaling
|
|
1431
1450
|
# @return [String]
|
1432
1451
|
#
|
1433
1452
|
# @!attribute [rw] scalable_dimension
|
1434
|
-
# The scalable dimension. This
|
1435
|
-
# creating a scheduled action. This string consists of the service
|
1453
|
+
# The scalable dimension. This string consists of the service
|
1436
1454
|
# namespace, resource type, and scaling property.
|
1437
1455
|
#
|
1438
1456
|
# * `ecs:service:DesiredCount` - The desired task count of an ECS
|
@@ -1613,12 +1631,12 @@ module Aws::ApplicationAutoScaling
|
|
1613
1631
|
# @return [String]
|
1614
1632
|
#
|
1615
1633
|
# @!attribute [rw] min_capacity
|
1616
|
-
# The minimum value to scale to in response to a scale
|
1634
|
+
# The minimum value to scale to in response to a scale-in event. This
|
1617
1635
|
# parameter is required to register a scalable target.
|
1618
1636
|
# @return [Integer]
|
1619
1637
|
#
|
1620
1638
|
# @!attribute [rw] max_capacity
|
1621
|
-
# The maximum value to scale to in response to a scale
|
1639
|
+
# The maximum value to scale to in response to a scale-out event. This
|
1622
1640
|
# parameter is required to register a scalable target.
|
1623
1641
|
# @return [Integer]
|
1624
1642
|
#
|
@@ -1752,11 +1770,11 @@ module Aws::ApplicationAutoScaling
|
|
1752
1770
|
# @return [String]
|
1753
1771
|
#
|
1754
1772
|
# @!attribute [rw] min_capacity
|
1755
|
-
# The minimum value to scale to in response to a scale
|
1773
|
+
# The minimum value to scale to in response to a scale-in event.
|
1756
1774
|
# @return [Integer]
|
1757
1775
|
#
|
1758
1776
|
# @!attribute [rw] max_capacity
|
1759
|
-
# The maximum value to scale to in response to a scale
|
1777
|
+
# The maximum value to scale to in response to a scale-out event.
|
1760
1778
|
# @return [Integer]
|
1761
1779
|
#
|
1762
1780
|
# @!attribute [rw] role_arn
|
@@ -2066,7 +2084,7 @@ module Aws::ApplicationAutoScaling
|
|
2066
2084
|
# @return [Types::StepScalingPolicyConfiguration]
|
2067
2085
|
#
|
2068
2086
|
# @!attribute [rw] target_tracking_scaling_policy_configuration
|
2069
|
-
# A target tracking policy.
|
2087
|
+
# A target tracking scaling policy.
|
2070
2088
|
# @return [Types::TargetTrackingScalingPolicyConfiguration]
|
2071
2089
|
#
|
2072
2090
|
# @!attribute [rw] alarms
|
@@ -2367,6 +2385,13 @@ module Aws::ApplicationAutoScaling
|
|
2367
2385
|
# a scaling activity. If the adjustment type is
|
2368
2386
|
# `PercentChangeInCapacity`, the scaling policy changes the scalable
|
2369
2387
|
# dimension of the scalable target by this amount.
|
2388
|
+
#
|
2389
|
+
# For example, suppose that you create a step scaling policy to scale
|
2390
|
+
# out an Amazon ECS service by 25 percent and you specify a
|
2391
|
+
# `MinAdjustmentMagnitude` of 2. If the service has 4 tasks and the
|
2392
|
+
# scaling policy is performed, 25 percent of 4 is 1. However, because
|
2393
|
+
# you specified a `MinAdjustmentMagnitude` of 2, Application Auto
|
2394
|
+
# Scaling scales out the service by 2 tasks.
|
2370
2395
|
# @return [Integer]
|
2371
2396
|
#
|
2372
2397
|
# @!attribute [rw] cooldown
|
@@ -2374,30 +2399,31 @@ module Aws::ApplicationAutoScaling
|
|
2374
2399
|
# where previous trigger-related scaling activities can influence
|
2375
2400
|
# future scaling events.
|
2376
2401
|
#
|
2377
|
-
# For scale
|
2378
|
-
# capacity that has been added by the previous scale
|
2402
|
+
# For scale-out policies, while the cooldown period is in effect, the
|
2403
|
+
# capacity that has been added by the previous scale-out event that
|
2379
2404
|
# initiated the cooldown is calculated as part of the desired capacity
|
2380
2405
|
# for the next scale out. The intention is to continuously (but not
|
2381
2406
|
# excessively) scale out. For example, an alarm triggers a step
|
2382
2407
|
# scaling policy to scale out an Amazon ECS service by 2 tasks, the
|
2383
2408
|
# scaling activity completes successfully, and a cooldown period of 5
|
2384
|
-
# minutes starts. During the
|
2409
|
+
# minutes starts. During the cooldown period, if the alarm triggers
|
2385
2410
|
# the same policy again but at a more aggressive step adjustment to
|
2386
2411
|
# scale out the service by 3 tasks, the 2 tasks that were added in the
|
2387
|
-
# previous scale
|
2412
|
+
# previous scale-out event are considered part of that capacity and
|
2388
2413
|
# only 1 additional task is added to the desired count.
|
2389
2414
|
#
|
2390
|
-
# For scale
|
2391
|
-
# subsequent scale
|
2415
|
+
# For scale-in policies, the cooldown period is used to block
|
2416
|
+
# subsequent scale-in requests until it has expired. The intention is
|
2392
2417
|
# to scale in conservatively to protect your application's
|
2393
|
-
# availability. However, if another alarm triggers a scale
|
2418
|
+
# availability. However, if another alarm triggers a scale-out policy
|
2394
2419
|
# during the cooldown period after a scale-in, Application Auto
|
2395
2420
|
# Scaling scales out your scalable target immediately.
|
2396
2421
|
# @return [Integer]
|
2397
2422
|
#
|
2398
2423
|
# @!attribute [rw] metric_aggregation_type
|
2399
2424
|
# The aggregation type for the CloudWatch metrics. Valid values are
|
2400
|
-
# `Minimum`, `Maximum`, and `Average`.
|
2425
|
+
# `Minimum`, `Maximum`, and `Average`. If the aggregation type is
|
2426
|
+
# null, the value is treated as `Average`.
|
2401
2427
|
# @return [String]
|
2402
2428
|
#
|
2403
2429
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/StepScalingPolicyConfiguration AWS API Documentation
|
@@ -2446,42 +2472,44 @@ module Aws::ApplicationAutoScaling
|
|
2446
2472
|
# @return [Float]
|
2447
2473
|
#
|
2448
2474
|
# @!attribute [rw] predefined_metric_specification
|
2449
|
-
# A predefined metric.
|
2475
|
+
# A predefined metric. You can specify either a predefined metric or a
|
2476
|
+
# customized metric.
|
2450
2477
|
# @return [Types::PredefinedMetricSpecification]
|
2451
2478
|
#
|
2452
2479
|
# @!attribute [rw] customized_metric_specification
|
2453
|
-
# A customized metric.
|
2480
|
+
# A customized metric. You can specify either a predefined metric or a
|
2481
|
+
# customized metric.
|
2454
2482
|
# @return [Types::CustomizedMetricSpecification]
|
2455
2483
|
#
|
2456
2484
|
# @!attribute [rw] scale_out_cooldown
|
2457
|
-
# The amount of time, in seconds, after a scale
|
2458
|
-
# before another scale
|
2485
|
+
# The amount of time, in seconds, after a scale-out activity completes
|
2486
|
+
# before another scale-out activity can start.
|
2459
2487
|
#
|
2460
2488
|
# While the cooldown period is in effect, the capacity that has been
|
2461
|
-
# added by the previous scale
|
2489
|
+
# added by the previous scale-out event that initiated the cooldown is
|
2462
2490
|
# calculated as part of the desired capacity for the next scale out.
|
2463
2491
|
# The intention is to continuously (but not excessively) scale out.
|
2464
2492
|
# @return [Integer]
|
2465
2493
|
#
|
2466
2494
|
# @!attribute [rw] scale_in_cooldown
|
2467
|
-
# The amount of time, in seconds, after a scale
|
2495
|
+
# The amount of time, in seconds, after a scale-in activity completes
|
2468
2496
|
# before another scale in activity can start.
|
2469
2497
|
#
|
2470
|
-
# The cooldown period is used to block subsequent scale
|
2498
|
+
# The cooldown period is used to block subsequent scale-in requests
|
2471
2499
|
# until it has expired. The intention is to scale in conservatively to
|
2472
2500
|
# protect your application's availability. However, if another alarm
|
2473
|
-
# triggers a scale
|
2501
|
+
# triggers a scale-out policy during the cooldown period after a
|
2474
2502
|
# scale-in, Application Auto Scaling scales out your scalable target
|
2475
2503
|
# immediately.
|
2476
2504
|
# @return [Integer]
|
2477
2505
|
#
|
2478
2506
|
# @!attribute [rw] disable_scale_in
|
2479
|
-
# Indicates whether scale in by the target tracking policy is
|
2507
|
+
# Indicates whether scale in by the target tracking scaling policy is
|
2480
2508
|
# disabled. If the value is `true`, scale in is disabled and the
|
2481
|
-
# target tracking policy won't remove capacity from the
|
2482
|
-
# resource. Otherwise, scale in is enabled and the target
|
2483
|
-
# policy can remove capacity from the scalable
|
2484
|
-
# value is `false`.
|
2509
|
+
# target tracking scaling policy won't remove capacity from the
|
2510
|
+
# scalable resource. Otherwise, scale in is enabled and the target
|
2511
|
+
# tracking scaling policy can remove capacity from the scalable
|
2512
|
+
# resource. The default value is `false`.
|
2485
2513
|
# @return [Boolean]
|
2486
2514
|
#
|
2487
2515
|
# @see http://docs.aws.amazon.com/goto/WebAPI/application-autoscaling-2016-02-06/TargetTrackingScalingPolicyConfiguration AWS API Documentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-applicationautoscaling
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.18.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: 2019-02-
|
11
|
+
date: 2019-02-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|