aws-sdk-autoscaling 1.44.0 → 1.49.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.
@@ -55,8 +55,8 @@ module Aws::AutoScaling
55
55
  #
56
56
  # * `SimpleScaling` (default)
57
57
  #
58
- # For more information, see [Target Tracking Scaling Policies][1] and
59
- # [Step and Simple Scaling Policies][2] in the *Amazon EC2 Auto Scaling
58
+ # For more information, see [Target tracking scaling policies][1] and
59
+ # [Step and simple scaling policies][2] in the *Amazon EC2 Auto Scaling
60
60
  # User Guide*.
61
61
  #
62
62
  #
@@ -309,7 +309,7 @@ module Aws::AutoScaling
309
309
  # period to complete before executing the policy.
310
310
  #
311
311
  # Valid only if the policy type is `SimpleScaling`. For more
312
- # information, see [Scaling Cooldowns for Amazon EC2 Auto Scaling][1] in
312
+ # information, see [Scaling cooldowns for Amazon EC2 Auto Scaling][1] in
313
313
  # the *Amazon EC2 Auto Scaling User Guide*.
314
314
  #
315
315
  #
@@ -372,6 +372,10 @@ module Aws::AutoScaling
372
372
  # Valid Range: Minimum value of 0.
373
373
  # @return [Integer]
374
374
  #
375
+ # @!attribute [rw] capacity_rebalance
376
+ # Indicates whether Capacity Rebalancing is enabled.
377
+ # @return [Boolean]
378
+ #
375
379
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AutoScalingGroup AWS API Documentation
376
380
  #
377
381
  class AutoScalingGroup < Struct.new(
@@ -400,7 +404,8 @@ module Aws::AutoScaling
400
404
  :termination_policies,
401
405
  :new_instances_protected_from_scale_in,
402
406
  :service_linked_role_arn,
403
- :max_instance_lifetime)
407
+ :max_instance_lifetime,
408
+ :capacity_rebalance)
404
409
  SENSITIVE = []
405
410
  include Aws::Structure
406
411
  end
@@ -415,10 +420,9 @@ module Aws::AutoScaling
415
420
  # }
416
421
  #
417
422
  # @!attribute [rw] auto_scaling_group_names
418
- # The names of the Auto Scaling groups. Each name can be a maximum of
419
- # 1600 characters. By default, you can only specify up to 50 names.
420
- # You can optionally increase this limit using the `MaxRecords`
421
- # parameter.
423
+ # The names of the Auto Scaling groups. By default, you can only
424
+ # specify up to 50 names. You can optionally increase this limit using
425
+ # the `MaxRecords` parameter.
422
426
  #
423
427
  # If you omit this parameter, all Auto Scaling groups are described.
424
428
  # @return [Array<String>]
@@ -834,6 +838,7 @@ module Aws::AutoScaling
834
838
  # vpc_zone_identifier: "XmlStringMaxLen2047",
835
839
  # termination_policies: ["XmlStringMaxLen1600"],
836
840
  # new_instances_protected_from_scale_in: false,
841
+ # capacity_rebalance: false,
837
842
  # lifecycle_hook_specification_list: [
838
843
  # {
839
844
  # lifecycle_hook_name: "AsciiStringMaxLen255", # required
@@ -864,34 +869,32 @@ module Aws::AutoScaling
864
869
  # @return [String]
865
870
  #
866
871
  # @!attribute [rw] launch_configuration_name
867
- # The name of the launch configuration to use when an instance is
868
- # launched. To get the launch configuration name, use the
869
- # DescribeLaunchConfigurations API operation. New launch
870
- # configurations can be created with the CreateLaunchConfiguration
871
- # API.
872
+ # The name of the launch configuration to use to launch instances.
872
873
  #
873
- # You must specify one of the following parameters in your request:
874
- # `LaunchConfigurationName`, `LaunchTemplate`, `InstanceId`, or
875
- # `MixedInstancesPolicy`.
874
+ # Conditional: You must specify either a launch template
875
+ # (`LaunchTemplate` or `MixedInstancesPolicy`) or a launch
876
+ # configuration (`LaunchConfigurationName` or `InstanceId`).
876
877
  # @return [String]
877
878
  #
878
879
  # @!attribute [rw] launch_template
879
- # Parameters used to specify the launch template and version to use
880
- # when an instance is launched.
880
+ # Parameters used to specify the [launch template][1] and version to
881
+ # use to launch instances.
881
882
  #
882
- # For more information, see [LaunchTemplateSpecification][1] in the
883
- # *Amazon EC2 Auto Scaling API Reference*.
883
+ # Conditional: You must specify either a launch template
884
+ # (`LaunchTemplate` or `MixedInstancesPolicy`) or a launch
885
+ # configuration (`LaunchConfigurationName` or `InstanceId`).
884
886
  #
885
- # You can alternatively associate a launch template to the Auto
886
- # Scaling group by using the `MixedInstancesPolicy` parameter.
887
+ # <note markdown="1"> The launch template that is specified must be configured for use
888
+ # with an Auto Scaling group. For more information, see [Creating a
889
+ # launch template for an Auto Scaling group][2] in the *Amazon EC2
890
+ # Auto Scaling User Guide*.
887
891
  #
888
- # You must specify one of the following parameters in your request:
889
- # `LaunchConfigurationName`, `LaunchTemplate`, `InstanceId`, or
890
- # `MixedInstancesPolicy`.
892
+ # </note>
891
893
  #
892
894
  #
893
895
  #
894
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_LaunchTemplateSpecification.html
896
+ # [1]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-launchtemplate.html
897
+ # [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-template.html
895
898
  # @return [Types::LaunchTemplateSpecification]
896
899
  #
897
900
  # @!attribute [rw] mixed_instances_policy
@@ -902,42 +905,35 @@ module Aws::AutoScaling
902
905
  # The policy includes parameters that not only define the distribution
903
906
  # of On-Demand Instances and Spot Instances, the maximum price to pay
904
907
  # for Spot Instances, and how the Auto Scaling group allocates
905
- # instance types to fulfill On-Demand and Spot capacity, but also the
906
- # parameters that specify the instance configuration information—the
907
- # launch template and instance types.
908
- #
909
- # For more information, see [MixedInstancesPolicy][1] in the *Amazon
910
- # EC2 Auto Scaling API Reference* and [Auto Scaling Groups with
911
- # Multiple Instance Types and Purchase Options][2] in the *Amazon EC2
912
- # Auto Scaling User Guide*.
908
+ # instance types to fulfill On-Demand and Spot capacities, but also
909
+ # the parameters that specify the instance configuration
910
+ # information—the launch template and instance types. The policy can
911
+ # also include a weight for each instance type. For more information,
912
+ # see [Auto Scaling groups with multiple instance types and purchase
913
+ # options][1] in the *Amazon EC2 Auto Scaling User Guide*.
913
914
  #
914
- # You must specify one of the following parameters in your request:
915
- # `LaunchConfigurationName`, `LaunchTemplate`, `InstanceId`, or
916
- # `MixedInstancesPolicy`.
915
+ # Conditional: You must specify either a launch template
916
+ # (`LaunchTemplate` or `MixedInstancesPolicy`) or a launch
917
+ # configuration (`LaunchConfigurationName` or `InstanceId`).
917
918
  #
918
919
  #
919
920
  #
920
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_MixedInstancesPolicy.html
921
- # [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-purchase-options.html
921
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-purchase-options.html
922
922
  # @return [Types::MixedInstancesPolicy]
923
923
  #
924
924
  # @!attribute [rw] instance_id
925
- # The ID of the instance used to create a launch configuration for the
926
- # group. To get the instance ID, use the Amazon EC2
927
- # [DescribeInstances][1] API operation.
928
- #
929
- # When you specify an ID of an instance, Amazon EC2 Auto Scaling
930
- # creates a new launch configuration and associates it with the group.
931
- # This launch configuration derives its attributes from the specified
932
- # instance, except for the block device mapping.
933
- #
934
- # You must specify one of the following parameters in your request:
935
- # `LaunchConfigurationName`, `LaunchTemplate`, `InstanceId`, or
936
- # `MixedInstancesPolicy`.
925
+ # The ID of the instance used to base the launch configuration on. If
926
+ # specified, Amazon EC2 Auto Scaling uses the configuration values
927
+ # from the specified instance to create a new launch configuration. To
928
+ # get the instance ID, use the Amazon EC2 [DescribeInstances][1] API
929
+ # operation. For more information, see [Creating an Auto Scaling group
930
+ # using an EC2 instance][2] in the *Amazon EC2 Auto Scaling User
931
+ # Guide*.
937
932
  #
938
933
  #
939
934
  #
940
935
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html
936
+ # [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-from-instance.html
941
937
  # @return [String]
942
938
  #
943
939
  # @!attribute [rw] min_size
@@ -960,23 +956,19 @@ module Aws::AutoScaling
960
956
  # @!attribute [rw] desired_capacity
961
957
  # The desired capacity is the initial capacity of the Auto Scaling
962
958
  # group at the time of its creation and the capacity it attempts to
