aws-sdk-autoscaling 1.109.0 → 1.111.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 +19 -18
- data/lib/aws-sdk-autoscaling/client.rb +95 -99
- data/lib/aws-sdk-autoscaling/client_api.rb +3 -1
- data/lib/aws-sdk-autoscaling/instance.rb +6 -6
- data/lib/aws-sdk-autoscaling/launch_configuration.rb +18 -24
- data/lib/aws-sdk-autoscaling/resource.rb +32 -36
- data/lib/aws-sdk-autoscaling/scaling_policy.rb +1 -1
- data/lib/aws-sdk-autoscaling/types.rb +122 -125
- data/lib/aws-sdk-autoscaling.rb +1 -1
- metadata +4 -4
@@ -595,7 +595,7 @@ module Aws::AutoScaling
|
|
595
595
|
#
|
596
596
|
# @!attribute [rw] lifecycle_state
|
597
597
|
# The lifecycle state for the instance. The `Quarantined` state is not
|
598
|
-
# used. For information
|
598
|
+
# used. For more information, see [Amazon EC2 Auto Scaling instance
|
599
599
|
# lifecycle][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
600
600
|
#
|
601
601
|
# Valid values: `Pending` \| `Pending:Wait` \| `Pending:Proceed` \|
|
@@ -609,7 +609,7 @@ module Aws::AutoScaling
|
|
609
609
|
#
|
610
610
|
#
|
611
611
|
#
|
612
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
612
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-lifecycle.html
|
613
613
|
# @return [String]
|
614
614
|
#
|
615
615
|
# @!attribute [rw] health_status
|
@@ -927,7 +927,7 @@ module Aws::AutoScaling
|
|
927
927
|
# configuration (`LaunchConfigurationName` or `InstanceId`).
|
928
928
|
#
|
929
929
|
# <note markdown="1"> The launch template that is specified must be configured for use
|
930
|
-
# with an Auto Scaling group. For more information, see [
|
930
|
+
# with an Auto Scaling group. For more information, see [Create a
|
931
931
|
# launch template for an Auto Scaling group][1] in the *Amazon EC2
|
932
932
|
# Auto Scaling User Guide*.
|
933
933
|
#
|
@@ -953,9 +953,9 @@ module Aws::AutoScaling
|
|
953
953
|
# specified, Amazon EC2 Auto Scaling uses the configuration values
|
954
954
|
# from the specified instance to create a new launch configuration. To
|
955
955
|
# get the instance ID, use the Amazon EC2 [DescribeInstances][1] API
|
956
|
-
# operation. For more information, see [
|
957
|
-
# using an
|
958
|
-
# Guide*.
|
956
|
+
# operation. For more information, see [Create an Auto Scaling group
|
957
|
+
# using parameters from an existing instance][2] in the *Amazon EC2
|
958
|
+
# Auto Scaling User Guide*.
|
959
959
|
#
|
960
960
|
#
|
961
961
|
#
|
@@ -1002,7 +1002,7 @@ module Aws::AutoScaling
|
|
1002
1002
|
#
|
1003
1003
|
#
|
1004
1004
|
#
|
1005
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
1005
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-cooldowns.html
|
1006
1006
|
# @return [Integer]
|
1007
1007
|
#
|
1008
1008
|
# @!attribute [rw] availability_zones
|
@@ -1039,15 +1039,15 @@ module Aws::AutoScaling
|
|
1039
1039
|
#
|
1040
1040
|
# The valid values are `EC2`, `ELB`, and `VPC_LATTICE`. `EC2` is the
|
1041
1041
|
# default health check and cannot be disabled. For more information,
|
1042
|
-
# see [Health checks for Auto Scaling
|
1043
|
-
# Auto Scaling User Guide*.
|
1042
|
+
# see [Health checks for instances in an Auto Scaling group][1] in the
|
1043
|
+
# *Amazon EC2 Auto Scaling User Guide*.
|
1044
1044
|
#
|
1045
1045
|
# Only specify `EC2` if you must clear a value that was previously
|
1046
1046
|
# set.
|
1047
1047
|
#
|
1048
1048
|
#
|
1049
1049
|
#
|
1050
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
1050
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-health-checks.html
|
1051
1051
|
# @return [String]
|
1052
1052
|
#
|
1053
1053
|
# @!attribute [rw] health_check_grace_period
|
@@ -1092,8 +1092,8 @@ module Aws::AutoScaling
|
|
1092
1092
|
# @!attribute [rw] termination_policies
|
1093
1093
|
# A policy or a list of policies that are used to select the instance
|
1094
1094
|
# to terminate. These policies are executed in the order that you list
|
1095
|
-
# them. For more information, see [
|
1096
|
-
#
|
1095
|
+
# them. For more information, see [Configure termination policies for
|
1096
|
+
# Amazon EC2 Auto Scaling][1] in the *Amazon EC2 Auto Scaling User
|
1097
1097
|
# Guide*.
|
1098
1098
|
#
|
1099
1099
|
# Valid values: `Default` \| `AllocationStrategy` \|
|
@@ -1110,7 +1110,7 @@ module Aws::AutoScaling
|
|
1110
1110
|
# Indicates whether newly launched instances are protected from
|
1111
1111
|
# termination by Amazon EC2 Auto Scaling when scaling in. For more
|
1112
1112
|
# information about preventing instances from terminating on scale in,
|
1113
|
-
# see [
|
1113
|
+
# see [Use instance scale-in protection][1] in the *Amazon EC2 Auto
|
1114
1114
|
# Scaling User Guide*.
|
1115
1115
|
#
|
1116
1116
|
#
|
@@ -1172,7 +1172,7 @@ module Aws::AutoScaling
|
|
1172
1172
|
# The maximum amount of time, in seconds, that an instance can be in
|
1173
1173
|
# service. The default is null. If specified, the value must be either
|
1174
1174
|
# 0 or a number equal to or greater than 86,400 seconds (1 day). For
|
1175
|
-
# more information, see [
|
1175
|
+
# more information, see [Replace Auto Scaling instances based on
|
1176
1176
|
# maximum instance lifetime][1] in the *Amazon EC2 Auto Scaling User
|
1177
1177
|
# Guide*.
|
1178
1178
|
#
|
@@ -1189,7 +1189,7 @@ module Aws::AutoScaling
|
|
1189
1189
|
# The unit of measurement for the value specified for desired
|
1190
1190
|
# capacity. Amazon EC2 Auto Scaling supports `DesiredCapacityType` for
|
1191
1191
|
# attribute-based instance type selection only. For more information,
|
1192
|
-
# see [
|
1192
|
+
# see [Create a mixed instances group using attribute-based instance
|
1193
1193
|
# type selection][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
1194
1194
|
#
|
1195
1195
|
# By default, Amazon EC2 Auto Scaling specifies `units`, which
|
@@ -1199,7 +1199,7 @@ module Aws::AutoScaling
|
|
1199
1199
|
#
|
1200
1200
|
#
|
1201
1201
|
#
|
1202
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-
|
1202
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-mixed-instances-group-attribute-based-instance-type-selection.html
|
1203
1203
|
# @return [String]
|
1204
1204
|
#
|
1205
1205
|
# @!attribute [rw] default_instance_warmup
|
@@ -1289,8 +1289,8 @@ module Aws::AutoScaling
|
|
1289
1289
|
#
|
1290
1290
|
# @!attribute [rw] image_id
|
1291
1291
|
# The ID of the Amazon Machine Image (AMI) that was assigned during
|
1292
|
-
# registration. For more information, see [
|
1293
|
-
#
|
1292
|
+
# registration. For more information, see [Find a Linux AMI][1] in the
|
1293
|
+
# *Amazon EC2 User Guide for Linux Instances*.
|
1294
1294
|
#
|
1295
1295
|
# If you specify `InstanceId`, an `ImageId` is not required.
|
1296
1296
|
#
|
@@ -1301,7 +1301,7 @@ module Aws::AutoScaling
|
|
1301
1301
|
#
|
1302
1302
|
# @!attribute [rw] key_name
|
1303
1303
|
# The name of the key pair. For more information, see [Amazon EC2 key
|
1304
|
-
# pairs and
|
1304
|
+
# pairs and Amazon EC2 instances][1] in the *Amazon EC2 User Guide for
|
1305
1305
|
# Linux Instances*.
|
1306
1306
|
#
|
1307
1307
|
#
|
@@ -1312,12 +1312,13 @@ module Aws::AutoScaling
|
|
1312
1312
|
# @!attribute [rw] security_groups
|
1313
1313
|
# A list that contains the security group IDs to assign to the
|
1314
1314
|
# instances in the Auto Scaling group. For more information, see
|
1315
|
-
# [Control traffic to
|
1316
|
-
# *Amazon Virtual Private Cloud User
|
1315
|
+
# [Control traffic to your Amazon Web Services resources using
|
1316
|
+
# security groups][1] in the *Amazon Virtual Private Cloud User
|
1317
|
+
# Guide*.
|
1317
1318
|
#
|
1318
1319
|
#
|
1319
1320
|
#
|
1320
|
-
# [1]: https://docs.aws.amazon.com/
|
1321
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-security-groups.html
|
1321
1322
|
# @return [Array<String>]
|
1322
1323
|
#
|
1323
1324
|
# @!attribute [rw] classic_link_vpc_id
|
@@ -1351,12 +1352,12 @@ module Aws::AutoScaling
|
|
1351
1352
|
# override any other instance attributes, specify them as part of the
|
1352
1353
|
# same request.
|
1353
1354
|
#
|
1354
|
-
# For more information, see [
|
1355
|
-
#
|
1355
|
+
# For more information, see [Create a launch configuration][1] in the
|
1356
|
+
# *Amazon EC2 Auto Scaling User Guide*.
|
1356
1357
|
#
|
1357
1358
|
#
|
1358
1359
|
#
|
1359
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-
|
1360
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html
|
1360
1361
|
# @return [String]
|
1361
1362
|
#
|
1362
1363
|
# @!attribute [rw] instance_type
|
@@ -1420,8 +1421,8 @@ module Aws::AutoScaling
|
|
1420
1421
|
# When detailed monitoring is enabled, Amazon CloudWatch generates
|
1421
1422
|
# metrics every minute and your account is charged a fee. When you
|
1422
1423
|
# disable detailed monitoring, CloudWatch generates metrics every 5
|
1423
|
-
# minutes. For more information, see [Configure
|
1424
|
-
# Scaling
|
1424
|
+
# minutes. For more information, see [Configure monitoring for Auto
|
1425
|
+
# Scaling instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
1425
1426
|
#
|
1426
1427
|
#
|
1427
1428
|
#
|
@@ -1476,7 +1477,7 @@ module Aws::AutoScaling
|
|
1476
1477
|
#
|
1477
1478
|
#
|
1478
1479
|
#
|
1479
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
1480
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html
|
1480
1481
|
# @return [Boolean]
|
1481
1482
|
#
|
1482
1483
|
# @!attribute [rw] associate_public_ip_address
|
@@ -1490,8 +1491,8 @@ module Aws::AutoScaling
|
|
1490
1491
|
#
|
1491
1492
|
# If you specify `true`, each instance in the Auto Scaling group
|
1492
1493
|
# receives a unique public IPv4 address. For more information, see
|
1493
|
-
# [
|
1494
|
-
# Auto Scaling User Guide*.
|
1494
|
+
# [Provide network connectivity for your Auto Scaling instances using
|
1495
|
+
# Amazon VPC][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
1495
1496
|
#
|
1496
1497
|
# If you specify this property, you must specify at least one subnet
|
1497
1498
|
# for `VPCZoneIdentifier` when you create your group.
|
@@ -1507,24 +1508,18 @@ module Aws::AutoScaling
|
|
1507
1508
|
# hardware and can only be launched into a VPC. To launch dedicated
|
1508
1509
|
# instances into a shared tenancy VPC (a VPC with the instance
|
1509
1510
|
# placement tenancy attribute set to `default`), you must set the
|
1510
|
-
# value of this property to `dedicated`.
|
1511
|
-
# [Configuring instance tenancy with Amazon EC2 Auto Scaling][1] in
|
1512
|
-
# the *Amazon EC2 Auto Scaling User Guide*.
|
1511
|
+
# value of this property to `dedicated`.
|
1513
1512
|
#
|
1514
1513
|
# If you specify `PlacementTenancy`, you must specify at least one
|
1515
1514
|
# subnet for `VPCZoneIdentifier` when you create your group.
|
1516
1515
|
#
|
1517
1516
|
# Valid values: `default` \| `dedicated`
|
1518
|
-
#
|
1519
|
-
#
|
1520
|
-
#
|
1521
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-dedicated-instances.html
|
1522
1517
|
# @return [String]
|
1523
1518
|
#
|
1524
1519
|
# @!attribute [rw] metadata_options
|
1525
1520
|
# The metadata options for the instances. For more information, see
|
1526
|
-
# [
|
1527
|
-
#
|
1521
|
+
# [Configure the instance metadata options][1] in the *Amazon EC2 Auto
|
1522
|
+
# Scaling User Guide*.
|
1528
1523
|
#
|
1529
1524
|
#
|
1530
1525
|
#
|
@@ -2399,7 +2394,7 @@ module Aws::AutoScaling
|
|
2399
2394
|
#
|
2400
2395
|
#
|
2401
2396
|
#
|
2402
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
2397
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-templates.html
|
2403
2398
|
# @return [Types::LaunchTemplateSpecification]
|
2404
2399
|
#
|
2405
2400
|
# @!attribute [rw] mixed_instances_policy
|
@@ -2579,12 +2574,12 @@ module Aws::AutoScaling
|
|
2579
2574
|
#
|
2580
2575
|
# If you omit this property, all metrics are disabled.
|
2581
2576
|
#
|
2582
|
-
# For more information, see [
|
2583
|
-
# *Amazon EC2 Auto Scaling User Guide*.
|
2577
|
+
# For more information, see [Amazon CloudWatch metrics for Amazon EC2
|
2578
|
+
# Auto Scaling][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
2584
2579
|
#
|
2585
2580
|
#
|
2586
2581
|
#
|
2587
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-
|
2582
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-metrics.html
|
2588
2583
|
# @return [Array<String>]
|
2589
2584
|
#
|
2590
2585
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DisableMetricsCollectionQuery AWS API Documentation
|
@@ -2624,14 +2619,14 @@ module Aws::AutoScaling
|
|
2624
2619
|
#
|
2625
2620
|
# @!attribute [rw] volume_type
|
2626
2621
|
# The volume type. For more information, see [Amazon EBS volume
|
2627
|
-
# types][1] in the *Amazon
|
2622
|
+
# types][1] in the *Amazon EBS User Guide*.
|
2628
2623
|
#
|
2629
2624
|
# Valid values: `standard` \| `io1` \| `gp2` \| `st1` \| `sc1` \|
|
2630
2625
|
# `gp3`
|
2631
2626
|
#
|
2632
2627
|
#
|
2633
2628
|
#
|
2634
|
-
# [1]: https://docs.aws.amazon.com/
|
2629
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html
|
2635
2630
|
# @return [String]
|
2636
2631
|
#
|
2637
2632
|
# @!attribute [rw] delete_on_termination
|
@@ -2654,8 +2649,8 @@ module Aws::AutoScaling
|
|
2654
2649
|
# * `io1`: 100-64,000 IOPS
|
2655
2650
|
#
|
2656
2651
|
# For `io1` volumes, we guarantee 64,000 IOPS only for [Instances
|
2657
|
-
# built on the Nitro System][1]. Other instance
|
2658
|
-
# performance up to 32,000 IOPS.
|
2652
|
+
# built on the Amazon Web Services Nitro System][1]. Other instance
|
2653
|
+
# families guarantee performance up to 32,000 IOPS.
|
2659
2654
|
#
|
2660
2655
|
# `Iops` is supported when the volume type is `gp3` or `io1` and
|
2661
2656
|
# required only when the volume type is `io1`. (Not used with
|
@@ -2663,15 +2658,16 @@ module Aws::AutoScaling
|
|
2663
2658
|
#
|
2664
2659
|
#
|
2665
2660
|
#
|
2666
|
-
# [1]: https://docs.aws.amazon.com/
|
2661
|
+
# [1]: https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html
|
2667
2662
|
# @return [Integer]
|
2668
2663
|
#
|
2669
2664
|
# @!attribute [rw] encrypted
|
2670
2665
|
# Specifies whether the volume should be encrypted. Encrypted EBS
|
2671
2666
|
# volumes can only be attached to instances that support Amazon EBS
|
2672
|
-
# encryption. For more information, see [
|
2673
|
-
#
|
2674
|
-
# supported instance
|
2667
|
+
# encryption. For more information, see [Requirements for Amazon EBS
|
2668
|
+
# encryption][1] in the *Amazon EBS User Guide*. If your AMI uses
|
2669
|
+
# encrypted volumes, you can also only launch it on supported instance
|
2670
|
+
# types.
|
2675
2671
|
#
|
2676
2672
|
# <note markdown="1"> If you are creating a volume from a snapshot, you cannot create an
|
2677
2673
|
# unencrypted volume from an encrypted snapshot. Also, you cannot
|
@@ -2690,7 +2686,7 @@ module Aws::AutoScaling
|
|
2690
2686
|
#
|
2691
2687
|
#
|
2692
2688
|
#
|
2693
|
-
# [1]: https://docs.aws.amazon.com/
|
2689
|
+
# [1]: https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption-requirements.html
|
2694
2690
|
# [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-data-protection.html#encryption
|
2695
2691
|
# @return [Boolean]
|
2696
2692
|
#
|
@@ -2764,12 +2760,12 @@ module Aws::AutoScaling
|
|
2764
2760
|
# If you specify `Granularity` and don't specify any metrics, all
|
2765
2761
|
# metrics are enabled.
|
2766
2762
|
#
|
2767
|
-
# For more information, see [
|
2768
|
-
# *Amazon EC2 Auto Scaling User Guide*.
|
2763
|
+
# For more information, see [Amazon CloudWatch metrics for Amazon EC2
|
2764
|
+
# Auto Scaling][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
2769
2765
|
#
|
2770
2766
|
#
|
2771
2767
|
#
|
2772
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-
|
2768
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-metrics.html
|
2773
2769
|
# @return [Array<String>]
|
2774
2770
|
#
|
2775
2771
|
# @!attribute [rw] granularity
|
@@ -2832,12 +2828,12 @@ module Aws::AutoScaling
|
|
2832
2828
|
#
|
2833
2829
|
# * `GroupAndWarmPoolTotalCapacity`
|
2834
2830
|
#
|
2835
|
-
# For more information, see [
|
2836
|
-
# *Amazon EC2 Auto Scaling User Guide*.
|
2831
|
+
# For more information, see [Amazon CloudWatch metrics for Amazon EC2
|
2832
|
+
# Auto Scaling][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
2837
2833
|
#
|
2838
2834
|
#
|
2839
2835
|
#
|
2840
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-
|
2836
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-metrics.html
|
2841
2837
|
# @return [String]
|
2842
2838
|
#
|
2843
2839
|
# @!attribute [rw] granularity
|
@@ -2906,7 +2902,7 @@ module Aws::AutoScaling
|
|
2906
2902
|
#
|
2907
2903
|
#
|
2908
2904
|
#
|
2909
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
2905
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-cooldowns.html
|
2910
2906
|
# @return [Boolean]
|
2911
2907
|
#
|
2912
2908
|
# @!attribute [rw] metric_value
|
@@ -3147,12 +3143,13 @@ module Aws::AutoScaling
|
|
3147
3143
|
#
|
3148
3144
|
# @!attribute [rw] lifecycle_state
|
3149
3145
|
# A description of the current lifecycle state. The `Quarantined`
|
3150
|
-
# state is not used. For information
|
3151
|
-
#
|
3146
|
+
# state is not used. For more information, see [Amazon EC2 Auto
|
3147
|
+
# Scaling instance lifecycle][1] in the *Amazon EC2 Auto Scaling User
|
3148
|
+
# Guide*.
|
3152
3149
|
#
|
3153
3150
|
#
|
3154
3151
|
#
|
3155
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
3152
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-lifecycle.html
|
3156
3153
|
# @return [String]
|
3157
3154
|
#
|
3158
3155
|
# @!attribute [rw] health_status
|
@@ -3240,7 +3237,7 @@ module Aws::AutoScaling
|
|
3240
3237
|
end
|
3241
3238
|
|
3242
3239
|
# The metadata options for the instances. For more information, see
|
3243
|
-
# [
|
3240
|
+
# [Configure the instance metadata options][1] in the *Amazon EC2 Auto
|
3244
3241
|
# Scaling User Guide*.
|
3245
3242
|
#
|
3246
3243
|
#
|
@@ -3531,7 +3528,7 @@ module Aws::AutoScaling
|
|
3531
3528
|
#
|
3532
3529
|
# </note>
|
3533
3530
|
#
|
3534
|
-
# For more information, see [
|
3531
|
+
# For more information, see [Create a mixed instances group using
|
3535
3532
|
# attribute-based instance type selection][1] in the *Amazon EC2 Auto
|
3536
3533
|
# Scaling User Guide*. For help determining which instance types match
|
3537
3534
|
# your attributes before you apply them to your Auto Scaling group, see
|
@@ -3540,7 +3537,7 @@ module Aws::AutoScaling
|
|
3540
3537
|
#
|
3541
3538
|
#
|
3542
3539
|
#
|
3543
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-
|
3540
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-mixed-instances-group-attribute-based-instance-type-selection.html
|
3544
3541
|
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html#ec2fleet-get-instance-types-from-instance-requirements
|
3545
3542
|
#
|
3546
3543
|
# @!attribute [rw] v_cpu_count
|
@@ -4123,8 +4120,8 @@ module Aws::AutoScaling
|
|
4123
4120
|
# @!attribute [rw] key_name
|
4124
4121
|
# The name of the key pair.
|
4125
4122
|
#
|
4126
|
-
# For more information, see [Amazon EC2
|
4127
|
-
# EC2 User Guide for Linux Instances*.
|
4123
|
+
# For more information, see [Amazon EC2 key pairs and Amazon EC2
|
4124
|
+
# instances][1] in the *Amazon EC2 User Guide for Linux Instances*.
|
4128
4125
|
#
|
4129
4126
|
#
|
4130
4127
|
#
|
@@ -4133,13 +4130,13 @@ module Aws::AutoScaling
|
|
4133
4130
|
#
|
4134
4131
|
# @!attribute [rw] security_groups
|
4135
4132
|
# A list that contains the security groups to assign to the instances
|
4136
|
-
# in the Auto Scaling group. For more information, see [
|
4137
|
-
#
|
4138
|
-
# Guide*.
|
4133
|
+
# in the Auto Scaling group. For more information, see [Control
|
4134
|
+
# traffic to your Amazon Web Services resources using security
|
4135
|
+
# groups][1] in the *Amazon Virtual Private Cloud User Guide*.
|
4139
4136
|
#
|
4140
4137
|
#
|
4141
4138
|
#
|
4142
|
-
# [1]: https://docs.aws.amazon.com/
|
4139
|
+
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-security-groups.html
|
4143
4140
|
# @return [Array<String>]
|
4144
4141
|
#
|
4145
4142
|
# @!attribute [rw] classic_link_vpc_id
|
@@ -4186,7 +4183,7 @@ module Aws::AutoScaling
|
|
4186
4183
|
# The block device mapping entries that define the block devices to
|
4187
4184
|
# attach to the instances at launch. By default, the block devices
|
4188
4185
|
# specified in the block device mapping for the AMI are used. For more
|
4189
|
-
# information, see [Block
|
4186
|
+
# information, see [Block device mappings][1] in the *Amazon EC2 User
|
4190
4187
|
# Guide for Linux Instances*.
|
4191
4188
|
#
|
4192
4189
|
#
|
@@ -4198,8 +4195,8 @@ module Aws::AutoScaling
|
|
4198
4195
|
# Controls whether instances in this group are launched with detailed
|
4199
4196
|
# (`true`) or basic (`false`) monitoring.
|
4200
4197
|
#
|
4201
|
-
# For more information, see [Configure
|
4202
|
-
#
|
4198
|
+
# For more information, see [Configure monitoring for Auto Scaling
|
4199
|
+
# instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
4203
4200
|
#
|
4204
4201
|
#
|
4205
4202
|
#
|
@@ -4210,12 +4207,12 @@ module Aws::AutoScaling
|
|
4210
4207
|
# The maximum hourly price to be paid for any Spot Instance launched
|
4211
4208
|
# to fulfill the request. Spot Instances are launched when the price
|
4212
4209
|
# you specify exceeds the current Spot price. For more information,
|
4213
|
-
# see [Requesting Spot Instances
|
4214
|
-
# User Guide*.
|
4210
|
+
# see [Requesting Spot Instances for fault-tolerant and flexible
|
4211
|
+
# applications][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
4215
4212
|
#
|
4216
4213
|
#
|
4217
4214
|
#
|
4218
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
4215
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-template-spot-instances.html
|
4219
4216
|
# @return [String]
|
4220
4217
|
#
|
4221
4218
|
# @!attribute [rw] iam_instance_profile
|
@@ -4237,12 +4234,12 @@ module Aws::AutoScaling
|
|
4237
4234
|
# @!attribute [rw] ebs_optimized
|
4238
4235
|
# Specifies whether the launch configuration is optimized for EBS I/O
|
4239
4236
|
# (`true`) or not (`false`). For more information, see [Amazon
|
4240
|
-
# EBS-
|
4237
|
+
# EBS-optimized instances][1] in the *Amazon EC2 User Guide for Linux
|
4241
4238
|
# Instances*.
|
4242
4239
|
#
|
4243
4240
|
#
|
4244
4241
|
#
|
4245
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
4242
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html
|
4246
4243
|
# @return [Boolean]
|
4247
4244
|
#
|
4248
4245
|
# @!attribute [rw] associate_public_ip_address
|
@@ -4253,8 +4250,8 @@ module Aws::AutoScaling
|
|
4253
4250
|
# instance is launched into a nondefault subnet, the default is not to
|
4254
4251
|
# assign a public IPv4 address, unless you enabled the option to
|
4255
4252
|
# assign a public IPv4 address on the subnet. For more information,
|
4256
|
-
# see [
|
4257
|
-
# EC2 Auto Scaling User Guide*.
|
4253
|
+
# see [Provide network connectivity for your Auto Scaling instances
|
4254
|
+
# using Amazon VPC][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
4258
4255
|
#
|
4259
4256
|
#
|
4260
4257
|
#
|
@@ -4265,19 +4262,12 @@ module Aws::AutoScaling
|
|
4265
4262
|
# The tenancy of the instance, either `default` or `dedicated`. An
|
4266
4263
|
# instance with `dedicated` tenancy runs on isolated, single-tenant
|
4267
4264
|
# hardware and can only be launched into a VPC.
|
4268
|
-
#
|
4269
|
-
# For more information, see [Configuring instance tenancy with Amazon
|
4270
|
-
# EC2 Auto Scaling][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
4271
|
-
#
|
4272
|
-
#
|
4273
|
-
#
|
4274
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-dedicated-instances.html
|
4275
4265
|
# @return [String]
|
4276
4266
|
#
|
4277
4267
|
# @!attribute [rw] metadata_options
|
4278
4268
|
# The metadata options for the instances. For more information, see
|
4279
|
-
# [
|
4280
|
-
#
|
4269
|
+
# [Configure the instance metadata options][1] in the *Amazon EC2 Auto
|
4270
|
+
# Scaling User Guide*.
|
4281
4271
|
#
|
4282
4272
|
#
|
4283
4273
|
#
|
@@ -4417,7 +4407,7 @@ module Aws::AutoScaling
|
|
4417
4407
|
# The instance type, such as `m3.xlarge`. You must specify an instance
|
4418
4408
|
# type that is supported in your requested Region and Availability
|
4419
4409
|
# Zones. For more information, see [Instance types][1] in the *Amazon
|
4420
|
-
#
|
4410
|
+
# EC2 User Guide for Linux Instances*.
|
4421
4411
|
#
|
4422
4412
|
# You can specify up to 40 instance types per Auto Scaling group.
|
4423
4413
|
#
|
@@ -4438,9 +4428,9 @@ module Aws::AutoScaling
|
|
4438
4428
|
# and Amazon EC2 Auto Scaling can only launch an instance with a
|
4439
4429
|
# `WeightedCapacity` of five units, the instance is launched, and the
|
4440
4430
|
# desired capacity is exceeded by three units. For more information,
|
4441
|
-
# see [
|
4442
|
-
#
|
4443
|
-
#
|
4431
|
+
# see [Configure an Auto Scaling group to use instance weights][1] in
|
4432
|
+
# the *Amazon EC2 Auto Scaling User Guide*. Value must be in the range
|
4433
|
+
# of 1–999.
|
4444
4434
|
#
|
4445
4435
|
# If you specify a value for `WeightedCapacity` for one instance type,
|
4446
4436
|
# you must specify a value for `WeightedCapacity` for all of them.
|
@@ -4512,7 +4502,7 @@ module Aws::AutoScaling
|
|
4512
4502
|
#
|
4513
4503
|
#
|
4514
4504
|
#
|
4515
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
4505
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-templates.html
|
4516
4506
|
#
|
4517
4507
|
# @!attribute [rw] launch_template_id
|
4518
4508
|
# The ID of the launch template. To get the template ID, use the
|
@@ -4698,15 +4688,15 @@ module Aws::AutoScaling
|
|
4698
4688
|
# @!attribute [rw] role_arn
|
4699
4689
|
# The ARN of the IAM role that allows the Auto Scaling group to
|
4700
4690
|
# publish to the specified notification target. For information about
|
4701
|
-
# creating this role, see [
|
4702
|
-
#
|
4691
|
+
# creating this role, see [Prepare to add a lifecycle hook to your
|
4692
|
+
# Auto Scaling group][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
4703
4693
|
#
|
4704
4694
|
# Valid only if the notification target is an Amazon SNS topic or an
|
4705
4695
|
# Amazon SQS queue.
|
4706
4696
|
#
|
4707
4697
|
#
|
4708
4698
|
#
|
4709
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/prepare-for-lifecycle-notifications.html
|
4699
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/prepare-for-lifecycle-notifications.html
|
4710
4700
|
# @return [String]
|
4711
4701
|
#
|
4712
4702
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LifecycleHookSpecification AWS API Documentation
|
@@ -5400,15 +5390,22 @@ module Aws::AutoScaling
|
|
5400
5390
|
#
|
5401
5391
|
# The following are possible values:
|
5402
5392
|
#
|
5403
|
-
# * `HonorMaxCapacity` - Amazon EC2 Auto Scaling
|
5404
|
-
# capacity
|
5405
|
-
#
|
5393
|
+
# * `HonorMaxCapacity` - Amazon EC2 Auto Scaling can't increase the
|
5394
|
+
# maximum capacity of the group when the forecast capacity is close
|
5395
|
+
# to or exceeds the maximum capacity.
|
5396
|
+
#
|
5397
|
+
# * `IncreaseMaxCapacity` - Amazon EC2 Auto Scaling can increase the
|
5398
|
+
# maximum capacity of the group when the forecast capacity is close
|
5399
|
+
# to or exceeds the maximum capacity. The upper limit is determined
|
5400
|
+
# by the forecasted capacity and the value for `MaxCapacityBuffer`.
|
5406
5401
|
#
|
5407
|
-
#
|
5408
|
-
#
|
5409
|
-
#
|
5410
|
-
#
|
5411
|
-
#
|
5402
|
+
# Use caution when allowing the maximum capacity to be automatically
|
5403
|
+
# increased. This can lead to more instances being launched than
|
5404
|
+
# intended if the increased maximum capacity is not monitored and
|
5405
|
+
# managed. The increased maximum capacity then becomes the new normal
|
5406
|
+
# maximum capacity for the Auto Scaling group until you manually
|
5407
|
+
# update it. The maximum capacity does not automatically decrease back
|
5408
|
+
# to the original maximum.
|
5412
5409
|
# @return [String]
|
5413
5410
|
#
|
5414
5411
|
# @!attribute [rw] max_capacity_buffer
|
@@ -5743,7 +5740,7 @@ module Aws::AutoScaling
|
|
5743
5740
|
|
5744
5741
|
# Describes a process type.
|
5745
5742
|
#
|
5746
|
-
# For more information, see [
|
5743
|
+
# For more information, see [Types of processes][1] in the *Amazon EC2
|
5747
5744
|
# Auto Scaling User Guide*.
|
5748
5745
|
#
|
5749
5746
|
#
|
@@ -5989,7 +5986,7 @@ module Aws::AutoScaling
|
|
5989
5986
|
#
|
5990
5987
|
#
|
5991
5988
|
#
|
5992
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
5989
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-cooldowns.html
|
5993
5990
|
# @return [Integer]
|
5994
5991
|
#
|
5995
5992
|
# @!attribute [rw] metric_aggregation_type
|
@@ -6059,7 +6056,7 @@ module Aws::AutoScaling
|
|
6059
6056
|
#
|
6060
6057
|
# @!attribute [rw] enabled
|
6061
6058
|
# Indicates whether the scaling policy is enabled or disabled. The
|
6062
|
-
# default is enabled. For more information, see [
|
6059
|
+
# default is enabled. For more information, see [Disable a scaling
|
6063
6060
|
# policy for an Auto Scaling group][1] in the *Amazon EC2 Auto Scaling
|
6064
6061
|
# User Guide*.
|
6065
6062
|
#
|
@@ -6332,8 +6329,8 @@ module Aws::AutoScaling
|
|
6332
6329
|
# Each number must be unique. To replace all instances in the Auto
|
6333
6330
|
# Scaling group, the last number in the array must be `100`.
|
6334
6331
|
#
|
6335
|
-
# For usage examples, see [
|
6336
|
-
#
|
6332
|
+
# For usage examples, see [Add checkpoints to an instance refresh][1]
|
6333
|
+
# in the *Amazon EC2 Auto Scaling User Guide*.
|
6337
6334
|
#
|
6338
6335
|
#
|
6339
6336
|
#
|
@@ -6971,13 +6968,13 @@ module Aws::AutoScaling
|
|
6971
6968
|
# call respects the grace period. Set this to `False`, to have the
|
6972
6969
|
# call not respect the grace period associated with the group.
|
6973
6970
|
#
|
6974
|
-
# For more information about the health check grace period, see
|
6975
|
-
#
|
6976
|
-
#
|
6971
|
+
# For more information about the health check grace period, see [Set
|
6972
|
+
# the health check grace period for an Auto Scaling group][1] in the
|
6973
|
+
# *Amazon EC2 Auto Scaling User Guide*.
|
6977
6974
|
#
|
6978
6975
|
#
|
6979
6976
|
#
|
6980
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/
|
6977
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/health-check-grace-period.html
|
6981
6978
|
# @return [Boolean]
|
6982
6979
|
#
|
6983
6980
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetInstanceHealthQuery AWS API Documentation
|
@@ -7161,7 +7158,7 @@ module Aws::AutoScaling
|
|
7161
7158
|
|
7162
7159
|
# Describes an auto scaling process that has been suspended.
|
7163
7160
|
#
|
7164
|
-
# For more information, see [
|
7161
|
+
# For more information, see [Types of processes][1] in the *Amazon EC2
|
7165
7162
|
# Auto Scaling User Guide*.
|
7166
7163
|
#
|
7167
7164
|
#
|
@@ -7660,7 +7657,7 @@ module Aws::AutoScaling
|
|
7660
7657
|
#
|
7661
7658
|
#
|
7662
7659
|
#
|
7663
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
7660
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-scaling-cooldowns.html
|
7664
7661
|
# @return [Integer]
|
7665
7662
|
#
|
7666
7663
|
# @!attribute [rw] availability_zones
|
@@ -7672,15 +7669,15 @@ module Aws::AutoScaling
|
|
7672
7669
|
#
|
7673
7670
|
# The valid values are `EC2`, `ELB`, and `VPC_LATTICE`. `EC2` is the
|
7674
7671
|
# default health check and cannot be disabled. For more information,
|
7675
|
-
# see [Health checks for Auto Scaling
|
7676
|
-
# Auto Scaling User Guide*.
|
7672
|
+
# see [Health checks for instances in an Auto Scaling group][1] in the
|
7673
|
+
# *Amazon EC2 Auto Scaling User Guide*.
|
7677
7674
|
#
|
7678
7675
|
# Only specify `EC2` if you must clear a value that was previously
|
7679
7676
|
# set.
|
7680
7677
|
#
|
7681
7678
|
#
|
7682
7679
|
#
|
7683
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
7680
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-health-checks.html
|
7684
7681
|
# @return [String]
|
7685
7682
|
#
|
7686
7683
|
# @!attribute [rw] health_check_grace_period
|
@@ -7723,8 +7720,8 @@ module Aws::AutoScaling
|
|
7723
7720
|
# @!attribute [rw] termination_policies
|
7724
7721
|
# A policy or a list of policies that are used to select the instances
|
7725
7722
|
# to terminate. The policies are executed in the order that you list
|
7726
|
-
# them. For more information, see [
|
7727
|
-
#
|
7723
|
+
# them. For more information, see [Configure termination policies for
|
7724
|
+
# Amazon EC2 Auto Scaling][1] in the *Amazon EC2 Auto Scaling User
|
7728
7725
|
# Guide*.
|
7729
7726
|
#
|
7730
7727
|
# Valid values: `Default` \| `AllocationStrategy` \|
|
@@ -7741,7 +7738,7 @@ module Aws::AutoScaling
|
|
7741
7738
|
# Indicates whether newly launched instances are protected from
|
7742
7739
|
# termination by Amazon EC2 Auto Scaling when scaling in. For more
|
7743
7740
|
# information about preventing instances from terminating on scale in,
|
7744
|
-
# see [
|
7741
|
+
# see [Use instance scale-in protection][1] in the *Amazon EC2 Auto
|
7745
7742
|
# Scaling User Guide*.
|
7746
7743
|
#
|
7747
7744
|
#
|
@@ -7791,7 +7788,7 @@ module Aws::AutoScaling
|
|
7791
7788
|
# The unit of measurement for the value specified for desired
|
7792
7789
|
# capacity. Amazon EC2 Auto Scaling supports `DesiredCapacityType` for
|
7793
7790
|
# attribute-based instance type selection only. For more information,
|
7794
|
-
# see [
|
7791
|
+
# see [Create a mixed instances group using attribute-based instance
|
7795
7792
|
# type selection][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
7796
7793
|
#
|
7797
7794
|
# By default, Amazon EC2 Auto Scaling specifies `units`, which
|
@@ -7801,7 +7798,7 @@ module Aws::AutoScaling
|
|
7801
7798
|
#
|
7802
7799
|
#
|
7803
7800
|
#
|
7804
|
-
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-
|
7801
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-mixed-instances-group-attribute-based-instance-type-selection.html
|
7805
7802
|
# @return [String]
|
7806
7803
|
#
|
7807
7804
|
# @!attribute [rw] default_instance_warmup
|