aws-sdk-autoscaling 1.14.0 → 1.15.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -46,12 +46,7 @@ module Aws::AutoScaling
46
46
  data[:availability_zone]
47
47
  end
48
48
 
49
- # The lifecycle state for the instance. For more information, see [Auto
50
- # Scaling Lifecycle][1] in the *Amazon EC2 Auto Scaling User Guide*.
51
- #
52
- #
53
- #
54
- # [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroupLifecycle.html
49
+ # The lifecycle state for the instance.
55
50
  # @return [String]
56
51
  def lifecycle_state
57
52
  data[:lifecycle_state]
@@ -81,13 +76,6 @@ module Aws::AutoScaling
81
76
 
82
77
  # Indicates whether the instance is protected from termination by Amazon
83
78
  # EC2 Auto Scaling when scaling in.
84
- #
85
- # For more information, see [Instance Protection][1] in the *Amazon EC2
86
- # Auto Scaling User Guide*.
87
- #
88
- #
89
- #
90
- # [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection
91
79
  # @return [Boolean]
92
80
  def protected_from_scale_in
93
81
  data[:protected_from_scale_in]
@@ -63,24 +63,25 @@ module Aws::AutoScaling
63
63
  #
64
64
  #
65
65
  #
66
- # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html
67
- # [2]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html#as-ClassicLink
66
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html
67
+ # [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html#as-ClassicLink
68
68
  # @return [String]
69
69
  def classic_link_vpc_id
70
70
  data[:classic_link_vpc_id]
71
71
  end
72
72
 
73
73
  # The IDs of one or more security groups for the VPC specified in
74
- # `ClassicLinkVPCId`. This parameter is required if you specify a
75
- # ClassicLink-enabled VPC, and cannot be used otherwise. For more
76
- # information, see [ClassicLink][1] in the *Amazon EC2 User Guide for
77
- # Linux Instances* and [Linking EC2-Classic Instances to a VPC][2] in
78
- # the *Amazon EC2 Auto Scaling User Guide*.
74
+ # `ClassicLinkVPCId`. For more information, see [ClassicLink][1] in the
75
+ # *Amazon EC2 User Guide for Linux Instances* and [Linking EC2-Classic
76
+ # Instances to a VPC][2] in the *Amazon EC2 Auto Scaling User Guide*.
79
77
  #
78
+ # Conditional: This parameter is required if you specify a
79
+ # ClassicLink-enabled VPC, and cannot be used otherwise.
80
80
  #
81
81
  #
82
- # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html
83
- # [2]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html#as-ClassicLink
82
+ #
83
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html
84
+ # [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html#as-ClassicLink
84
85
  # @return [Array<String>]
85
86
  def classic_link_vpc_security_groups
86
87
  data[:classic_link_vpc_security_groups]
@@ -66,8 +66,8 @@ module Aws::AutoScaling
66
66
  data[:role_arn]
67
67
  end
68
68
 
69
- # Additional information that you want to include any time Amazon EC2
70
- # Auto Scaling sends a message to the notification target.
69
+ # Additional information that is included any time Amazon EC2 Auto
70
+ # Scaling sends a message to the notification target.
71
71
  # @return [String]
72
72
  def notification_metadata
73
73
  data[:notification_metadata]
@@ -75,8 +75,8 @@ module Aws::AutoScaling
75
75
 
76
76
  # The maximum time, in seconds, that can elapse before the lifecycle
77
77
  # hook times out. If the lifecycle hook times out, Amazon EC2 Auto
78
- # Scaling performs the default action. You can prevent the lifecycle
79
- # hook from timing out by calling RecordLifecycleActionHeartbeat.
78
+ # Scaling performs the action that you specified in the `DefaultResult`
79
+ # parameter.
80
80
  # @return [Integer]
81
81
  def heartbeat_timeout
82
82
  data[:heartbeat_timeout]
@@ -93,8 +93,7 @@ module Aws::AutoScaling
93
93
 
94
94
  # Defines the action the Auto Scaling group should take when the
95
95
  # lifecycle hook timeout elapses or if an unexpected failure occurs. The
96
- # valid values are `CONTINUE` and `ABANDON`. The default value is
97
- # `CONTINUE`.
96
+ # possible values are `CONTINUE` and `ABANDON`.
98
97
  # @return [String]
99
98
  def default_result
100
99
  data[:default_result]
@@ -290,25 +289,28 @@ module Aws::AutoScaling
290
289
  # @param [Hash] options ({})
291
290
  # @option options [String] :lifecycle_transition
292
291
  # The instance state to which you want to attach the lifecycle hook. The