963
- # maintain. It can scale beyond this capacity if you configure
964
- # automatic scaling.
965
- #
966
- # This number must be greater than or equal to the minimum size of the
967
- # group and less than or equal to the maximum size of the group. If
968
- # you do not specify a desired capacity, the default is the minimum
969
- # size of the group.
959
+ # maintain. It can scale beyond this capacity if you configure auto
960
+ # scaling. This number must be greater than or equal to the minimum
961
+ # size of the group and less than or equal to the maximum size of the
962
+ # group. If you do not specify a desired capacity, the default is the
963
+ # minimum size of the group.
970
964
  # @return [Integer]
971
965
  #
972
966
  # @!attribute [rw] default_cooldown
973
967
  # The amount of time, in seconds, after a scaling activity completes
974
968
  # before another scaling activity can start. The default value is
975
- # `300`.
976
- #
977
- # This setting applies when using simple scaling policies, but not
978
- # when using other scaling policies or scheduled scaling. For more
979
- # information, see [Scaling Cooldowns for Amazon EC2 Auto Scaling][1]
969
+ # `300`. This setting applies when using simple scaling policies, but
970
+ # not when using other scaling policies or scheduled scaling. For more
971
+ # information, see [Scaling cooldowns for Amazon EC2 Auto Scaling][1]
980
972
  # in the *Amazon EC2 Auto Scaling User Guide*.
981
973
  #
982
974
  #
@@ -985,8 +977,9 @@ module Aws::AutoScaling
985
977
  # @return [Integer]
986
978
  #
987
979
  # @!attribute [rw] availability_zones
988
- # One or more Availability Zones for the group. This parameter is
989
- # optional if you specify one or more subnets for `VPCZoneIdentifier`.
980
+ # A list of Availability Zones where instances in the Auto Scaling
981
+ # group can be created. This parameter is optional if you specify one
982
+ # or more subnets for `VPCZoneIdentifier`.
990
983
  #
991
984
  # Conditional: If your account supports EC2-Classic and VPC, this
992
985
  # parameter is required to launch instances into EC2-Classic.
@@ -995,24 +988,15 @@ module Aws::AutoScaling
995
988
  # @!attribute [rw] load_balancer_names
996
989
  # A list of Classic Load Balancers associated with this Auto Scaling
997
990
  # group. For Application Load Balancers and Network Load Balancers,
998
- # specify a list of target groups using the `TargetGroupARNs` property
999
- # instead.
1000
- #
1001
- # For more information, see [Using a Load Balancer with an Auto
1002
- # Scaling Group][1] in the *Amazon EC2 Auto Scaling User Guide*.
1003
- #
1004
- #
1005
- #
1006
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html
991
+ # specify `TargetGroupARNs` instead.
1007
992
  # @return [Array<String>]
1008
993
  #
1009
994
  # @!attribute [rw] target_group_arns
1010
995
  # The Amazon Resource Names (ARN) of the target groups to associate
1011
996
  # with the Auto Scaling group. Instances are registered as targets in
1012
- # a target group, and traffic is routed to the target group.
1013
- #
1014
- # For more information, see [Using a Load Balancer with an Auto
1015
- # Scaling Group][1] in the *Amazon EC2 Auto Scaling User Guide*.
997
+ # a target group, and traffic is routed to the target group. For more
998
+ # information, see [Elastic Load Balancing and Amazon EC2 Auto
999
+ # Scaling][1] in the *Amazon EC2 Auto Scaling User Guide*.
1016
1000
  #
1017
1001
  #
1018
1002
  #
@@ -1021,13 +1005,12 @@ module Aws::AutoScaling
1021
1005
  #
1022
1006
  # @!attribute [rw] health_check_type
1023
1007
  # The service to use for the health checks. The valid values are `EC2`
1024
- # and `ELB`. The default value is `EC2`. If you configure an Auto
1025
- # Scaling group to use ELB health checks, it considers the instance
1008
+ # (default) and `ELB`. If you configure an Auto Scaling group to use
1009
+ # load balancer (ELB) health checks, it considers the instance
1026
1010
  # unhealthy if it fails either the EC2 status checks or the load
1027
- # balancer health checks.
1028
- #
1029
- # For more information, see [Health Checks for Auto Scaling
1030
- # Instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
1011
+ # balancer health checks. For more information, see [Health checks for
1012
+ # Auto Scaling instances][1] in the *Amazon EC2 Auto Scaling User
1013
+ # Guide*.
1031
1014
  #
1032
1015
  #
1033
1016
  #
@@ -1038,12 +1021,11 @@ module Aws::AutoScaling
1038
1021
  # The amount of time, in seconds, that Amazon EC2 Auto Scaling waits
1039
1022
  # before checking the health status of an EC2 instance that has come
1040
1023
  # into service. During this time, any health check failures for the
1041
- # instance are ignored. The default value is `0`.
1042
- #
1043
- # For more information, see [Health Check Grace Period][1] in the
1044
- # *Amazon EC2 Auto Scaling User Guide*.
1024
+ # instance are ignored. The default value is `0`. For more
1025
+ # information, see [Health check grace period][1] in the *Amazon EC2
1026
+ # Auto Scaling User Guide*.
1045
1027
  #
1046
- # Required if you are adding an `ELB` health check.
1028
+ # Conditional: Required if you are adding an `ELB` health check.
1047
1029
  #
1048
1030
  #
1049
1031
  #
@@ -1051,11 +1033,12 @@ module Aws::AutoScaling
1051
1033
  # @return [Integer]
1052
1034
  #
1053
1035
  # @!attribute [rw] placement_group
1054
- # The name of the placement group into which to launch your instances,
1055
- # if any. A placement group is a logical grouping of instances within
1056
- # a single Availability Zone. You cannot specify multiple Availability
1057
- # Zones and a placement group. For more information, see [Placement
1058
- # Groups][1] in the *Amazon EC2 User Guide for Linux Instances*.
1036
+ # The name of an existing placement group into which to launch your
1037
+ # instances, if any. A placement group is a logical grouping of
1038
+ # instances within a single Availability Zone. You cannot specify
1039
+ # multiple Availability Zones and a placement group. For more
1040
+ # information, see [Placement Groups][1] in the *Amazon EC2 User Guide
1041
+ # for Linux Instances*.
1059
1042
  #
1060
1043
  #
1061
1044
  #
@@ -1063,10 +1046,9 @@ module Aws::AutoScaling
1063
1046
  # @return [String]
1064
1047
  #
1065
1048
  # @!attribute [rw] vpc_zone_identifier
1066
- # A comma-separated list of subnet IDs for your virtual private cloud
1067
- # (VPC).
1068
- #
1069
- # If you specify `VPCZoneIdentifier` with `AvailabilityZones`, the
1049
+ # A comma-separated list of subnet IDs for a virtual private cloud
1050
+ # (VPC) where instances in the Auto Scaling group can be created. If
1051
+ # you specify `VPCZoneIdentifier` with `AvailabilityZones`, the
1070
1052
  # subnets that you specify for this parameter must reside in those
1071
1053
  # Availability Zones.
1072
1054
  #
@@ -1075,13 +1057,11 @@ module Aws::AutoScaling
1075
1057
  # @return [String]
1076
1058
  #
1077
1059
  # @!attribute [rw] termination_policies
1078
- # One or more termination policies used to select the instance to
1079
- # terminate. These policies are executed in the order that they are
1080
- # listed.
1081
- #
1082
- # For more information, see [Controlling Which Instances Auto Scaling
1083
- # Terminates During Scale In][1] in the *Amazon EC2 Auto Scaling User
1084
- # Guide*.
1060
+ # A policy or a list of policies that are used to select the instance
1061
+ # to terminate. These policies are executed in the order that you list
1062
+ # them. For more information, see [Controlling which Auto Scaling
1063
+ # instances terminate during scale in][1] in the *Amazon EC2 Auto
1064
+ # Scaling User Guide*.
1085
1065
  #
1086
1066
  #
1087
1067
  #
@@ -1090,10 +1070,9 @@ module Aws::AutoScaling
1090
1070
  #
1091
1071
  # @!attribute [rw] new_instances_protected_from_scale_in
1092
1072
  # Indicates whether newly launched instances are protected from
1093
- # termination by Amazon EC2 Auto Scaling when scaling in.
1094
- #
1095
- # For more information about preventing instances from terminating on
1096
- # scale in, see [Instance Protection][1] in the *Amazon EC2 Auto
1073
+ # termination by Amazon EC2 Auto Scaling when scaling in. For more
1074
+ # information about preventing instances from terminating on scale in,
1075
+ # see [Instance scale-in protection][1] in the *Amazon EC2 Auto
1097
1076
  # Scaling User Guide*.
1098
1077
  #
1099
1078
  #
@@ -1101,23 +1080,38 @@ module Aws::AutoScaling
1101
1080
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection
1102
1081
  # @return [Boolean]
1103
1082
  #
1083
+ # @!attribute [rw] capacity_rebalance
1084
+ # Indicates whether Capacity Rebalancing is enabled. Otherwise,
1085
+ # Capacity Rebalancing is disabled. When you turn on Capacity
1086
+ # Rebalancing, Amazon EC2 Auto Scaling attempts to launch a Spot
1087
+ # Instance whenever Amazon EC2 notifies that a Spot Instance is at an
1088
+ # elevated risk of interruption. After launching a new instance, it
1089
+ # then terminates an old instance. For more information, see [Amazon
1090
+ # EC2 Auto Scaling Capacity Rebalancing][1] in the *Amazon EC2 Auto
1091
+ # Scaling User Guide*.
1092
+ #
1093
+ #
1094
+ #
1095
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/capacity-rebalance.html
1096
+ # @return [Boolean]
1097
+ #
1104
1098
  # @!attribute [rw] lifecycle_hook_specification_list
