aws-sdk-autoscaling 1.84.0 → 1.86.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 +13 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-autoscaling/auto_scaling_group.rb +21 -16
- data/lib/aws-sdk-autoscaling/client.rb +159 -79
- data/lib/aws-sdk-autoscaling/client_api.rb +39 -0
- data/lib/aws-sdk-autoscaling/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-autoscaling/endpoint_provider.rb +41 -100
- data/lib/aws-sdk-autoscaling/endpoints.rb +14 -0
- data/lib/aws-sdk-autoscaling/errors.rb +16 -0
- data/lib/aws-sdk-autoscaling/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-autoscaling/resource.rb +17 -16
- data/lib/aws-sdk-autoscaling/types.rb +287 -102
- data/lib/aws-sdk-autoscaling.rb +1 -1
- metadata +2 -2
@@ -51,8 +51,8 @@ module Aws::AutoScaling
|
|
51
51
|
include Aws::Structure
|
52
52
|
end
|
53
53
|
|
54
|
-
# The request failed because an active instance refresh for
|
55
|
-
# specified Auto Scaling group was not found.
|
54
|
+
# The request failed because an active instance refresh or rollback for
|
55
|
+
# the specified Auto Scaling group was not found.
|
56
56
|
#
|
57
57
|
# @!attribute [rw] message
|
58
58
|
# @return [String]
|
@@ -467,6 +467,10 @@ module Aws::AutoScaling
|
|
467
467
|
# @return [Integer]
|
468
468
|
#
|
469
469
|
# @!attribute [rw] traffic_sources
|
470
|
+
# **Reserved for use with Amazon VPC Lattice, which is in preview
|
471
|
+
# release and is subject to change. Do not use this parameter for
|
472
|
+
# production workloads. It is also subject to change.**
|
473
|
+
#
|
470
474
|
# The unique identifiers of the traffic sources.
|
471
475
|
# @return [Array<Types::TrafficSourceIdentifier>]
|
472
476
|
#
|
@@ -802,7 +806,8 @@ module Aws::AutoScaling
|
|
802
806
|
end
|
803
807
|
|
804
808
|
# @!attribute [rw] instance_refresh_id
|
805
|
-
# The instance refresh ID.
|
809
|
+
# The instance refresh ID associated with the request. This is the
|
810
|
+
# unique ID assigned to the instance refresh when it was started.
|
806
811
|
# @return [String]
|
807
812
|
#
|
808
813
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CancelInstanceRefreshAnswer AWS API Documentation
|
@@ -1191,26 +1196,25 @@ module Aws::AutoScaling
|
|
1191
1196
|
# @return [String]
|
1192
1197
|
#
|
1193
1198
|
# @!attribute [rw] default_instance_warmup
|
1194
|
-
# The amount of time, in seconds, until a
|
1195
|
-
#
|
1196
|
-
#
|
1197
|
-
#
|
1198
|
-
#
|
1199
|
-
#
|
1200
|
-
#
|
1201
|
-
#
|
1202
|
-
#
|
1203
|
-
#
|
1204
|
-
#
|
1205
|
-
#
|
1206
|
-
# to 0 seconds*. This also optimizes the performance of scaling
|
1207
|
-
# policies that scale continuously, such as target tracking and step
|
1208
|
-
# scaling policies.
|
1199
|
+
# The amount of time, in seconds, until a new instance is considered
|
1200
|
+
# to have finished initializing and resource consumption to become
|
1201
|
+
# stable after it enters the `InService` state.
|
1202
|
+
#
|
1203
|
+
# During an instance refresh, Amazon EC2 Auto Scaling waits for the
|
1204
|
+
# warm-up period after it replaces an instance before it moves on to
|
1205
|
+
# replacing the next instance. Amazon EC2 Auto Scaling also waits for
|
1206
|
+
# the warm-up period before aggregating the metrics for new instances
|
1207
|
+
# with existing instances in the Amazon CloudWatch metrics that are
|
1208
|
+
# used for scaling, resulting in more reliable usage data. For more
|
1209
|
+
# information, see [Set the default instance warmup for an Auto
|
1210
|
+
# Scaling group][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
1209
1211
|
#
|
1210
|
-
#
|
1212
|
+
# To manage various warm-up settings at the group level, we recommend
|
1213
|
+
# that you set the default instance warmup, *even if it is set to 0
|
1214
|
+
# seconds*. To remove a value that you previously set, include the
|
1211
1215
|
# property but specify `-1` for the value. However, we strongly
|
1212
1216
|
# recommend keeping the default instance warmup enabled by specifying
|
1213
|
-
# a
|
1217
|
+
# a value of `0` or other nominal value.
|
1214
1218
|
#
|
1215
1219
|
# Default: None
|
1216
1220
|
#
|
@@ -3266,27 +3270,30 @@ module Aws::AutoScaling
|
|
3266
3270
|
# @!attribute [rw] status
|
3267
3271
|
# The current status for the instance refresh operation:
|
3268
3272
|
#
|
3269
|
-
# * `Pending` - The request was created, but the
|
3270
|
-
# started.
|
3273
|
+
# * `Pending` - The request was created, but the instance refresh has
|
3274
|
+
# not started.
|
3275
|
+
#
|
3276
|
+
# * `InProgress` - An instance refresh is in progress.
|
3277
|
+
#
|
3278
|
+
# * `Successful` - An instance refresh completed successfully.
|
3279
|
+
#
|
3280
|
+
# * `Failed` - An instance refresh failed to complete. You can
|
3281
|
+
# troubleshoot using the status reason and the scaling activities.
|
3271
3282
|
#
|
3272
|
-
# * `
|
3283
|
+
# * `Cancelling` - An ongoing instance refresh is being cancelled.
|
3273
3284
|
#
|
3274
|
-
# * `
|
3285
|
+
# * `Cancelled` - The instance refresh is cancelled.
|
3275
3286
|
#
|
3276
|
-
# * `
|
3277
|
-
# using the status reason and the scaling activities.
|
3287
|
+
# * `RollbackInProgress` - An instance refresh is being rolled back.
|
3278
3288
|
#
|
3279
|
-
# * `
|
3280
|
-
#
|
3281
|
-
# been completed, but it prevents new replacements from being
|
3282
|
-
# started.
|
3289
|
+
# * `RollbackFailed` - The rollback failed to complete. You can
|
3290
|
+
# troubleshoot using the status reason and the scaling activities.
|
3283
3291
|
#
|
3284
|
-
# * `
|
3292
|
+
# * `RollbackSuccessful` - The rollback completed successfully.
|
3285
3293
|
# @return [String]
|
3286
3294
|
#
|
3287
3295
|
# @!attribute [rw] status_reason
|
3288
|
-
#
|
3289
|
-
# refresh.
|
3296
|
+
# The explanation for the specific status assigned to this operation.
|
3290
3297
|
# @return [String]
|
3291
3298
|
#
|
3292
3299
|
# @!attribute [rw] start_time
|
@@ -3304,11 +3311,24 @@ module Aws::AutoScaling
|
|
3304
3311
|
# changes to healthy and the specified warm-up time passes, the
|
3305
3312
|
# instance is considered updated and is added to the percentage
|
3306
3313
|
# complete.
|
3314
|
+
#
|
3315
|
+
# <note markdown="1"> `PercentageComplete` does not include instances that are replaced
|
3316
|
+
# during a rollback. This value gradually goes back down to zero
|
3317
|
+
# during a rollback.
|
3318
|
+
#
|
3319
|
+
# </note>
|
3307
3320
|
# @return [Integer]
|
3308
3321
|
#
|
3309
3322
|
# @!attribute [rw] instances_to_update
|
3310
3323
|
# The number of instances remaining to update before the instance
|
3311
3324
|
# refresh is complete.
|
3325
|
+
#
|
3326
|
+
# <note markdown="1"> If you roll back the instance refresh, `InstancesToUpdate` shows you
|
3327
|
+
# the number of instances that were not yet updated by the instance
|
3328
|
+
# refresh. Therefore, these instances don't need to be replaced as
|
3329
|
+
# part of the rollback.
|
3330
|
+
#
|
3331
|
+
# </note>
|
3312
3332
|
# @return [Integer]
|
3313
3333
|
#
|
3314
3334
|
# @!attribute [rw] progress_details
|
@@ -3321,9 +3341,13 @@ module Aws::AutoScaling
|
|
3321
3341
|
# @return [Types::RefreshPreferences]
|
3322
3342
|
#
|
3323
3343
|
# @!attribute [rw] desired_configuration
|
3324
|
-
# Describes the
|
3344
|
+
# Describes the desired configuration for the instance refresh.
|
3325
3345
|
# @return [Types::DesiredConfiguration]
|
3326
3346
|
#
|
3347
|
+
# @!attribute [rw] rollback_details
|
3348
|
+
# The rollback details.
|
3349
|
+
# @return [Types::RollbackDetails]
|
3350
|
+
#
|
3327
3351
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/InstanceRefresh AWS API Documentation
|
3328
3352
|
#
|
3329
3353
|
class InstanceRefresh < Struct.new(
|
@@ -3337,13 +3361,14 @@ module Aws::AutoScaling
|
|
3337
3361
|
:instances_to_update,
|
3338
3362
|
:progress_details,
|
3339
3363
|
:preferences,
|
3340
|
-
:desired_configuration
|
3364
|
+
:desired_configuration,
|
3365
|
+
:rollback_details)
|
3341
3366
|
SENSITIVE = []
|
3342
3367
|
include Aws::Structure
|
3343
3368
|
end
|
3344
3369
|
|
3345
|
-
# The request failed because an active instance refresh
|
3346
|
-
#
|
3370
|
+
# The request failed because an active instance refresh already exists
|
3371
|
+
# for the specified Auto Scaling group.
|
3347
3372
|
#
|
3348
3373
|
# @!attribute [rw] message
|
3349
3374
|
# @return [String]
|
@@ -3356,8 +3381,8 @@ module Aws::AutoScaling
|
|
3356
3381
|
include Aws::Structure
|
3357
3382
|
end
|
3358
3383
|
|
3359
|
-
# Reports
|
3360
|
-
#
|
3384
|
+
# Reports progress on replacing instances that are in the Auto Scaling
|
3385
|
+
# group.
|
3361
3386
|
#
|
3362
3387
|
# @!attribute [rw] percentage_complete
|
3363
3388
|
# The percentage of instances in the Auto Scaling group that have been
|
@@ -3381,18 +3406,17 @@ module Aws::AutoScaling
|
|
3381
3406
|
include Aws::Structure
|
3382
3407
|
end
|
3383
3408
|
|
3384
|
-
# Reports
|
3385
|
-
#
|
3386
|
-
#
|
3409
|
+
# Reports progress on replacing instances in an Auto Scaling group that
|
3410
|
+
# has a warm pool. This includes separate details for instances in the
|
3411
|
+
# warm pool and instances in the Auto Scaling group (the live pool).
|
3387
3412
|
#
|
3388
3413
|
# @!attribute [rw] live_pool_progress
|
3389
|
-
#
|
3390
|
-
#
|
3414
|
+
# Reports progress on replacing instances that are in the Auto Scaling
|
3415
|
+
# group.
|
3391
3416
|
# @return [Types::InstanceRefreshLivePoolProgress]
|
3392
3417
|
#
|
3393
3418
|
# @!attribute [rw] warm_pool_progress
|
3394
|
-
#
|
3395
|
-
# in the warm pool.
|
3419
|
+
# Reports progress on replacing instances that are in the warm pool.
|
3396
3420
|
# @return [Types::InstanceRefreshWarmPoolProgress]
|
3397
3421
|
#
|
3398
3422
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/InstanceRefreshProgressDetails AWS API Documentation
|
@@ -3404,8 +3428,7 @@ module Aws::AutoScaling
|
|
3404
3428
|
include Aws::Structure
|
3405
3429
|
end
|
3406
3430
|
|
3407
|
-
# Reports
|
3408
|
-
# the warm pool.
|
3431
|
+
# Reports progress on replacing instances that are in the warm pool.
|
3409
3432
|
#
|
3410
3433
|
# @!attribute [rw] percentage_complete
|
3411
3434
|
# The percentage of instances in the warm pool that have been
|
@@ -3953,6 +3976,22 @@ module Aws::AutoScaling
|
|
3953
3976
|
include Aws::Structure
|
3954
3977
|
end
|
3955
3978
|
|
3979
|
+
# The request failed because a desired configuration was not found or an
|
3980
|
+
# incompatible launch template (uses a Systems Manager parameter instead
|
3981
|
+
# of an AMI ID) or launch template version (`$Latest` or `$Default`) is
|
3982
|
+
# present on the Auto Scaling group.
|
3983
|
+
#
|
3984
|
+
# @!attribute [rw] message
|
3985
|
+
# @return [String]
|
3986
|
+
#
|
3987
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/IrreversibleInstanceRefreshFault AWS API Documentation
|
3988
|
+
#
|
3989
|
+
class IrreversibleInstanceRefreshFault < Struct.new(
|
3990
|
+
:message)
|
3991
|
+
SENSITIVE = []
|
3992
|
+
include Aws::Structure
|
3993
|
+
end
|
3994
|
+
|
3956
3995
|
# Describes a launch configuration.
|
3957
3996
|
#
|
3958
3997
|
# @!attribute [rw] launch_configuration_name
|
@@ -6166,23 +6205,26 @@ module Aws::AutoScaling
|
|
6166
6205
|
# @return [Integer]
|
6167
6206
|
#
|
6168
6207
|
# @!attribute [rw] instance_warmup
|
6169
|
-
#
|
6170
|
-
#
|
6171
|
-
#
|
6172
|
-
#
|
6173
|
-
#
|
6174
|
-
#
|
6175
|
-
#
|
6176
|
-
#
|
6177
|
-
#
|
6178
|
-
#
|
6179
|
-
#
|
6208
|
+
# A time period, in seconds, during which an instance refresh waits
|
6209
|
+
# before moving on to replacing the next instance after a new instance
|
6210
|
+
# enters the `InService` state.
|
6211
|
+
#
|
6212
|
+
# This property is not required for normal usage. Instead, use the
|
6213
|
+
# `DefaultInstanceWarmup` property of the Auto Scaling group. The
|
6214
|
+
# `InstanceWarmup` and `DefaultInstanceWarmup` properties work the
|
6215
|
+
# same way. Only specify this property if you must override the
|
6216
|
+
# `DefaultInstanceWarmup` property.
|
6217
|
+
#
|
6218
|
+
# If you do not specify this property, the instance warmup by default
|
6219
|
+
# is the value of the `DefaultInstanceWarmup` property, if defined
|
6220
|
+
# (which is recommended in all cases), or the `HealthCheckGracePeriod`
|
6221
|
+
# property otherwise.
|
6180
6222
|
# @return [Integer]
|
6181
6223
|
#
|
6182
6224
|
# @!attribute [rw] checkpoint_percentages
|
6183
|
-
# Threshold values for each checkpoint in ascending order.
|
6184
|
-
# must be unique. To replace all instances in the Auto
|
6185
|
-
# the last number in the array must be `100`.
|
6225
|
+
# (Optional) Threshold values for each checkpoint in ascending order.
|
6226
|
+
# Each number must be unique. To replace all instances in the Auto
|
6227
|
+
# Scaling group, the last number in the array must be `100`.
|
6186
6228
|
#
|
6187
6229
|
# For usage examples, see [Adding checkpoints to an instance
|
6188
6230
|
# refresh][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
@@ -6193,23 +6235,95 @@ module Aws::AutoScaling
|
|
6193
6235
|
# @return [Array<Integer>]
|
6194
6236
|
#
|
6195
6237
|
# @!attribute [rw] checkpoint_delay
|
6196
|
-
# The amount of time, in seconds, to wait after a
|
6197
|
-
# continuing. This property is optional, but if you
|
6198
|
-
# for it, you must also specify a value for
|
6199
|
-
# If you specify a value for
|
6200
|
-
# `
|
6201
|
-
# hour).
|
6238
|
+
# (Optional) The amount of time, in seconds, to wait after a
|
6239
|
+
# checkpoint before continuing. This property is optional, but if you
|
6240
|
+
# specify a value for it, you must also specify a value for
|
6241
|
+
# `CheckpointPercentages`. If you specify a value for
|
6242
|
+
# `CheckpointPercentages` and not for `CheckpointDelay`, the
|
6243
|
+
# `CheckpointDelay` defaults to `3600` (1 hour).
|
6202
6244
|
# @return [Integer]
|
6203
6245
|
#
|
6204
6246
|
# @!attribute [rw] skip_matching
|
6205
|
-
#
|
6206
|
-
# true, then Amazon EC2 Auto Scaling skips replacing instances
|
6207
|
-
# match the desired configuration. If no desired configuration is
|
6247
|
+
# (Optional) Indicates whether skip matching is enabled. If enabled
|
6248
|
+
# (`true`), then Amazon EC2 Auto Scaling skips replacing instances
|
6249
|
+
# that match the desired configuration. If no desired configuration is
|
6208
6250
|
# specified, then it skips replacing instances that have the same
|
6209
|
-
#
|
6251
|
+
# launch template and instance types that the Auto Scaling group was
|
6252
|
+
# using before the start of the instance refresh. The default is
|
6210
6253
|
# `false`.
|
6254
|
+
#
|
6255
|
+
# For more information, see [Use an instance refresh with skip
|
6256
|
+
# matching][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
6257
|
+
#
|
6258
|
+
#
|
6259
|
+
#
|
6260
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh-skip-matching.html
|
6261
|
+
# @return [Boolean]
|
6262
|
+
#
|
6263
|
+
# @!attribute [rw] auto_rollback
|
6264
|
+
# (Optional) Indicates whether to roll back the Auto Scaling group to
|
6265
|
+
# its previous configuration if the instance refresh fails. The
|
6266
|
+
# default is `false`.
|
6267
|
+
#
|
6268
|
+
# A rollback is not supported in the following situations:
|
6269
|
+
#
|
6270
|
+
# * There is no desired configuration specified for the instance
|
6271
|
+
# refresh.
|
6272
|
+
#
|
6273
|
+
# * The Auto Scaling group has a launch template that uses an Amazon
|
6274
|
+
# Web Services Systems Manager parameter instead of an AMI ID for
|
6275
|
+
# the `ImageId` property.
|
6276
|
+
#
|
6277
|
+
# * The Auto Scaling group uses the launch template's `$Latest` or
|
6278
|
+
# `$Default` version.
|
6211
6279
|
# @return [Boolean]
|
6212
6280
|
#
|
6281
|
+
# @!attribute [rw] scale_in_protected_instances
|
6282
|
+
# Choose the behavior that you want Amazon EC2 Auto Scaling to use if
|
6283
|
+
# instances protected from scale in are found.
|
6284
|
+
#
|
6285
|
+
# The following lists the valid values:
|
6286
|
+
#
|
6287
|
+
# Refresh
|
6288
|
+
#
|
6289
|
+
# : Amazon EC2 Auto Scaling replaces instances that are protected from
|
6290
|
+
# scale in.
|
6291
|
+
#
|
6292
|
+
# Ignore
|
6293
|
+
#
|
6294
|
+
# : Amazon EC2 Auto Scaling ignores instances that are protected from
|
6295
|
+
# scale in and continues to replace instances that are not
|
6296
|
+
# protected.
|
6297
|
+
#
|
6298
|
+
# Wait (default)
|
6299
|
+
#
|
6300
|
+
# : Amazon EC2 Auto Scaling waits one hour for you to remove scale-in
|
6301
|
+
# protection. Otherwise, the instance refresh will fail.
|
6302
|
+
# @return [String]
|
6303
|
+
#
|
6304
|
+
# @!attribute [rw] standby_instances
|
6305
|
+
# Choose the behavior that you want Amazon EC2 Auto Scaling to use if
|
6306
|
+
# instances in `Standby` state are found.
|
6307
|
+
#
|
6308
|
+
# The following lists the valid values:
|
6309
|
+
#
|
6310
|
+
# Terminate
|
6311
|
+
#
|
6312
|
+
# : Amazon EC2 Auto Scaling terminates instances that are in
|
6313
|
+
# `Standby`.
|
6314
|
+
#
|
6315
|
+
# Ignore
|
6316
|
+
#
|
6317
|
+
# : Amazon EC2 Auto Scaling ignores instances that are in `Standby`
|
6318
|
+
# and continues to replace instances that are in the `InService`
|
6319
|
+
# state.
|
6320
|
+
#
|
6321
|
+
# Wait (default)
|
6322
|
+
#
|
6323
|
+
# : Amazon EC2 Auto Scaling waits one hour for you to return the
|
6324
|
+
# instances to service. Otherwise, the instance refresh will fail.
|
6325
|
+
# @return [String]
|
6326
|
+
#
|
6213
6327
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/RefreshPreferences AWS API Documentation
|
6214
6328
|
#
|
6215
6329
|
class RefreshPreferences < Struct.new(
|
@@ -6217,7 +6331,10 @@ module Aws::AutoScaling
|
|
6217
6331
|
:instance_warmup,
|
6218
6332
|
:checkpoint_percentages,
|
6219
6333
|
:checkpoint_delay,
|
6220
|
-
:skip_matching
|
6334
|
+
:skip_matching,
|
6335
|
+
:auto_rollback,
|
6336
|
+
:scale_in_protected_instances,
|
6337
|
+
:standby_instances)
|
6221
6338
|
SENSITIVE = []
|
6222
6339
|
include Aws::Structure
|
6223
6340
|
end
|
@@ -6250,6 +6367,71 @@ module Aws::AutoScaling
|
|
6250
6367
|
include Aws::Structure
|
6251
6368
|
end
|
6252
6369
|
|
6370
|
+
# Details about an instance refresh rollback.
|
6371
|
+
#
|
6372
|
+
# @!attribute [rw] rollback_reason
|
6373
|
+
# The reason for this instance refresh rollback (for example, whether
|
6374
|
+
# a manual or automatic rollback was initiated).
|
6375
|
+
# @return [String]
|
6376
|
+
#
|
6377
|
+
# @!attribute [rw] rollback_start_time
|
6378
|
+
# The date and time at which the rollback began.
|
6379
|
+
# @return [Time]
|
6380
|
+
#
|
6381
|
+
# @!attribute [rw] percentage_complete_on_rollback
|
6382
|
+
# Indicates the value of `PercentageComplete` at the time the rollback
|
6383
|
+
# started.
|
6384
|
+
# @return [Integer]
|
6385
|
+
#
|
6386
|
+
# @!attribute [rw] instances_to_update_on_rollback
|
6387
|
+
# Indicates the value of `InstancesToUpdate` at the time the rollback
|
6388
|
+
# started.
|
6389
|
+
# @return [Integer]
|
6390
|
+
#
|
6391
|
+
# @!attribute [rw] progress_details_on_rollback
|
6392
|
+
# Reports progress on replacing instances in an Auto Scaling group
|
6393
|
+
# that has a warm pool. This includes separate details for instances
|
6394
|
+
# in the warm pool and instances in the Auto Scaling group (the live
|
6395
|
+
# pool).
|
6396
|
+
# @return [Types::InstanceRefreshProgressDetails]
|
6397
|
+
#
|
6398
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/RollbackDetails AWS API Documentation
|
6399
|
+
#
|
6400
|
+
class RollbackDetails < Struct.new(
|
6401
|
+
:rollback_reason,
|
6402
|
+
:rollback_start_time,
|
6403
|
+
:percentage_complete_on_rollback,
|
6404
|
+
:instances_to_update_on_rollback,
|
6405
|
+
:progress_details_on_rollback)
|
6406
|
+
SENSITIVE = []
|
6407
|
+
include Aws::Structure
|
6408
|
+
end
|
6409
|
+
|
6410
|
+
# @!attribute [rw] instance_refresh_id
|
6411
|
+
# The instance refresh ID associated with the request. This is the
|
6412
|
+
# unique ID assigned to the instance refresh when it was started.
|
6413
|
+
# @return [String]
|
6414
|
+
#
|
6415
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/RollbackInstanceRefreshAnswer AWS API Documentation
|
6416
|
+
#
|
6417
|
+
class RollbackInstanceRefreshAnswer < Struct.new(
|
6418
|
+
:instance_refresh_id)
|
6419
|
+
SENSITIVE = []
|
6420
|
+
include Aws::Structure
|
6421
|
+
end
|
6422
|
+
|
6423
|
+
# @!attribute [rw] auto_scaling_group_name
|
6424
|
+
# The name of the Auto Scaling group.
|
6425
|
+
# @return [String]
|
6426
|
+
#
|
6427
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/RollbackInstanceRefreshType AWS API Documentation
|
6428
|
+
#
|
6429
|
+
class RollbackInstanceRefreshType < Struct.new(
|
6430
|
+
:auto_scaling_group_name)
|
6431
|
+
SENSITIVE = []
|
6432
|
+
include Aws::Structure
|
6433
|
+
end
|
6434
|
+
|
6253
6435
|
# The operation can't be performed because there are scaling activities
|
6254
6436
|
# in progress.
|
6255
6437
|
#
|
@@ -6699,7 +6881,7 @@ module Aws::AutoScaling
|
|
6699
6881
|
end
|
6700
6882
|
|
6701
6883
|
# @!attribute [rw] instance_refresh_id
|
6702
|
-
# A unique ID for tracking the progress of the
|
6884
|
+
# A unique ID for tracking the progress of the instance refresh.
|
6703
6885
|
# @return [String]
|
6704
6886
|
#
|
6705
6887
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/StartInstanceRefreshAnswer AWS API Documentation
|
@@ -6717,12 +6899,6 @@ module Aws::AutoScaling
|
|
6717
6899
|
# @!attribute [rw] strategy
|
6718
6900
|
# The strategy to use for the instance refresh. The only valid value
|
6719
6901
|
# is `Rolling`.
|
6720
|
-
#
|
6721
|
-
# A rolling update helps you update your instances gradually. A
|
6722
|
-
# rolling update can fail due to failed health checks or if instances
|
6723
|
-
# are on standby or are protected from scale in. If the rolling update
|
6724
|
-
# process fails, any instances that are replaced are not rolled back
|
6725
|
-
# to their previous configuration.
|
6726
6902
|
# @return [String]
|
6727
6903
|
#
|
6728
6904
|
# @!attribute [rw] desired_configuration
|
@@ -6738,16 +6914,26 @@ module Aws::AutoScaling
|
|
6738
6914
|
# current launch template for your desired configuration, consider
|
6739
6915
|
# enabling the `SkipMatching` property in preferences. If it's
|
6740
6916
|
# enabled, Amazon EC2 Auto Scaling skips replacing instances that
|
6741
|
-
# already use the specified launch template and
|
6742
|
-
# you reduce the number of replacements that are required to
|
6743
|
-
# updates.
|
6917
|
+
# already use the specified launch template and instance types. This
|
6918
|
+
# can help you reduce the number of replacements that are required to
|
6919
|
+
# apply updates.
|
6744
6920
|
#
|
6745
6921
|
# </note>
|
6746
6922
|
# @return [Types::DesiredConfiguration]
|
6747
6923
|
#
|
6748
6924
|
# @!attribute [rw] preferences
|
6749
|
-
#
|
6750
|
-
#
|
6925
|
+
# Sets your preferences for the instance refresh so that it performs
|
6926
|
+
# as expected when you start it. Includes the instance warmup time,
|
6927
|
+
# the minimum healthy percentage, and the behaviors that you want
|
6928
|
+
# Amazon EC2 Auto Scaling to use if instances that are in `Standby`
|
6929
|
+
# state or protected from scale in are found. You can also choose to
|
6930
|
+
# enable additional features, such as the following:
|
6931
|
+
#
|
6932
|
+
# * Auto rollback
|
6933
|
+
#
|
6934
|
+
# * Checkpoints
|
6935
|
+
#
|
6936
|
+
# * Skip matching
|
6751
6937
|
# @return [Types::RefreshPreferences]
|
6752
6938
|
#
|
6753
6939
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/StartInstanceRefreshType AWS API Documentation
|
@@ -7406,26 +7592,25 @@ module Aws::AutoScaling
|
|
7406
7592
|
# @return [String]
|
7407
7593
|
#
|
7408
7594
|
# @!attribute [rw] default_instance_warmup
|
7409
|
-
# The amount of time, in seconds, until a
|
7410
|
-
#
|
7411
|
-
#
|
7412
|
-
#
|
7413
|
-
#
|
7414
|
-
#
|
7415
|
-
#
|
7416
|
-
#
|
7417
|
-
#
|
7418
|
-
#
|
7419
|
-
#
|
7420
|
-
#
|
7421
|
-
# to 0 seconds*. This also optimizes the performance of scaling
|
7422
|
-
# policies that scale continuously, such as target tracking and step
|
7423
|
-
# scaling policies.
|
7595
|
+
# The amount of time, in seconds, until a new instance is considered
|
7596
|
+
# to have finished initializing and resource consumption to become
|
7597
|
+
# stable after it enters the `InService` state.
|
7598
|
+
#
|
7599
|
+
# During an instance refresh, Amazon EC2 Auto Scaling waits for the
|
7600
|
+
# warm-up period after it replaces an instance before it moves on to
|
7601
|
+
# replacing the next instance. Amazon EC2 Auto Scaling also waits for
|
7602
|
+
# the warm-up period before aggregating the metrics for new instances
|
7603
|
+
# with existing instances in the Amazon CloudWatch metrics that are
|
7604
|
+
# used for scaling, resulting in more reliable usage data. For more
|
7605
|
+
# information, see [Set the default instance warmup for an Auto
|
7606
|
+
# Scaling group][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
7424
7607
|
#
|
7425
|
-
#
|
7608
|
+
# To manage various warm-up settings at the group level, we recommend
|
7609
|
+
# that you set the default instance warmup, *even if it is set to 0
|
7610
|
+
# seconds*. To remove a value that you previously set, include the
|
7426
7611
|
# property but specify `-1` for the value. However, we strongly
|
7427
7612
|
# recommend keeping the default instance warmup enabled by specifying
|
7428
|
-
# a
|
7613
|
+
# a value of `0` or other nominal value.
|
7429
7614
|
#
|
7430
7615
|
#
|
7431
7616
|
#
|
data/lib/aws-sdk-autoscaling.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-autoscaling
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.86.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|