293
- # possible values are:
292
+ # valid values are:
294
293
  #
295
294
  # * autoscaling:EC2\_INSTANCE\_LAUNCHING
296
295
  #
297
296
  # * autoscaling:EC2\_INSTANCE\_TERMINATING
298
297
  #
299
- # This parameter is required for new lifecycle hooks, but optional when
300
- # updating existing hooks.
298
+ # Conditional: This parameter is required for new lifecycle hooks, but
299
+ # optional when updating existing hooks.
301
300
  # @option options [String] :role_arn
302
301
  # The ARN of the IAM role that allows the Auto Scaling group to publish
303
- # to the specified notification target.
302
+ # to the specified notification target, for example, an Amazon SNS topic
303
+ # or an Amazon SQS queue.
304
304
  #
305
- # This parameter is required for new lifecycle hooks, but optional when
306
- # updating existing hooks.
305
+ # Conditional: This parameter is required for new lifecycle hooks, but
306
+ # optional when updating existing hooks.
307
307
  # @option options [String] :notification_target_arn
308
308
  # The ARN of the notification target that Amazon EC2 Auto Scaling uses
309
309
  # to notify you when an instance is in the transition state for the
310
310
  # lifecycle hook. This target can be either an SQS queue or an SNS
311
- # topic. If you specify an empty string, this overrides the current ARN.
311
+ # topic.
312
+ #
313
+ # If you specify an empty string, this overrides the current ARN.
312
314
  #
313
315
  # This operation uses the JSON format when sending notifications to an
314
316
  # Amazon SQS queue, and an email key-value pair format when sending
@@ -318,16 +320,17 @@ module Aws::AutoScaling
318
320
  # it a test message. Test messages contain the following additional
319
321
  # key-value pair: `"Event": "autoscaling:TEST_NOTIFICATION"`.
320
322
  # @option options [String] :notification_metadata
321
- # Contains additional information that you want to include any time
322
- # Amazon EC2 Auto Scaling sends a message to the notification target.
323
+ # Additional information that you want to include any time Amazon EC2
324
+ # Auto Scaling sends a message to the notification target.
323
325
  # @option options [Integer] :heartbeat_timeout
324
326
  # The maximum time, in seconds, that can elapse before the lifecycle
325
- # hook times out. The range is from 30 to 7200 seconds. The default is
326
- # 3600 seconds (1 hour).
327
+ # hook times out. The range is from `30` to `7200` seconds. The default
328
+ # value is `3600` seconds (1 hour).
327
329
  #
328
330
  # If the lifecycle hook times out, Amazon EC2 Auto Scaling performs the
329
- # default action. You can prevent the lifecycle hook from timing out by
330
- # calling RecordLifecycleActionHeartbeat.
331
+ # action that you specified in the `DefaultResult` parameter. You can
332
+ # prevent the lifecycle hook from timing out by calling
333
+ # RecordLifecycleActionHeartbeat.
331
334
  # @option options [String] :default_result
332
335
  # Defines the action the Auto Scaling group should take when the
333
336
  # lifecycle hook timeout elapses or if an unexpected failure occurs.
@@ -97,14 +97,35 @@ module Aws::AutoScaling
97
97
  # The name of the launch configuration. This parameter, a launch
98
98
  # template, a mixed instances policy, or an EC2 instance must be
99
99
  # specified.
100
+ #
101
+ # For more information, see [Creating an Auto Scaling Group Using a
102
+ # Launch Configuration][1] in the *Amazon EC2 Auto Scaling User Guide*.
103
+ #
104
+ #
105
+ #
106
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg.html
100
107
  # @option options [Types::LaunchTemplateSpecification] :launch_template
101
108
  # The launch template to use to launch instances. This parameter, a
102
109
  # launch configuration, a mixed instances policy, or an EC2 instance
103
110
  # must be specified.
111
+ #
112
+ # For more information, see [Creating an Auto Scaling Group Using a
113
+ # Launch Template][1] in the *Amazon EC2 Auto Scaling User Guide*.
114
+ #
115
+ #
116
+ #
117
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-launch-template.html
104
118
  # @option options [Types::MixedInstancesPolicy] :mixed_instances_policy
105
119
  # The mixed instances policy to use to launch instances. This parameter,
106
120
  # a launch template, a launch configuration, or an EC2 instance must be
107
121
  # specified.
122
+ #
123
+ # For more information, see [Using Multiple Instance Types and Purchase
124
+ # Options][1] in the *Amazon EC2 Auto Scaling User Guide*.
125
+ #
126
+ #
127
+ #
128
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroup.html#asg-purchase-options
108
129
  # @option options [String] :instance_id