1105
- # One or more lifecycle hooks.
1099
+ # One or more lifecycle hooks for the group, which specify actions to
1100
+ # perform when Amazon EC2 Auto Scaling launches or terminates
1101
+ # instances.
1106
1102
  # @return [Array<Types::LifecycleHookSpecification>]
1107
1103
  #
1108
1104
  # @!attribute [rw] tags
1109
1105
  # One or more tags. You can tag your Auto Scaling group and propagate
1110
- # the tags to the Amazon EC2 instances it launches.
1111
- #
1112
- # Tags are not propagated to Amazon EBS volumes. To add tags to Amazon
1113
- # EBS volumes, specify the tags in a launch template but use caution.
1114
- # If the launch template specifies an instance tag with a key that is
1115
- # also specified for the Auto Scaling group, Amazon EC2 Auto Scaling
1116
- # overrides the value of that instance tag with the value specified by
1117
- # the Auto Scaling group.
1118
- #
1119
- # For more information, see [Tagging Auto Scaling Groups and
1120
- # Instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
1106
+ # the tags to the Amazon EC2 instances it launches. Tags are not
1107
+ # propagated to Amazon EBS volumes. To add tags to Amazon EBS volumes,
1108
+ # specify the tags in a launch template but use caution. If the launch
1109
+ # template specifies an instance tag with a key that is also specified
1110
+ # for the Auto Scaling group, Amazon EC2 Auto Scaling overrides the
1111
+ # value of that instance tag with the value specified by the Auto
1112
+ # Scaling group. For more information, see [Tagging Auto Scaling
1113
+ # groups and instances][1] in the *Amazon EC2 Auto Scaling User
1114
+ # Guide*.
1121
1115
  #
1122
1116
  #
1123
1117
  #
@@ -1129,7 +1123,7 @@ module Aws::AutoScaling
1129
1123
  # Auto Scaling group uses to call other AWS services on your behalf.
1130
1124
  # By default, Amazon EC2 Auto Scaling uses a service-linked role named
1131
1125
  # AWSServiceRoleForAutoScaling, which it creates if it does not exist.
1132
- # For more information, see [Service-Linked Roles][1] in the *Amazon
1126
+ # For more information, see [Service-linked roles][1] in the *Amazon
1133
1127
  # EC2 Auto Scaling User Guide*.
1134
1128
  #
1135
1129
  #
@@ -1139,18 +1133,12 @@ module Aws::AutoScaling
1139
1133
  #
1140
1134
  # @!attribute [rw] max_instance_lifetime
1141
1135
  # The maximum amount of time, in seconds, that an instance can be in
1142
- # service. The default is null.
1143
- #
1144
- # This parameter is optional, but if you specify a value for it, you
1145
- # must specify a value of at least 604,800 seconds (7 days). To clear
1146
- # a previously set value, specify a new value of 0.
1147
- #
1148
- # For more information, see [Replacing Auto Scaling Instances Based on
1149
- # Maximum Instance Lifetime][1] in the *Amazon EC2 Auto Scaling User
1136
+ # service. The default is null. If specified, the value must be either
1137
+ # 0 or a number equal to or greater than 86,400 seconds (1 day). For
1138
+ # more information, see [Replacing Auto Scaling instances based on
1139
+ # maximum instance lifetime][1] in the *Amazon EC2 Auto Scaling User
1150
1140
  # Guide*.
1151
1141
  #
1152
- # Valid Range: Minimum value of 0.
1153
- #
1154
1142
  #
1155
1143
  #
1156
1144
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-max-instance-lifetime.html
@@ -1177,6 +1165,7 @@ module Aws::AutoScaling
1177
1165
  :vpc_zone_identifier,
1178
1166
  :termination_policies,
1179
1167
  :new_instances_protected_from_scale_in,
1168
+ :capacity_rebalance,
1180
1169
  :lifecycle_hook_specification_list,
1181
1170
  :tags,
1182
1171
  :service_linked_role_arn,
@@ -1278,7 +1267,7 @@ module Aws::AutoScaling
1278
1267
  # The ID of a ClassicLink-enabled VPC to link your EC2-Classic
1279
1268
  # instances to. For more information, see [ClassicLink][1] in the
1280
1269
  # *Amazon EC2 User Guide for Linux Instances* and [Linking EC2-Classic
1281
- # Instances to a VPC][2] in the *Amazon EC2 Auto Scaling User Guide*.
1270
+ # instances to a VPC][2] in the *Amazon EC2 Auto Scaling User Guide*.
1282
1271
  #
1283
1272
  # This parameter can only be used if you are launching EC2-Classic
1284
1273
  # instances.
@@ -1293,7 +1282,7 @@ module Aws::AutoScaling
1293
1282
  # The IDs of one or more security groups for the specified
1294
1283
  # ClassicLink-enabled VPC. For more information, see [ClassicLink][1]
1295
1284
  # in the *Amazon EC2 User Guide for Linux Instances* and [Linking
1296
- # EC2-Classic Instances to a VPC][2] in the *Amazon EC2 Auto Scaling
1285
+ # EC2-Classic instances to a VPC][2] in the *Amazon EC2 Auto Scaling
1297
1286
  # User Guide*.
1298
1287
  #
1299
1288
  # If you specify the `ClassicLinkVPCId` parameter, you must specify
@@ -1307,8 +1296,8 @@ module Aws::AutoScaling
1307
1296
  #
1308
1297
  # @!attribute [rw] user_data
1309
1298
  # The Base64-encoded user data to make available to the launched EC2
1310
- # instances. For more information, see [Instance Metadata and User
1311
- # Data][1] in the *Amazon EC2 User Guide for Linux Instances*.
1299
+ # instances. For more information, see [Instance metadata and user
1300
+ # data][1] in the *Amazon EC2 User Guide for Linux Instances*.
1312
1301
  #
1313
1302
  #
1314
1303
  #
@@ -1324,8 +1313,8 @@ module Aws::AutoScaling
1324
1313
  # override any other instance attributes, specify them as part of the
1325
1314
  # same request.
1326
1315
  #
1327
- # For more information, see [Create a Launch Configuration Using an
1328
- # EC2 Instance][1] in the *Amazon EC2 Auto Scaling User Guide*.
1316
+ # For more information, see [Creating a launch configuration using an
1317
+ # EC2 instance][1] in the *Amazon EC2 Auto Scaling User Guide*.
1329
1318
  #
1330
1319
  # If you do not specify `InstanceId`, you must specify both `ImageId`
1331
1320
  # and `InstanceType`.
@@ -1382,15 +1371,15 @@ module Aws::AutoScaling
1382
1371
  #
1383
1372
  #
1384
1373
  #
1385
- # [1]: https://docs.aws.amazon.com/autoscaling/latest/userguide/as-instance-monitoring.html#enable-as-instance-metrics
1374
+ # [1]: https://docs.aws.amazon.com/autoscaling/latest/userguide/enable-as-instance-metrics.html
1386
1375
  # @return [Types::InstanceMonitoring]
1387
1376
  #
1388
1377
  # @!attribute [rw] spot_price
1389
1378
  # The maximum hourly price to be paid for any Spot Instance launched
1390
1379
  # to fulfill the request. Spot Instances are launched when the price
1391
1380
  # you specify exceeds the current Spot price. For more information,
1392
- # see [Launching Spot Instances in Your Auto Scaling Group][1] in the
1393
- # *Amazon EC2 Auto Scaling User Guide*.
1381
+ # see [Requesting Spot Instances][1] in the *Amazon EC2 Auto Scaling
1382
+ # User Guide*.
1394
1383
  #
1395
1384
  # <note markdown="1"> When you change your maximum price by creating a new launch
1396
1385
  # configuration, running instances will continue to run as long as the
@@ -1409,8 +1398,8 @@ module Aws::AutoScaling
1409
1398
  # associated with the IAM role for the instance. The instance profile
1410
1399
  # contains the IAM role.
1411
1400
  #
1412
- # For more information, see [IAM Role for Applications That Run on
1413
- # Amazon EC2 Instances][1] in the *Amazon EC2 Auto Scaling User
1401
+ # For more information, see [IAM role for applications that run on
1402
+ # Amazon EC2 instances][1] in the *Amazon EC2 Auto Scaling User
1414
1403
  # Guide*.
1415
1404
  #
1416
1405
  #
@@ -1441,7 +1430,7 @@ module Aws::AutoScaling
1441
1430
  # (VPC), specifies whether to assign a public IP address to the
1442
1431
  # group's instances. If you specify `true`, each instance in the Auto
1443
1432
  # Scaling group receives a unique public IP address. For more
1444
- # information, see [Launching Auto Scaling Instances in a VPC][1] in
1433
+ # information, see [Launching Auto Scaling instances in a VPC][1] in
1445
1434
  # the *Amazon EC2 Auto Scaling User Guide*.
