aws-sdk-autoscaling 1.79.0 → 1.80.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -60,7 +60,7 @@ module Aws::AutoScaling
60
60
  # used. For information about lifecycle states, see [Instance
61
61
  # lifecycle][1] in the *Amazon EC2 Auto Scaling User Guide*.
62
62
  #
63
- # Valid Values: `Pending` \| `Pending:Wait` \| `Pending:Proceed` \|
63
+ # Valid values: `Pending` \| `Pending:Wait` \| `Pending:Proceed` \|
64
64
  # `Quarantined` \| `InService` \| `Terminating` \| `Terminating:Wait` \|
65
65
  # `Terminating:Proceed` \| `Terminated` \| `Detaching` \| `Detached` \|
66
66
  # `EnteringStandby` \| `Standby` \| `Warmed:Pending` \|
@@ -42,7 +42,7 @@ module Aws::AutoScaling
42
42
  end
43
43
 
44
44
  # The ID of the Amazon Machine Image (AMI) to use to launch your EC2
45
- # instances. For more information, see [Finding an AMI][1] in the
45
+ # instances. For more information, see [Find a Linux AMI][1] in the
46
46
  # *Amazon EC2 User Guide for Linux Instances*.
47
47
  #
48
48
  #
@@ -78,7 +78,7 @@ module Aws::AutoScaling
78
78
  data[:security_groups]
79
79
  end
80
80
 
81
- # *EC2-Classic retires on August 15, 2022. This parameter is not
81
+ # *EC2-Classic retires on August 15, 2022. This property is not
82
82
  # supported after that date.*
83
83
  #
84
84
  # The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances
@@ -88,7 +88,7 @@ module Aws::AutoScaling
88
88
  data[:classic_link_vpc_id]
89
89
  end
90
90
 
91
- # *EC2-Classic retires on August 15, 2022. This parameter is not
91
+ # *EC2-Classic retires on August 15, 2022. This property is not
92
92
  # supported after that date.*
93
93
  #
94
94
  # The IDs of one or more security groups for the VPC specified in
@@ -114,10 +114,9 @@ module Aws::AutoScaling
114
114
  data[:user_data]
115
115
  end
116
116
 
117
- # The instance type for the instances.
118
- #
119
- # For information about available instance types, see [Available
120
- # Instance Types][1] in the *Amazon EC2 User Guide for Linux Instances*.
117
+ # The instance type for the instances. For information about available
118
+ # instance types, see [Available instance types][1] in the *Amazon EC2
119
+ # User Guide for Linux Instances*.
121
120
  #
122
121
  #
123
122
  #
@@ -139,9 +138,11 @@ module Aws::AutoScaling
139
138
  data[:ramdisk_id]
140
139
  end
141
140
 
142
- # A block device mapping, which specifies the block devices for the
143
- # instance. For more information, see [Block Device Mapping][1] in the
144
- # *Amazon EC2 User Guide for Linux Instances*.
141
+ # The block device mapping entries that define the block devices to
142
+ # attach to the instances at launch. By default, the block devices
143
+ # specified in the block device mapping for the AMI are used. For more
144
+ # information, see [Block Device Mapping][1] in the *Amazon EC2 User
145
+ # Guide for Linux Instances*.
145
146
  #
146
147
  #
147
148
  #
@@ -212,10 +213,15 @@ module Aws::AutoScaling
212
213
  data[:ebs_optimized]
213
214
  end
214
215
 
215
- # For Auto Scaling groups that are running in a VPC, specifies whether
216
- # to assign a public IP address to the group's instances. For more
217
- # information, see [Launching Auto Scaling instances in a VPC][1] in the
218
- # *Amazon EC2 Auto Scaling User Guide*.
216
+ # Specifies whether to assign a public IPv4 address to the group's
217
+ # instances. If the instance is launched into a default subnet, the
218
+ # default is to assign a public IPv4 address, unless you disabled the
219
+ # option to assign a public IPv4 address on the subnet. If the instance
220
+ # is launched into a nondefault subnet, the default is not to assign a
221
+ # public IPv4 address, unless you enabled the option to assign a public
222
+ # IPv4 address on the subnet. For more information, see [Launching Auto
223
+ # Scaling instances in a VPC][1] in the *Amazon EC2 Auto Scaling User
224
+ # Guide*.
219
225
  #