109
130
  # The ID of the instance used to create a launch configuration for the
110
131
  # group. This parameter, a launch configuration, a launch template, or a
@@ -120,7 +141,7 @@ module Aws::AutoScaling
120
141
  #
121
142
  #
122
143
  #
123
- # [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-from-instance.html
144
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-from-instance.html
124
145
  # @option options [required, Integer] :min_size
125
146
  # The minimum size of the group.
126
147
  # @option options [required, Integer] :max_size
@@ -133,17 +154,20 @@ module Aws::AutoScaling
133
154
  # group.
134
155
  # @option options [Integer] :default_cooldown
135
156
  # The amount of time, in seconds, after a scaling activity completes
136
- # before another scaling activity can start. The default is 300.
157
+ # before another scaling activity can start. The default value is `300`.
137
158
  #
138
159
  # For more information, see [Scaling Cooldowns][1] in the *Amazon EC2
139
160
  # Auto Scaling User Guide*.
140
161
  #
141
162
  #
142
163
  #
143
- # [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html
164
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html
144
165
  # @option options [Array<String>] :availability_zones
145
166
  # One or more Availability Zones for the group. This parameter is
146
- # optional if you specify one or more subnets.
167
+ # optional if you specify one or more subnets for `VPCZoneIdentifier`.
168
+ #
169
+ # Conditional: If your account supports EC2-Classic and VPC, this
170
+ # parameter is required to launch instances into EC2-Classic.
147
171
  # @option options [Array<String>] :load_balancer_names
148
172
  # One or more Classic Load Balancers. To specify an Application Load
149
173
  # Balancer or a Network Load Balancer, use `TargetGroupARNs` instead.
@@ -153,56 +177,54 @@ module Aws::AutoScaling
153
177
  #
154
178
  #
155
179
  #
156
- # [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html
180
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html
157
181
  # @option options [Array<String>] :target_group_arns
158
182
  # The Amazon Resource Names (ARN) of the target groups.
159
183
  # @option options [String] :health_check_type
160
184
  # The service to use for the health checks. The valid values are `EC2`
161
- # and `ELB`.
185
+ # and `ELB`. The default value is `EC2`.
162
186
  #
163
- # By default, health checks use Amazon EC2 instance status checks to
164
- # determine the health of an instance. For more information, see [Health
165
- # Checks][1] in the *Amazon EC2 Auto Scaling User Guide*.
187
+ # For more information, see [Health Checks for Auto Scaling
188
+ # Instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
166
189
  #
167
190
  #
168
191
  #
169
- # [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html
192
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html
170
193
  # @option options [Integer] :health_check_grace_period
171
194
  # The amount of time, in seconds, that Amazon EC2 Auto Scaling waits
172
195
  # before checking the health status of an EC2 instance that has come
173
196
  # into service. During this time, any health check failures for the
174
- # instance are ignored. The default is 0.
197
+ # instance are ignored. The default value is `0`.
175
198
  #
176
- # This parameter is required if you are adding an `ELB` health check.
199
+ # For more information, see [Health Checks for Auto Scaling
200
+ # Instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
177
201
  #
178
- # For more information, see [Health Checks][1] in the *Amazon EC2 Auto
179
- # Scaling User Guide*.
202
+ # Conditional: This parameter is required if you are adding an `ELB`
203
+ # health check.
180
204
  #
181
205
  #
182
206
  #
183
- # [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html
207
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html
184
208
  # @option options [String] :placement_group
185
209
  # The name of the placement group into which to launch your instances,
186
- # if any. For more information, see [Placement Groups][1] in the *Amazon
187
- # EC2 User Guide for Linux Instances*.
210
+ # if any. A placement group is a logical grouping of instances within a
211
+ # single Availability Zone. You cannot specify multiple Availability
212
+ # Zones and a placement group. For more information, see [Placement
213
+ # Groups][1] in the *Amazon EC2 User Guide for Linux Instances*.
188
214
  #
189
215
  #
190
216
  #
191
- # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html
217
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html
192
218
  # @option options [String] :vpc_zone_identifier
193
- # A comma-separated list of subnet identifiers for your virtual private
194
- # cloud (VPC).
195
- #
196
- # If you specify subnets and Availability Zones with this call, ensure
197
- # that the subnets' Availability Zones match the Availability Zones
198
- # specified.
199
- #
200
- # For more information, see [Launching Auto Scaling Instances in a
201
- # VPC][1] in the *Amazon EC2 Auto Scaling User Guide*.
202
- #
219
+ # A comma-separated list of subnet IDs for your virtual private cloud
220
+ # (VPC).
203
221
  #
