aws-sdk-autoscaling 1.48.0 → 1.53.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -286,7 +286,7 @@ module Aws::AutoScaling
286
286
  #
287
287
  # lifecycle_hook.put({
288
288
  # lifecycle_transition: "LifecycleTransition",
289
- # role_arn: "ResourceName",
289
+ # role_arn: "XmlStringMaxLen255",
290
290
  # notification_target_arn: "NotificationTargetResourceName",
291
291
  # notification_metadata: "XmlStringMaxLen1023",
292
292
  # heartbeat_timeout: 1,
@@ -39,7 +39,7 @@ module Aws::AutoScaling
39
39
  #
40
40
  # autoscalinggroup = auto_scaling.create_group({
41
41
  # auto_scaling_group_name: "XmlStringMaxLen255", # required
42
- # launch_configuration_name: "ResourceName",
42
+ # launch_configuration_name: "XmlStringMaxLen255",
43
43
  # launch_template: {
44
44
  # launch_template_id: "XmlStringMaxLen255",
45
45
  # launch_template_name: "LaunchTemplateName",
@@ -56,6 +56,11 @@ module Aws::AutoScaling
56
56
  # {
57
57
  # instance_type: "XmlStringMaxLen255",
58
58
  # weighted_capacity: "XmlStringMaxLen32",
59
+ # launch_template_specification: {
60
+ # launch_template_id: "XmlStringMaxLen255",
61
+ # launch_template_name: "LaunchTemplateName",
62
+ # version: "XmlStringMaxLen255",
63
+ # },
59
64
  # },
60
65
  # ],
61
66
  # },
@@ -91,7 +96,7 @@ module Aws::AutoScaling
91
96
  # heartbeat_timeout: 1,
92
97
  # default_result: "LifecycleActionResult",
93
98
  # notification_target_arn: "NotificationTargetResourceName",
94
- # role_arn: "ResourceName",
99
+ # role_arn: "XmlStringMaxLen255",
95
100
  # },
96
101
  # ],
97
102
  # tags: [
@@ -111,31 +116,29 @@ module Aws::AutoScaling
111
116
  # The name of the Auto Scaling group. This name must be unique per
112
117
  # Region per account.
113
118
  # @option options [String] :launch_configuration_name
114
- # The name of the launch configuration to use when an instance is
115
- # launched. To get the launch configuration name, use the
116
- # DescribeLaunchConfigurations API operation. New launch configurations
117
- # can be created with the CreateLaunchConfiguration API.
118
- #
119
- # You must specify one of the following parameters in your request:
120
- # `LaunchConfigurationName`, `LaunchTemplate`, `InstanceId`, or
121
- # `MixedInstancesPolicy`.
119
+ # The name of the launch configuration to use to launch instances.
120
+ #
121
+ # Conditional: You must specify either a launch template
122
+ # (`LaunchTemplate` or `MixedInstancesPolicy`) or a launch configuration
123
+ # (`LaunchConfigurationName` or `InstanceId`).
122
124
  # @option options [Types::LaunchTemplateSpecification] :launch_template
123
- # Parameters used to specify the launch template and version to use when
124
- # an instance is launched.
125
+ # Parameters used to specify the launch template and version to use to
126
+ # launch instances.
125
127
  #
126
- # For more information, see [LaunchTemplateSpecification][1] in the
127
- # *Amazon EC2 Auto Scaling API Reference*.
128
+ # Conditional: You must specify either a launch template
129
+ # (`LaunchTemplate` or `MixedInstancesPolicy`) or a launch configuration
130
+ # (`LaunchConfigurationName` or `InstanceId`).
128
131
  #
129
- # You can alternatively associate a launch template to the Auto Scaling
130
- # group by using the `MixedInstancesPolicy` parameter.
132
+ # <note markdown="1"> The launch template that is specified must be configured for use with
133
+ # an Auto Scaling group. For more information, see [Creating a launch
134
+ # template for an Auto Scaling group][1] in the *Amazon EC2 Auto Scaling
135
+ # User Guide*.
131
136
  #
