aws-sdk-autoscaling 1.81.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-autoscaling/auto_scaling_group.rb +12 -6
- data/lib/aws-sdk-autoscaling/client.rb +72 -37
- data/lib/aws-sdk-autoscaling/client_api.rb +11 -0
- data/lib/aws-sdk-autoscaling/launch_configuration.rb +2 -10
- data/lib/aws-sdk-autoscaling/resource.rb +21 -26
- data/lib/aws-sdk-autoscaling/types.rb +359 -159
- 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,16 @@
|
|
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
|
+
|
9
|
+
1.82.0 (2022-11-07)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds support for two new attributes for attribute-based instance type selection - NetworkBandwidthGbps and AllowedInstanceTypes.
|
13
|
+
|
4
14
|
1.81.0 (2022-10-25)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.83.0
|
@@ -1168,6 +1168,11 @@ module Aws::AutoScaling
|
|
1168
1168
|
# min: 1,
|
1169
1169
|
# max: 1,
|
1170
1170
|
# },
|
1171
|
+
# network_bandwidth_gbps: {
|
1172
|
+
# min: 1.0,
|
1173
|
+
# max: 1.0,
|
1174
|
+
# },
|
1175
|
+
# allowed_instance_types: ["AllowedInstanceType"],
|
1171
1176
|
# },
|
1172
1177
|
# },
|
1173
1178
|
# ],
|
@@ -1209,9 +1214,9 @@ module Aws::AutoScaling
|
|
1209
1214
|
# specify `LaunchTemplate` in your update request, you can't specify
|
1210
1215
|
# `LaunchConfigurationName` or `MixedInstancesPolicy`.
|
1211
1216
|
# @option options [Types::MixedInstancesPolicy] :mixed_instances_policy
|
1212
|
-
#
|
1213
|
-
#
|
1214
|
-
#
|
1217
|
+
# The mixed instances policy. For more information, see [Auto Scaling
|
1218
|
+
# groups with multiple instance types and purchase options][1] in the
|
1219
|
+
# *Amazon EC2 Auto Scaling User Guide*.
|
1215
1220
|
#
|
1216
1221
|
#
|
1217
1222
|
#
|
@@ -1259,12 +1264,13 @@ module Aws::AutoScaling
|
|
1259
1264
|
# into service and marking it unhealthy due to a failed Elastic Load
|
1260
1265
|
# Balancing or custom health check. This is useful if your instances do
|
1261
1266
|
# not immediately pass these health checks after they enter the
|
1262
|
-
# `InService` state. For more information, see [
|
1263
|
-
# 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*.
|
1264
1270
|
#
|
1265
1271
|
#
|
1266
1272
|
#
|
1267
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
1273
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/health-check-grace-period.html
|
1268
1274
|
# @option options [String] :placement_group
|
1269
1275
|
# The name of an existing placement group into which to launch your
|
1270
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
|
#
|
@@ -843,11 +850,9 @@ module Aws::AutoScaling
|
|
843
850
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-template.html
|
844
851
|
#
|
845
852
|
# @option params [Types::MixedInstancesPolicy] :mixed_instances_policy
|
846
|
-
#
|
847
|
-
#
|
848
|
-
#
|
849
|
-
# types and purchase options][1] in the *Amazon EC2 Auto Scaling User
|
850
|
-
# Guide*.
|
853
|
+
# The mixed instances policy. For more information, see [Auto Scaling
|
854
|
+
# groups with multiple instance types and purchase options][1] in the
|
855
|
+
# *Amazon EC2 Auto Scaling User Guide*.
|
851
856
|
#
|
852
857
|
#
|
853
858
|
#
|
@@ -947,14 +952,15 @@ module Aws::AutoScaling
|
|
947
952
|
# into service and marking it unhealthy due to a failed Elastic Load
|
948
953
|
# Balancing or custom health check. This is useful if your instances do
|
949
954
|
# not immediately pass these health checks after they enter the
|
950
|
-
# `InService` state. For more information, see [
|
951
|
-
# 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*.
|
952
958
|
#
|
953
959
|
# Default: `0` seconds
|
954
960
|
#
|
955
961
|
#
|
956
962
|
#
|
957
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
963
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/health-check-grace-period.html
|
958
964
|
#
|
959
965
|
# @option params [String] :placement_group
|
960
966
|
# The name of the placement group into which to launch your instances.
|
@@ -1256,6 +1262,11 @@ module Aws::AutoScaling
|
|
1256
1262
|
# min: 1,
|
1257
1263
|
# max: 1,
|
1258
1264
|
# },
|
1265
|
+
# network_bandwidth_gbps: {
|
1266
|
+
# min: 1.0,
|
1267
|
+
# max: 1.0,
|
1268
|
+
# },
|
1269
|
+
# allowed_instance_types: ["AllowedInstanceType"],
|
1259
1270
|
# },
|
1260
1271
|
# },
|
1261
1272
|
# ],
|
@@ -1330,10 +1341,21 @@ module Aws::AutoScaling
|
|
1330
1341
|
# For more information, see [Launch configurations][2] in the *Amazon
|
1331
1342
|
# EC2 Auto Scaling User Guide*.
|
1332
1343
|
#
|
1344
|
+
# <note markdown="1"> Amazon EC2 Auto Scaling configures instances launched as part of an
|
1345
|
+
# Auto Scaling group using either a launch template or a launch
|
1346
|
+
# configuration. We strongly recommend that you do not use launch
|
1347
|
+
# configurations. They do not provide full functionality for Amazon EC2
|
1348
|
+
# Auto Scaling or Amazon EC2. For information about using launch
|
1349
|
+
# templates, see [Launch templates][3] in the *Amazon EC2 Auto Scaling
|
1350
|
+
# User Guide*.
|
1351
|
+
#
|
1352
|
+
# </note>
|
1353
|
+
#
|
1333
1354
|
#
|
1334
1355
|
#
|
1335
1356
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-quotas.html
|
1336
1357
|
# [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/LaunchConfiguration.html
|
1358
|
+
# [3]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-templates.html
|
1337
1359
|
#
|
1338
1360
|
# @option params [required, String] :launch_configuration_name
|
1339
1361
|
# The name of the launch configuration. This name must be unique per
|
@@ -1370,26 +1392,10 @@ module Aws::AutoScaling
|
|
1370
1392
|
# [1]: https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html
|
1371
1393
|
#
|
1372
1394
|
# @option params [String] :classic_link_vpc_id
|
1373
|
-
#
|
1374
|
-
# supported after that date.*
|
1375
|
-
#
|
1376
|
-
# The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances
|
1377
|
-
# to. For more information, see [ClassicLink][1] in the *Amazon EC2 User
|
1378
|
-
# Guide for Linux Instances*.
|
1379
|
-
#
|
1380
|
-
#
|
1381
|
-
#
|
1382
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html
|
1395
|
+
# Available for backward compatibility.
|
1383
1396
|
#
|
1384
1397
|
# @option params [Array<String>] :classic_link_vpc_security_groups
|
1385
|
-
#
|
1386
|
-
# supported after that date.*
|
1387
|
-
#
|
1388
|
-
# The IDs of one or more security groups for the specified
|
1389
|
-
# ClassicLink-enabled VPC.
|
1390
|
-
#
|
1391
|
-
# If you specify the `ClassicLinkVPCId` property, you must specify
|
1392
|
-
# `ClassicLinkVPCSecurityGroups`.
|
1398
|
+
# Available for backward compatibility.
|
1393
1399
|
#
|
1394
1400
|
# @option params [String] :user_data
|
1395
1401
|
# The user data to make available to the launched EC2 instances. For
|
@@ -1720,10 +1726,9 @@ module Aws::AutoScaling
|
|
1720
1726
|
#
|
1721
1727
|
# If the group has instances or scaling activities in progress, you must
|
1722
1728
|
# specify the option to force the deletion in order for it to succeed.
|
1723
|
-
#
|
1724
|
-
#
|
1725
|
-
#
|
1726
|
-
# associated action.
|
1729
|
+
# The force delete operation will also terminate the EC2 instances. If
|
1730
|
+
# the group has a warm pool, the force delete option also deletes the
|
1731
|
+
# warm pool.
|
1727
1732
|
#
|
1728
1733
|
# To remove instances from the Auto Scaling group before deleting it,
|
1729
1734
|
# call the DetachInstances API with the list of instances and the option
|
@@ -1734,6 +1739,17 @@ module Aws::AutoScaling
|
|
1734
1739
|
# call the UpdateAutoScalingGroup API and set the minimum size and
|
1735
1740
|
# desired capacity of the Auto Scaling group to zero.
|
1736
1741
|
#
|
1742
|
+
# If the group has scaling policies, deleting the group deletes the
|
1743
|
+
# policies, the underlying alarm actions, and any alarm that no longer
|
1744
|
+
# has an associated action.
|
1745
|
+
#
|
1746
|
+
# For more information, see [Delete your Auto Scaling infrastructure][1]
|
1747
|
+
# in the *Amazon EC2 Auto Scaling User Guide*.
|
1748
|
+
#
|
1749
|
+
#
|
1750
|
+
#
|
1751
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-process-shutdown.html
|
1752
|
+
#
|
1737
1753
|
# @option params [required, String] :auto_scaling_group_name
|
1738
1754
|
# The name of the Auto Scaling group.
|
1739
1755
|
#
|
@@ -2321,6 +2337,10 @@ module Aws::AutoScaling
|
|
2321
2337
|
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p"
|
2322
2338
|
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
|
2323
2339
|
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
|
2340
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.network_bandwidth_gbps.min #=> Float
|
2341
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.network_bandwidth_gbps.max #=> Float
|
2342
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.allowed_instance_types #=> Array
|
2343
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.allowed_instance_types[0] #=> String
|
2324
2344
|
# resp.auto_scaling_groups[0].mixed_instances_policy.instances_distribution.on_demand_allocation_strategy #=> String
|
2325
2345
|
# resp.auto_scaling_groups[0].mixed_instances_policy.instances_distribution.on_demand_base_capacity #=> Integer
|
2326
2346
|
# resp.auto_scaling_groups[0].mixed_instances_policy.instances_distribution.on_demand_percentage_above_base_capacity #=> Integer
|
@@ -2690,6 +2710,10 @@ module Aws::AutoScaling
|
|
2690
2710
|
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p"
|
2691
2711
|
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
|
2692
2712
|
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
|
2713
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.network_bandwidth_gbps.min #=> Float
|
2714
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.network_bandwidth_gbps.max #=> Float
|
2715
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.allowed_instance_types #=> Array
|
2716
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.allowed_instance_types[0] #=> String
|
2693
2717
|
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.instances_distribution.on_demand_allocation_strategy #=> String
|
2694
2718
|
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.instances_distribution.on_demand_base_capacity #=> Integer
|
2695
2719
|
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.instances_distribution.on_demand_percentage_above_base_capacity #=> Integer
|
@@ -5980,6 +6004,11 @@ module Aws::AutoScaling
|
|
5980
6004
|
# min: 1,
|
5981
6005
|
# max: 1,
|
5982
6006
|
# },
|
6007
|
+
# network_bandwidth_gbps: {
|
6008
|
+
# min: 1.0,
|
6009
|
+
# max: 1.0,
|
6010
|
+
# },
|
6011
|
+
# allowed_instance_types: ["AllowedInstanceType"],
|
5983
6012
|
# },
|
5984
6013
|
# },
|
5985
6014
|
# ],
|
@@ -6228,9 +6257,9 @@ module Aws::AutoScaling
|
|
6228
6257
|
# `LaunchConfigurationName` or `MixedInstancesPolicy`.
|
6229
6258
|
#
|
6230
6259
|
# @option params [Types::MixedInstancesPolicy] :mixed_instances_policy
|
6231
|
-
#
|
6232
|
-
#
|
6233
|
-
#
|
6260
|
+
# The mixed instances policy. For more information, see [Auto Scaling
|
6261
|
+
# groups with multiple instance types and purchase options][1] in the
|
6262
|
+
# *Amazon EC2 Auto Scaling User Guide*.
|
6234
6263
|
#
|
6235
6264
|
#
|
6236
6265
|
#
|
@@ -6285,12 +6314,13 @@ module Aws::AutoScaling
|
|
6285
6314
|
# into service and marking it unhealthy due to a failed Elastic Load
|
6286
6315
|
# Balancing or custom health check. This is useful if your instances do
|
6287
6316
|
# not immediately pass these health checks after they enter the
|
6288
|
-
# `InService` state. For more information, see [
|
6289
|
-
# 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*.
|
6290
6320
|
#
|
6291
6321
|
#
|
6292
6322
|
#
|
6293
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
6323
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/health-check-grace-period.html
|
6294
6324
|
#
|
6295
6325
|
# @option params [String] :placement_group
|
6296
6326
|
# The name of an existing placement group into which to launch your
|
@@ -6502,6 +6532,11 @@ module Aws::AutoScaling
|
|
6502
6532
|
# min: 1,
|
6503
6533
|
# max: 1,
|
6504
6534
|
# },
|
6535
|
+
# network_bandwidth_gbps: {
|
6536
|
+
# min: 1.0,
|
6537
|
+
# max: 1.0,
|
6538
|
+
# },
|
6539
|
+
# allowed_instance_types: ["AllowedInstanceType"],
|
6505
6540
|
# },
|
6506
6541
|
# },
|
6507
6542
|
# ],
|
@@ -6556,7 +6591,7 @@ module Aws::AutoScaling
|
|
6556
6591
|
params: params,
|
6557
6592
|
config: config)
|
6558
6593
|
context[:gem_name] = 'aws-sdk-autoscaling'
|
6559
|
-
context[:gem_version] = '1.
|
6594
|
+
context[:gem_version] = '1.83.0'
|
6560
6595
|
Seahorse::Client::Request.new(handlers, context)
|
6561
6596
|
end
|
6562
6597
|
|
@@ -31,6 +31,8 @@ module Aws::AutoScaling
|
|
31
31
|
AdjustmentTypes = Shapes::ListShape.new(name: 'AdjustmentTypes')
|
32
32
|
Alarm = Shapes::StructureShape.new(name: 'Alarm')
|
33
33
|
Alarms = Shapes::ListShape.new(name: 'Alarms')
|
34
|
+
AllowedInstanceType = Shapes::StringShape.new(name: 'AllowedInstanceType')
|
35
|
+
AllowedInstanceTypes = Shapes::ListShape.new(name: 'AllowedInstanceTypes')
|
34
36
|
AlreadyExistsFault = Shapes::StructureShape.new(name: 'AlreadyExistsFault')
|
35
37
|
AsciiStringMaxLen255 = Shapes::StringShape.new(name: 'AsciiStringMaxLen255')
|
36
38
|
AssociatePublicIpAddress = Shapes::BooleanShape.new(name: 'AssociatePublicIpAddress')
|
@@ -239,6 +241,7 @@ module Aws::AutoScaling
|
|
239
241
|
MixedInstanceSpotPrice = Shapes::StringShape.new(name: 'MixedInstanceSpotPrice')
|
240
242
|
MixedInstancesPolicy = Shapes::StructureShape.new(name: 'MixedInstancesPolicy')
|
241
243
|
MonitoringEnabled = Shapes::BooleanShape.new(name: 'MonitoringEnabled')
|
244
|
+
NetworkBandwidthGbpsRequest = Shapes::StructureShape.new(name: 'NetworkBandwidthGbpsRequest')
|
242
245
|
NetworkInterfaceCountRequest = Shapes::StructureShape.new(name: 'NetworkInterfaceCountRequest')
|
243
246
|
NoDevice = Shapes::BooleanShape.new(name: 'NoDevice')
|
244
247
|
NonZeroIntPercent = Shapes::IntegerShape.new(name: 'NonZeroIntPercent')
|
@@ -417,6 +420,8 @@ module Aws::AutoScaling
|
|
417
420
|
|
418
421
|
Alarms.member = Shapes::ShapeRef.new(shape: Alarm)
|
419
422
|
|
423
|
+
AllowedInstanceTypes.member = Shapes::ShapeRef.new(shape: AllowedInstanceType)
|
424
|
+
|
420
425
|
AlreadyExistsFault.add_member(:message, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "message"))
|
421
426
|
AlreadyExistsFault.struct_class = Types::AlreadyExistsFault
|
422
427
|
|
@@ -928,6 +933,8 @@ module Aws::AutoScaling
|
|
928
933
|
InstanceRequirements.add_member(:accelerator_manufacturers, Shapes::ShapeRef.new(shape: AcceleratorManufacturers, location_name: "AcceleratorManufacturers"))
|
929
934
|
InstanceRequirements.add_member(:accelerator_names, Shapes::ShapeRef.new(shape: AcceleratorNames, location_name: "AcceleratorNames"))
|
930
935
|
InstanceRequirements.add_member(:accelerator_total_memory_mi_b, Shapes::ShapeRef.new(shape: AcceleratorTotalMemoryMiBRequest, location_name: "AcceleratorTotalMemoryMiB"))
|
936
|
+
InstanceRequirements.add_member(:network_bandwidth_gbps, Shapes::ShapeRef.new(shape: NetworkBandwidthGbpsRequest, location_name: "NetworkBandwidthGbps"))
|
937
|
+
InstanceRequirements.add_member(:allowed_instance_types, Shapes::ShapeRef.new(shape: AllowedInstanceTypes, location_name: "AllowedInstanceTypes"))
|
931
938
|
InstanceRequirements.struct_class = Types::InstanceRequirements
|
932
939
|
|
933
940
|
InstanceReusePolicy.add_member(:reuse_on_scale_in, Shapes::ShapeRef.new(shape: ReuseOnScaleIn, location_name: "ReuseOnScaleIn"))
|
@@ -1100,6 +1107,10 @@ module Aws::AutoScaling
|
|
1100
1107
|
MixedInstancesPolicy.add_member(:instances_distribution, Shapes::ShapeRef.new(shape: InstancesDistribution, location_name: "InstancesDistribution"))
|
1101
1108
|
MixedInstancesPolicy.struct_class = Types::MixedInstancesPolicy
|
1102
1109
|
|
1110
|
+
NetworkBandwidthGbpsRequest.add_member(:min, Shapes::ShapeRef.new(shape: NullablePositiveDouble, location_name: "Min"))
|
1111
|
+
NetworkBandwidthGbpsRequest.add_member(:max, Shapes::ShapeRef.new(shape: NullablePositiveDouble, location_name: "Max"))
|
1112
|
+
NetworkBandwidthGbpsRequest.struct_class = Types::NetworkBandwidthGbpsRequest
|
1113
|
+
|
1103
1114
|
NetworkInterfaceCountRequest.add_member(:min, Shapes::ShapeRef.new(shape: NullablePositiveInteger, location_name: "Min"))
|
1104
1115
|
NetworkInterfaceCountRequest.add_member(:max, Shapes::ShapeRef.new(shape: NullablePositiveInteger, location_name: "Max"))
|
1105
1116
|
NetworkInterfaceCountRequest.struct_class = Types::NetworkInterfaceCountRequest
|
@@ -78,21 +78,13 @@ module Aws::AutoScaling
|
|
78
78
|
data[:security_groups]
|
79
79
|
end
|
80
80
|
|
81
|
-
#
|
82
|
-
# supported after that date.*
|
83
|
-
#
|
84
|
-
# The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances
|
85
|
-
# to.
|
81
|
+
# Available for backward compatibility.
|
86
82
|
# @return [String]
|
87
83
|
def classic_link_vpc_id
|
88
84
|
data[:classic_link_vpc_id]
|
89
85
|
end
|
90
86
|
|
91
|
-
#
|
92
|
-
# supported after that date.*
|
93
|
-
#
|
94
|
-
# The IDs of one or more security groups for the VPC specified in
|
95
|
-
# `ClassicLinkVPCId`.
|
87
|
+
# Available for backward compatibility.
|
96
88
|
# @return [Array<String>]
|
97
89
|
def classic_link_vpc_security_groups
|
98
90
|
data[:classic_link_vpc_security_groups]
|
@@ -107,6 +107,11 @@ module Aws::AutoScaling
|
|
107
107
|
# min: 1,
|
108
108
|
# max: 1,
|
109
109
|
# },
|
110
|
+
# network_bandwidth_gbps: {
|
111
|
+
# min: 1.0,
|
112
|
+
# max: 1.0,
|
113
|
+
# },
|
114
|
+
# allowed_instance_types: ["AllowedInstanceType"],
|
110
115
|
# },
|
111
116
|
# },
|
112
117
|
# ],
|
@@ -165,6 +170,13 @@ module Aws::AutoScaling
|
|
165
170
|
# @option options [required, String] :auto_scaling_group_name
|
166
171
|
# The name of the Auto Scaling group. This name must be unique per
|
167
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>
|
168
180
|
# @option options [String] :launch_configuration_name
|
169
181
|
# The name of the launch configuration to use to launch instances.
|
170
182
|
#
|
@@ -190,11 +202,9 @@ module Aws::AutoScaling
|
|
190
202
|
#
|
191
203
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-template.html
|
192
204
|
# @option options [Types::MixedInstancesPolicy] :mixed_instances_policy
|
193
|
-
#
|
194
|
-
#
|
195
|
-
#
|
196
|
-
# types and purchase options][1] in the *Amazon EC2 Auto Scaling User
|
197
|
-
# Guide*.
|
205
|
+
# The mixed instances policy. For more information, see [Auto Scaling
|
206
|
+
# groups with multiple instance types and purchase options][1] in the
|
207
|
+
# *Amazon EC2 Auto Scaling User Guide*.
|
198
208
|
#
|
199
209
|
#
|
200
210
|
#
|
@@ -284,14 +294,15 @@ module Aws::AutoScaling
|
|
284
294
|
# into service and marking it unhealthy due to a failed Elastic Load
|
285
295
|
# Balancing or custom health check. This is useful if your instances do
|
286
296
|
# not immediately pass these health checks after they enter the
|
287
|
-
# `InService` state. For more information, see [
|
288
|
-
# 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*.
|
289
300
|
#
|
290
301
|
# Default: `0` seconds
|
291
302
|
#
|
292
303
|
#
|
293
304
|
#
|
294
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
305
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/health-check-grace-period.html
|
295
306
|
# @option options [String] :placement_group
|
296
307
|
# The name of the placement group into which to launch your instances.
|
297
308
|
# For more information, see [Placement groups][1] in the *Amazon EC2
|
@@ -513,25 +524,9 @@ module Aws::AutoScaling
|
|
513
524
|
#
|
514
525
|
# [1]: https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html
|
515
526
|
# @option options [String] :classic_link_vpc_id
|
516
|
-
#
|
517
|
-
# supported after that date.*
|
518
|
-
#
|
519
|
-
# The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances
|
520
|
-
# to. For more information, see [ClassicLink][1] in the *Amazon EC2 User
|
521
|
-
# Guide for Linux Instances*.
|
522
|
-
#
|
523
|
-
#
|
524
|
-
#
|
525
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html
|
527
|
+
# Available for backward compatibility.
|
526
528
|
# @option options [Array<String>] :classic_link_vpc_security_groups
|
527
|
-
#
|
528
|
-
# supported after that date.*
|
529
|
-
#
|
530
|
-
# The IDs of one or more security groups for the specified
|
531
|
-
# ClassicLink-enabled VPC.
|
532
|
-
#
|
533
|
-
# If you specify the `ClassicLinkVPCId` property, you must specify
|
534
|
-
# `ClassicLinkVPCSecurityGroups`.
|
529
|
+
# Available for backward compatibility.
|
535
530
|
# @option options [String] :user_data
|
536
531
|
# The user data to make available to the launched EC2 instances. For
|
537
532
|
# more information, see [Instance metadata and user data][1] (Linux) and
|