220
226
  #
221
227
  #
@@ -44,20 +44,17 @@ module Aws::AutoScaling
44
44
  end
45
45
  alias :lifecycle_hook_name :name
46
46
 
47
- # The state of the EC2 instance to which to attach the lifecycle hook.
48
- # The following are possible values:
47
+ # The lifecycle transition.
49
48
  #
50
- # * autoscaling:EC2\_INSTANCE\_LAUNCHING
51
- #
52
- # * autoscaling:EC2\_INSTANCE\_TERMINATING
49
+ # Valid values: `autoscaling:EC2_INSTANCE_LAUNCHING` \|
50
+ # `autoscaling:EC2_INSTANCE_TERMINATING`
53
51
  # @return [String]
54
52
  def lifecycle_transition
55
53
  data[:lifecycle_transition]
56
54
  end
57
55
 
58
56
  # The ARN of the target that Amazon EC2 Auto Scaling sends notifications
59
- # to when an instance is in the transition state for the lifecycle hook.
60
- # The notification target can be either an SQS queue or an SNS topic.
57
+ # to when an instance is in a wait state for the lifecycle hook.
61
58
  # @return [String]
62
59
  def notification_target_arn
63
60
  data[:notification_target_arn]
@@ -81,7 +78,7 @@ module Aws::AutoScaling
81
78
  # The maximum time, in seconds, that can elapse before the lifecycle
82
79
  # hook times out. If the lifecycle hook times out, Amazon EC2 Auto
83
80
  # Scaling performs the action that you specified in the `DefaultResult`
84
- # parameter.
81
+ # property.
85
82
  # @return [Integer]
86
83
  def heartbeat_timeout
87
84
  data[:heartbeat_timeout]
@@ -95,9 +92,10 @@ module Aws::AutoScaling
95
92
  data[:global_timeout]
96
93
  end
97
94
 
98
- # Defines the action the Auto Scaling group should take when the
99
- # lifecycle hook timeout elapses or if an unexpected failure occurs. The
100
- # possible values are `CONTINUE` and `ABANDON`.
95
+ # The action the Auto Scaling group takes when the lifecycle hook
96
+ # timeout elapses or if an unexpected failure occurs.
97
+ #
98
+ # Valid values: `CONTINUE` \| `ABANDON`
101
99
  # @return [String]
102
100
  def default_result
103
101
  data[:default_result]
@@ -254,8 +252,8 @@ module Aws::AutoScaling
254
252
  # sends this token to the notification target you specified when you
255
253
  # created the lifecycle hook.
256
254
  # @option options [required, String] :lifecycle_action_result
257
- # The action for the group to take. This parameter can be either
258
- # `CONTINUE` or `ABANDON`.
255
+ # The action for the group to take. You can specify either `CONTINUE` or
256
+ # `ABANDON`.
259
257
  # @option options [String] :instance_id
260
258
  # The ID of the instance.
261
259
  # @return [Types::CompleteLifecycleActionAnswer]
@@ -294,12 +292,14 @@ module Aws::AutoScaling
294
292
  # })
295
293
  # @param [Hash] options ({})
296
294
  # @option options [String] :lifecycle_transition
297
- # The instance state to which you want to attach the lifecycle hook. The
298
- # valid values are:
295
+ # The lifecycle transition. For Auto Scaling groups, there are two major
296
+ # lifecycle transitions.
299
297
  #
300
- # * autoscaling:EC2\_INSTANCE\_LAUNCHING
298
+ # * To create a lifecycle hook for scale-out events, specify
299
+ # `autoscaling:EC2_INSTANCE_LAUNCHING`.
301
300
  #
302
- # * autoscaling:EC2\_INSTANCE\_TERMINATING
301
+ # * To create a lifecycle hook for scale-in events, specify
302
+ # `autoscaling:EC2_INSTANCE_TERMINATING`.
303
303
  #
304
304
  # Required for new lifecycle hooks, but optional when updating existing
305
305
  # hooks.
@@ -311,10 +311,10 @@ module Aws::AutoScaling
311
311
  # Amazon SQS queue. Required for new lifecycle hooks, but optional when
312
312
  # updating existing hooks.