132
- # You must specify one of the following parameters in your request:
133
- # `LaunchConfigurationName`, `LaunchTemplate`, `InstanceId`, or
134
- # `MixedInstancesPolicy`.
137
+ # </note>
135
138
  #
136
139
  #
137
140
  #
138
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_LaunchTemplateSpecification.html
141
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-template.html
139
142
  # @option options [Types::MixedInstancesPolicy] :mixed_instances_policy
140
143
  # An embedded object that specifies a mixed instances policy. The
141
144
  # required parameters must be specified. If optional parameters are
@@ -144,40 +147,29 @@ module Aws::AutoScaling
144
147
  # The policy includes parameters that not only define the distribution
145
148
  # of On-Demand Instances and Spot Instances, the maximum price to pay
146
149
  # for Spot Instances, and how the Auto Scaling group allocates instance
147
- # types to fulfill On-Demand and Spot capacity, but also the parameters
148
- # that specify the instance configuration information—the launch
149
- # template and instance types.
150
- #
151
- # For more information, see [MixedInstancesPolicy][1] in the *Amazon EC2
152
- # Auto Scaling API Reference* and [Auto Scaling Groups with Multiple
153
- # Instance Types and Purchase Options][2] in the *Amazon EC2 Auto
154
- # Scaling User Guide*.
155
- #
156
- # You must specify one of the following parameters in your request:
157
- # `LaunchConfigurationName`, `LaunchTemplate`, `InstanceId`, or
158
- # `MixedInstancesPolicy`.
150
+ # types to fulfill On-Demand and Spot capacities, but also the
151
+ # parameters that specify the instance configuration information—the
152
+ # launch template and instance types. The policy can also include a
153
+ # weight for each instance type and different launch templates for
154
+ # individual instance types. For more information, see [Auto Scaling
155
+ # groups with multiple instance types and purchase options][1] in the
156
+ # *Amazon EC2 Auto Scaling User Guide*.
159
157
  #
160
158
  #
161
159
  #
162
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_MixedInstancesPolicy.html
163
- # [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-purchase-options.html
160
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-purchase-options.html
164
161
  # @option options [String] :instance_id
165
- # The ID of the instance used to create a launch configuration for the
166
- # group. To get the instance ID, use the Amazon EC2
167
- # [DescribeInstances][1] API operation.
168
- #
169
- # When you specify an ID of an instance, Amazon EC2 Auto Scaling creates
170
- # a new launch configuration and associates it with the group. This
171
- # launch configuration derives its attributes from the specified
172
- # instance, except for the block device mapping.
173
- #
174
- # You must specify one of the following parameters in your request:
175
- # `LaunchConfigurationName`, `LaunchTemplate`, `InstanceId`, or
176
- # `MixedInstancesPolicy`.
162
+ # The ID of the instance used to base the launch configuration on. If
163
+ # specified, Amazon EC2 Auto Scaling uses the configuration values from
164
+ # the specified instance to create a new launch configuration. To get
165
+ # the instance ID, use the Amazon EC2 [DescribeInstances][1] API
166
+ # operation. For more information, see [Creating an Auto Scaling group
167
+ # using an EC2 instance][2] in the *Amazon EC2 Auto Scaling User Guide*.
177
168
  #
178
169
  #
179
170
  #
180
171
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html
172
+ # [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-from-instance.html
181
173
  # @option options [required, Integer] :min_size
182
174
  # The minimum size of the group.
183
175
  # @option options [required, Integer] :max_size
@@ -194,62 +186,51 @@ module Aws::AutoScaling
194
186
  # @option options [Integer] :desired_capacity
195
187
  # The desired capacity is the initial capacity of the Auto Scaling group
196
188
  # at the time of its creation and the capacity it attempts to maintain.
197
- # It can scale beyond this capacity if you configure automatic scaling.
198
- #
199
- # This number must be greater than or equal to the minimum size of the
200
- # group and less than or equal to the maximum size of the group. If you
201
- # do not specify a desired capacity, the default is the minimum size of
202
- # the group.
189
+ # It can scale beyond this capacity if you configure auto scaling. This
190
+ # number must be greater than or equal to the minimum size of the group
191
+ # and less than or equal to the maximum size of the group. If you do not
192
+ # specify a desired capacity, the default is the minimum size of the
193
+ # group.
203
194
  # @option options [Integer] :default_cooldown