1446
1435
  #
1447
1436
  # If you specify this parameter, you must specify at least one subnet
@@ -1473,24 +1462,24 @@ module Aws::AutoScaling
1473
1462
  # If you specify `PlacementTenancy`, you must specify at least one
1474
1463
  # subnet for `VPCZoneIdentifier` when you create your group.
1475
1464
  #
1476
- # For more information, see [Instance Placement Tenancy][1] in the
1477
- # *Amazon EC2 Auto Scaling User Guide*.
1465
+ # For more information, see [Configuring instance tenancy with Amazon
1466
+ # EC2 Auto Scaling][1] in the *Amazon EC2 Auto Scaling User Guide*.
1478
1467
  #
1479
1468
  # Valid Values: `default` \| `dedicated`
1480
1469
  #
1481
1470
  #
1482
1471
  #
1483
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html#as-vpc-tenancy
1472
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling/ec2/userguide/auto-scaling-dedicated-instances.html
1484
1473
  # @return [String]
1485
1474
  #
1486
1475
  # @!attribute [rw] metadata_options
1487
1476
  # The metadata options for the instances. For more information, see
1488
- # [Instance Metadata and User Data][1] in the *Amazon EC2 User Guide
1489
- # for Linux Instances*.
1477
+ # [Configuring the Instance Metadata Options][1] in the *Amazon EC2
1478
+ # Auto Scaling User Guide*.
1490
1479
  #
1491
1480
  #
1492
1481
  #
1493
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
1482
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html#launch-configurations-imds
1494
1483
  # @return [Types::InstanceMetadataOptions]
1495
1484
  #
1496
1485
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateLaunchConfigurationType AWS API Documentation
@@ -2616,7 +2605,7 @@ module Aws::AutoScaling
2616
2605
  #
2617
2606
  # For more information, see [Using Encryption with EBS-Backed AMIs][3]
2618
2607
  # in the *Amazon EC2 User Guide for Linux Instances* and [Required CMK
2619
- # Key Policy for Use with Encrypted Volumes][4] in the *Amazon EC2
2608
+ # key policy for use with encrypted volumes][4] in the *Amazon EC2
2620
2609
  # Auto Scaling User Guide*.
2621
2610
  #
2622
2611
  #
@@ -2817,7 +2806,7 @@ module Aws::AutoScaling
2817
2806
  # period to complete before executing the policy.
2818
2807
  #
2819
2808
  # Valid only if the policy type is `SimpleScaling`. For more
2820
- # information, see [Scaling Cooldowns for Amazon EC2 Auto Scaling][1]
2809
+ # information, see [Scaling cooldowns for Amazon EC2 Auto Scaling][1]
2821
2810
  # in the *Amazon EC2 Auto Scaling User Guide*.
2822
2811
  #
2823
2812
  #
@@ -2923,8 +2912,8 @@ module Aws::AutoScaling
2923
2912
  # Describes a filter that is used to return a more specific list of
2924
2913
  # results when describing tags.
2925
2914
  #
2926
- # For more information, see [Tagging Auto Scaling Groups and
2927
- # Instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
2915
+ # For more information, see [Tagging Auto Scaling groups and
2916
+ # instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
2928
2917
  #
2929
2918
  #
2930
2919
  #
@@ -3019,12 +3008,12 @@ module Aws::AutoScaling
3019
3008
  end
3020
3009
 
3021
3010
  # The metadata options for the instances. For more information, see
3022
- # [Instance Metadata and User Data][1] in the *Amazon EC2 User Guide for
3023
- # Linux Instances*.
3011
+ # [Configuring the Instance Metadata Options][1] in the *Amazon EC2 Auto
3012
+ # Scaling User Guide*.
3024
3013
  #
3025
3014
  #
3026
3015
  #
3027
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
3016
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html#launch-configurations-imds
3028
3017
  #
3029
3018
  # @note When making an API call, you may pass InstanceMetadataOptions
3030
3019
  # data as a hash:
@@ -3199,7 +3188,7 @@ module Aws::AutoScaling
3199
3188
  # The instances distribution specifies the distribution of On-Demand
3200
3189
  # Instances and Spot Instances, the maximum price to pay for Spot
3201
3190
  # Instances, and how the Auto Scaling group allocates instance types to
3202
- # fulfill On-Demand and Spot capacity.
3191
+ # fulfill On-Demand and Spot capacities.
3203
3192
  #
3204
3193
  # When you update `SpotAllocationStrategy`, `SpotInstancePools`, or
3205
3194
  # `SpotMaxPrice`, this update action does not deploy any changes across
@@ -3224,80 +3213,49 @@ module Aws::AutoScaling
3224
3213
  #
3225
3214
  # @!attribute [rw] on_demand_allocation_strategy
3226
3215
  # Indicates how to allocate instance types to fulfill On-Demand
3227
- # capacity.
3228
- #
3229
- # The only valid value is `prioritized`, which is also the default
3230
- # value. This strategy uses the order of instance type overrides for
3231
- # the LaunchTemplate to define the launch priority of each instance
3232
- # type. The first instance type in the array is prioritized higher
3233
- # than the last. If all your On-Demand capacity cannot be fulfilled
3234
- # using your highest priority instance, then the Auto Scaling groups
3235
- # launches the remaining capacity using the second priority instance
3236
- # type, and so on.
3216
+ # capacity. The only valid value is `prioritized`, which is also the
3217
+ # default value. This strategy uses the order of instance types in the
3218
+ # overrides to define the launch priority of each instance type. The
3219
+ # first instance type in the array is prioritized higher than the
3220
+ # last. If all your On-Demand capacity cannot be fulfilled using your
3221
+ # highest priority instance, then the Auto Scaling groups launches the
3222
+ # remaining capacity using the second priority instance type, and so
3223
+ # on.
3237
3224
  # @return [String]
3238
3225
  #
3239
3226
  # @!attribute [rw] on_demand_base_capacity
3240
3227
  # The minimum amount of the Auto Scaling group's capacity that must
3241
3228
  # be fulfilled by On-Demand Instances. This base portion is
3242
- # provisioned first as your group scales.
3243
- #
3244
- # Default if not set is 0. If you leave it set to 0, On-Demand
3245
- # Instances are launched as a percentage of the Auto Scaling group's
3246
- # desired capacity, per the `OnDemandPercentageAboveBaseCapacity`
3247
- # setting.
3248
- #
3249
- # <note markdown="1"> An update to this setting means a gradual replacement of instances
3250
- # to maintain the specified number of On-Demand Instances for your
3251
- # base capacity. When replacing instances, Amazon EC2 Auto Scaling
3252
- # launches new instances before terminating the old ones.
3253
- #
3254
- # </note>
3229
+ # provisioned first as your group scales. Defaults to 0 if not
3230
+ # specified. If you specify weights for the instance types in the
3231
+ # overrides, set the value of `OnDemandBaseCapacity` in terms of the
3232
+ # number of capacity units, and not the number of instances.
3255
3233
  # @return [Integer]
3256
3234
  #
3257
3235
  # @!attribute [rw] on_demand_percentage_above_base_capacity
3258
3236
  # Controls the percentages of On-Demand Instances and Spot Instances
3259
3237
  # for your additional capacity beyond `OnDemandBaseCapacity`.
3260
- #
3261
- # Default if not set is 100. If you leave it set to 100, the
3262
- # percentages are 100% for On-Demand Instances and 0% for Spot
3263
- # Instances.
3264
- #
3265
- # <note markdown="1"> An update to this setting means a gradual replacement of instances
3266
- # to maintain the percentage of On-Demand Instances for your
3267
- # additional capacity above the base capacity. When replacing
3268
- # instances, Amazon EC2 Auto Scaling launches new instances before
3269
- # terminating the old ones.
3270
- #
3271
- # </note>
3272
- #
3273
- # Valid Range: Minimum value of 0. Maximum value of 100.
3238
+ # Expressed as a number (for example, 20 specifies 20% On-Demand
3239
+ # Instances, 80% Spot Instances). Defaults to 100 if not specified. If
3240
+ # set to 100, only On-Demand Instances are provisioned.
3274
3241
  # @return [Integer]
3275
3242
  #
3276
3243
  # @!attribute [rw] spot_allocation_strategy
3277
- # Indicates how to allocate instances across Spot Instance pools.
3278
- #
3279
- # If the allocation strategy is `lowest-price`, the Auto Scaling group
3244
+ # Indicates how to allocate instances across Spot Instance pools. If
3245
+ # the allocation strategy is `lowest-price`, the Auto Scaling group
3280
3246
  # launches instances using the Spot pools with the lowest price, and
3281
3247
  # evenly allocates your instances across the number of Spot pools that
3282
3248
  # you specify. If the allocation strategy is `capacity-optimized`, the
3283
3249
  # Auto Scaling group launches instances using Spot pools that are
3284
- # optimally chosen based on the available Spot capacity.
3285
- #
3286
- # The default Spot allocation strategy for calls that you make through
3287
- # the API, the AWS CLI, or the AWS SDKs is `lowest-price`. The default
3288
- # Spot allocation strategy for the AWS Management Console is
3289
- # `capacity-optimized`.
3290
- #
3291
- # Valid values: `lowest-price` \| `capacity-optimized`
3250
+ # optimally chosen based on the available Spot capacity. Defaults to
3251
+ # `lowest-price` if not specified.
3292
3252
  # @return [String]
