aws-sdk-autoscaling 1.82.0 → 1.83.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-autoscaling/auto_scaling_group.rb +4 -3
- data/lib/aws-sdk-autoscaling/client.rb +16 -7
- data/lib/aws-sdk-autoscaling/resource.rb +11 -3
- data/lib/aws-sdk-autoscaling/types.rb +83 -45
- data/lib/aws-sdk-autoscaling.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2227cdfb03438ff3d600b3f4b058935305eb0adc8d33d2badded39e4e21704b3
|
4
|
+
data.tar.gz: d2942c85fbcd2623a75cb1142831e4587f49bc49e482fe289112e31833ea34f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34c990addf510425dc27b0fa02c4547eacf0ccd39a8469864e651dafa433596fa14278733b8731dee0ebe77d6dfea87d635c43aefe97bcc45d6d8b622429bba1
|
7
|
+
data.tar.gz: b95fc2bd1038ca60171212fa2ae00403e0f7f837dde7d56caddc7db3ed6411142d71f3910d827926ac538838c654a5dd9469ef4c17a904c2f93b0d0ca9e16b9b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.83.0 (2022-11-10)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds a new price capacity optimized allocation strategy for Spot Instances to help customers optimize provisioning of Spot Instances via EC2 Auto Scaling, EC2 Fleet, and Spot Fleet. It allocates Spot Instances based on both spare capacity availability and Spot Instance price.
|
8
|
+
|
4
9
|
1.82.0 (2022-11-07)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.83.0
|
@@ -1264,12 +1264,13 @@ module Aws::AutoScaling
|
|
1264
1264
|
# into service and marking it unhealthy due to a failed Elastic Load
|
1265
1265
|
# Balancing or custom health check. This is useful if your instances do
|
1266
1266
|
# not immediately pass these health checks after they enter the
|
1267
|
-
# `InService` state. For more information, see [
|
1268
|
-
# period][1] in the *Amazon EC2 Auto
|
1267
|
+
# `InService` state. For more information, see [Set the health check
|
1268
|
+
# grace period for an Auto Scaling group][1] in the *Amazon EC2 Auto
|
1269
|
+
# Scaling User Guide*.
|
1269
1270
|
#
|
1270
1271
|
#
|
1271
1272
|
#
|
1272
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
1273
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/health-check-grace-period.html
|
1273
1274
|
# @option options [String] :placement_group
|
1274
1275
|
# The name of an existing placement group into which to launch your
|
1275
1276
|
# instances. For more information, see [Placement groups][1] in the
|
@@ -816,6 +816,13 @@ module Aws::AutoScaling
|
|
816
816
|
# The name of the Auto Scaling group. This name must be unique per
|
817
817
|
# Region per account.
|
818
818
|
#
|
819
|
+
# The name can contain any ASCII character 33 to 126 including most
|
820
|
+
# punctuation characters, digits, and upper and lowercased letters.
|
821
|
+
#
|
822
|
+
# <note markdown="1"> You cannot use a colon (:) in the name.
|
823
|
+
#
|
824
|
+
# </note>
|
825
|
+
#
|
819
826
|
# @option params [String] :launch_configuration_name
|
820
827
|
# The name of the launch configuration to use to launch instances.
|
821
828
|
#
|
@@ -945,14 +952,15 @@ module Aws::AutoScaling
|
|
945
952
|
# into service and marking it unhealthy due to a failed Elastic Load
|
946
953
|
# Balancing or custom health check. This is useful if your instances do
|
947
954
|
# not immediately pass these health checks after they enter the
|
948
|
-
# `InService` state. For more information, see [
|
949
|
-
# period][1] in the *Amazon EC2 Auto
|
955
|
+
# `InService` state. For more information, see [Set the health check
|
956
|
+
# grace period for an Auto Scaling group][1] in the *Amazon EC2 Auto
|
957
|
+
# Scaling User Guide*.
|
950
958
|
#
|
951
959
|
# Default: `0` seconds
|
952
960
|
#
|
953
961
|
#
|
954
962
|
#
|
955
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
963
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/health-check-grace-period.html
|
956
964
|
#
|
957
965
|
# @option params [String] :placement_group
|
958
966
|
# The name of the placement group into which to launch your instances.
|
@@ -6306,12 +6314,13 @@ module Aws::AutoScaling
|
|
6306
6314
|
# into service and marking it unhealthy due to a failed Elastic Load
|
6307
6315
|
# Balancing or custom health check. This is useful if your instances do
|
6308
6316
|
# not immediately pass these health checks after they enter the
|
6309
|
-
# `InService` state. For more information, see [
|
6310
|
-
# period][1] in the *Amazon EC2 Auto
|
6317
|
+
# `InService` state. For more information, see [Set the health check
|
6318
|
+
# grace period for an Auto Scaling group][1] in the *Amazon EC2 Auto
|
6319
|
+
# Scaling User Guide*.
|
6311
6320
|
#
|
6312
6321
|
#
|
6313
6322
|
#
|
6314
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
6323
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/health-check-grace-period.html
|
6315
6324
|
#
|
6316
6325
|
# @option params [String] :placement_group
|
6317
6326
|
# The name of an existing placement group into which to launch your
|
@@ -6582,7 +6591,7 @@ module Aws::AutoScaling
|
|
6582
6591
|
params: params,
|
6583
6592
|
config: config)
|
6584
6593
|
context[:gem_name] = 'aws-sdk-autoscaling'
|
6585
|
-
context[:gem_version] = '1.
|
6594
|
+
context[:gem_version] = '1.83.0'
|
6586
6595
|
Seahorse::Client::Request.new(handlers, context)
|
6587
6596
|
end
|
6588
6597
|
|
@@ -170,6 +170,13 @@ module Aws::AutoScaling
|
|
170
170
|
# @option options [required, String] :auto_scaling_group_name
|
171
171
|
# The name of the Auto Scaling group. This name must be unique per
|
172
172
|
# Region per account.
|
173
|
+
#
|
174
|
+
# The name can contain any ASCII character 33 to 126 including most
|
175
|
+
# punctuation characters, digits, and upper and lowercased letters.
|
176
|
+
#
|
177
|
+
# <note markdown="1"> You cannot use a colon (:) in the name.
|
178
|
+
#
|
179
|
+
# </note>
|
173
180
|
# @option options [String] :launch_configuration_name
|
174
181
|
# The name of the launch configuration to use to launch instances.
|
175
182
|
#
|
@@ -287,14 +294,15 @@ module Aws::AutoScaling
|
|
287
294
|
# into service and marking it unhealthy due to a failed Elastic Load
|
288
295
|
# Balancing or custom health check. This is useful if your instances do
|
289
296
|
# not immediately pass these health checks after they enter the
|
290
|
-
# `InService` state. For more information, see [
|
291
|
-
# period][1] in the *Amazon EC2 Auto
|
297
|
+
# `InService` state. For more information, see [Set the health check
|
298
|
+
# grace period for an Auto Scaling group][1] in the *Amazon EC2 Auto
|
299
|
+
# Scaling User Guide*.
|
292
300
|
#
|
293
301
|
# Default: `0` seconds
|
294
302
|
#
|
295
303
|
#
|
296
304
|
#
|
297
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
305
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/health-check-grace-period.html
|
298
306
|
# @option options [String] :placement_group
|
299
307
|
# The name of the placement group into which to launch your instances.
|
300
308
|
# For more information, see [Placement groups][1] in the *Amazon EC2
|
@@ -1114,6 +1114,13 @@ module Aws::AutoScaling
|
|
1114
1114
|
# @!attribute [rw] auto_scaling_group_name
|
1115
1115
|
# The name of the Auto Scaling group. This name must be unique per
|
1116
1116
|
# Region per account.
|
1117
|
+
#
|
1118
|
+
# The name can contain any ASCII character 33 to 126 including most
|
1119
|
+
# punctuation characters, digits, and upper and lowercased letters.
|
1120
|
+
#
|
1121
|
+
# <note markdown="1"> You cannot use a colon (:) in the name.
|
1122
|
+
#
|
1123
|
+
# </note>
|
1117
1124
|
# @return [String]
|
1118
1125
|
#
|
1119
1126
|
# @!attribute [rw] launch_configuration_name
|
@@ -1260,14 +1267,15 @@ module Aws::AutoScaling
|
|
1260
1267
|
# into service and marking it unhealthy due to a failed Elastic Load
|
1261
1268
|
# Balancing or custom health check. This is useful if your instances
|
1262
1269
|
# do not immediately pass these health checks after they enter the
|
1263
|
-
# `InService` state. For more information, see [
|
1264
|
-
# period][1] in the *Amazon EC2 Auto
|
1270
|
+
# `InService` state. For more information, see [Set the health check
|
1271
|
+
# grace period for an Auto Scaling group][1] in the *Amazon EC2 Auto
|
1272
|
+
# Scaling User Guide*.
|
1265
1273
|
#
|
1266
1274
|
# Default: `0` seconds
|
1267
1275
|
#
|
1268
1276
|
#
|
1269
1277
|
#
|
1270
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
1278
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/health-check-grace-period.html
|
1271
1279
|
# @return [Integer]
|
1272
1280
|
#
|
1273
1281
|
# @!attribute [rw] placement_group
|
@@ -4454,24 +4462,30 @@ module Aws::AutoScaling
|
|
4454
4462
|
# }
|
4455
4463
|
#
|
4456
4464
|
# @!attribute [rw] on_demand_allocation_strategy
|
4457
|
-
# The
|
4458
|
-
#
|
4465
|
+
# The allocation strategy to apply to your On-Demand Instances when
|
4466
|
+
# they are launched. Possible instance types are determined by the
|
4467
|
+
# launch template overrides that you specify.
|
4468
|
+
#
|
4469
|
+
# The following lists the valid values:
|
4459
4470
|
#
|
4460
|
-
#
|
4461
|
-
# determine the order, launching the lowest price first.
|
4471
|
+
# lowest-price
|
4462
4472
|
#
|
4463
|
-
#
|
4464
|
-
#
|
4465
|
-
#
|
4466
|
-
#
|
4467
|
-
# Amazon EC2 Auto Scaling launches the remaining capacity using the
|
4468
|
-
# second priority instance type, and so on.
|
4473
|
+
# : Uses price to determine which instance types are the highest
|
4474
|
+
# priority, launching the lowest priced instance types within an
|
4475
|
+
# Availability Zone first. This is the default value for Auto
|
4476
|
+
# Scaling groups that specify InstanceRequirements.
|
4469
4477
|
#
|
4470
|
-
#
|
4471
|
-
# InstanceRequirements in the overrides and `prioritized` for Auto
|
4472
|
-
# Scaling groups that don't.
|
4478
|
+
# prioritized
|
4473
4479
|
#
|
4474
|
-
#
|
4480
|
+
# : You set the order of instance types for the launch template
|
4481
|
+
# overrides from highest to lowest priority (from first to last in
|
4482
|
+
# the list). Amazon EC2 Auto Scaling launches your highest priority
|
4483
|
+
# instance types first. If all your On-Demand capacity cannot be
|
4484
|
+
# fulfilled using your highest priority instance type, then Amazon
|
4485
|
+
# EC2 Auto Scaling launches the remaining capacity using the second
|
4486
|
+
# priority instance type, and so on. This is the default value for
|
4487
|
+
# Auto Scaling groups that don't specify InstanceRequirements and
|
4488
|
+
# cannot be used for groups that do.
|
4475
4489
|
# @return [String]
|
4476
4490
|
#
|
4477
4491
|
# @!attribute [rw] on_demand_base_capacity
|
@@ -4479,13 +4493,14 @@ module Aws::AutoScaling
|
|
4479
4493
|
# be fulfilled by On-Demand Instances. This base portion is launched
|
4480
4494
|
# first as your group scales.
|
4481
4495
|
#
|
4482
|
-
#
|
4483
|
-
#
|
4484
|
-
#
|
4485
|
-
# overrides,
|
4486
|
-
#
|
4496
|
+
# This number has the same unit of measurement as the group's desired
|
4497
|
+
# capacity. If you change the default unit of measurement (number of
|
4498
|
+
# instances) by specifying weighted capacity values in your launch
|
4499
|
+
# template overrides list, or by changing the default desired capacity
|
4500
|
+
# type setting of the group, you must specify this number using the
|
4501
|
+
# same unit of measurement.
|
4487
4502
|
#
|
4488
|
-
# Default:
|
4503
|
+
# Default: 0
|
4489
4504
|
# @return [Integer]
|
4490
4505
|
#
|
4491
4506
|
# @!attribute [rw] on_demand_percentage_above_base_capacity
|
@@ -4495,39 +4510,61 @@ module Aws::AutoScaling
|
|
4495
4510
|
# Instances, 80% Spot Instances). If set to 100, only On-Demand
|
4496
4511
|
# Instances are used.
|
4497
4512
|
#
|
4498
|
-
# Default:
|
4513
|
+
# Default: 100
|
4499
4514
|
# @return [Integer]
|
4500
4515
|
#
|
4501
4516
|
# @!attribute [rw] spot_allocation_strategy
|
4502
|
-
#
|
4517
|
+
# The allocation strategy to apply to your Spot Instances when they
|
4518
|
+
# are launched. Possible instance types are determined by the launch
|
4519
|
+
# template overrides that you specify.
|
4503
4520
|
#
|
4504
|
-
#
|
4505
|
-
# launches instances using the Spot pools with the lowest price, and
|
4506
|
-
# evenly allocates your instances across the number of Spot pools that
|
4507
|
-
# you specify.
|
4521
|
+
# The following lists the valid values:
|
4508
4522
|
#
|
4509
|
-
#
|
4510
|
-
# the Auto Scaling group launches instances using Spot pools that are
|
4511
|
-
# optimally chosen based on the available Spot capacity.
|
4512
|
-
# Alternatively, you can use `capacity-optimized-prioritized` and set
|
4513
|
-
# the order of instance types in the list of launch template overrides
|
4514
|
-
# from highest to lowest priority (from first to last in the list).
|
4515
|
-
# Amazon EC2 Auto Scaling honors the instance type priorities on a
|
4516
|
-
# best-effort basis but optimizes for capacity first.
|
4523
|
+
# capacity-optimized
|
4517
4524
|
#
|
4518
|
-
#
|
4525
|
+
# : Requests Spot Instances using pools that are optimally chosen
|
4526
|
+
# based on the available Spot capacity. This strategy has the lowest
|
4527
|
+
# risk of interruption. To give certain instance types a higher
|
4528
|
+
# chance of launching first, use `capacity-optimized-prioritized`.
|
4519
4529
|
#
|
4520
|
-
#
|
4521
|
-
#
|
4530
|
+
# capacity-optimized-prioritized
|
4531
|
+
#
|
4532
|
+
# : You set the order of instance types for the launch template
|
4533
|
+
# overrides from highest to lowest priority (from first to last in
|
4534
|
+
# the list). Amazon EC2 Auto Scaling honors the instance type
|
4535
|
+
# priorities on a best effort basis but optimizes for capacity
|
4536
|
+
# first. Note that if the On-Demand allocation strategy is set to
|
4537
|
+
# `prioritized`, the same priority is applied when fulfilling
|
4538
|
+
# On-Demand capacity. This is not a valid value for Auto Scaling
|
4539
|
+
# groups that specify InstanceRequirements.
|
4540
|
+
#
|
4541
|
+
# lowest-price
|
4542
|
+
#
|
4543
|
+
# : Requests Spot Instances using the lowest priced pools within an
|
4544
|
+
# Availability Zone, across the number of Spot pools that you
|
4545
|
+
# specify for the `SpotInstancePools` property. To ensure that your
|
4546
|
+
# desired capacity is met, you might receive Spot Instances from
|
4547
|
+
# several pools. This is the default value, but it might lead to
|
4548
|
+
# high interruption rates because this strategy only considers
|
4549
|
+
# instance price and not available capacity.
|
4550
|
+
#
|
4551
|
+
# price-capacity-optimized (recommended)
|
4552
|
+
#
|
4553
|
+
# : Amazon EC2 Auto Scaling identifies the pools with the highest
|
4554
|
+
# capacity availability for the number of instances that are
|
4555
|
+
# launching. This means that we will request Spot Instances from the
|
4556
|
+
# pools that we believe have the lowest chance of interruption in
|
4557
|
+
# the near term. Amazon EC2 Auto Scaling then requests Spot
|
4558
|
+
# Instances from the lowest priced of these pools.
|
4522
4559
|
# @return [String]
|
4523
4560
|
#
|
4524
4561
|
# @!attribute [rw] spot_instance_pools
|
4525
4562
|
# The number of Spot Instance pools across which to allocate your Spot
|
4526
4563
|
# Instances. The Spot pools are determined from the different instance
|
4527
|
-
# types in the overrides. Valid only when the
|
4564
|
+
# types in the overrides. Valid only when the `SpotAllocationStrategy`
|
4528
4565
|
# is `lowest-price`. Value must be in the range of 1–20.
|
4529
4566
|
#
|
4530
|
-
# Default:
|
4567
|
+
# Default: 2
|
4531
4568
|
# @return [Integer]
|
4532
4569
|
#
|
4533
4570
|
# @!attribute [rw] spot_max_price
|
@@ -8937,12 +8974,13 @@ module Aws::AutoScaling
|
|
8937
8974
|
# into service and marking it unhealthy due to a failed Elastic Load
|
8938
8975
|
# Balancing or custom health check. This is useful if your instances
|
8939
8976
|
# do not immediately pass these health checks after they enter the
|
8940
|
-
# `InService` state. For more information, see [
|
8941
|
-
# period][1] in the *Amazon EC2 Auto
|
8977
|
+
# `InService` state. For more information, see [Set the health check
|
8978
|
+
# grace period for an Auto Scaling group][1] in the *Amazon EC2 Auto
|
8979
|
+
# Scaling User Guide*.
|
8942
8980
|
#
|
8943
8981
|
#
|
8944
8982
|
#
|
8945
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
8983
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/health-check-grace-period.html
|
8946
8984
|
# @return [Integer]
|
8947
8985
|
#
|
8948
8986
|
# @!attribute [rw] placement_group
|
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.83.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: 2022-11-
|
11
|
+
date: 2022-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|