204
195
  # The amount of time, in seconds, after a scaling activity completes
205
196
  # before another scaling activity can start. The default value is `300`.
206
- #
207
197
  # This setting applies when using simple scaling policies, but not when
208
198
  # using other scaling policies or scheduled scaling. For more
209
- # information, see [Scaling Cooldowns for Amazon EC2 Auto Scaling][1] in
199
+ # information, see [Scaling cooldowns for Amazon EC2 Auto Scaling][1] in
210
200
  # the *Amazon EC2 Auto Scaling User Guide*.
211
201
  #
212
202
  #
213
203
  #
214
204
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html
215
205
  # @option options [Array<String>] :availability_zones
216
- # One or more Availability Zones for the group. This parameter is
217
- # optional if you specify one or more subnets for `VPCZoneIdentifier`.
206
+ # A list of Availability Zones where instances in the Auto Scaling group
207
+ # can be created. This parameter is optional if you specify one or more
208
+ # subnets for `VPCZoneIdentifier`.
218
209
  #
219
210
  # Conditional: If your account supports EC2-Classic and VPC, this
220
211
  # parameter is required to launch instances into EC2-Classic.
221
212
  # @option options [Array<String>] :load_balancer_names
222
213
  # A list of Classic Load Balancers associated with this Auto Scaling
223
- # group. For Application Load Balancers and Network Load Balancers,
224
- # specify a list of target groups using the `TargetGroupARNs` property
214
+ # group. For Application Load Balancers, Network Load Balancers, and
215
+ # Gateway Load Balancers, specify the `TargetGroupARNs` property
225
216
  # instead.
226
- #
227
- # For more information, see [Using a Load Balancer with an Auto Scaling
228
- # Group][1] in the *Amazon EC2 Auto Scaling User Guide*.
229
- #
230
- #
231
- #
232
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html
233
217
  # @option options [Array<String>] :target_group_arns
234
218
  # The Amazon Resource Names (ARN) of the target groups to associate with
235
219
  # the Auto Scaling group. Instances are registered as targets in a
236
- # target group, and traffic is routed to the target group.
237
- #
238
- # For more information, see [Using a Load Balancer with an Auto Scaling
239
- # Group][1] in the *Amazon EC2 Auto Scaling User Guide*.
220
+ # target group, and traffic is routed to the target group. For more
221
+ # information, see [Elastic Load Balancing and Amazon EC2 Auto
222
+ # Scaling][1] in the *Amazon EC2 Auto Scaling User Guide*.
240
223
  #
241
224
  #
242
225
  #
243
226
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html
244
227
  # @option options [String] :health_check_type
245
228
  # The service to use for the health checks. The valid values are `EC2`
246
- # and `ELB`. The default value is `EC2`. If you configure an Auto
247
- # Scaling group to use ELB health checks, it considers the instance
248
- # unhealthy if it fails either the EC2 status checks or the load
249
- # balancer health checks.
250
- #
251
- # For more information, see [Health Checks for Auto Scaling
252
- # Instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
229
+ # (default) and `ELB`. If you configure an Auto Scaling group to use
230
+ # load balancer (ELB) health checks, it considers the instance unhealthy
231
+ # if it fails either the EC2 status checks or the load balancer health
232
+ # checks. For more information, see [Health checks for Auto Scaling
233
+ # instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
253
234
  #
254
235
  #
255
236
  #
@@ -258,89 +239,80 @@ module Aws::AutoScaling
258
239
  # The amount of time, in seconds, that Amazon EC2 Auto Scaling waits
259
240
  # before checking the health status of an EC2 instance that has come
260
241
  # into service. During this time, any health check failures for the
261
- # instance are ignored. The default value is `0`.
262
- #
263
- # For more information, see [Health Check Grace Period][1] in the
264
- # *Amazon EC2 Auto Scaling User Guide*.
242
+ # instance are ignored. The default value is `0`. For more information,
243
+ # see [Health check grace period][1] in the *Amazon EC2 Auto Scaling
244
+ # User Guide*.
265
245
  #