3293
3253
  #
3294
3254
  # @!attribute [rw] spot_instance_pools
3295
3255
  # The number of Spot Instance pools across which to allocate your Spot
3296
3256
  # Instances. The Spot pools are determined from the different instance
3297
- # types in the Overrides array of LaunchTemplate. Default if not set
3298
- # is 2.
3299
- #
3300
- # Used only when the Spot allocation strategy is `lowest-price`.
3257
+ # types in the overrides. Defaults to 2 if not specified. Valid only
3258
+ # when the Spot allocation strategy is `lowest-price`.
3301
3259
  #
3302
3260
  # Valid Range: Minimum value of 1. Maximum value of 20.
3303
3261
  # @return [Integer]
@@ -3306,10 +3264,8 @@ module Aws::AutoScaling
3306
3264
  # The maximum price per unit hour that you are willing to pay for a
3307
3265
  # Spot Instance. If you leave the value of this parameter blank (which
3308
3266
  # is the default), the maximum Spot price is set at the On-Demand
3309
- # price.
3310
- #
3311
- # To remove a value that you previously set, include the parameter but
3312
- # leave the value blank.
3267
+ # price. To remove a value that you previously set, include the
3268
+ # parameter but leave the value blank.
3313
3269
  # @return [String]
3314
3270
  #
3315
3271
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/InstancesDistribution AWS API Documentation
@@ -3350,10 +3306,8 @@ module Aws::AutoScaling
3350
3306
  #
3351
3307
  # @!attribute [rw] image_id
3352
3308
  # The ID of the Amazon Machine Image (AMI) to use to launch your EC2
3353
- # instances.
3354
- #
3355
- # For more information, see [Finding an AMI][1] in the *Amazon EC2
3356
- # User Guide for Linux Instances*.
3309
+ # instances. For more information, see [Finding an AMI][1] in the
3310
+ # *Amazon EC2 User Guide for Linux Instances*.
3357
3311
  #
3358
3312
  #
3359
3313
  #
@@ -3373,10 +3327,9 @@ module Aws::AutoScaling
3373
3327
  #
3374
3328
  # @!attribute [rw] security_groups
3375
3329
  # A list that contains the security groups to assign to the instances
3376
- # in the Auto Scaling group.
3377
- #
3378
- # For more information, see [Security Groups for Your VPC][1] in the
3379
- # *Amazon Virtual Private Cloud User Guide*.
3330
+ # in the Auto Scaling group. For more information, see [Security
3331
+ # Groups for Your VPC][1] in the *Amazon Virtual Private Cloud User
3332
+ # Guide*.
3380
3333
  #
3381
3334
  #
3382
3335
  #
@@ -3385,11 +3338,9 @@ module Aws::AutoScaling
3385
3338
  #
3386
3339
  # @!attribute [rw] classic_link_vpc_id
3387
3340
  # The ID of a ClassicLink-enabled VPC to link your EC2-Classic
3388
- # instances to.
3389
- #
3390
- # For more information, see [ClassicLink][1] in the *Amazon EC2 User
3391
- # Guide for Linux Instances* and [Linking EC2-Classic Instances to a
3392
- # VPC][2] in the *Amazon EC2 Auto Scaling User Guide*.
3341
+ # instances to. For more information, see [ClassicLink][1] in the
3342
+ # *Amazon EC2 User Guide for Linux Instances* and [Linking EC2-Classic
3343
+ # instances to a VPC][2] in the *Amazon EC2 Auto Scaling User Guide*.
3393
3344
  #
3394
3345
  #
3395
3346
  #
@@ -3402,7 +3353,7 @@ module Aws::AutoScaling
3402
3353
  # `ClassicLinkVPCId`.
3403
3354
  #
3404
3355
  # For more information, see [ClassicLink][1] in the *Amazon EC2 User
3405
- # Guide for Linux Instances* and [Linking EC2-Classic Instances to a
3356
+ # Guide for Linux Instances* and [Linking EC2-Classic instances to a
3406
3357
  # VPC][2] in the *Amazon EC2 Auto Scaling User Guide*.
3407
3358
  #
3408
3359
  #
@@ -3413,10 +3364,8 @@ module Aws::AutoScaling
3413
3364
  #
3414
3365
  # @!attribute [rw] user_data
3415
3366
  # The Base64-encoded user data to make available to the launched EC2
3416
- # instances.
3417
- #
3418
- # For more information, see [Instance Metadata and User Data][1] in
3419
- # the *Amazon EC2 User Guide for Linux Instances*.
3367
+ # instances. For more information, see [Instance metadata and user
3368
+ # data][1] in the *Amazon EC2 User Guide for Linux Instances*.
3420
3369
  #
3421
3370
  #
3422
3371
  #
@@ -3445,10 +3394,8 @@ module Aws::AutoScaling
3445
3394
  #
3446
3395
  # @!attribute [rw] block_device_mappings
3447
3396
  # A block device mapping, which specifies the block devices for the
3448
- # instance.
3449
- #
3450
- # For more information, see [Block Device Mapping][1] in the *Amazon
3451
- # EC2 User Guide for Linux Instances*.
3397
+ # instance. For more information, see [Block Device Mapping][1] in the
3398
+ # *Amazon EC2 User Guide for Linux Instances*.
3452
3399
  #
3453
3400
  #
3454
3401
  #
@@ -3464,16 +3411,15 @@ module Aws::AutoScaling
3464
3411
  #
3465
3412
  #
3466
3413
  #
3467
- # [1]: https://docs.aws.amazon.com/autoscaling/latest/userguide/as-instance-monitoring.html#enable-as-instance-metrics
3414
+ # [1]: https://docs.aws.amazon.com/autoscaling/latest/userguide/enable-as-instance-metrics.html
3468
3415
  # @return [Types::InstanceMonitoring]
3469
3416
  #
3470
3417
  # @!attribute [rw] spot_price
3471
3418
  # The maximum hourly price to be paid for any Spot Instance launched
3472
3419
  # to fulfill the request. Spot Instances are launched when the price
3473
- # you specify exceeds the current Spot price.
3474
- #
3475
- # For more information, see [Launching Spot Instances in Your Auto
3476
- # Scaling Group][1] in the *Amazon EC2 Auto Scaling User Guide*.
3420
+ # you specify exceeds the current Spot price. For more information,
3421
+ # see [Requesting Spot Instances][1] in the *Amazon EC2 Auto Scaling
3422
+ # User Guide*.
3477
3423
  #
3478
3424
  #
3479
3425
  #
@@ -3483,11 +3429,9 @@ module Aws::AutoScaling
3483
3429
  # @!attribute [rw] iam_instance_profile
3484
3430
  # The name or the Amazon Resource Name (ARN) of the instance profile
3485
3431
  # associated with the IAM role for the instance. The instance profile
3486
- # contains the IAM role.
3487
- #
3488
- # For more information, see [IAM Role for Applications That Run on
3489
- # Amazon EC2 Instances][1] in the *Amazon EC2 Auto Scaling User
3490
- # Guide*.
3432
+ # contains the IAM role. For more information, see [IAM role for
3433
+ # applications that run on Amazon EC2 instances][1] in the *Amazon EC2
3434
+ # Auto Scaling User Guide*.
3491
3435
  #
3492
3436
  #
3493
3437
  #
@@ -3500,10 +3444,9 @@ module Aws::AutoScaling
3500
3444
  #
3501
3445
  # @!attribute [rw] ebs_optimized
3502
3446
  # Specifies whether the launch configuration is optimized for EBS I/O
3503
- # (`true`) or not (`false`).
3504
- #
3505
- # For more information, see [Amazon EBS-Optimized Instances][1] in the
3506
- # *Amazon EC2 User Guide for Linux Instances*.
3447
+ # (`true`) or not (`false`). For more information, see [Amazon
3448
+ # EBS-Optimized Instances][1] in the *Amazon EC2 User Guide for Linux
3449
+ # Instances*.
3507
3450
  #
3508
3451
  #
3509
3452
  #
@@ -3512,10 +3455,9 @@ module Aws::AutoScaling
3512
3455
  #
3513
3456
  # @!attribute [rw] associate_public_ip_address
3514
3457
  # For Auto Scaling groups that are running in a VPC, specifies whether
3515
- # to assign a public IP address to the group's instances.
3516
- #
3517
- # For more information, see [Launching Auto Scaling Instances in a
3518
- # VPC][1] in the *Amazon EC2 Auto Scaling User Guide*.
3458
+ # to assign a public IP address to the group's instances. For more
3459
+ # information, see [Launching Auto Scaling instances in a VPC][1] in
3460
+ # the *Amazon EC2 Auto Scaling User Guide*.
3519
3461
  #
3520
3462
  #
3521
3463
  #
@@ -3527,22 +3469,22 @@ module Aws::AutoScaling
3527
3469
  # instance with `dedicated` tenancy runs on isolated, single-tenant
3528
3470
  # hardware and can only be launched into a VPC.
3529
3471
  #