313
313
  # @option options [String] :notification_target_arn
314
- # The ARN of the notification target that Amazon EC2 Auto Scaling uses
315
- # to notify you when an instance is in the transition state for the
316
- # lifecycle hook. This target can be either an SQS queue or an SNS
317
- # topic.
314
+ # The Amazon Resource Name (ARN) of the notification target that Amazon
315
+ # EC2 Auto Scaling uses to notify you when an instance is in a wait
316
+ # state for the lifecycle hook. You can specify either an Amazon SNS
317
+ # topic or an Amazon SQS queue.
318
318
  #
319
319
  # If you specify an empty string, this overrides the current ARN.
320
320
  #
@@ -332,16 +332,12 @@ module Aws::AutoScaling
332
332
  # The maximum time, in seconds, that can elapse before the lifecycle
333
333
  # hook times out. The range is from `30` to `7200` seconds. The default
334
334
  # value is `3600` seconds (1 hour).
335
- #
336
- # If the lifecycle hook times out, Amazon EC2 Auto Scaling performs the
337
- # action that you specified in the `DefaultResult` parameter. You can
338
- # prevent the lifecycle hook from timing out by calling the
339
- # RecordLifecycleActionHeartbeat API.
340
335
  # @option options [String] :default_result
341
- # Defines the action the Auto Scaling group should take when the
342
- # lifecycle hook timeout elapses or if an unexpected failure occurs.
343
- # This parameter can be either `CONTINUE` or `ABANDON`. The default
344
- # value is `ABANDON`.
336
+ # The action the Auto Scaling group takes when the lifecycle hook
337
+ # timeout elapses or if an unexpected failure occurs. The default value
338
+ # is `ABANDON`.
339
+ #
340
+ # Valid values: `CONTINUE` \| `ABANDON`
345
341
  # @return [Types::PutLifecycleHookAnswer]
346
342
  def put(options = {})