266
- # Required if you are adding an `ELB` health check.
246
+ # Conditional: Required if you are adding an `ELB` health check.
267
247
  #
268
248
  #
269
249
  #
270
250
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html#health-check-grace-period
271
251
  # @option options [String] :placement_group
272
- # The name of the placement group into which to launch your instances,
273
- # if any. A placement group is a logical grouping of instances within a
274
- # single Availability Zone. You cannot specify multiple Availability
275
- # Zones and a placement group. For more information, see [Placement
276
- # Groups][1] in the *Amazon EC2 User Guide for Linux Instances*.
252
+ # The name of an existing placement group into which to launch your
253
+ # instances, if any. A placement group is a logical grouping of
254
+ # instances within a single Availability Zone. You cannot specify
255
+ # multiple Availability Zones and a placement group. For more
256
+ # information, see [Placement Groups][1] in the *Amazon EC2 User Guide
257
+ # for Linux Instances*.
277
258
  #
278
259
  #
279
260
  #
280
261
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html
281
262
  # @option options [String] :vpc_zone_identifier
282
- # A comma-separated list of subnet IDs for your virtual private cloud
283
- # (VPC).
284
- #
285
- # If you specify `VPCZoneIdentifier` with `AvailabilityZones`, the
286
- # subnets that you specify for this parameter must reside in those
287
- # Availability Zones.
263
+ # A comma-separated list of subnet IDs for a virtual private cloud (VPC)
264
+ # where instances in the Auto Scaling group can be created. If you
265
+ # specify `VPCZoneIdentifier` with `AvailabilityZones`, the subnets that
266
+ # you specify for this parameter must reside in those Availability
267
+ # Zones.
288
268
  #
289
269
  # Conditional: If your account supports EC2-Classic and VPC, this
290
270
  # parameter is required to launch instances into a VPC.
291
271
  # @option options [Array<String>] :termination_policies
292
- # One or more termination policies used to select the instance to
293
- # terminate. These policies are executed in the order that they are
294
- # listed.
295
- #
296
- # For more information, see [Controlling Which Instances Auto Scaling
297
- # Terminates During Scale In][1] in the *Amazon EC2 Auto Scaling User
298
- # Guide*.
272
+ # A policy or a list of policies that are used to select the instance to
273
+ # terminate. These policies are executed in the order that you list
274
+ # them. For more information, see [Controlling which Auto Scaling
275
+ # instances terminate during scale in][1] in the *Amazon EC2 Auto
276
+ # Scaling User Guide*.
299
277
  #
300
278
  #
301
279
  #
302
280
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html
303
281
  # @option options [Boolean] :new_instances_protected_from_scale_in
304
282
  # Indicates whether newly launched instances are protected from
305
- # termination by Amazon EC2 Auto Scaling when scaling in.
306
- #
307
- # For more information about preventing instances from terminating on
308
- # scale in, see [Instance Protection][1] in the *Amazon EC2 Auto Scaling
283
+ # termination by Amazon EC2 Auto Scaling when scaling in. For more
284
+ # information about preventing instances from terminating on scale in,
285
+ # see [Instance scale-in protection][1] in the *Amazon EC2 Auto Scaling
309
286
  # User Guide*.
310
287
  #
311
288
  #
312
289
  #
313
290
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection
314
291
  # @option options [Boolean] :capacity_rebalance
315
- # Indicates whether capacity rebalance is enabled. Otherwise, capacity
316
- # rebalance is disabled.
317
- #
318
- # You can enable capacity rebalancing for your Auto Scaling groups when
319
- # using Spot Instances. When you turn on capacity rebalancing, Amazon
292
+ # Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity
293
+ # Rebalancing is disabled. When you turn on Capacity Rebalancing, Amazon
320
294
  # EC2 Auto Scaling attempts to launch a Spot Instance whenever Amazon
321
- # EC2 predicts that a Spot Instance is at an elevated risk of
295
+ # EC2 notifies that a Spot Instance is at an elevated risk of
322
296
  # interruption. After launching a new instance, it then terminates an