222
+ # If you specify `VPCZoneIdentifier` with `AvailabilityZones`, the
223
+ # subnets that you specify for this parameter must reside in those
224
+ # Availability Zones.
204
225
  #
205
- # [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html
226
+ # Conditional: If your account supports EC2-Classic and VPC, this
227
+ # parameter is required to launch instances into a VPC.
206
228
  # @option options [Array<String>] :termination_policies
207
229
  # One or more termination policies used to select the instance to
208
230
  # terminate. These policies are executed in the order that they are
@@ -214,10 +236,10 @@ module Aws::AutoScaling
214
236
  #
215
237
  #
216
238
  #
217
- # [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html
239
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html
218
240
  # @option options [Boolean] :new_instances_protected_from_scale_in
219
241
  # Indicates whether newly launched instances are protected from
220
- # termination by Auto Scaling when scaling in.
242
+ # termination by Amazon EC2 Auto Scaling when scaling in.
221
243
  #
222
244
  # For more information about preventing instances from terminating on
223
245
  # scale in, see [Instance Protection][1] in the *Amazon EC2 Auto Scaling
@@ -225,7 +247,7 @@ module Aws::AutoScaling
225
247
  #
226
248
  #
227
249
  #
228
- # [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection
250
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection
229
251
  # @option options [Array<Types::LifecycleHookSpecification>] :lifecycle_hook_specification_list
230
252
  # One or more lifecycle hooks.
231
253
  # @option options [Array<Types::Tag>] :tags
@@ -236,12 +258,18 @@ module Aws::AutoScaling
236
258
  #
237
259
  #
238
260
  #
239
- # [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-tagging.html
261
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-tagging.html
240
262
  # @option options [String] :service_linked_role_arn
241
263
  # The Amazon Resource Name (ARN) of the service-linked role that the
242
264
  # Auto Scaling group uses to call other AWS services on your behalf. By
243
265
  # default, Amazon EC2 Auto Scaling uses a service-linked role named
244
266
  # AWSServiceRoleForAutoScaling, which it creates if it does not exist.
267
+ # For more information, see [Service-Linked Roles][1] in the *Amazon EC2
268
+ # Auto Scaling User Guide*.
269
+ #
270
+ #
271
+ #
272
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-service-linked-role.html
245
273
  # @return [AutoScalingGroup]
246
274
  def create_group(options = {})
247
275
  resp = @client.create_auto_scaling_group(options)
@@ -304,14 +332,14 @@ module Aws::AutoScaling
304
332
  #
305
333
  #
306
334
  #
307
- # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html
335
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html
308
336
  # @option options [String] :key_name
309
337
  # The name of the key pair. For more information, see [Amazon EC2 Key
310
338
  # Pairs][1] in the *Amazon EC2 User Guide for Linux Instances*.
311
339
  #
312
340
  #
313
341
  #
314
- # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html
342
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html
315
343
  # @option options [Array<String>] :security_groups
316
344
  # One or more security groups with which to associate the instances.
317
345
  #
@@ -326,8 +354,8 @@ module Aws::AutoScaling
326
354
  #
327
355
  #
328
356
  #
329
- # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html
330
- # [2]: http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html
357
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html
358
+ # [2]: https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html
331
359
  # @option options [String] :classic_link_vpc_id
332
360
  # The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances
333
361
  # to. This parameter is supported only if you are launching EC2-Classic
@@ -337,20 +365,22 @@ module Aws::AutoScaling
337
365
  #
338
366
  #
339
367
  #
340
- # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html
341
- # [2]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html#as-ClassicLink
368
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html
369
+ # [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html#as-ClassicLink
342
370
  # @option options [Array<String>] :classic_link_vpc_security_groups
343
371
  # The IDs of one or more security groups for the specified
344
- # ClassicLink-enabled VPC. This parameter is required if you specify a
345
- # ClassicLink-enabled VPC, and is not supported otherwise. For more
346
- # information, see [ClassicLink][1] in the *Amazon EC2 User Guide for
347
- # Linux Instances* and [Linking EC2-Classic Instances to a VPC][2] in
348
- # the *Amazon EC2 Auto Scaling User Guide*.
372
+ # ClassicLink-enabled VPC. For more information, see [ClassicLink][1] in
373
+ # the *Amazon EC2 User Guide for Linux Instances* and [Linking
374
+ # EC2-Classic Instances to a VPC][2] in the *Amazon EC2 Auto Scaling
375
+ # User Guide*.
376
+ #
377
+ # Conditional: This parameter is required if you specify a
378
+ # ClassicLink-enabled VPC, and is not supported otherwise.
349
379
  #