347
343
  options = options.merge(
@@ -172,7 +172,7 @@ module Aws::AutoScaling
172
172
  # (`LaunchTemplate` or `MixedInstancesPolicy`) or a launch configuration
173
173
  # (`LaunchConfigurationName` or `InstanceId`).
174
174
  # @option options [Types::LaunchTemplateSpecification] :launch_template
175
- # Parameters used to specify the launch template and version to use to
175
+ # Information used to specify the launch template and version to use to
176
176
  # launch instances.
177
177
  #
178
178
  # Conditional: You must specify either a launch template
@@ -247,22 +247,22 @@ module Aws::AutoScaling
247
247
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html
248
248
  # @option options [Array<String>] :availability_zones
249
249
  # A list of Availability Zones where instances in the Auto Scaling group
250
- # can be created. This parameter is optional if you specify one or more
251
- # subnets for `VPCZoneIdentifier`.
252
- #
253
- # Conditional: If your account supports EC2-Classic and VPC, this
254
- # parameter is required to launch instances into EC2-Classic.
250
+ # can be created. Used for launching into the default VPC subnet in each
251
+ # Availability Zone when not using the `VPCZoneIdentifier` property, or
252
+ # for attaching a network interface when an existing network interface
253
+ # ID is specified in a launch template.
255
254
  # @option options [Array<String>] :load_balancer_names
256
255
  # A list of Classic Load Balancers associated with this Auto Scaling
257
256
  # group. For Application Load Balancers, Network Load Balancers, and
258
- # Gateway Load Balancers, specify the `TargetGroupARNs` property
259
- # instead.
257
+ # Gateway Load Balancer, specify the `TargetGroupARNs` property instead.
260
258
  # @option options [Array<String>] :target_group_arns
261
259
  # The Amazon Resource Names (ARN) of the target groups to associate with
262
- # the Auto Scaling group. Instances are registered as targets in a
263
- # target group, and traffic is routed to the target group. For more
264
- # information, see [Elastic Load Balancing and Amazon EC2 Auto
265
- # Scaling][1] in the *Amazon EC2 Auto Scaling User Guide*.
260
+ # the Auto Scaling group. Instances are registered as targets with the
261
+ # target groups. The target groups receive incoming traffic and route
262
+ # requests to one or more registered targets. For more information, see
263
+ # [Use Elastic Load Balancing to distribute traffic across the instances
264
+ # in your Auto Scaling group][1] in the *Amazon EC2 Auto Scaling User
265
+ # Guide*.
266
266
  #
267
267
  #
268
268
  #
@@ -279,8 +279,6 @@ module Aws::AutoScaling
279
279
  #
280
280
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html
281
281
  # @option options [Integer] :health_check_grace_period
282
- # **
283
- #
284
282
  # The amount of time, in seconds, that Amazon EC2 Auto Scaling waits
285
283
  # before checking the health status of an EC2 instance that has come
286
284
  # into service and marking it unhealthy due to a failed Elastic Load
@@ -295,9 +293,9 @@ module Aws::AutoScaling
295
293
  #
296
294
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html#health-check-grace-period
297
295
  # @option options [String] :placement_group
298
- # The name of an existing placement group into which to launch your
299
- # instances. For more information, see [Placement groups][1] in the
300
- # *Amazon EC2 User Guide for Linux Instances*.
296
+ # The name of the placement group into which to launch your instances.
297
+ # For more information, see [Placement groups][1] in the *Amazon EC2
298
+ # User Guide for Linux Instances*.
301
299
  #
302
300
  # <note markdown="1"> A *cluster* placement group is a logical grouping of instances within
303
301
  # a single Availability Zone. You cannot specify multiple Availability
@@ -312,21 +310,21 @@ module Aws::AutoScaling
312
310
  # A comma-separated list of subnet IDs for a virtual private cloud (VPC)
313
311
  # where instances in the Auto Scaling group can be created. If you
314
312
  # specify `VPCZoneIdentifier` with `AvailabilityZones`, the subnets that
315
- # you specify for this parameter must reside in those Availability
316
- # Zones.
317
- #
318
- # Conditional: If your account supports EC2-Classic and VPC, this
319
- # parameter is required to launch instances into a VPC.
313
+ # you specify must reside in those Availability Zones.
320
314
  # @option options [Array<String>] :termination_policies
321
315
  # A policy or a list of policies that are used to select the instance to
322
316
  # terminate. These policies are executed in the order that you list
323
- # them. For more information, see [Controlling which Auto Scaling
324
- # instances terminate during scale in][1] in the *Amazon EC2 Auto
325
- # Scaling User Guide*.
317
+ # them. For more information, see [Work with Amazon EC2 Auto Scaling
318
+ # termination policies][1] in the *Amazon EC2 Auto Scaling User Guide*.
326
319
  #
320
+ # Valid values: `Default` \| `AllocationStrategy` \|
321
+ # `ClosestToNextInstanceHour` \| `NewestInstance` \| `OldestInstance` \|
322
+ # `OldestLaunchConfiguration` \| `OldestLaunchTemplate` \|
323
+ # `arn:aws:lambda:region:account-id:function:my-function:my-alias`
327
324
  #
328
325
  #
329
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html
326
+ #
327
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-termination-policies.html
330
328
  # @option options [Boolean] :new_instances_protected_from_scale_in
331
329
  # Indicates whether newly launched instances are protected from
332
330
  # termination by Amazon EC2 Auto Scaling when scaling in. For more
@@ -343,15 +341,16 @@ module Aws::AutoScaling
343
341
  # EC2 Auto Scaling attempts to launch a Spot Instance whenever Amazon
344
342
  # EC2 notifies that a Spot Instance is at an elevated risk of
345
343
  # interruption. After launching a new instance, it then terminates an
346
- # old instance. For more information, see [Amazon EC2 Auto Scaling
347
- # Capacity Rebalancing][1] in the *Amazon EC2 Auto Scaling User Guide*.
344
+ # old instance. For more information, see [Use Capacity Rebalancing to
345
+ # handle Amazon EC2 Spot Interruptions][1] in the in the *Amazon EC2
346
+ # Auto Scaling User Guide*.
348
347
  #
349
348
  #
350
349
  #
351
350
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-capacity-rebalancing.html
352
351
  # @option options [Array<Types::LifecycleHookSpecification>] :lifecycle_hook_specification_list
353
- # One or more lifecycle hooks for the group, which specify actions to
354
- # perform when Amazon EC2 Auto Scaling launches or terminates instances.
352
+ # One or more lifecycle hooks to add to the Auto Scaling group before
353
+ # instances are launched.
355
354
  # @option options [Array<Types::Tag>] :tags
356
355
  # One or more tags. You can tag your Auto Scaling group and propagate
357
356
  # the tags to the Amazon EC2 instances it launches. Tags are not
@@ -360,18 +359,18 @@ module Aws::AutoScaling
360
359
  # template specifies an instance tag with a key that is also specified
361
360
  # for the Auto Scaling group, Amazon EC2 Auto Scaling overrides the
362
361
  # value of that instance tag with the value specified by the Auto
363
- # Scaling group. For more information, see [Tagging Auto Scaling groups
364
- # and instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
362
+ # Scaling group. For more information, see [Tag Auto Scaling groups and
363
+ # instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
365
364
  #
366
365
  #
367
366
  #
368
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-tagging.html
367
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-tagging.html
369
368
  # @option options [String] :service_linked_role_arn
370
369
  # The Amazon Resource Name (ARN) of the service-linked role that the
371
- # Auto Scaling group uses to call other Amazon Web Services on your
372
- # behalf. By default, Amazon EC2 Auto Scaling uses a service-linked role
373
- # named `AWSServiceRoleForAutoScaling`, which it creates if it does not
374
- # exist. For more information, see [Service-linked roles][1] in the
370
+ # Auto Scaling group uses to call other Amazon Web Services service on
371
+ # your behalf. By default, Amazon EC2 Auto Scaling uses a service-linked
372
+ # role named `AWSServiceRoleForAutoScaling`, which it creates if it does
373
+ # not exist. For more information, see [Service-linked roles][1] in the
375
374
  # *Amazon EC2 Auto Scaling User Guide*.
376
375
  #
377
376
  #
@@ -488,39 +487,33 @@ module Aws::AutoScaling
488
487
  # Region per account.
489
488
  # @option options [String] :image_id
490
489
  # The ID of the Amazon Machine Image (AMI) that was assigned during
491
- # registration. For more information, see [Finding an AMI][1] in the
492
- # *Amazon EC2 User Guide for Linux Instances*.
490
+ # registration. For more information, see [Finding a Linux AMI][1] in
491
+ # the *Amazon EC2 User Guide for Linux Instances*.
493
492
  #
494
- # If you do not specify `InstanceId`, you must specify `ImageId`.
493
+ # If you specify `InstanceId`, an `ImageId` is not required.
495
494
  #
496
495
  #
497
496
  #
498
497
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html
499
498
  # @option options [String] :key_name
500
- # The name of the key pair. For more information, see [Amazon EC2 Key
501
- # Pairs][1] in the *Amazon EC2 User Guide for Linux Instances*.
499
+ # The name of the key pair. For more information, see [Amazon EC2 key
500
+ # pairs and Linux instances][1] in the *Amazon EC2 User Guide for Linux
501
+ # Instances*.
502
502
  #
503
503
  #
504
504
  #
505
505
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html
506
506
  # @option options [Array<String>] :security_groups
507
- # A list that contains the security groups to assign to the instances in
508
- # the Auto Scaling group.
509
- #
510
- # \[EC2-VPC\] Specify the security group IDs. For more information, see
511
- # [Security Groups for Your VPC][1] in the *Amazon Virtual Private Cloud
512
- # User Guide*.
513
- #
514
- # \[EC2-Classic\] Specify either the security group names or the
515
- # security group IDs. For more information, see [Amazon EC2 Security
516
- # Groups][2] in the *Amazon EC2 User Guide for Linux Instances*.
507
+ # A list that contains the security group IDs to assign to the instances
508
+ # in the Auto Scaling group. For more information, see [Control traffic
509
+ # to resources using security groups][1] in the *Amazon Virtual Private
510
+ # Cloud User Guide*.
517
511
  #
518
512
  #
519
513
  #
520
514
  # [1]: https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html
521
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html
522
515
  # @option options [String] :classic_link_vpc_id
523
- # *EC2-Classic retires on August 15, 2022. This parameter is not
516
+ # *EC2-Classic retires on August 15, 2022. This property is not
524
517
  # supported after that date.*
525
518
  #
526
519
  # The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances
@@ -531,19 +524,14 @@ module Aws::AutoScaling
531
524
  #
532
525
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html
533
526
  # @option options [Array<String>] :classic_link_vpc_security_groups
534
- # *EC2-Classic retires on August 15, 2022. This parameter is not
527
+ # *EC2-Classic retires on August 15, 2022. This property is not
535
528
  # supported after that date.*
536
529
  #
537
530
  # The IDs of one or more security groups for the specified
538
- # ClassicLink-enabled VPC. For more information, see [ClassicLink][1] in
539
- # the *Amazon EC2 User Guide for Linux Instances*.
540
- #
541
- # If you specify the `ClassicLinkVPCId` parameter, you must specify this
542
- # parameter.
543
- #
531
+ # ClassicLink-enabled VPC.
544
532
  #
545
- #
546
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html
533
+ # If you specify the `ClassicLinkVPCId` property, you must specify
534
+ # `ClassicLinkVPCSecurityGroups`.
547
535
  # @option options [String] :user_data
548
536
  # The user data to make available to the launched EC2 instances. For
549
537
  # more information, see [Instance metadata and user data][1] (Linux) and
@@ -568,31 +556,48 @@ module Aws::AutoScaling
568
556
  # For more information, see [Creating a launch configuration using an
569
557
  # EC2 instance][1] in the *Amazon EC2 Auto Scaling User Guide*.
570
558
  #
571
- # If you do not specify `InstanceId`, you must specify both `ImageId`
572
- # and `InstanceType`.
573
- #
574
559
  #
575
560
  #
576
561
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-lc-with-instanceID.html
577
562
  # @option options [String] :instance_type
578
- # Specifies the instance type of the EC2 instance.
579
- #
580
- # For information about available instance types, see [Available
581
- # Instance Types][1] in the *Amazon EC2 User Guide for Linux Instances*.
563
+ # Specifies the instance type of the EC2 instance. For information about
564
+ # available instance types, see [Available instance types][1] in the
565
+ # *Amazon EC2 User Guide for Linux Instances*.
582
566
  #
583
- # If you do not specify `InstanceId`, you must specify `InstanceType`.
567
+ # If you specify `InstanceId`, an `InstanceType` is not required.
584
568
  #
585
569
  #
586
570
  #
587
571
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#AvailableInstanceTypes
588
572
  # @option options [String] :kernel_id
589
573
  # The ID of the kernel associated with the AMI.
574
+ #
575
+ # <note markdown="1"> We recommend that you use PV-GRUB instead of kernels and RAM disks.
576
+ # For more information, see [User provided kernels][1] in the *Amazon
577
+ # EC2 User Guide for Linux Instances*.
578
+ #
579
+ # </note>
580
+ #
581
+ #
582
+ #
583
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html
590
584
  # @option options [String] :ramdisk_id
591
585
  # The ID of the RAM disk to select.
586
+ #
587
+ # <note markdown="1"> We recommend that you use PV-GRUB instead of kernels and RAM disks.
588
+ # For more information, see [User provided kernels][1] in the *Amazon
589
+ # EC2 User Guide for Linux Instances*.
590
+ #
591
+ # </note>
592
+ #
593
+ #
594
+ #
595
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedKernels.html
592
596
  # @option options [Array<Types::BlockDeviceMapping>] :block_device_mappings
593
- # A block device mapping, which specifies the block devices for the
594
- # instance. You can specify virtual devices and EBS volumes. For more
595
- # information, see [Block Device Mapping][1] in the *Amazon EC2 User
597
+ # The block device mapping entries that define the block devices to
598
+ # attach to the instances at launch. By default, the block devices
599
+ # specified in the block device mapping for the AMI are used. For more
600
+ # information, see [Block device mappings][1] in the *Amazon EC2 User
596
601
  # Guide for Linux Instances*.
597
602
  #
598
603
  #
@@ -617,8 +622,10 @@ module Aws::AutoScaling
617
622
  # The maximum hourly price to be paid for any Spot Instance launched to
618
623
  # fulfill the request. Spot Instances are launched when the price you
619
624
  # specify exceeds the current Spot price. For more information, see
620
- # [Requesting Spot Instances][1] in the *Amazon EC2 Auto Scaling User
621
- # Guide*.
625
+ # [Request Spot Instances for fault-tolerant and flexible
626
+ # applications][1] in the *Amazon EC2 Auto Scaling User Guide*.
627
+ #
628
+ # Valid Range: Minimum value of 0.001
622
629
  #
623
630
  # <note markdown="1"> When you change your maximum price by creating a new launch
624
631
  # configuration, running instances will continue to run as long as the
@@ -629,14 +636,13 @@ module Aws::AutoScaling
629
636
  #
630
637
  #
631
638
  #
632
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-launch-spot-instances.html
639
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/launch-template-spot-instances.html
633
640
  # @option options [String] :iam_instance_profile
634
641
  # The name or the Amazon Resource Name (ARN) of the instance profile
635
642
  # associated with the IAM role for the instance. The instance profile
636
- # contains the IAM role.
637
- #
638
- # For more information, see [IAM role for applications that run on
639
- # Amazon EC2 instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
643
+ # contains the IAM role. For more information, see [IAM role for
644
+ # applications that run on Amazon EC2 instances][1] in the *Amazon EC2
645
+ # Auto Scaling User Guide*.
640
646
  #
641
647
  #
642
648
  #
@@ -657,44 +663,39 @@ module Aws::AutoScaling
657
663
  #
658
664
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSOptimized.html
659
665
  # @option options [Boolean] :associate_public_ip_address
660
- # For Auto Scaling groups that are running in a virtual private cloud
661
- # (VPC), specifies whether to assign a public IP address to the group's
662
- # instances. If you specify `true`, each instance in the Auto Scaling
663
- # group receives a unique public IP address. For more information, see
666
+ # Specifies whether to assign a public IPv4 address to the group's
667
+ # instances. If the instance is launched into a default subnet, the
668
+ # default is to assign a public IPv4 address, unless you disabled the
669
+ # option to assign a public IPv4 address on the subnet. If the instance
670
+ # is launched into a nondefault subnet, the default is not to assign a
671
+ # public IPv4 address, unless you enabled the option to assign a public
672
+ # IPv4 address on the subnet.
673
+ #
674
+ # If you specify `true`, each instance in the Auto Scaling group
675
+ # receives a unique public IPv4 address. For more information, see
664
676
  # [Launching Auto Scaling instances in a VPC][1] in the *Amazon EC2 Auto
665
677
  # Scaling User Guide*.
666
678
  #
667
- # If you specify this parameter, you must specify at least one subnet
668
- # for `VPCZoneIdentifier` when you create your group.
669
- #
670
- # <note markdown="1"> If the instance is launched into a default subnet, the default is to
671
- # assign a public IP address, unless you disabled the option to assign a
672
- # public IP address on the subnet. If the instance is launched into a
673
- # nondefault subnet, the default is not to assign a public IP address,
674
- # unless you enabled the option to assign a public IP address on the
675
- # subnet.
676
- #
677
- # </note>
679
+ # If you specify this property, you must specify at least one subnet for
680
+ # `VPCZoneIdentifier` when you create your group.
678
681
  #
679
682
  #
680
683
  #
681
684
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html
682
685
  # @option options [String] :placement_tenancy
683
- # The tenancy of the instance. An instance with `dedicated` tenancy runs
684
- # on isolated, single-tenant hardware and can only be launched into a
685
- # VPC.
686
- #
687
- # To launch dedicated instances into a shared tenancy VPC (a VPC with
688
- # the instance placement tenancy attribute set to `default`), you must
689
- # set the value of this parameter to `dedicated`.
686
+ # The tenancy of the instance, either `default` or `dedicated`. An
687
+ # instance with `dedicated` tenancy runs on isolated, single-tenant
688
+ # hardware and can only be launched into a VPC. To launch dedicated
689
+ # instances into a shared tenancy VPC (a VPC with the instance placement
690
+ # tenancy attribute set to `default`), you must set the value of this
691
+ # property to `dedicated`. For more information, see [Configuring
692
+ # instance tenancy with Amazon EC2 Auto Scaling][1] in the *Amazon EC2
693
+ # Auto Scaling User Guide*.
690
694
  #
691
695
  # If you specify `PlacementTenancy`, you must specify at least one
692
696
  # subnet for `VPCZoneIdentifier` when you create your group.
693
697
  #
694
- # For more information, see [Configuring instance tenancy with Amazon
695
- # EC2 Auto Scaling][1] in the *Amazon EC2 Auto Scaling User Guide*.
696
- #
697
- # Valid Values: `default` \| `dedicated`
698
+ # Valid values: `default` \| `dedicated`
698
699
  #
699
700
  #
700
701
  #
@@ -728,7 +729,7 @@ module Aws::AutoScaling
728
729
  # @param [Hash] options ({})
729
730
  # @option options [Array<String>] :activity_ids
730
731
  # The activity IDs of the desired scaling activities. If you omit this
731
- # parameter, all activities for the past six weeks are described. If
732
+ # property, all activities for the past six weeks are described. If
732
733
  # unknown activities are requested, they are ignored with no error. If
733
734
  # you specify an Auto Scaling group, the results are limited to that
734
735
  # group.
@@ -791,9 +792,9 @@ module Aws::AutoScaling
791
792
  # @option options [Array<String>] :auto_scaling_group_names
792
793
  # The names of the Auto Scaling groups. By default, you can only specify
793
794
  # up to 50 names. You can optionally increase this limit using the
794
- # `MaxRecords` parameter.
795
+ # `MaxRecords` property.
795
796
  #
796
- # If you omit this parameter, all Auto Scaling groups are described.
797
+ # If you omit this property, all Auto Scaling groups are described.
797
798
  # @option options [Array<Types::Filter>] :filters
798
799
  # One or more filters to limit the results based on specific tags.
799
800
  # @return [AutoScalingGroup::Collection]
@@ -822,7 +823,7 @@ module Aws::AutoScaling
822
823
  # })
823
824
  # @param [Hash] options ({})
824
825
  # @option options [Array<String>] :instance_ids
825
- # The IDs of the instances. If you omit this parameter, all Auto Scaling
826
+ # The IDs of the instances. If you omit this property, all Auto Scaling
826
827
  # instances are described. If you specify an ID that does not exist, it
827
828
  # is ignored with no error.
828
829
  #
@@ -863,7 +864,7 @@ module Aws::AutoScaling
863
864
  # })
864
865
  # @param [Hash] options ({})
865
866
  # @option options [Array<String>] :launch_configuration_names
866
- # The launch configuration names. If you omit this parameter, all launch
867
+ # The launch configuration names. If you omit this property, all launch
867
868
  # configurations are described.
868
869
  #
869
870
  # Array Members: Maximum number of 50 items.
@@ -897,7 +898,7 @@ module Aws::AutoScaling
897
898
  # @option options [String] :auto_scaling_group_name
898
899
  # The name of the Auto Scaling group.
899
900
  # @option options [Array<String>] :policy_names
900
- # The names of one or more policies. If you omit this parameter, all
901
+ # The names of one or more policies. If you omit this property, all
901
902
  # policies are described. If a group name is provided, the results are
902
903
  # limited to that group. If you specify an unknown policy name, it is
903
904
  # ignored with no error.
@@ -955,17 +956,17 @@ module Aws::AutoScaling
955
956
  # @option options [String] :auto_scaling_group_name
956
957
  # The name of the Auto Scaling group.
957
958
  # @option options [Array<String>] :scheduled_action_names
958
- # The names of one or more scheduled actions. If you omit this
959
- # parameter, all scheduled actions are described. If you specify an
960
- # unknown scheduled action, it is ignored with no error.
959
+ # The names of one or more scheduled actions. If you omit this property,
960
+ # all scheduled actions are described. If you specify an unknown
961
+ # scheduled action, it is ignored with no error.
961
962
  #
962
963
  # Array Members: Maximum number of 50 actions.
963
964
  # @option options [Time,DateTime,Date,Integer,String] :start_time
964
965
  # The earliest scheduled start time to return. If scheduled action names
965
- # are provided, this parameter is ignored.
966
+ # are provided, this property is ignored.
966
967
  # @option options [Time,DateTime,Date,Integer,String] :end_time
967
968
  # The latest scheduled start time to return. If scheduled action names
968
- # are provided, this parameter is ignored.
969
+ # are provided, this property is ignored.
969
970
  # @return [ScheduledAction::Collection]
970
971
  def scheduled_actions(options = {})
971
972
  batches = Enumerator.new do |y|