323
297
  # old instance. For more information, see [Amazon EC2 Auto Scaling
324
- # capacity rebalancing][1] in the *Amazon EC2 Auto Scaling User Guide*.
298
+ # Capacity Rebalancing][1] in the *Amazon EC2 Auto Scaling User Guide*.
325
299
  #
326
300
  #
327
301
  #
328
302
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/capacity-rebalance.html
329
303
  # @option options [Array<Types::LifecycleHookSpecification>] :lifecycle_hook_specification_list
330
- # One or more lifecycle hooks.
304
+ # One or more lifecycle hooks for the group, which specify actions to
305
+ # perform when Amazon EC2 Auto Scaling launches or terminates instances.
331
306
  # @option options [Array<Types::Tag>] :tags
332
307
  # One or more tags. You can tag your Auto Scaling group and propagate
333
- # the tags to the Amazon EC2 instances it launches.
334
- #
335
- # Tags are not propagated to Amazon EBS volumes. To add tags to Amazon
336
- # EBS volumes, specify the tags in a launch template but use caution. If
337
- # the launch template specifies an instance tag with a key that is also
338
- # specified for the Auto Scaling group, Amazon EC2 Auto Scaling
339
- # overrides the value of that instance tag with the value specified by
340
- # the Auto Scaling group.
341
- #
342
- # For more information, see [Tagging Auto Scaling Groups and
343
- # Instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
308
+ # the tags to the Amazon EC2 instances it launches. Tags are not
309
+ # propagated to Amazon EBS volumes. To add tags to Amazon EBS volumes,
310
+ # specify the tags in a launch template but use caution. If the launch
311
+ # template specifies an instance tag with a key that is also specified
312
+ # for the Auto Scaling group, Amazon EC2 Auto Scaling overrides the
313
+ # value of that instance tag with the value specified by the Auto
314
+ # Scaling group. For more information, see [Tagging Auto Scaling groups
315
+ # and instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
344
316
  #
345
317
  #
346
318
  #
@@ -350,7 +322,7 @@ module Aws::AutoScaling
350
322
  # Auto Scaling group uses to call other AWS services on your behalf. By
351
323
  # default, Amazon EC2 Auto Scaling uses a service-linked role named
352
324
  # AWSServiceRoleForAutoScaling, which it creates if it does not exist.
353
- # For more information, see [Service-Linked Roles][1] in the *Amazon EC2
325
+ # For more information, see [Service-linked roles][1] in the *Amazon EC2
354
326
  # Auto Scaling User Guide*.
355
327
  #
356
328
  #
@@ -358,17 +330,10 @@ module Aws::AutoScaling
358
330
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-service-linked-role.html
359
331
  # @option options [Integer] :max_instance_lifetime
360
332
  # The maximum amount of time, in seconds, that an instance can be in
361
- # service. The default is null.
362
- #
363
- # This parameter is optional, but if you specify a value for it, you
364
- # must specify a value of at least 604,800 seconds (7 days). To clear a
365
- # previously set value, specify a new value of 0.
366
- #
367
- # For more information, see [Replacing Auto Scaling Instances Based on
368
- # Maximum Instance Lifetime][1] in the *Amazon EC2 Auto Scaling User
369
- # Guide*.
370
- #
371
- # Valid Range: Minimum value of 0.
333
+ # service. The default is null. If specified, the value must be either 0
334
+ # or a number equal to or greater than 86,400 seconds (1 day). For more
335
+ # information, see [Replacing Auto Scaling instances based on maximum
336
+ # instance lifetime][1] in the *Amazon EC2 Auto Scaling User Guide*.
372
337
  #
373
338
  #
374
339
  #
@@ -465,7 +430,7 @@ module Aws::AutoScaling
465
430
  # @option options [String] :classic_link_vpc_id
466
431
  # The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances
467
432
  # to. For more information, see [ClassicLink][1] in the *Amazon EC2 User
