aws-sdk-autoscaling 1.152.0 → 1.154.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-autoscaling/auto_scaling_group.rb +104 -45
- data/lib/aws-sdk-autoscaling/client.rb +95 -18
- data/lib/aws-sdk-autoscaling/client_api.rb +5 -0
- data/lib/aws-sdk-autoscaling/instance.rb +6 -5
- data/lib/aws-sdk-autoscaling/resource.rb +61 -7
- data/lib/aws-sdk-autoscaling/types.rb +201 -79
- data/lib/aws-sdk-autoscaling.rb +1 -1
- data/sig/auto_scaling_group.rbs +12 -2
- data/sig/client.rbs +10 -2
- data/sig/resource.rbs +8 -1
- data/sig/types.rbs +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 32d7359da5afb53b81b1d66b20ad508bde37a8b49715d877d08d7c5deddbb14c
|
|
4
|
+
data.tar.gz: f8938d766c7aec0b55a25b7e8e190d9a11d1b583faf41b53f098a560ee1f9acc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2cb86e5de5b7c6032a39f7933a994fff637edcfc934953e8f9518eae6113bf4a10f7f511154e1afcdd41069b5b995c6a8bff09506807697ff0de19b0bfbe883a
|
|
7
|
+
data.tar.gz: 389d13da697fccb340b753bc769c2ea7a377672abe769f24acb2f0a13064001ee7aa84875c9d65776905b630ad9bcf7914d182b0c576fd0f6930c47c215d46db
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.154.0 (2026-01-22)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - This release adds support for Amazon EC2 Auto Scaling group deletion protection
|
|
8
|
+
|
|
9
|
+
1.153.0 (2026-01-20)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - This release adds support for three new filters when describing scaling activities, StartTimeLowerBound, StartTimeUpperBound, and Status.
|
|
13
|
+
|
|
4
14
|
1.152.0 (2026-01-16)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.154.0
|
|
@@ -41,13 +41,14 @@ module Aws::AutoScaling
|
|
|
41
41
|
data[:auto_scaling_group_arn]
|
|
42
42
|
end
|
|
43
43
|
|
|
44
|
-
# The name of the associated launch configuration
|
|
44
|
+
# The name of the associated launch configuration for the Auto Scaling
|
|
45
|
+
# group.
|
|
45
46
|
# @return [String]
|
|
46
47
|
def launch_configuration_name
|
|
47
48
|
data[:launch_configuration_name]
|
|
48
49
|
end
|
|
49
50
|
|
|
50
|
-
# The launch template for the group.
|
|
51
|
+
# The launch template for the Auto Scaling group.
|
|
51
52
|
# @return [Types::LaunchTemplateSpecification]
|
|
52
53
|
def launch_template
|
|
53
54
|
data[:launch_template]
|
|
@@ -59,19 +60,19 @@ module Aws::AutoScaling
|
|
|
59
60
|
data[:mixed_instances_policy]
|
|
60
61
|
end
|
|
61
62
|
|
|
62
|
-
# The minimum size of the group.
|
|
63
|
+
# The minimum size of the Auto Scaling group.
|
|
63
64
|
# @return [Integer]
|
|
64
65
|
def min_size
|
|
65
66
|
data[:min_size]
|
|
66
67
|
end
|
|
67
68
|
|
|
68
|
-
# The maximum size of the group.
|
|
69
|
+
# The maximum size of the Auto Scaling group.
|
|
69
70
|
# @return [Integer]
|
|
70
71
|
def max_size
|
|
71
72
|
data[:max_size]
|
|
72
73
|
end
|
|
73
74
|
|
|
74
|
-
# The desired size of the group.
|
|
75
|
+
# The desired size of the Auto Scaling group.
|
|
75
76
|
# @return [Integer]
|
|
76
77
|
def desired_capacity
|
|
77
78
|
data[:desired_capacity]
|
|
@@ -84,13 +85,14 @@ module Aws::AutoScaling
|
|
|
84
85
|
data[:predicted_capacity]
|
|
85
86
|
end
|
|
86
87
|
|
|
87
|
-
# The duration of the default cooldown period, in seconds
|
|
88
|
+
# The duration of the default cooldown period, in seconds, for the Auto
|
|
89
|
+
# Scaling group.
|
|
88
90
|
# @return [Integer]
|
|
89
91
|
def default_cooldown
|
|
90
92
|
data[:default_cooldown]
|
|
91
93
|
end
|
|
92
94
|
|
|
93
|
-
# One or more Availability Zones for the group.
|
|
95
|
+
# One or more Availability Zones for the Auto Scaling group.
|
|
94
96
|
# @return [Array<String>]
|
|
95
97
|
def availability_zones
|
|
96
98
|
data[:availability_zones]
|
|
@@ -109,51 +111,53 @@ module Aws::AutoScaling
|
|
|
109
111
|
data[:target_group_arns]
|
|
110
112
|
end
|
|
111
113
|
|
|
112
|
-
#
|
|
114
|
+
# One or more comma-separated health check types for the Auto Scaling
|
|
115
|
+
# group.
|
|
113
116
|
# @return [String]
|
|
114
117
|
def health_check_type
|
|
115
118
|
data[:health_check_type]
|
|
116
119
|
end
|
|
117
120
|
|
|
118
|
-
# The duration of the health check grace period, in seconds
|
|
121
|
+
# The duration of the health check grace period, in seconds, for the
|
|
122
|
+
# Auto Scaling group.
|
|
119
123
|
# @return [Integer]
|
|
120
124
|
def health_check_grace_period
|
|
121
125
|
data[:health_check_grace_period]
|
|
122
126
|
end
|
|
123
127
|
|
|
124
|
-
# The date and time the group was created.
|
|
128
|
+
# The date and time the Auto Scaling group was created.
|
|
125
129
|
# @return [Time]
|
|
126
130
|
def created_time
|
|
127
131
|
data[:created_time]
|
|
128
132
|
end
|
|
129
133
|
|
|
130
|
-
# The suspended processes associated with the group.
|
|
134
|
+
# The suspended processes associated with the Auto Scaling group.
|
|
131
135
|
# @return [Array<Types::SuspendedProcess>]
|
|
132
136
|
def suspended_processes
|
|
133
137
|
data[:suspended_processes]
|
|
134
138
|
end
|
|
135
139
|
|
|
136
|
-
# The name of the placement group into which to launch
|
|
137
|
-
#
|
|
140
|
+
# The name of the placement group into which to launch EC2 instances for
|
|
141
|
+
# the Auto Scaling group.
|
|
138
142
|
# @return [String]
|
|
139
143
|
def placement_group
|
|
140
144
|
data[:placement_group]
|
|
141
145
|
end
|
|
142
146
|
|
|
143
|
-
# One or more subnet IDs
|
|
147
|
+
# One or more comma-separated subnet IDs for the Auto Scaling group.
|
|
144
148
|
# @return [String]
|
|
145
149
|
def vpc_zone_identifier
|
|
146
150
|
data[:vpc_zone_identifier]
|
|
147
151
|
end
|
|
148
152
|
|
|
149
|
-
# The metrics enabled for the group.
|
|
153
|
+
# The metrics enabled for the Auto Scaling group.
|
|
150
154
|
# @return [Array<Types::EnabledMetric>]
|
|
151
155
|
def enabled_metrics
|
|
152
156
|
data[:enabled_metrics]
|
|
153
157
|
end
|
|
154
158
|
|
|
155
|
-
# The current state of the group when the
|
|
156
|
-
# operation is in progress.
|
|
159
|
+
# The current state of the Auto Scaling group when the
|
|
160
|
+
# [DeleteAutoScalingGroup][1] operation is in progress.
|
|
157
161
|
#
|
|
158
162
|
#
|
|
159
163
|
#
|
|
@@ -163,17 +167,18 @@ module Aws::AutoScaling
|
|
|
163
167
|
data[:status]
|
|
164
168
|
end
|
|
165
169
|
|
|
166
|
-
# The termination policies for the group.
|
|
170
|
+
# The termination policies for the Auto Scaling group.
|
|
167
171
|
# @return [Array<String>]
|
|
168
172
|
def termination_policies
|
|
169
173
|
data[:termination_policies]
|
|
170
174
|
end
|
|
171
175
|
|
|
172
|
-
# Indicates whether newly launched instances are protected from
|
|
173
|
-
# termination
|
|
174
|
-
#
|
|
175
|
-
#
|
|
176
|
-
#
|
|
176
|
+
# Indicates whether newly launched EC2 instances are protected from
|
|
177
|
+
# termination when scaling in for the Auto Scaling group.
|
|
178
|
+
#
|
|
179
|
+
# For more information about preventing instances from terminating on
|
|
180
|
+
# scale in, see [Use instance scale-in protection][1] in the *Amazon EC2
|
|
181
|
+
# Auto Scaling User Guide*.
|
|
177
182
|
#
|
|
178
183
|
#
|
|
179
184
|
#
|
|
@@ -191,10 +196,8 @@ module Aws::AutoScaling
|
|
|
191
196
|
data[:service_linked_role_arn]
|
|
192
197
|
end
|
|
193
198
|
|
|
194
|
-
# The maximum amount of time, in seconds, that an instance can be in
|
|
195
|
-
# service.
|
|
196
|
-
#
|
|
197
|
-
# Valid Range: Minimum value of 0.
|
|
199
|
+
# The maximum amount of time, in seconds, that an EC2 instance can be in
|
|
200
|
+
# service for the Auto Scaling group.
|
|
198
201
|
# @return [Integer]
|
|
199
202
|
def max_instance_lifetime
|
|
200
203
|
data[:max_instance_lifetime]
|
|
@@ -232,7 +235,8 @@ module Aws::AutoScaling
|
|
|
232
235
|
data[:desired_capacity_type]
|
|
233
236
|
end
|
|
234
237
|
|
|
235
|
-
# The duration of the default instance warmup, in seconds
|
|
238
|
+
# The duration of the default EC2 instance warmup time, in seconds, for
|
|
239
|
+
# the Auto Scaling group.
|
|
236
240
|
# @return [Integer]
|
|
237
241
|
def default_instance_warmup
|
|
238
242
|
data[:default_instance_warmup]
|
|
@@ -250,28 +254,32 @@ module Aws::AutoScaling
|
|
|
250
254
|
data[:instance_maintenance_policy]
|
|
251
255
|
end
|
|
252
256
|
|
|
253
|
-
# The
|
|
257
|
+
# The deletion protection setting for the Auto Scaling group.
|
|
258
|
+
# @return [String]
|
|
259
|
+
def deletion_protection
|
|
260
|
+
data[:deletion_protection]
|
|
261
|
+
end
|
|
262
|
+
|
|
263
|
+
# The EC2 instance capacity distribution across Availability Zones for
|
|
264
|
+
# the Auto Scaling group.
|
|
254
265
|
# @return [Types::AvailabilityZoneDistribution]
|
|
255
266
|
def availability_zone_distribution
|
|
256
267
|
data[:availability_zone_distribution]
|
|
257
268
|
end
|
|
258
269
|
|
|
259
|
-
# The Availability Zone impairment policy.
|
|
270
|
+
# The Availability Zone impairment policy for the Auto Scaling group.
|
|
260
271
|
# @return [Types::AvailabilityZoneImpairmentPolicy]
|
|
261
272
|
def availability_zone_impairment_policy
|
|
262
273
|
data[:availability_zone_impairment_policy]
|
|
263
274
|
end
|
|
264
275
|
|
|
265
|
-
# The capacity reservation specification.
|
|
276
|
+
# The capacity reservation specification for the Auto Scaling group.
|
|
266
277
|
# @return [Types::CapacityReservationSpecification]
|
|
267
278
|
def capacity_reservation_specification
|
|
268
279
|
data[:capacity_reservation_specification]
|
|
269
280
|
end
|
|
270
281
|
|
|
271
|
-
# The instance lifecycle policy
|
|
272
|
-
# policy determines instance behavior when an instance transitions
|
|
273
|
-
# through its lifecycle states. It provides additional control over
|
|
274
|
-
# graceful instance management processes.
|
|
282
|
+
# The instance lifecycle policy for the Auto Scaling group.
|
|
275
283
|
# @return [Types::InstanceLifecyclePolicy]
|
|
276
284
|
def instance_lifecycle_policy
|
|
277
285
|
data[:instance_lifecycle_policy]
|
|
@@ -1340,6 +1348,7 @@ module Aws::AutoScaling
|
|
|
1340
1348
|
# terminate_hook_abandon: "retain", # accepts retain, terminate
|
|
1341
1349
|
# },
|
|
1342
1350
|
# },
|
|
1351
|
+
# deletion_protection: "none", # accepts none, prevent-force-deletion, prevent-all-deletion
|
|
1343
1352
|
# })
|
|
1344
1353
|
# @param [Hash] options ({})
|
|
1345
1354
|
# @option options [String] :launch_configuration_name
|
|
@@ -1561,11 +1570,30 @@ module Aws::AutoScaling
|
|
|
1561
1570
|
# @option options [Types::CapacityReservationSpecification] :capacity_reservation_specification
|
|
1562
1571
|
# The capacity reservation specification for the Auto Scaling group.
|
|
1563
1572
|
# @option options [Types::InstanceLifecyclePolicy] :instance_lifecycle_policy
|
|
1564
|
-
# The instance lifecycle policy for the Auto Scaling group.
|
|
1565
|
-
#
|
|
1566
|
-
#
|
|
1567
|
-
#
|
|
1568
|
-
#
|
|
1573
|
+
# The instance lifecycle policy for the Auto Scaling group. This policy
|
|
1574
|
+
# controls instance behavior when an instance transitions through its
|
|
1575
|
+
# lifecycle states. Configure retention triggers to specify when
|
|
1576
|
+
# instances should move to a `Retained` state instead of automatic
|
|
1577
|
+
# termination.
|
|
1578
|
+
#
|
|
1579
|
+
# For more information, see [ Control instance retention with instance
|
|
1580
|
+
# lifecycle policies][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
|
1581
|
+
#
|
|
1582
|
+
#
|
|
1583
|
+
#
|
|
1584
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/instance-lifecycle-policy.html
|
|
1585
|
+
# @option options [String] :deletion_protection
|
|
1586
|
+
# The deletion protection setting for the Auto Scaling group. This
|
|
1587
|
+
# setting helps safeguard your Auto Scaling group and its instances by
|
|
1588
|
+
# controlling whether the `DeleteAutoScalingGroup` operation is allowed.
|
|
1589
|
+
# When deletion protection is enabled, users cannot delete the Auto
|
|
1590
|
+
# Scaling group according to the specified protection level until the
|
|
1591
|
+
# setting is changed back to a less restrictive level.
|
|
1592
|
+
#
|
|
1593
|
+
# The valid values are `none`, `prevent-force-deletion`, and
|
|
1594
|
+
# `prevent-all-deletion`.
|
|
1595
|
+
#
|
|
1596
|
+
# Default: `none`
|
|
1569
1597
|
# @return [AutoScalingGroup]
|
|
1570
1598
|
def update(options = {})
|
|
1571
1599
|
options = options.merge(auto_scaling_group_name: @name)
|
|
@@ -1585,19 +1613,50 @@ module Aws::AutoScaling
|
|
|
1585
1613
|
# activities = auto_scaling_group.activities({
|
|
1586
1614
|
# activity_ids: ["XmlString"],
|
|
1587
1615
|
# include_deleted_groups: false,
|
|
1616
|
+
# filters: [
|
|
1617
|
+
# {
|
|
1618
|
+
# name: "XmlString",
|
|
1619
|
+
# values: ["XmlString"],
|
|
1620
|
+
# },
|
|
1621
|
+
# ],
|
|
1588
1622
|
# })
|
|
1589
1623
|
# @param [Hash] options ({})
|
|
1590
1624
|
# @option options [Array<String>] :activity_ids
|
|
1591
|
-
# The activity IDs of the desired scaling activities. If
|
|
1592
|
-
#
|
|
1593
|
-
#
|
|
1594
|
-
#
|
|
1595
|
-
#
|
|
1625
|
+
# The activity IDs of the desired scaling activities. If unknown
|
|
1626
|
+
# activity IDs are requested, they are ignored with no error. Only
|
|
1627
|
+
# activities started within the last six weeks can be returned
|
|
1628
|
+
# regardless of the activity IDs specified. If other filters are
|
|
1629
|
+
# specified with the request, only results matching all filter criteria
|
|
1630
|
+
# can be returned.
|
|
1596
1631
|
#
|
|
1597
1632
|
# Array Members: Maximum number of 50 IDs.
|
|
1598
1633
|
# @option options [Boolean] :include_deleted_groups
|
|
1599
1634
|
# Indicates whether to include scaling activity from deleted Auto
|
|
1600
1635
|
# Scaling groups.
|
|
1636
|
+
# @option options [Array<Types::Filter>] :filters
|
|
1637
|
+
# One or more filters to limit the results based on specific criteria.
|
|
1638
|
+
# The following filters are supported:
|
|
1639
|
+
#
|
|
1640
|
+
# * `StartTimeLowerBound` - The earliest scaling activities to return
|
|
1641
|
+
# based on the activity start time. Scaling activities with a start
|
|
1642
|
+
# time earlier than this value are not included in the results. Only
|
|
1643
|
+
# activities started within the last six weeks can be returned
|
|
1644
|
+
# regardless of the value specified.
|
|
1645
|
+
#
|
|
1646
|
+
# * `StartTimeUpperBound` - The latest scaling activities to return
|
|
1647
|
+
# based on the activity start time. Scaling activities with a start
|
|
1648
|
+
# time later than this value are not included in the results. Only
|
|
1649
|
+
# activities started within the last six weeks can be returned
|
|
1650
|
+
# regardless of the value specified.
|
|
1651
|
+
#
|
|
1652
|
+
# * `Status` - The `StatusCode` value of the scaling activity. This
|
|
1653
|
+
# filter can only be used in combination with the
|
|
1654
|
+
# `AutoScalingGroupName` parameter. For valid `StatusCode` values, see
|
|
1655
|
+
# [Activity][1] in the *Amazon EC2 Auto Scaling API Reference*.
|
|
1656
|
+
#
|
|
1657
|
+
#
|
|
1658
|
+
#
|
|
1659
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_Activity.html
|
|
1601
1660
|
# @return [Activity::Collection]
|
|
1602
1661
|
def activities(options = {})
|
|
1603
1662
|
batches = Enumerator.new do |y|
|
|
@@ -616,9 +616,8 @@ module Aws::AutoScaling
|
|
|
616
616
|
req.send_request(options)
|
|
617
617
|
end
|
|
618
618
|
|
|
619
|
-
# <note markdown="1"> This API operation is superseded by
|
|
620
|
-
#
|
|
621
|
-
# which can attach multiple traffic sources types. We recommend using
|
|
619
|
+
# <note markdown="1"> This API operation is superseded by [AttachTrafficSources][1], which
|
|
620
|
+
# can attach multiple traffic sources types. We recommend using
|
|
622
621
|
# `AttachTrafficSources` to simplify how you manage traffic sources.
|
|
623
622
|
# However, we continue to support `AttachLoadBalancers`. You can use
|
|
624
623
|
# both the original `AttachLoadBalancers` API operation and
|
|
@@ -1261,6 +1260,19 @@ module Aws::AutoScaling
|
|
|
1261
1260
|
# One or more lifecycle hooks to add to the Auto Scaling group before
|
|
1262
1261
|
# instances are launched.
|
|
1263
1262
|
#
|
|
1263
|
+
# @option params [String] :deletion_protection
|
|
1264
|
+
# The deletion protection setting for the Auto Scaling group. This
|
|
1265
|
+
# setting helps safeguard your Auto Scaling group and its instances by
|
|
1266
|
+
# controlling whether the `DeleteAutoScalingGroup` operation is allowed.
|
|
1267
|
+
# When deletion protection is enabled, users cannot delete the Auto
|
|
1268
|
+
# Scaling group according to the specified protection level until the
|
|
1269
|
+
# setting is changed back to a less restrictive level.
|
|
1270
|
+
#
|
|
1271
|
+
# The valid values are `none`, `prevent-force-deletion`, and
|
|
1272
|
+
# `prevent-all-deletion`.
|
|
1273
|
+
#
|
|
1274
|
+
# Default: `none`
|
|
1275
|
+
#
|
|
1264
1276
|
# @option params [Array<Types::Tag>] :tags
|
|
1265
1277
|
# One or more tags. You can tag your Auto Scaling group and propagate
|
|
1266
1278
|
# the tags to the Amazon EC2 instances it launches. Tags are not
|
|
@@ -1384,14 +1396,21 @@ module Aws::AutoScaling
|
|
|
1384
1396
|
# The instance lifecycle policy for the Auto Scaling group. This policy
|
|
1385
1397
|
# controls instance behavior when an instance transitions through its
|
|
1386
1398
|
# lifecycle states. Configure retention triggers to specify when
|
|
1387
|
-
# instances should move to a `Retained` state
|
|
1388
|
-
#
|
|
1399
|
+
# instances should move to a `Retained` state instead of automatic
|
|
1400
|
+
# termination.
|
|
1401
|
+
#
|
|
1402
|
+
# For more information, see [ Control instance retention with instance
|
|
1403
|
+
# lifecycle policies][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
|
1389
1404
|
#
|
|
1390
1405
|
# <note markdown="1"> Instances in a Retained state will continue to incur standard EC2
|
|
1391
1406
|
# charges until terminated.
|
|
1392
1407
|
#
|
|
1393
1408
|
# </note>
|
|
1394
1409
|
#
|
|
1410
|
+
#
|
|
1411
|
+
#
|
|
1412
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/instance-lifecycle-policy.html
|
|
1413
|
+
#
|
|
1395
1414
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1396
1415
|
#
|
|
1397
1416
|
#
|
|
@@ -1643,6 +1662,7 @@ module Aws::AutoScaling
|
|
|
1643
1662
|
# role_arn: "XmlStringMaxLen255",
|
|
1644
1663
|
# },
|
|
1645
1664
|
# ],
|
|
1665
|
+
# deletion_protection: "none", # accepts none, prevent-force-deletion, prevent-all-deletion
|
|
1646
1666
|
# tags: [
|
|
1647
1667
|
# {
|
|
1648
1668
|
# resource_id: "XmlString",
|
|
@@ -2803,6 +2823,7 @@ module Aws::AutoScaling
|
|
|
2803
2823
|
# resp.auto_scaling_groups[0].traffic_sources[0].type #=> String
|
|
2804
2824
|
# resp.auto_scaling_groups[0].instance_maintenance_policy.min_healthy_percentage #=> Integer
|
|
2805
2825
|
# resp.auto_scaling_groups[0].instance_maintenance_policy.max_healthy_percentage #=> Integer
|
|
2826
|
+
# resp.auto_scaling_groups[0].deletion_protection #=> String, one of "none", "prevent-force-deletion", "prevent-all-deletion"
|
|
2806
2827
|
# resp.auto_scaling_groups[0].availability_zone_distribution.capacity_distribution_strategy #=> String, one of "balanced-only", "balanced-best-effort"
|
|
2807
2828
|
# resp.auto_scaling_groups[0].availability_zone_impairment_policy.zonal_shift_enabled #=> Boolean
|
|
2808
2829
|
# resp.auto_scaling_groups[0].availability_zone_impairment_policy.impaired_zone_health_check_behavior #=> String, one of "ReplaceUnhealthy", "IgnoreUnhealthy"
|
|
@@ -3971,17 +3992,21 @@ module Aws::AutoScaling
|
|
|
3971
3992
|
# [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/CHAP_Troubleshooting.html
|
|
3972
3993
|
#
|
|
3973
3994
|
# @option params [Array<String>] :activity_ids
|
|
3974
|
-
# The activity IDs of the desired scaling activities. If
|
|
3975
|
-
#
|
|
3976
|
-
#
|
|
3977
|
-
#
|
|
3978
|
-
#
|
|
3995
|
+
# The activity IDs of the desired scaling activities. If unknown
|
|
3996
|
+
# activity IDs are requested, they are ignored with no error. Only
|
|
3997
|
+
# activities started within the last six weeks can be returned
|
|
3998
|
+
# regardless of the activity IDs specified. If other filters are
|
|
3999
|
+
# specified with the request, only results matching all filter criteria
|
|
4000
|
+
# can be returned.
|
|
3979
4001
|
#
|
|
3980
4002
|
# Array Members: Maximum number of 50 IDs.
|
|
3981
4003
|
#
|
|
3982
4004
|
# @option params [String] :auto_scaling_group_name
|
|
3983
4005
|
# The name of the Auto Scaling group.
|
|
3984
4006
|
#
|
|
4007
|
+
# Omitting this property performs an account-wide operation, which can
|
|
4008
|
+
# result in slower or timed-out requests.
|
|
4009
|
+
#
|
|
3985
4010
|
# @option params [Boolean] :include_deleted_groups
|
|
3986
4011
|
# Indicates whether to include scaling activity from deleted Auto
|
|
3987
4012
|
# Scaling groups.
|
|
@@ -3994,6 +4019,31 @@ module Aws::AutoScaling
|
|
|
3994
4019
|
# The token for the next set of items to return. (You received this
|
|
3995
4020
|
# token from a previous call.)
|
|
3996
4021
|
#
|
|
4022
|
+
# @option params [Array<Types::Filter>] :filters
|
|
4023
|
+
# One or more filters to limit the results based on specific criteria.
|
|
4024
|
+
# The following filters are supported:
|
|
4025
|
+
#
|
|
4026
|
+
# * `StartTimeLowerBound` - The earliest scaling activities to return
|
|
4027
|
+
# based on the activity start time. Scaling activities with a start
|
|
4028
|
+
# time earlier than this value are not included in the results. Only
|
|
4029
|
+
# activities started within the last six weeks can be returned
|
|
4030
|
+
# regardless of the value specified.
|
|
4031
|
+
#
|
|
4032
|
+
# * `StartTimeUpperBound` - The latest scaling activities to return
|
|
4033
|
+
# based on the activity start time. Scaling activities with a start
|
|
4034
|
+
# time later than this value are not included in the results. Only
|
|
4035
|
+
# activities started within the last six weeks can be returned
|
|
4036
|
+
# regardless of the value specified.
|
|
4037
|
+
#
|
|
4038
|
+
# * `Status` - The `StatusCode` value of the scaling activity. This
|
|
4039
|
+
# filter can only be used in combination with the
|
|
4040
|
+
# `AutoScalingGroupName` parameter. For valid `StatusCode` values, see
|
|
4041
|
+
# [Activity][1] in the *Amazon EC2 Auto Scaling API Reference*.
|
|
4042
|
+
#
|
|
4043
|
+
#
|
|
4044
|
+
#
|
|
4045
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_Activity.html
|
|
4046
|
+
#
|
|
3997
4047
|
# @return [Types::ActivitiesType] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3998
4048
|
#
|
|
3999
4049
|
# * {Types::ActivitiesType#activities #activities} => Array<Types::Activity>
|
|
@@ -4036,6 +4086,12 @@ module Aws::AutoScaling
|
|
|
4036
4086
|
# include_deleted_groups: false,
|
|
4037
4087
|
# max_records: 1,
|
|
4038
4088
|
# next_token: "XmlString",
|
|
4089
|
+
# filters: [
|
|
4090
|
+
# {
|
|
4091
|
+
# name: "XmlString",
|
|
4092
|
+
# values: ["XmlString"],
|
|
4093
|
+
# },
|
|
4094
|
+
# ],
|
|
4039
4095
|
# })
|
|
4040
4096
|
#
|
|
4041
4097
|
# @example Response structure
|
|
@@ -4663,7 +4719,7 @@ module Aws::AutoScaling
|
|
|
4663
4719
|
#
|
|
4664
4720
|
#
|
|
4665
4721
|
#
|
|
4666
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/
|
|
4722
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DetachTrafficSources.html
|
|
4667
4723
|
# [2]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeLoadBalancerTargetGroups.html
|
|
4668
4724
|
# [3]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_AttachLoadBalancerTargetGroups.html
|
|
4669
4725
|
# [4]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_AttachTrafficSources.html
|
|
@@ -6770,7 +6826,7 @@ module Aws::AutoScaling
|
|
|
6770
6826
|
# The name of the Auto Scaling group.
|
|
6771
6827
|
#
|
|
6772
6828
|
# @option params [String] :strategy
|
|
6773
|
-
# The strategy to use for the instance refresh. The
|
|
6829
|
+
# The strategy to use for the instance refresh. The default value is
|
|
6774
6830
|
# `Rolling`.
|
|
6775
6831
|
#
|
|
6776
6832
|
# @option params [Types::DesiredConfiguration] :desired_configuration
|
|
@@ -7428,11 +7484,31 @@ module Aws::AutoScaling
|
|
|
7428
7484
|
# The capacity reservation specification for the Auto Scaling group.
|
|
7429
7485
|
#
|
|
7430
7486
|
# @option params [Types::InstanceLifecyclePolicy] :instance_lifecycle_policy
|
|
7431
|
-
# The instance lifecycle policy for the Auto Scaling group.
|
|
7432
|
-
#
|
|
7433
|
-
#
|
|
7434
|
-
#
|
|
7435
|
-
#
|
|
7487
|
+
# The instance lifecycle policy for the Auto Scaling group. This policy
|
|
7488
|
+
# controls instance behavior when an instance transitions through its
|
|
7489
|
+
# lifecycle states. Configure retention triggers to specify when
|
|
7490
|
+
# instances should move to a `Retained` state instead of automatic
|
|
7491
|
+
# termination.
|
|
7492
|
+
#
|
|
7493
|
+
# For more information, see [ Control instance retention with instance
|
|
7494
|
+
# lifecycle policies][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
|
7495
|
+
#
|
|
7496
|
+
#
|
|
7497
|
+
#
|
|
7498
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/instance-lifecycle-policy.html
|
|
7499
|
+
#
|
|
7500
|
+
# @option params [String] :deletion_protection
|
|
7501
|
+
# The deletion protection setting for the Auto Scaling group. This
|
|
7502
|
+
# setting helps safeguard your Auto Scaling group and its instances by
|
|
7503
|
+
# controlling whether the `DeleteAutoScalingGroup` operation is allowed.
|
|
7504
|
+
# When deletion protection is enabled, users cannot delete the Auto
|
|
7505
|
+
# Scaling group according to the specified protection level until the
|
|
7506
|
+
# setting is changed back to a less restrictive level.
|
|
7507
|
+
#
|
|
7508
|
+
# The valid values are `none`, `prevent-force-deletion`, and
|
|
7509
|
+
# `prevent-all-deletion`.
|
|
7510
|
+
#
|
|
7511
|
+
# Default: `none`
|
|
7436
7512
|
#
|
|
7437
7513
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
7438
7514
|
#
|
|
@@ -7594,6 +7670,7 @@ module Aws::AutoScaling
|
|
|
7594
7670
|
# terminate_hook_abandon: "retain", # accepts retain, terminate
|
|
7595
7671
|
# },
|
|
7596
7672
|
# },
|
|
7673
|
+
# deletion_protection: "none", # accepts none, prevent-force-deletion, prevent-all-deletion
|
|
7597
7674
|
# })
|
|
7598
7675
|
#
|
|
7599
7676
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroup AWS API Documentation
|
|
@@ -7623,7 +7700,7 @@ module Aws::AutoScaling
|
|
|
7623
7700
|
tracer: tracer
|
|
7624
7701
|
)
|
|
7625
7702
|
context[:gem_name] = 'aws-sdk-autoscaling'
|
|
7626
|
-
context[:gem_version] = '1.
|
|
7703
|
+
context[:gem_version] = '1.154.0'
|
|
7627
7704
|
Seahorse::Client::Request.new(handlers, context)
|
|
7628
7705
|
end
|
|
7629
7706
|
|
|
@@ -120,6 +120,7 @@ module Aws::AutoScaling
|
|
|
120
120
|
DeleteTagsType = Shapes::StructureShape.new(name: 'DeleteTagsType')
|
|
121
121
|
DeleteWarmPoolAnswer = Shapes::StructureShape.new(name: 'DeleteWarmPoolAnswer')
|
|
122
122
|
DeleteWarmPoolType = Shapes::StructureShape.new(name: 'DeleteWarmPoolType')
|
|
123
|
+
DeletionProtection = Shapes::StringShape.new(name: 'DeletionProtection')
|
|
123
124
|
DescribeAccountLimitsAnswer = Shapes::StructureShape.new(name: 'DescribeAccountLimitsAnswer')
|
|
124
125
|
DescribeAdjustmentTypesAnswer = Shapes::StructureShape.new(name: 'DescribeAdjustmentTypesAnswer')
|
|
125
126
|
DescribeAutoScalingInstancesType = Shapes::StructureShape.new(name: 'DescribeAutoScalingInstancesType')
|
|
@@ -555,6 +556,7 @@ module Aws::AutoScaling
|
|
|
555
556
|
AutoScalingGroup.add_member(:default_instance_warmup, Shapes::ShapeRef.new(shape: DefaultInstanceWarmup, location_name: "DefaultInstanceWarmup"))
|
|
556
557
|
AutoScalingGroup.add_member(:traffic_sources, Shapes::ShapeRef.new(shape: TrafficSources, location_name: "TrafficSources"))
|
|
557
558
|
AutoScalingGroup.add_member(:instance_maintenance_policy, Shapes::ShapeRef.new(shape: InstanceMaintenancePolicy, location_name: "InstanceMaintenancePolicy"))
|
|
559
|
+
AutoScalingGroup.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: DeletionProtection, location_name: "DeletionProtection"))
|
|
558
560
|
AutoScalingGroup.add_member(:availability_zone_distribution, Shapes::ShapeRef.new(shape: AvailabilityZoneDistribution, location_name: "AvailabilityZoneDistribution"))
|
|
559
561
|
AutoScalingGroup.add_member(:availability_zone_impairment_policy, Shapes::ShapeRef.new(shape: AvailabilityZoneImpairmentPolicy, location_name: "AvailabilityZoneImpairmentPolicy"))
|
|
560
562
|
AutoScalingGroup.add_member(:capacity_reservation_specification, Shapes::ShapeRef.new(shape: CapacityReservationSpecification, location_name: "CapacityReservationSpecification"))
|
|
@@ -700,6 +702,7 @@ module Aws::AutoScaling
|
|
|
700
702
|
CreateAutoScalingGroupType.add_member(:new_instances_protected_from_scale_in, Shapes::ShapeRef.new(shape: InstanceProtected, location_name: "NewInstancesProtectedFromScaleIn"))
|
|
701
703
|
CreateAutoScalingGroupType.add_member(:capacity_rebalance, Shapes::ShapeRef.new(shape: CapacityRebalanceEnabled, location_name: "CapacityRebalance"))
|
|
702
704
|
CreateAutoScalingGroupType.add_member(:lifecycle_hook_specification_list, Shapes::ShapeRef.new(shape: LifecycleHookSpecifications, location_name: "LifecycleHookSpecificationList"))
|
|
705
|
+
CreateAutoScalingGroupType.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: DeletionProtection, location_name: "DeletionProtection"))
|
|
703
706
|
CreateAutoScalingGroupType.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
|
704
707
|
CreateAutoScalingGroupType.add_member(:service_linked_role_arn, Shapes::ShapeRef.new(shape: ResourceName, location_name: "ServiceLinkedRoleARN"))
|
|
705
708
|
CreateAutoScalingGroupType.add_member(:max_instance_lifetime, Shapes::ShapeRef.new(shape: MaxInstanceLifetime, location_name: "MaxInstanceLifetime"))
|
|
@@ -859,6 +862,7 @@ module Aws::AutoScaling
|
|
|
859
862
|
DescribeScalingActivitiesType.add_member(:include_deleted_groups, Shapes::ShapeRef.new(shape: IncludeDeletedGroups, location_name: "IncludeDeletedGroups"))
|
|
860
863
|
DescribeScalingActivitiesType.add_member(:max_records, Shapes::ShapeRef.new(shape: MaxRecords, location_name: "MaxRecords"))
|
|
861
864
|
DescribeScalingActivitiesType.add_member(:next_token, Shapes::ShapeRef.new(shape: XmlString, location_name: "NextToken"))
|
|
865
|
+
DescribeScalingActivitiesType.add_member(:filters, Shapes::ShapeRef.new(shape: Filters, location_name: "Filters"))
|
|
862
866
|
DescribeScalingActivitiesType.struct_class = Types::DescribeScalingActivitiesType
|
|
863
867
|
|
|
864
868
|
DescribeScheduledActionsType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "AutoScalingGroupName"))
|
|
@@ -1695,6 +1699,7 @@ module Aws::AutoScaling
|
|
|
1695
1699
|
UpdateAutoScalingGroupType.add_member(:skip_zonal_shift_validation, Shapes::ShapeRef.new(shape: SkipZonalShiftValidation, location_name: "SkipZonalShiftValidation"))
|
|
1696
1700
|
UpdateAutoScalingGroupType.add_member(:capacity_reservation_specification, Shapes::ShapeRef.new(shape: CapacityReservationSpecification, location_name: "CapacityReservationSpecification"))
|
|
1697
1701
|
UpdateAutoScalingGroupType.add_member(:instance_lifecycle_policy, Shapes::ShapeRef.new(shape: InstanceLifecyclePolicy, location_name: "InstanceLifecyclePolicy"))
|
|
1702
|
+
UpdateAutoScalingGroupType.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: DeletionProtection, location_name: "DeletionProtection"))
|
|
1698
1703
|
UpdateAutoScalingGroupType.struct_class = Types::UpdateAutoScalingGroupType
|
|
1699
1704
|
|
|
1700
1705
|
VCpuCountRequest.add_member(:min, Shapes::ShapeRef.new(shape: NullablePositiveInteger, required: true, location_name: "Min"))
|
|
@@ -62,11 +62,12 @@ module Aws::AutoScaling
|
|
|
62
62
|
#
|
|
63
63
|
# Valid values: `Pending` \| `Pending:Wait` \| `Pending:Proceed` \|
|
|
64
64
|
# `Quarantined` \| `InService` \| `Terminating` \| `Terminating:Wait` \|
|
|
65
|
-
# `Terminating:Proceed` \| `
|
|
66
|
-
# `
|
|
67
|
-
# `Warmed:Pending:Wait` \| `Warmed:Pending:Proceed`
|
|
68
|
-
# `Warmed:
|
|
69
|
-
# `Warmed:Terminating:
|
|
65
|
+
# `Terminating:Proceed` \| `Terminating:Retained` \| `Terminated` \|
|
|
66
|
+
# `Detaching` \| `Detached` \| `EnteringStandby` \| `Standby` \|
|
|
67
|
+
# `Warmed:Pending` \| `Warmed:Pending:Wait` \| `Warmed:Pending:Proceed`
|
|
68
|
+
# \| `Warmed:Pending:Retained` \| `Warmed:Terminating` \|
|
|
69
|
+
# `Warmed:Terminating:Wait` \| `Warmed:Terminating:Proceed` \|
|
|
70
|
+
# `Warmed:Terminating:Retained` \| `Warmed:Terminated` \|
|
|
70
71
|
# `Warmed:Stopped` \| `Warmed:Running`
|
|
71
72
|
#
|
|
72
73
|
#
|