3530
- # For more information, see [Instance Placement Tenancy][1] in the
3531
- # *Amazon EC2 Auto Scaling User Guide*.
3472
+ # For more information, see [Configuring instance tenancy with Amazon
3473
+ # EC2 Auto Scaling][1] in the *Amazon EC2 Auto Scaling User Guide*.
3532
3474
  #
3533
3475
  #
3534
3476
  #
3535
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html#as-vpc-tenancy
3477
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/auto-scaling-dedicated-instances.html
3536
3478
  # @return [String]
3537
3479
  #
3538
3480
  # @!attribute [rw] metadata_options
3539
3481
  # The metadata options for the instances. For more information, see
3540
- # [Instance Metadata and User Data][1] in the *Amazon EC2 User Guide
3541
- # for Linux Instances*.
3482
+ # [Configuring the Instance Metadata Options][1] in the *Amazon EC2
3483
+ # Auto Scaling User Guide*.
3542
3484
  #
3543
3485
  #
3544
3486
  #
3545
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
3487
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html#launch-configurations-imds
3546
3488
  # @return [Types::InstanceMetadataOptions]
3547
3489
  #
3548
3490
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LaunchConfiguration AWS API Documentation
@@ -3676,17 +3618,15 @@ module Aws::AutoScaling
3676
3618
  # }
3677
3619
  #
3678
3620
  # @!attribute [rw] launch_template_specification
3679
- # The launch template to use. You must specify either the launch
3680
- # template ID or launch template name in the request.
3621
+ # The launch template to use.
3681
3622
  # @return [Types::LaunchTemplateSpecification]
3682
3623
  #
3683
3624
  # @!attribute [rw] overrides
3684
3625
  # Any parameters that you specify override the same parameters in the
3685
3626
  # launch template. Currently, the only supported override is instance
3686
- # type. You can specify between 1 and 20 instance types.
3687
- #
3688
- # If not provided, Amazon EC2 Auto Scaling will use the instance type
3689
- # specified in the launch template to launch instances.
3627
+ # type. You can specify between 1 and 20 instance types. If not
3628
+ # provided, Amazon EC2 Auto Scaling will use the instance type
3629
+ # specified in the launch template when it launches an instance.
3690
3630
  # @return [Array<Types::LaunchTemplateOverrides>]
3691
3631
  #
3692
3632
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LaunchTemplate AWS API Documentation
@@ -3713,11 +3653,11 @@ module Aws::AutoScaling
3713
3653
  # }
3714
3654
  #
3715
3655
  # @!attribute [rw] instance_type
3716
- # The instance type. You must use an instance type that is supported
3717
- # in your requested Region and Availability Zones.
3718
- #
3719
- # For information about available instance types, see [Available
3720
- # Instance Types][1] in the *Amazon Elastic Compute Cloud User Guide.*
3656
+ # The instance type, such as `m3.xlarge`. You must use an instance
3657
+ # type that is supported in your requested Region and Availability
3658
+ # Zones. For information about available instance types, see
3659
+ # [Available instance types][1] in the *Amazon Elastic Compute Cloud
3660
+ # User Guide.*
3721
3661
  #
3722
3662
  #
3723
3663
  #
@@ -3725,15 +3665,18 @@ module Aws::AutoScaling
3725
3665
  # @return [String]
3726
3666
  #
3727
3667
  # @!attribute [rw] weighted_capacity
3728
- # The number of capacity units, which gives the instance type a
3729
- # proportional weight to other instance types. For example, larger
3730
- # instance types are generally weighted more than smaller instance
3731
- # types. These are the same units that you chose to set the desired
3732
- # capacity in terms of instances, or a performance attribute such as
3733
- # vCPUs, memory, or I/O.
3734
- #
3735
- # For more information, see [Instance Weighting for Amazon EC2 Auto
3736
- # Scaling][1] in the *Amazon EC2 Auto Scaling User Guide*.
3668
+ # The number of capacity units provided by the specified instance type
3669
+ # in terms of virtual CPUs, memory, storage, throughput, or other
3670
+ # relative performance characteristic. When a Spot or On-Demand
3671
+ # Instance is provisioned, the capacity units count toward the desired
3672
+ # capacity. Amazon EC2 Auto Scaling provisions instances until the
3673
+ # desired capacity is totally fulfilled, even if this results in an
3674
+ # overage. For example, if there are 2 units remaining to fulfill
3675
+ # capacity, and Amazon EC2 Auto Scaling can only provision an instance
3676
+ # with a `WeightedCapacity` of 5 units, the instance is provisioned,
3677
+ # and the desired capacity is exceeded by 3 units. For more
3678
+ # information, see [Instance weighting for Amazon EC2 Auto Scaling][1]
3679
+ # in the *Amazon EC2 Auto Scaling User Guide*.
3737
3680
  #
3738
3681
  # Valid Range: Minimum value of 1. Maximum value of 999.
3739
3682
  #
@@ -3756,8 +3699,8 @@ module Aws::AutoScaling
3756
3699
  # EC2 instances.
3757
3700
  #
3758
3701
  # The launch template that is specified must be configured for use with
3759
- # an Auto Scaling group. For more information, see [Creating a Launch
3760
- # Template for an Auto Scaling Group][1] in the *Amazon EC2 Auto Scaling
3702
+ # an Auto Scaling group. For more information, see [Creating a launch
3703
+ # template for an Auto Scaling group][1] in the *Amazon EC2 Auto Scaling
3761
3704
  # User Guide*.
3762
3705
  #
3763
3706
  #
@@ -3777,9 +3720,8 @@ module Aws::AutoScaling
3777
3720
  # The ID of the launch template. To get the template ID, use the
3778
3721
  # Amazon EC2 [DescribeLaunchTemplates][1] API operation. New launch
3779
3722
  # templates can be created using the Amazon EC2
3780
- # [CreateLaunchTemplate][2] API.
3781
- #
3782
- # You must specify either a template ID or a template name.
3723
+ # [CreateLaunchTemplate][2] API. You must specify either a
3724
+ # `LaunchTemplateId` or a `LaunchTemplateName`.
3783
3725
  #
3784
3726
  #
3785
3727
  #
@@ -3791,9 +3733,8 @@ module Aws::AutoScaling
3791
3733
  # The name of the launch template. To get the template name, use the
3792
3734
  # Amazon EC2 [DescribeLaunchTemplates][1] API operation. New launch
3793
3735
  # templates can be created using the Amazon EC2
3794
- # [CreateLaunchTemplate][2] API.
3795
- #
3796
- # You must specify either a template ID or a template name.
3736
+ # [CreateLaunchTemplate][2] API. You must specify either a
3737
+ # `LaunchTemplateId` or a `LaunchTemplateName`.
3797
3738
  #
3798
3739
  #
3799
3740
  #
@@ -3805,13 +3746,12 @@ module Aws::AutoScaling
3805
3746
  # The version number, `$Latest`, or `$Default`. To get the version
3806
3747
  # number, use the Amazon EC2 [DescribeLaunchTemplateVersions][1] API
3807
3748
  # operation. New launch template versions can be created using the
3808
- # Amazon EC2 [CreateLaunchTemplateVersion][2] API.
3809
- #
3810
- # If the value is `$Latest`, Amazon EC2 Auto Scaling selects the
3811
- # latest version of the launch template when launching instances. If
3812
- # the value is `$Default`, Amazon EC2 Auto Scaling selects the default
3813
- # version of the launch template when launching instances. The default
3814
- # value is `$Default`.
3749
+ # Amazon EC2 [CreateLaunchTemplateVersion][2] API. If the value is
3750
+ # `$Latest`, Amazon EC2 Auto Scaling selects the latest version of the
3751
+ # launch template when launching instances. If the value is
3752
+ # `$Default`, Amazon EC2 Auto Scaling selects the default version of
3753
+ # the launch template when launching instances. The default value is
3754
+ # `$Default`.
3815
3755
  #
3816
3756
  #
3817
3757
  #
@@ -3931,7 +3871,7 @@ module Aws::AutoScaling
3931
3871
  # 5. If you finish before the timeout period ends, complete the
3932
3872
  # lifecycle action.
3933
3873
  #
3934
- # For more information, see [Amazon EC2 Auto Scaling Lifecycle Hooks][1]
3874
+ # For more information, see [Amazon EC2 Auto Scaling lifecycle hooks][1]
3935
3875
  # in the *Amazon EC2 Auto Scaling User Guide*.
3936
3876
  #
3937
3877
  #
@@ -4215,8 +4155,7 @@ module Aws::AutoScaling
4215
4155
  # You can create a mixed instances policy for a new Auto Scaling group,
4216
4156
  # or you can create it for an existing group by updating the group to
4217
4157
  # specify `MixedInstancesPolicy` as the top-level parameter instead of a
4218
- # launch configuration or launch template. For more information, see
4219
- # CreateAutoScalingGroup and UpdateAutoScalingGroup.
4158
+ # launch configuration or launch template.
4220
4159
  #
4221
4160
  #
4222
4161
  #
@@ -4250,16 +4189,15 @@ module Aws::AutoScaling
4250
4189
  # }
4251
4190
  #
4252
4191
  # @!attribute [rw] launch_template