468
- # Guide for Linux Instances* and [Linking EC2-Classic Instances to a
433
+ # Guide for Linux Instances* and [Linking EC2-Classic instances to a
469
434
  # VPC][2] in the *Amazon EC2 Auto Scaling User Guide*.
470
435
  #
471
436
  # This parameter can only be used if you are launching EC2-Classic
@@ -479,7 +444,7 @@ module Aws::AutoScaling
479
444
  # The IDs of one or more security groups for the specified
480
445
  # ClassicLink-enabled VPC. For more information, see [ClassicLink][1] in
481
446
  # the *Amazon EC2 User Guide for Linux Instances* and [Linking
482
- # EC2-Classic Instances to a VPC][2] in the *Amazon EC2 Auto Scaling
447
+ # EC2-Classic instances to a VPC][2] in the *Amazon EC2 Auto Scaling
483
448
  # User Guide*.
484
449
  #
485
450
  # If you specify the `ClassicLinkVPCId` parameter, you must specify this
@@ -490,13 +455,17 @@ module Aws::AutoScaling
490
455
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html
491
456
  # [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html#as-ClassicLink
492
457
  # @option options [String] :user_data
493
- # The Base64-encoded user data to make available to the launched EC2
494
- # instances. For more information, see [Instance Metadata and User
495
- # Data][1] in the *Amazon EC2 User Guide for Linux Instances*.
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.
496
464
  #
497
465
  #
498
466
  #
499
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
500
469
  # @option options [String] :instance_id
501
470
  # The ID of the instance to use to create the launch configuration. The
502
471
  # new launch configuration derives attributes from the instance, except
@@ -506,8 +475,8 @@ module Aws::AutoScaling
506
475
  # override any other instance attributes, specify them as part of the
507
476
  # same request.
508
477
  #
509
- # For more information, see [Create a Launch Configuration Using an EC2
510
- # Instance][1] in the *Amazon EC2 Auto Scaling User Guide*.
478
+ # For more information, see [Creating a launch configuration using an
479
+ # EC2 instance][1] in the *Amazon EC2 Auto Scaling User Guide*.
511
480
  #
512
481
  # If you do not specify `InstanceId`, you must specify both `ImageId`
513
482
  # and `InstanceType`.
@@ -519,7 +488,7 @@ module Aws::AutoScaling
519
488
  # Specifies the instance type of the EC2 instance.
520
489
  #
521
490
  # For information about available instance types, see [Available
522
- # 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*.
523
492
  #
524
493
  # If you do not specify `InstanceId`, you must specify `InstanceType`.
525
494
  #
@@ -558,8 +527,8 @@ module Aws::AutoScaling
558
527
  # The maximum hourly price to be paid for any Spot Instance launched to
559
528
  # fulfill the request. Spot Instances are launched when the price you
560
529
  # specify exceeds the current Spot price. For more information, see
561
- # [Launching Spot Instances in Your Auto Scaling Group][1] in the
562
- # *Amazon EC2 Auto Scaling User Guide*.
530
+ # [Requesting Spot Instances][1] in the *Amazon EC2 Auto Scaling User
531
+ # Guide*.
563
532
  #
564
533
  # <note markdown="1"> When you change your maximum price by creating a new launch
565
534
  # configuration, running instances will continue to run as long as the
@@ -576,8 +545,8 @@ module Aws::AutoScaling
576
545
  # associated with the IAM role for the instance. The instance profile
577
546
  # contains the IAM role.
578
547
  #
579
- # For more information, see [IAM Role for Applications That Run on
580
- # Amazon EC2 Instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
548
+ # For more information, see [IAM role for applications that run on
549
+ # Amazon EC2 instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
581
550
  #
582
551
  #
583
552
  #
@@ -602,7 +571,7 @@ module Aws::AutoScaling
602
571
  # (VPC), specifies whether to assign a public IP address to the group's
603
572
  # instances. If you specify `true`, each instance in the Auto Scaling
604
573
  # group receives a unique public IP address. For more information, see
605
- # [Launching Auto Scaling Instances in a VPC][1] in the *Amazon EC2 Auto
574
+ # [Launching Auto Scaling instances in a VPC][1] in the *Amazon EC2 Auto
606
575
  # Scaling User Guide*.
