aws-sdk-autoscaling 1.52.0 → 1.53.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/lib/aws-sdk-autoscaling.rb +1 -1
- data/lib/aws-sdk-autoscaling/client.rb +21 -10
- data/lib/aws-sdk-autoscaling/instance.rb +12 -1
- data/lib/aws-sdk-autoscaling/launch_configuration.rb +8 -4
- data/lib/aws-sdk-autoscaling/resource.rb +12 -9
- data/lib/aws-sdk-autoscaling/types.rb +42 -19
- 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: 71f00079018d695da8463a86bdd4782dae43bd1fb1c4c921d64399b907df087a
|
4
|
+
data.tar.gz: ec16dba86368aadd7bb7a6ef9e386edb50121655a04a994e86f0e33a4f3591fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22b26368c71a345f36a8c3ec71b6cb449d3f91f8a08514989c5f03ee1e191830f1e975a5e80cad8c6c4c10a3745dde3ac457553b32afabc53e2e7186ea550d86
|
7
|
+
data.tar.gz: 99a71c6d1c4bdd2e4695e89149410d82dd2a8447459303515f14ac8cec0e701b4cbaa56c45a2f3d74bde389a8cdee476a553f337c3db9b0b8f8a18f91115f985
|
data/lib/aws-sdk-autoscaling.rb
CHANGED
@@ -727,6 +727,10 @@ module Aws::AutoScaling
|
|
727
727
|
req.send_request(options)
|
728
728
|
end
|
729
729
|
|
730
|
+
# **We strongly recommend using a launch template when calling this
|
731
|
+
# operation to ensure full functionality for Amazon EC2 Auto Scaling and
|
732
|
+
# Amazon EC2.**
|
733
|
+
#
|
730
734
|
# Creates an Auto Scaling group with the specified name and attributes.
|
731
735
|
#
|
732
736
|
# If you exceed your maximum limit of Auto Scaling groups, the call
|
@@ -766,8 +770,8 @@ module Aws::AutoScaling
|
|
766
770
|
# (`LaunchConfigurationName` or `InstanceId`).
|
767
771
|
#
|
768
772
|
# @option params [Types::LaunchTemplateSpecification] :launch_template
|
769
|
-
# Parameters used to specify the
|
770
|
-
#
|
773
|
+
# Parameters used to specify the launch template and version to use to
|
774
|
+
# launch instances.
|
771
775
|
#
|
772
776
|
# Conditional: You must specify either a launch template
|
773
777
|
# (`LaunchTemplate` or `MixedInstancesPolicy`) or a launch configuration
|
@@ -775,15 +779,14 @@ module Aws::AutoScaling
|
|
775
779
|
#
|
776
780
|
# <note markdown="1"> The launch template that is specified must be configured for use with
|
777
781
|
# an Auto Scaling group. For more information, see [Creating a launch
|
778
|
-
# template for an Auto Scaling group][
|
782
|
+
# template for an Auto Scaling group][1] in the *Amazon EC2 Auto Scaling
|
779
783
|
# User Guide*.
|
780
784
|
#
|
781
785
|
# </note>
|
782
786
|
#
|
783
787
|
#
|
784
788
|
#
|
785
|
-
# [1]: https://docs.aws.amazon.com/
|
786
|
-
# [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-template.html
|
789
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-template.html
|
787
790
|
#
|
788
791
|
# @option params [Types::MixedInstancesPolicy] :mixed_instances_policy
|
789
792
|
# An embedded object that specifies a mixed instances policy. The
|
@@ -1230,13 +1233,17 @@ module Aws::AutoScaling
|
|
1230
1233
|
# [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html#as-ClassicLink
|
1231
1234
|
#
|
1232
1235
|
# @option params [String] :user_data
|
1233
|
-
# The
|
1234
|
-
#
|
1235
|
-
# data][
|
1236
|
+
# The user data to make available to the launched EC2 instances. For
|
1237
|
+
# more information, see [Instance metadata and user data][1] (Linux) and
|
1238
|
+
# [Instance metadata and user data][2] (Windows). If you are using a
|
1239
|
+
# command line tool, base64-encoding is performed for you, and you can
|
1240
|
+
# load the text from a file. Otherwise, you must provide base64-encoded
|
1241
|
+
# text. User data is limited to 16 KB.
|
1236
1242
|
#
|
1237
1243
|
#
|
1238
1244
|
#
|
1239
1245
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
|
1246
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-instance-metadata.html
|
1240
1247
|
#
|
1241
1248
|
# @option params [String] :instance_id
|
1242
1249
|
# The ID of the instance to use to create the launch configuration. The
|
@@ -1261,7 +1268,7 @@ module Aws::AutoScaling
|
|
1261
1268
|
# Specifies the instance type of the EC2 instance.
|
1262
1269
|
#
|
1263
1270
|
# For information about available instance types, see [Available
|
1264
|
-
# Instance Types][1] in the *Amazon EC2 User Guide for Linux Instances
|
1271
|
+
# Instance Types][1] in the *Amazon EC2 User Guide for Linux Instances*.
|
1265
1272
|
#
|
1266
1273
|
# If you do not specify `InstanceId`, you must specify `InstanceType`.
|
1267
1274
|
#
|
@@ -5051,6 +5058,10 @@ module Aws::AutoScaling
|
|
5051
5058
|
req.send_request(options)
|
5052
5059
|
end
|
5053
5060
|
|
5061
|
+
# **We strongly recommend that all Auto Scaling groups use launch
|
5062
|
+
# templates to ensure full functionality for Amazon EC2 Auto Scaling and
|
5063
|
+
# Amazon EC2.**
|
5064
|
+
#
|
5054
5065
|
# Updates the configuration for the specified Auto Scaling group.
|
5055
5066
|
#
|
5056
5067
|
# To update an Auto Scaling group, specify the name of the group and the
|
@@ -5354,7 +5365,7 @@ module Aws::AutoScaling
|
|
5354
5365
|
params: params,
|
5355
5366
|
config: config)
|
5356
5367
|
context[:gem_name] = 'aws-sdk-autoscaling'
|
5357
|
-
context[:gem_version] = '1.
|
5368
|
+
context[:gem_version] = '1.53.0'
|
5358
5369
|
Seahorse::Client::Request.new(handlers, context)
|
5359
5370
|
end
|
5360
5371
|
|
@@ -56,7 +56,18 @@ module Aws::AutoScaling
|
|
56
56
|
data[:availability_zone]
|
57
57
|
end
|
58
58
|
|
59
|
-
# The lifecycle state for the instance.
|
59
|
+
# The lifecycle state for the instance. The `Quarantined` state is not
|
60
|
+
# used. For information about lifecycle states, see [Instance
|
61
|
+
# lifecycle][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
62
|
+
#
|
63
|
+
# Valid Values: `Pending` \| `Pending:Wait` \| `Pending:Proceed` \|
|
64
|
+
# `Quarantined` \| `InService` \| `Terminating` \| `Terminating:Wait` \|
|
65
|
+
# `Terminating:Proceed` \| `Terminated` \| `Detaching` \| `Detached` \|
|
66
|
+
# `EnteringStandby` \| `Standby`
|
67
|
+
#
|
68
|
+
#
|
69
|
+
#
|
70
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroupLifecycle.html
|
60
71
|
# @return [String]
|
61
72
|
def lifecycle_state
|
62
73
|
data[:lifecycle_state]
|
@@ -108,13 +108,17 @@ module Aws::AutoScaling
|
|
108
108
|
data[:classic_link_vpc_security_groups]
|
109
109
|
end
|
110
110
|
|
111
|
-
# The
|
112
|
-
#
|
113
|
-
# data][
|
111
|
+
# The user data to make available to the launched EC2 instances. For
|
112
|
+
# more information, see [Instance metadata and user data][1] (Linux) and
|
113
|
+
# [Instance metadata and user data][2] (Windows). If you are using a
|
114
|
+
# command line tool, base64-encoding is performed for you, and you can
|
115
|
+
# load the text from a file. Otherwise, you must provide base64-encoded
|
116
|
+
# text. User data is limited to 16 KB.
|
114
117
|
#
|
115
118
|
#
|
116
119
|
#
|
117
120
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
|
121
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-instance-metadata.html
|
118
122
|
# @return [String]
|
119
123
|
def user_data
|
120
124
|
data[:user_data]
|
@@ -123,7 +127,7 @@ module Aws::AutoScaling
|
|
123
127
|
# The instance type for the instances.
|
124
128
|
#
|
125
129
|
# For information about available instance types, see [Available
|
126
|
-
# Instance Types][1] in the *Amazon EC2 User Guide for Linux Instances
|
130
|
+
# Instance Types][1] in the *Amazon EC2 User Guide for Linux Instances*.
|
127
131
|
#
|
128
132
|
#
|
129
133
|
#
|
@@ -122,8 +122,8 @@ module Aws::AutoScaling
|
|
122
122
|
# (`LaunchTemplate` or `MixedInstancesPolicy`) or a launch configuration
|
123
123
|
# (`LaunchConfigurationName` or `InstanceId`).
|
124
124
|
# @option options [Types::LaunchTemplateSpecification] :launch_template
|
125
|
-
# Parameters used to specify the
|
126
|
-
#
|
125
|
+
# Parameters used to specify the launch template and version to use to
|
126
|
+
# launch instances.
|
127
127
|
#
|
128
128
|
# Conditional: You must specify either a launch template
|
129
129
|
# (`LaunchTemplate` or `MixedInstancesPolicy`) or a launch configuration
|
@@ -131,15 +131,14 @@ module Aws::AutoScaling
|
|
131
131
|
#
|
132
132
|
# <note markdown="1"> The launch template that is specified must be configured for use with
|
133
133
|
# an Auto Scaling group. For more information, see [Creating a launch
|
134
|
-
# template for an Auto Scaling group][
|
134
|
+
# template for an Auto Scaling group][1] in the *Amazon EC2 Auto Scaling
|
135
135
|
# User Guide*.
|
136
136
|
#
|
137
137
|
# </note>
|
138
138
|
#
|
139
139
|
#
|
140
140
|
#
|
141
|
-
# [1]: https://docs.aws.amazon.com/
|
142
|
-
# [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-template.html
|
141
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-template.html
|
143
142
|
# @option options [Types::MixedInstancesPolicy] :mixed_instances_policy
|
144
143
|
# An embedded object that specifies a mixed instances policy. The
|
145
144
|
# required parameters must be specified. If optional parameters are
|
@@ -456,13 +455,17 @@ module Aws::AutoScaling
|
|
456
455
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html
|
457
456
|
# [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html#as-ClassicLink
|
458
457
|
# @option options [String] :user_data
|
459
|
-
# The
|
460
|
-
#
|
461
|
-
# data][
|
458
|
+
# The user data to make available to the launched EC2 instances. For
|
459
|
+
# more information, see [Instance metadata and user data][1] (Linux) and
|
460
|
+
# [Instance metadata and user data][2] (Windows). If you are using a
|
461
|
+
# command line tool, base64-encoding is performed for you, and you can
|
462
|
+
# load the text from a file. Otherwise, you must provide base64-encoded
|
463
|
+
# text. User data is limited to 16 KB.
|
462
464
|
#
|
463
465
|
#
|
464
466
|
#
|
465
467
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
|
468
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-instance-metadata.html
|
466
469
|
# @option options [String] :instance_id
|
467
470
|
# The ID of the instance to use to create the launch configuration. The
|
468
471
|
# new launch configuration derives attributes from the instance, except
|
@@ -485,7 +488,7 @@ module Aws::AutoScaling
|
|
485
488
|
# Specifies the instance type of the EC2 instance.
|
486
489
|
#
|
487
490
|
# For information about available instance types, see [Available
|
488
|
-
# Instance Types][1] in the *Amazon EC2 User Guide for Linux Instances
|
491
|
+
# Instance Types][1] in the *Amazon EC2 User Guide for Linux Instances*.
|
489
492
|
#
|
490
493
|
# If you do not specify `InstanceId`, you must specify `InstanceType`.
|
491
494
|
#
|
@@ -493,7 +493,18 @@ module Aws::AutoScaling
|
|
493
493
|
# @return [String]
|
494
494
|
#
|
495
495
|
# @!attribute [rw] lifecycle_state
|
496
|
-
# The lifecycle state for the instance.
|
496
|
+
# The lifecycle state for the instance. The `Quarantined` state is not
|
497
|
+
# used. For information about lifecycle states, see [Instance
|
498
|
+
# lifecycle][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
499
|
+
#
|
500
|
+
# Valid Values: `Pending` \| `Pending:Wait` \| `Pending:Proceed` \|
|
501
|
+
# `Quarantined` \| `InService` \| `Terminating` \| `Terminating:Wait`
|
502
|
+
# \| `Terminating:Proceed` \| `Terminated` \| `Detaching` \|
|
503
|
+
# `Detached` \| `EnteringStandby` \| `Standby`
|
504
|
+
#
|
505
|
+
#
|
506
|
+
#
|
507
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroupLifecycle.html
|
497
508
|
# @return [String]
|
498
509
|
#
|
499
510
|
# @!attribute [rw] health_status
|
@@ -888,8 +899,8 @@ module Aws::AutoScaling
|
|
888
899
|
# @return [String]
|
889
900
|
#
|
890
901
|
# @!attribute [rw] launch_template
|
891
|
-
# Parameters used to specify the
|
892
|
-
#
|
902
|
+
# Parameters used to specify the launch template and version to use to
|
903
|
+
# launch instances.
|
893
904
|
#
|
894
905
|
# Conditional: You must specify either a launch template
|
895
906
|
# (`LaunchTemplate` or `MixedInstancesPolicy`) or a launch
|
@@ -897,15 +908,14 @@ module Aws::AutoScaling
|
|
897
908
|
#
|
898
909
|
# <note markdown="1"> The launch template that is specified must be configured for use
|
899
910
|
# with an Auto Scaling group. For more information, see [Creating a
|
900
|
-
# launch template for an Auto Scaling group][
|
911
|
+
# launch template for an Auto Scaling group][1] in the *Amazon EC2
|
901
912
|
# Auto Scaling User Guide*.
|
902
913
|
#
|
903
914
|
# </note>
|
904
915
|
#
|
905
916
|
#
|
906
917
|
#
|
907
|
-
# [1]: https://docs.aws.amazon.com/
|
908
|
-
# [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-template.html
|
918
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-template.html
|
909
919
|
# @return [Types::LaunchTemplateSpecification]
|
910
920
|
#
|
911
921
|
# @!attribute [rw] mixed_instances_policy
|
@@ -1304,13 +1314,17 @@ module Aws::AutoScaling
|
|
1304
1314
|
# @return [Array<String>]
|
1305
1315
|
#
|
1306
1316
|
# @!attribute [rw] user_data
|
1307
|
-
# The
|
1308
|
-
#
|
1309
|
-
#
|
1317
|
+
# The user data to make available to the launched EC2 instances. For
|
1318
|
+
# more information, see [Instance metadata and user data][1] (Linux)
|
1319
|
+
# and [Instance metadata and user data][2] (Windows). If you are using
|
1320
|
+
# a command line tool, base64-encoding is performed for you, and you
|
1321
|
+
# can load the text from a file. Otherwise, you must provide
|
1322
|
+
# base64-encoded text. User data is limited to 16 KB.
|
1310
1323
|
#
|
1311
1324
|
#
|
1312
1325
|
#
|
1313
1326
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
|
1327
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-instance-metadata.html
|
1314
1328
|
# @return [String]
|
1315
1329
|
#
|
1316
1330
|
# @!attribute [rw] instance_id
|
@@ -1338,7 +1352,7 @@ module Aws::AutoScaling
|
|
1338
1352
|
#
|
1339
1353
|
# For information about available instance types, see [Available
|
1340
1354
|
# Instance Types][1] in the *Amazon EC2 User Guide for Linux
|
1341
|
-
# Instances
|
1355
|
+
# Instances*.
|
1342
1356
|
#
|
1343
1357
|
# If you do not specify `InstanceId`, you must specify `InstanceType`.
|
1344
1358
|
#
|
@@ -2970,7 +2984,12 @@ module Aws::AutoScaling
|
|
2970
2984
|
#
|
2971
2985
|
# @!attribute [rw] lifecycle_state
|
2972
2986
|
# A description of the current lifecycle state. The `Quarantined`
|
2973
|
-
# state is not used.
|
2987
|
+
# state is not used. For information about lifecycle states, see
|
2988
|
+
# [Instance lifecycle][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
2989
|
+
#
|
2990
|
+
#
|
2991
|
+
#
|
2992
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroupLifecycle.html
|
2974
2993
|
# @return [String]
|
2975
2994
|
#
|
2976
2995
|
# @!attribute [rw] health_status
|
@@ -3057,8 +3076,6 @@ module Aws::AutoScaling
|
|
3057
3076
|
# requests can travel.
|
3058
3077
|
#
|
3059
3078
|
# Default: 1
|
3060
|
-
#
|
3061
|
-
# Possible values: Integers from 1 to 64
|
3062
3079
|
# @return [Integer]
|
3063
3080
|
#
|
3064
3081
|
# @!attribute [rw] http_endpoint
|
@@ -3371,13 +3388,17 @@ module Aws::AutoScaling
|
|
3371
3388
|
# @return [Array<String>]
|
3372
3389
|
#
|
3373
3390
|
# @!attribute [rw] user_data
|
3374
|
-
# The
|
3375
|
-
#
|
3376
|
-
#
|
3391
|
+
# The user data to make available to the launched EC2 instances. For
|
3392
|
+
# more information, see [Instance metadata and user data][1] (Linux)
|
3393
|
+
# and [Instance metadata and user data][2] (Windows). If you are using
|
3394
|
+
# a command line tool, base64-encoding is performed for you, and you
|
3395
|
+
# can load the text from a file. Otherwise, you must provide
|
3396
|
+
# base64-encoded text. User data is limited to 16 KB.
|
3377
3397
|
#
|
3378
3398
|
#
|
3379
3399
|
#
|
3380
3400
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
|
3401
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-instance-metadata.html
|
3381
3402
|
# @return [String]
|
3382
3403
|
#
|
3383
3404
|
# @!attribute [rw] instance_type
|
@@ -3385,7 +3406,7 @@ module Aws::AutoScaling
|
|
3385
3406
|
#
|
3386
3407
|
# For information about available instance types, see [Available
|
3387
3408
|
# Instance Types][1] in the *Amazon EC2 User Guide for Linux
|
3388
|
-
# Instances
|
3409
|
+
# Instances*.
|
3389
3410
|
#
|
3390
3411
|
#
|
3391
3412
|
#
|
@@ -3650,8 +3671,10 @@ module Aws::AutoScaling
|
|
3650
3671
|
|
3651
3672
|
# Describes an override for a launch template. The maximum number of
|
3652
3673
|
# instance types that can be associated with an Auto Scaling group is
|
3653
|
-
#
|
3654
|
-
#
|
3674
|
+
# 40. The maximum number of distinct launch templates you can define for
|
3675
|
+
# an Auto Scaling group is 20. For more information about configuring
|
3676
|
+
# overrides, see [Configuring overrides][1] in the *Amazon EC2 Auto
|
3677
|
+
# Scaling User Guide*.
|
3655
3678
|
#
|
3656
3679
|
#
|
3657
3680
|
#
|
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.53.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: 2021-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|