4253
- # The launch template and instance types (overrides).
4254
- #
4255
- # Required when creating a mixed instances policy.
4192
+ # Specifies the launch template to use and optionally the instance
4193
+ # types (overrides) that are used to provision EC2 instances to
4194
+ # fulfill On-Demand and Spot capacities. Required when creating a
4195
+ # mixed instances policy.
4256
4196
  # @return [Types::LaunchTemplate]
4257
4197
  #
4258
4198
  # @!attribute [rw] instances_distribution
4259
- # The instances distribution to use.
4260
- #
4261
- # If you leave this parameter unspecified, the value for each
4262
- # parameter in `InstancesDistribution` uses a default value.
4199
+ # Specifies the instances distribution. If not provided, the value for
4200
+ # each parameter in `InstancesDistribution` uses a default value.
4263
4201
  # @return [Types::InstancesDistribution]
4264
4202
  #
4265
4203
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/MixedInstancesPolicy AWS API Documentation
@@ -4380,17 +4318,20 @@ module Aws::AutoScaling
4380
4318
  # `ALBRequestCountPerTarget` and there is a target group attached to
4381
4319
  # the Auto Scaling group.
4382
4320
  #
4383
- # Elastic Load Balancing sends data about your load balancers to
4384
- # Amazon CloudWatch. CloudWatch collects the data and specifies the
4385
- # format to use to access the data. The format is
4386
- # `app/load-balancer-name/load-balancer-id/targetgroup/target-group-name/target-group-id
4387
- # `, where
4321
+ # You create the resource label by appending the final portion of the
4322
+ # load balancer ARN and the final portion of the target group ARN into
4323
+ # a single value, separated by a forward slash (/). The format is
4324
+ # app/&lt;load-balancer-name&gt;/&lt;load-balancer-id&gt;/targetgroup/&lt;target-group-name&gt;/&lt;target-group-id&gt;,
4325
+ # where:
4326
+ #
4327
+ # * app/&lt;load-balancer-name&gt;/&lt;load-balancer-id&gt; is the
4328
+ # final portion of the load balancer ARN
4388
4329
  #
4389
- # * `app/load-balancer-name/load-balancer-id ` is the final portion of
4390
- # the load balancer ARN, and
4330
+ # * targetgroup/&lt;target-group-name&gt;/&lt;target-group-id&gt; is
4331
+ # the final portion of the target group ARN.
4391
4332
  #
4392
- # * `targetgroup/target-group-name/target-group-id ` is the final
4393
- # portion of the target group ARN.
4333
+ # This is an example:
4334
+ # app/EC2Co-EcsEl-1TKLTMITMM0EO/f37c06a68c1748aa/targetgroup/EC2Co-Defau-LDNM7Q3ZH1ZN/6d4ea56ca2d6a18d.
4394
4335
  #
4395
4336
  # To find the ARN for an Application Load Balancer, use the
4396
4337
  # [DescribeLoadBalancers][1] API operation. To find the ARN for the
@@ -4413,7 +4354,7 @@ module Aws::AutoScaling
4413
4354
 
4414
4355
  # Describes a process type.
4415
4356
  #
4416
- # For more information, see [Scaling Processes][1] in the *Amazon EC2
4357
+ # For more information, see [Scaling processes][1] in the *Amazon EC2
4417
4358
  # Auto Scaling User Guide*.
4418
4359
  #
4419
4360
  #
@@ -4667,7 +4608,7 @@ module Aws::AutoScaling
4667
4608
  # `ChangeInCapacity`, `ExactCapacity`, and `PercentChangeInCapacity`.
4668
4609
  #
4669
4610
  # Required if the policy type is `StepScaling` or `SimpleScaling`. For
4670
- # more information, see [Scaling Adjustment Types][1] in the *Amazon
4611
+ # more information, see [Scaling adjustment types][1] in the *Amazon
4671
4612
  # EC2 Auto Scaling User Guide*.
4672
4613
  #
4673
4614
  #
@@ -4690,7 +4631,7 @@ module Aws::AutoScaling
4690
4631
  # Amazon EC2 Auto Scaling scales out the group by 2 instances.
4691
4632
  #
4692
4633
  # Valid only if the policy type is `StepScaling` or `SimpleScaling`.
4693
- # For more information, see [Scaling Adjustment Types][1] in the
4634
+ # For more information, see [Scaling adjustment types][1] in the
4694
4635
  # *Amazon EC2 Auto Scaling User Guide*.
4695
4636
  #
4696
4637
  # <note markdown="1"> Some Auto Scaling groups use instance weights. In this case, set the
@@ -4720,7 +4661,7 @@ module Aws::AutoScaling
4720
4661
  # period defined for the Auto Scaling group.
4721
4662
  #
4722
4663
  # Valid only if the policy type is `SimpleScaling`. For more
4723
- # information, see [Scaling Cooldowns for Amazon EC2 Auto Scaling][1]
4664
+ # information, see [Scaling cooldowns for Amazon EC2 Auto Scaling][1]
4724
4665
  # in the *Amazon EC2 Auto Scaling User Guide*.
4725
4666
  #
4726
4667
  #
@@ -4784,8 +4725,8 @@ module Aws::AutoScaling
4784
4725
  #
4785
4726
  # @!attribute [rw] enabled
4786
4727
  # Indicates whether the scaling policy is enabled or disabled. The
4787
- # default is enabled. For more information, see [Disabling a Scaling
4788
- # Policy for an Auto Scaling Group][1] in the *Amazon EC2 Auto Scaling
4728
+ # default is enabled. For more information, see [Disabling a scaling
4729
+ # policy for an Auto Scaling group][1] in the *Amazon EC2 Auto Scaling
4789
4730
  # User Guide*.
4790
4731
  #
4791
4732
  #
@@ -5048,8 +4989,8 @@ module Aws::AutoScaling
5048
4989
  #
5049
4990
  # * `SimpleScaling` (default)
5050
4991
  #
5051
- # For more information, see [Target Tracking Scaling Policies][1] and
5052
- # [Step and Simple Scaling Policies][2] in the *Amazon EC2 Auto
4992
+ # For more information, see [Target tracking scaling policies][1] and
4993
+ # [Step and simple scaling policies][2] in the *Amazon EC2 Auto
5053
4994
  # Scaling User Guide*.
5054
4995
  #
5055
4996
  #
@@ -5460,7 +5401,7 @@ module Aws::AutoScaling
5460
5401
  # }
5461
5402
  #
5462
5403
  # @!attribute [rw] instance_ids
5463
- # One or more instance IDs.
5404
+ # One or more instance IDs. You can specify up to 50 instances.
5464
5405
  # @return [Array<String>]
5465
5406
  #
5466
5407
  # @!attribute [rw] auto_scaling_group_name
@@ -5577,7 +5518,7 @@ module Aws::AutoScaling
5577
5518
  # * The upper and lower bound can't be null in the same step
5578
5519
  # adjustment.
5579
5520
  #
5580
- # For more information, see [Step Adjustments][1] in the *Amazon EC2
5521
+ # For more information, see [Step adjustments][1] in the *Amazon EC2
5581
5522
  # Auto Scaling User Guide*.
5582
5523
  #
5583
5524
  #
@@ -5629,9 +5570,9 @@ module Aws::AutoScaling
5629
5570
  include Aws::Structure
5630
5571
  end
5631
5572
 
5632
- # Describes an automatic scaling process that has been suspended.
5573
+ # Describes an auto scaling process that has been suspended.
5633
5574
  #
5634
- # For more information, see [Scaling Processes][1] in the *Amazon EC2
5575
+ # For more information, see [Scaling processes][1] in the *Amazon EC2
5635
5576
  # Auto Scaling User Guide*.
5636
5577
  #
5637
5578
  #
@@ -5892,6 +5833,7 @@ module Aws::AutoScaling
5892
5833
  # new_instances_protected_from_scale_in: false,
5893
5834
  # service_linked_role_arn: "ResourceName",
5894
5835
  # max_instance_lifetime: 1,
5836
+ # capacity_rebalance: false,
5895
5837
  # }
5896
5838
  #
5897
5839
  # @!attribute [rw] auto_scaling_group_name
@@ -5908,31 +5850,18 @@ module Aws::AutoScaling
5908
5850
  # The launch template and version to use to specify the updates. If
5909
5851
  # you specify `LaunchTemplate` in your update request, you can't
5910
5852
  # specify `LaunchConfigurationName` or `MixedInstancesPolicy`.
5911
- #
5912
- # For more information, see [LaunchTemplateSpecification][1] in the
5913
- # *Amazon EC2 Auto Scaling API Reference*.
5914
- #
5915
- #
5916
- #
5917
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_LaunchTemplateSpecification.html
5918
5853
  # @return [Types::LaunchTemplateSpecification]
5919
5854
  #
5920
5855
  # @!attribute [rw] mixed_instances_policy
5921
- # An embedded object that specifies a mixed instances policy.
5922
- #
5923
- # In your call to `UpdateAutoScalingGroup`, you can make changes to
5924
- # the policy that is specified. All optional parameters are left
5925
- # unchanged if not specified.
5926
- #
5927
- # For more information, see [MixedInstancesPolicy][1] in the *Amazon
5928
- # EC2 Auto Scaling API Reference* and [Auto Scaling Groups with
5929
- # Multiple Instance Types and Purchase Options][2] in the *Amazon EC2
5930
- # Auto Scaling User Guide*.
5856
+ # An embedded object that specifies a mixed instances policy. When you
5857
+ # make changes to an existing policy, all optional parameters are left
5858
+ # unchanged if not specified. For more information, see [Auto Scaling
5859
+ # Groups with Multiple Instance Types and Purchase Options][1] in the
5860
+ # *Amazon EC2 Auto Scaling User Guide*.
5931
5861
  #