607
576
  #
608
577
  # If you specify this parameter, you must specify at least one subnet
@@ -632,14 +601,14 @@ module Aws::AutoScaling
632
601
  # If you specify `PlacementTenancy`, you must specify at least one
633
602
  # subnet for `VPCZoneIdentifier` when you create your group.
634
603
  #
635
- # For more information, see [Instance Placement Tenancy][1] in the
636
- # *Amazon EC2 Auto Scaling User Guide*.
604
+ # For more information, see [Configuring instance tenancy with Amazon
605
+ # EC2 Auto Scaling][1] in the *Amazon EC2 Auto Scaling User Guide*.
637
606
  #
638
607
  # Valid Values: `default` \| `dedicated`
639
608
  #
640
609
  #
641
610
  #
642
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html#as-vpc-tenancy
611
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-dedicated-instances.html
643
612
  # @option options [Types::InstanceMetadataOptions] :metadata_options
644
613
  # The metadata options for the instances. For more information, see
645
614
  # [Configuring the Instance Metadata Options][1] in the *Amazon EC2 Auto
@@ -663,7 +632,7 @@ module Aws::AutoScaling
663
632
  #
664
633
  # activities = auto_scaling.activities({
665
634
  # activity_ids: ["XmlString"],
666
- # auto_scaling_group_name: "ResourceName",
635
+ # auto_scaling_group_name: "XmlStringMaxLen255",
667
636
  # })
668
637
  # @param [Hash] options ({})
669
638
  # @option options [Array<String>] :activity_ids
@@ -714,13 +683,13 @@ module Aws::AutoScaling
714
683
  # @example Request syntax with placeholder values
715
684
  #
716
685
  # groups = auto_scaling.groups({
717
- # auto_scaling_group_names: ["ResourceName"],
686
+ # auto_scaling_group_names: ["XmlStringMaxLen255"],
718
687
  # })
719
688
  # @param [Hash] options ({})
720
689
  # @option options [Array<String>] :auto_scaling_group_names
721
- # The names of the Auto Scaling groups. Each name can be a maximum of
722
- # 1600 characters. By default, you can only specify up to 50 names. You
723
- # can optionally increase this limit using the `MaxRecords` parameter.
690
+ # The names of the Auto Scaling groups. By default, you can only specify
691
+ # up to 50 names. You can optionally increase this limit using the
692
+ # `MaxRecords` parameter.
724
693
  #
725
694
  # If you omit this parameter, all Auto Scaling groups are described.
726
695
  # @return [AutoScalingGroup::Collection]
@@ -784,7 +753,7 @@ module Aws::AutoScaling
784
753
  # @example Request syntax with placeholder values
785
754
  #
786
755
  # launch_configurations = auto_scaling.launch_configurations({
787
- # launch_configuration_names: ["ResourceName"],
756
+ # launch_configuration_names: ["XmlStringMaxLen255"],
788
757
  # })
789
758
  # @param [Hash] options ({})
790
759
  # @option options [Array<String>] :launch_configuration_names
@@ -812,7 +781,7 @@ module Aws::AutoScaling
812
781
  # @example Request syntax with placeholder values
813
782
  #
814
783
  # policies = auto_scaling.policies({
815
- # auto_scaling_group_name: "ResourceName",
784
+ # auto_scaling_group_name: "XmlStringMaxLen255",
816
785
  # policy_names: ["ResourceName"],
817
786
  # policy_types: ["XmlStringMaxLen64"],
818
787
  # })
@@ -867,8 +836,8 @@ module Aws::AutoScaling
867
836
  # @example Request syntax with placeholder values
868
837
  #
869
838
  # scheduled_actions = auto_scaling.scheduled_actions({
870
- # auto_scaling_group_name: "ResourceName",
871
- # scheduled_action_names: ["ResourceName"],
839
+ # auto_scaling_group_name: "XmlStringMaxLen255",
840
+ # scheduled_action_names: ["XmlStringMaxLen255"],
872
841
  # start_time: Time.now,
873
842
  # end_time: Time.now,
874
843
  # })