350
380
  #
351
381
  #
352
- # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html
353
- # [2]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html#as-ClassicLink
382
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html
383
+ # [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html#as-ClassicLink
354
384
  # @option options [String] :user_data
355
385
  # The user data to make available to the launched EC2 instances. For
356
386
  # more information, see [Instance Metadata and User Data][1] in the
@@ -358,7 +388,7 @@ module Aws::AutoScaling
358
388
  #
359
389
  #
360
390
  #
361
- # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
391
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
362
392
  # @option options [String] :instance_id
363
393
  # The ID of the instance to use to create the launch configuration. The
364
394
  # new launch configuration derives attributes from the instance, except
@@ -376,7 +406,7 @@ module Aws::AutoScaling
376
406
  #
377
407
  #
378
408
  #
379
- # [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/create-lc-with-instanceID.html
409
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-lc-with-instanceID.html
380
410
  # @option options [String] :instance_type
381
411
  # The instance type of the EC2 instance.
382
412
  #
@@ -387,7 +417,7 @@ module Aws::AutoScaling
387
417
  #
388
418
  #
389
419
  #
390
- # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#AvailableInstanceTypes
420
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#AvailableInstanceTypes
391
421
  # @option options [String] :kernel_id
392
422
  # The ID of the kernel associated with the AMI.
393
423
  # @option options [String] :ramdisk_id
@@ -399,10 +429,10 @@ module Aws::AutoScaling
399
429
  #
400
430
  #
401
431
  #
402
- # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html
432
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html
403
433
  # @option options [Types::InstanceMonitoring] :instance_monitoring
404
434
  # Enables detailed monitoring (`true`) or basic monitoring (`false`) for
405
- # the Auto Scaling instances. The default is `true`.
435
+ # the Auto Scaling instances. The default value is `true`.
406
436
  # @option options [String] :spot_price
407
437
  # The maximum hourly price to be paid for any Spot Instance launched to
408
438
  # fulfill the request. Spot Instances are launched when the price you
@@ -412,7 +442,7 @@ module Aws::AutoScaling
412
442
  #
413
443
  #
414
444
  #
415
- # [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-launch-spot-instances.html
445
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-launch-spot-instances.html
416
446
  # @option options [String] :iam_instance_profile
417
447
  # The name or the Amazon Resource Name (ARN) of the instance profile
418
448
  # associated with the IAM role for the instance.
@@ -426,7 +456,7 @@ module Aws::AutoScaling
426
456
  #
427
457
  #
428
458
  #
429
- # [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/us-iam-role.html
459
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/us-iam-role.html
430
460
  # @option options [Boolean] :ebs_optimized
431
461
  # Indicates whether the instance is optimized for Amazon EBS I/O. By
432
462
  # default, the instance is not optimized for EBS I/O. The optimization
@@ -438,7 +468,7 @@ module Aws::AutoScaling
438
468
  #
439
469
  #
440
470
  #
441
- # [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html
471
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html
442
472
  # @option options [Boolean] :associate_public_ip_address
443
473
  # Used for groups that launch instances into a virtual private cloud
444
474
  # (VPC). Specifies whether to assign a public IP address to each
@@ -455,7 +485,7 @@ module Aws::AutoScaling
455
485
  #
456
486
  #
457
487
  #
458
- # [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html
488
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html
459
489
  # @option options [String] :placement_tenancy
460
490
  # The tenancy of the instance. An instance with a tenancy of `dedicated`
461
491
  # runs on single-tenant hardware and can only be launched into a VPC.
@@ -474,7 +504,7 @@ module Aws::AutoScaling
474
504
  #
475
505
  #
476
506
  #
477
- # [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html
507
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html
478
508
  # @return [LaunchConfiguration]
479
509
  def create_launch_configuration(options = {})
480
510
  resp = @client.create_launch_configuration(options)
@@ -652,8 +682,8 @@ module Aws::AutoScaling
652
682
  # limited to that group. This list is limited to 50 items. If you
653
683
  # specify an unknown policy name, it is ignored with no error.
654
684
  # @option options [Array<String>] :policy_types
655
- # One or more policy types. Valid values are `SimpleScaling` and
656
- # `StepScaling`.
685
+ # One or more policy types. The valid values are `SimpleScaling`,
686
+ # `StepScaling`, and `TargetTrackingScaling`.
657
687
  # @return [ScalingPolicy::Collection]
658
688
  def policies(options = {})
659
689
  batches = Enumerator.new do |y|