5932
5862
  #
5933
5863
  #
5934
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_MixedInstancesPolicy.html
5935
- # [2]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-purchase-options.html
5864
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-purchase-options.html
5936
5865
  # @return [Types::MixedInstancesPolicy]
5937
5866
  #
5938
5867
  # @!attribute [rw] min_size
@@ -5955,20 +5884,17 @@ module Aws::AutoScaling
5955
5884
  # @!attribute [rw] desired_capacity
5956
5885
  # The desired capacity is the initial capacity of the Auto Scaling
5957
5886
  # group after this operation completes and the capacity it attempts to
5958
- # maintain.
5959
- #
5960
- # This number must be greater than or equal to the minimum size of the
5961
- # group and less than or equal to the maximum size of the group.
5887
+ # maintain. This number must be greater than or equal to the minimum
5888
+ # size of the group and less than or equal to the maximum size of the
5889
+ # group.
5962
5890
  # @return [Integer]
5963
5891
  #
5964
5892
  # @!attribute [rw] default_cooldown
5965
5893
  # The amount of time, in seconds, after a scaling activity completes
5966
5894
  # before another scaling activity can start. The default value is
5967
- # `300`.
5968
- #
5969
- # This setting applies when using simple scaling policies, but not
5970
- # when using other scaling policies or scheduled scaling. For more
5971
- # information, see [Scaling Cooldowns for Amazon EC2 Auto Scaling][1]
5895
+ # `300`. This setting applies when using simple scaling policies, but
5896
+ # not when using other scaling policies or scheduled scaling. For more
5897
+ # information, see [Scaling cooldowns for Amazon EC2 Auto Scaling][1]
5972
5898
  # in the *Amazon EC2 Auto Scaling User Guide*.
5973
5899
  #
5974
5900
  #
@@ -5990,12 +5916,11 @@ module Aws::AutoScaling
5990
5916
  # @!attribute [rw] health_check_grace_period
5991
5917
  # The amount of time, in seconds, that Amazon EC2 Auto Scaling waits
5992
5918
  # before checking the health status of an EC2 instance that has come
5993
- # into service. The default value is `0`.
5994
- #
5995
- # For more information, see [Health Check Grace Period][1] in the
5996
- # *Amazon EC2 Auto Scaling User Guide*.
5919
+ # into service. The default value is `0`. For more information, see
5920
+ # [Health check grace period][1] in the *Amazon EC2 Auto Scaling User
5921
+ # Guide*.
5997
5922
  #
5998
- # Required if you are adding an `ELB` health check.
5923
+ # Conditional: Required if you are adding an `ELB` health check.
5999
5924
  #
6000
5925
  #
6001
5926
  #
@@ -6003,11 +5928,12 @@ module Aws::AutoScaling
6003
5928
  # @return [Integer]
6004
5929
  #
6005
5930
  # @!attribute [rw] placement_group
6006
- # The name of the placement group into which to launch your instances,
6007
- # if any. A placement group is a logical grouping of instances within
6008
- # a single Availability Zone. You cannot specify multiple Availability
6009
- # Zones and a placement group. For more information, see [Placement
6010
- # Groups][1] in the *Amazon EC2 User Guide for Linux Instances*.
5931
+ # The name of an existing placement group into which to launch your
5932
+ # instances, if any. A placement group is a logical grouping of
5933
+ # instances within a single Availability Zone. You cannot specify
5934
+ # multiple Availability Zones and a placement group. For more
5935
+ # information, see [Placement Groups][1] in the *Amazon EC2 User Guide
5936
+ # for Linux Instances*.
6011
5937
  #
6012
5938
  #
6013
5939
  #
@@ -6015,22 +5941,18 @@ module Aws::AutoScaling
6015
5941
  # @return [String]
6016
5942
  #
6017
5943
  # @!attribute [rw] vpc_zone_identifier
6018
- # A comma-separated list of subnet IDs for virtual private cloud
6019
- # (VPC).
6020
- #
6021
- # If you specify `VPCZoneIdentifier` with `AvailabilityZones`, the
6022
- # subnets that you specify for this parameter must reside in those
5944
+ # A comma-separated list of subnet IDs for a virtual private cloud
5945
+ # (VPC). If you specify `VPCZoneIdentifier` with `AvailabilityZones`,
5946
+ # the subnets that you specify for this parameter must reside in those
6023
5947
  # Availability Zones.
6024
5948
  # @return [String]
6025
5949
  #
6026
5950
  # @!attribute [rw] termination_policies
6027
- # A standalone termination policy or a list of termination policies
6028
- # used to select the instance to terminate. The policies are executed
6029
- # in the order that they are listed.
6030
- #
6031
- # For more information, see [Controlling Which Instances Auto Scaling
6032
- # Terminates During Scale In][1] in the *Amazon EC2 Auto Scaling User
6033
- # Guide*.
5951
+ # A policy or a list of policies that are used to select the instances
5952
+ # to terminate. The policies are executed in the order that you list
5953
+ # them. For more information, see [Controlling which Auto Scaling
5954
+ # instances terminate during scale in][1] in the *Amazon EC2 Auto
5955
+ # Scaling User Guide*.
6034
5956
  #
6035
5957
  #
6036
5958
  #
@@ -6039,10 +5961,9 @@ module Aws::AutoScaling
6039
5961
  #
6040
5962
  # @!attribute [rw] new_instances_protected_from_scale_in
6041
5963
  # Indicates whether newly launched instances are protected from
6042
- # termination by Amazon EC2 Auto Scaling when scaling in.
6043
- #
6044
- # For more information about preventing instances from terminating on
6045
- # scale in, see [Instance Protection][1] in the *Amazon EC2 Auto
5964
+ # termination by Amazon EC2 Auto Scaling when scaling in. For more
5965
+ # information about preventing instances from terminating on scale in,
5966
+ # see [Instance scale-in protection][1] in the *Amazon EC2 Auto
6046
5967
  # Scaling User Guide*.
6047
5968
  #
6048
5969
  #
@@ -6053,7 +5974,7 @@ module Aws::AutoScaling
6053
5974
  # @!attribute [rw] service_linked_role_arn
6054
5975
  # The Amazon Resource Name (ARN) of the service-linked role that the
6055
5976
  # Auto Scaling group uses to call other AWS services on your behalf.
6056
- # For more information, see [Service-Linked Roles][1] in the *Amazon
5977
+ # For more information, see [Service-linked roles][1] in the *Amazon
6057
5978
  # EC2 Auto Scaling User Guide*.
6058
5979
  #
6059
5980
  #
@@ -6063,22 +5984,26 @@ module Aws::AutoScaling
6063
5984
  #
6064
5985
  # @!attribute [rw] max_instance_lifetime
6065
5986
  # The maximum amount of time, in seconds, that an instance can be in
6066
- # service. The default is null.
5987
+ # service. The default is null. If specified, the value must be either
5988
+ # 0 or a number equal to or greater than 86,400 seconds (1 day). To
5989
+ # clear a previously set value, specify a new value of 0. For more
5990
+ # information, see [Replacing Auto Scaling instances based on maximum
5991
+ # instance lifetime][1] in the *Amazon EC2 Auto Scaling User Guide*.
6067
5992
  #
6068
- # This parameter is optional, but if you specify a value for it, you
6069
- # must specify a value of at least 604,800 seconds (7 days). To clear
6070
- # a previously set value, specify a new value of 0.
6071
5993
  #
6072
- # For more information, see [Replacing Auto Scaling Instances Based on
6073
- # Maximum Instance Lifetime][1] in the *Amazon EC2 Auto Scaling User
6074
- # Guide*.
6075
5994
  #
6076
- # Valid Range: Minimum value of 0.
5995
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-max-instance-lifetime.html
5996
+ # @return [Integer]
6077
5997
  #
5998
+ # @!attribute [rw] capacity_rebalance
5999
+ # Enables or disables Capacity Rebalancing. For more information, see
6000
+ # [Amazon EC2 Auto Scaling Capacity Rebalancing][1] in the *Amazon EC2
6001
+ # Auto Scaling User Guide*.
6078
6002
  #
6079
6003
  #
6080
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-max-instance-lifetime.html
6081
- # @return [Integer]
6004
+ #
6005
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/capacity-rebalance.html
6006
+ # @return [Boolean]
6082
6007
  #
6083
6008
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroupType AWS API Documentation
6084
6009
  #
@@ -6099,7 +6024,8 @@ module Aws::AutoScaling
6099
6024
  :termination_policies,
6100
6025
  :new_instances_protected_from_scale_in,
6101
6026
  :service_linked_role_arn,
6102
- :max_instance_lifetime)
6027
+ :max_instance_lifetime,
6028
+ :capacity_rebalance)
6103
6029
  SENSITIVE = []
6104
6030
  include Aws::Structure
6105
6031
  end