aws-sdk-autoscaling 1.80.0 → 1.82.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.
@@ -1051,6 +1051,11 @@ module Aws::AutoScaling
1051
1051
  # min: 1,
1052
1052
  # max: 1,
1053
1053
  # },
1054
+ # network_bandwidth_gbps: {
1055
+ # min: 1.0,
1056
+ # max: 1.0,
1057
+ # },
1058
+ # allowed_instance_types: ["AllowedInstanceType"],
1054
1059
  # },
1055
1060
  # },
1056
1061
  # ],
@@ -1140,11 +1145,9 @@ module Aws::AutoScaling
1140
1145
  # @return [Types::LaunchTemplateSpecification]
1141
1146
  #
1142
1147
  # @!attribute [rw] mixed_instances_policy
1143
- # An embedded object that specifies a mixed instances policy.
1144
- #
1145
- # For more information, see [Auto Scaling groups with multiple
1146
- # instance types and purchase options][1] in the *Amazon EC2 Auto
1147
- # Scaling User Guide*.
1148
+ # The mixed instances policy. For more information, see [Auto Scaling
1149
+ # groups with multiple instance types and purchase options][1] in the
1150
+ # *Amazon EC2 Auto Scaling User Guide*.
1148
1151
  #
1149
1152
  #
1150
1153
  #
@@ -1550,27 +1553,11 @@ module Aws::AutoScaling
1550
1553
  # @return [Array<String>]
1551
1554
  #
1552
1555
  # @!attribute [rw] classic_link_vpc_id
1553
- # *EC2-Classic retires on August 15, 2022. This property is not
1554
- # supported after that date.*
1555
- #
1556
- # The ID of a ClassicLink-enabled VPC to link your EC2-Classic
1557
- # instances to. For more information, see [ClassicLink][1] in the
1558
- # *Amazon EC2 User Guide for Linux Instances*.
1559
- #
1560
- #
1561
- #
1562
- # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html
1556
+ # Available for backward compatibility.
1563
1557
  # @return [String]
1564
1558
  #
1565
1559
  # @!attribute [rw] classic_link_vpc_security_groups
1566
- # *EC2-Classic retires on August 15, 2022. This property is not
1567
- # supported after that date.*
1568
- #
1569
- # The IDs of one or more security groups for the specified
1570
- # ClassicLink-enabled VPC.
1571
- #
1572
- # If you specify the `ClassicLinkVPCId` property, you must specify
1573
- # `ClassicLinkVPCSecurityGroups`.
1560
+ # Available for backward compatibility.
1574
1561
  # @return [Array<String>]
1575
1562
  #
1576
1563
  # @!attribute [rw] user_data
@@ -2843,6 +2830,11 @@ module Aws::AutoScaling
2843
2830
  # min: 1,
2844
2831
  # max: 1,
2845
2832
  # },
2833
+ # network_bandwidth_gbps: {
2834
+ # min: 1.0,
2835
+ # max: 1.0,
2836
+ # },
2837
+ # allowed_instance_types: ["AllowedInstanceType"],
2846
2838
  # },
2847
2839
  # },
2848
2840
  # ],
@@ -2870,12 +2862,14 @@ module Aws::AutoScaling
2870
2862
  # @return [Types::LaunchTemplateSpecification]
2871
2863
  #
2872
2864
  # @!attribute [rw] mixed_instances_policy
2873
- # Describes a mixed instances policy. A mixed instances policy
2874
- # contains the instance types that Amazon EC2 Auto Scaling can launch
2875
- # and other information that Amazon EC2 Auto Scaling can use to launch
2876
- # instances and help optimize your costs. For more information, see
2877
- # [Auto Scaling groups with multiple instance types and purchase
2878
- # options][1] in the *Amazon EC2 Auto Scaling User Guide*.
2865
+ # Use this structure to launch multiple instance types and On-Demand
2866
+ # Instances and Spot Instances within a single Auto Scaling group.
2867
+ #
2868
+ # A mixed instances policy contains information that Amazon EC2 Auto
2869
+ # Scaling can use to launch instances and help optimize your costs.
2870
+ # For more information, see [Auto Scaling groups with multiple
2871
+ # instance types and purchase options][1] in the *Amazon EC2 Auto
2872
+ # Scaling User Guide*.
2879
2873
  #
2880
2874
  #
2881
2875
  #
@@ -4005,20 +3999,43 @@ module Aws::AutoScaling
4005
3999
  include Aws::Structure
4006
4000
  end
4007
4001
 
4008
- # When you specify multiple parameters, you get instance types that
4009
- # satisfy all of the specified parameters. If you specify multiple
4010
- # values for a parameter, you get instance types that satisfy any of the
4011
- # specified values.
4002
+ # The attributes for the instance types for a mixed instances policy.
4003
+ # Amazon EC2 Auto Scaling uses your specified requirements to identify
4004
+ # instance types. Then, it uses your On-Demand and Spot allocation
4005
+ # strategies to launch instances from these instance types.
4006
+ #
4007
+ # When you specify multiple attributes, you get instance types that
4008
+ # satisfy all of the specified attributes. If you specify multiple
4009
+ # values for an attribute, you get instance types that satisfy any of
4010
+ # the specified values.
4011
+ #
4012
+ # To limit the list of instance types from which Amazon EC2 Auto Scaling
4013
+ # can identify matching instance types, you can use one of the following
4014
+ # parameters, but not both in the same request:
4015
+ #
4016
+ # * `AllowedInstanceTypes` - The instance types to include in the list.
4017
+ # All other instance types are ignored, even if they match your
4018
+ # specified attributes.
4019
+ #
4020
+ # * `ExcludedInstanceTypes` - The instance types to exclude from the
4021
+ # list, even if they match your specified attributes.
4022
+ #
4023
+ # <note markdown="1"> You must specify `VCpuCount` and `MemoryMiB`. All other attributes are
4024
+ # optional. Any unspecified optional attribute is set to its default.
4012
4025
  #
4013
- # Represents requirements for the types of instances that can be
4014
- # launched. You must specify `VCpuCount` and `MemoryMiB`, but all other
4015
- # parameters are optional. For more information, see [Creating an Auto
4016
- # Scaling group using attribute-based instance type selection][1] in the
4017
- # *Amazon EC2 Auto Scaling User Guide*.
4026
+ # </note>
4027
+ #
4028
+ # For more information, see [Creating an Auto Scaling group using
4029
+ # attribute-based instance type selection][1] in the *Amazon EC2 Auto
4030
+ # Scaling User Guide*. For help determining which instance types match
4031
+ # your attributes before you apply them to your Auto Scaling group, see
4032
+ # [Preview instance types with specified attributes][2] in the *Amazon
4033
+ # EC2 User Guide for Linux Instances*.
4018
4034
  #
4019
4035
  #
4020
4036
  #
4021
4037
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-instance-type-requirements.html
4038
+ # [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-fleet-attribute-based-instance-type-selection.html#ec2fleet-get-instance-types-from-instance-requirements
4022
4039
  #
4023
4040
  # @note When making an API call, you may pass InstanceRequirements
4024
4041
  # data as a hash:
@@ -4069,6 +4086,11 @@ module Aws::AutoScaling
4069
4086
  # min: 1,
4070
4087
  # max: 1,
4071
4088
  # },
4089
+ # network_bandwidth_gbps: {
4090
+ # min: 1.0,
4091
+ # max: 1.0,
4092
+ # },
4093
+ # allowed_instance_types: ["AllowedInstanceType"],
4072
4094
  # }
4073
4095
  #
4074
4096
  # @!attribute [rw] v_cpu_count
@@ -4104,18 +4126,24 @@ module Aws::AutoScaling
4104
4126
  # The minimum and maximum amount of memory per vCPU for an instance
4105
4127
  # type, in GiB.
4106
4128
  #
4107
- # Default: No minimum or maximum
4129
+ # Default: No minimum or maximum limits
4108
4130
  # @return [Types::MemoryGiBPerVCpuRequest]
4109
4131
  #
4110
4132
  # @!attribute [rw] excluded_instance_types
4111
- # Lists which instance types to exclude. You can use strings with one
4112
- # or more wild cards, represented by an asterisk (`*`). The following
4113
- # are examples: `c5*`, `m5a.*`, `r*`, `*3*`.
4133
+ # The instance types to exclude. You can use strings with one or more
4134
+ # wild cards, represented by an asterisk (`*`), to exclude an instance
4135
+ # family, type, size, or generation. The following are examples:
4136
+ # `m5.8xlarge`, `c5*.*`, `m5a.*`, `r*`, `*3*`.
4114
4137
  #
4115
4138
  # For example, if you specify `c5*`, you are excluding the entire C5
4116
4139
  # instance family, which includes all C5a and C5n instance types. If
4117
- # you specify `m5a.*`, you are excluding all the M5a instance types,
4118
- # but not the M5n instance types.
4140
+ # you specify `m5a.*`, Amazon EC2 Auto Scaling will exclude all the
4141
+ # M5a instance types, but not the M5n instance types.
4142
+ #
4143
+ # <note markdown="1"> If you specify `ExcludedInstanceTypes`, you can't specify
4144
+ # `AllowedInstanceTypes`.
4145
+ #
4146
+ # </note>
4119
4147
  #
4120
4148
  # Default: No excluded instance types
4121
4149
  # @return [Array<String>]
@@ -4207,7 +4235,7 @@ module Aws::AutoScaling
4207
4235
  # The minimum and maximum number of network interfaces for an instance
4208
4236
  # type.
4209
4237
  #
4210
- # Default: No minimum or maximum
4238
+ # Default: No minimum or maximum limits
4211
4239
  # @return [Types::NetworkInterfaceCountRequest]
4212
4240
  #
4213
4241
  # @!attribute [rw] local_storage
@@ -4239,7 +4267,7 @@ module Aws::AutoScaling
4239
4267
  # The minimum and maximum total local storage size for an instance
4240
4268
  # type, in GB.
4241
4269
  #
4242
- # Default: No minimum or maximum
4270
+ # Default: No minimum or maximum limits
4243
4271
  # @return [Types::TotalLocalStorageGBRequest]
4244
4272
  #
4245
4273
  # @!attribute [rw] baseline_ebs_bandwidth_mbps
@@ -4248,7 +4276,7 @@ module Aws::AutoScaling
4248
4276
  # EBS–optimized instances][1] in the *Amazon EC2 User Guide for Linux
4249
4277
  # Instances*.
4250
4278
  #
4251
- # Default: No minimum or maximum
4279
+ # Default: No minimum or maximum limits
4252
4280
  #
4253
4281
  #
4254
4282
  #
@@ -4274,7 +4302,7 @@ module Aws::AutoScaling
4274
4302
  #
4275
4303
  # To exclude accelerator-enabled instance types, set `Max` to `0`.
4276
4304
  #
4277
- # Default: No minimum or maximum
4305
+ # Default: No minimum or maximum limits
4278
4306
  # @return [Types::AcceleratorCountRequest]
4279
4307
  #
4280
4308
  # @!attribute [rw] accelerator_manufacturers
@@ -4318,9 +4346,38 @@ module Aws::AutoScaling
4318
4346
  # The minimum and maximum total memory size for the accelerators on an
4319
4347
  # instance type, in MiB.
4320
4348
  #
4321
- # Default: No minimum or maximum
4349
+ # Default: No minimum or maximum limits
4322
4350
  # @return [Types::AcceleratorTotalMemoryMiBRequest]
4323
4351
  #
4352
+ # @!attribute [rw] network_bandwidth_gbps
4353
+ # The minimum and maximum amount of network bandwidth, in gigabits per
4354
+ # second (Gbps).
4355
+ #
4356
+ # Default: No minimum or maximum limits
4357
+ # @return [Types::NetworkBandwidthGbpsRequest]
4358
+ #
4359
+ # @!attribute [rw] allowed_instance_types
4360
+ # The instance types to apply your specified attributes against. All
4361
+ # other instance types are ignored, even if they match your specified
4362
+ # attributes.
4363
+ #
4364
+ # You can use strings with one or more wild cards, represented by an
4365
+ # asterisk (`*`), to allow an instance type, size, or generation. The
4366
+ # following are examples: `m5.8xlarge`, `c5*.*`, `m5a.*`, `r*`, `*3*`.
4367
+ #
4368
+ # For example, if you specify `c5*`, Amazon EC2 Auto Scaling will
4369
+ # allow the entire C5 instance family, which includes all C5a and C5n
4370
+ # instance types. If you specify `m5a.*`, Amazon EC2 Auto Scaling will
4371
+ # allow all the M5a instance types, but not the M5n instance types.
4372
+ #
4373
+ # <note markdown="1"> If you specify `AllowedInstanceTypes`, you can't specify
4374
+ # `ExcludedInstanceTypes`.
4375
+ #
4376
+ # </note>
4377
+ #
4378
+ # Default: All instance types
4379
+ # @return [Array<String>]
4380
+ #
4324
4381
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/InstanceRequirements AWS API Documentation
4325
4382
  #
4326
4383
  class InstanceRequirements < Struct.new(
@@ -4344,7 +4401,9 @@ module Aws::AutoScaling
4344
4401
  :accelerator_count,
4345
4402
  :accelerator_manufacturers,
4346
4403
  :accelerator_names,
4347
- :accelerator_total_memory_mi_b)
4404
+ :accelerator_total_memory_mi_b,
4405
+ :network_bandwidth_gbps,
4406
+ :allowed_instance_types)
4348
4407
  SENSITIVE = []
4349
4408
  include Aws::Structure
4350
4409
  end
@@ -4378,7 +4437,9 @@ module Aws::AutoScaling
4378
4437
  include Aws::Structure
4379
4438
  end
4380
4439
 
4381
- # Describes an instances distribution for an Auto Scaling group.
4440
+ # Use this structure to specify the distribution of On-Demand Instances
4441
+ # and Spot Instances and the allocation strategies used to fulfill
4442
+ # On-Demand and Spot capacities for a mixed instances policy.
4382
4443
  #
4383
4444
  # @note When making an API call, you may pass InstancesDistribution
4384
4445
  # data as a hash:
@@ -4471,13 +4532,16 @@ module Aws::AutoScaling
4471
4532
  #
4472
4533
  # @!attribute [rw] spot_max_price
4473
4534
  # The maximum price per unit hour that you are willing to pay for a
4474
- # Spot Instance. If you keep the value at its default (unspecified),
4475
- # Amazon EC2 Auto Scaling uses the On-Demand price as the maximum Spot
4476
- # price. To remove a value that you previously set, include the
4477
- # property but specify an empty string ("") for the value.
4535
+ # Spot Instance. If your maximum price is lower than the Spot price
4536
+ # for the instance types that you selected, your Spot Instances are
4537
+ # not launched. We do not recommend specifying a maximum price because
4538
+ # it can lead to increased interruptions. When Spot Instances launch,
4539
+ # you pay the current Spot price. To remove a maximum price that you
4540
+ # previously set, include the property but specify an empty string
4541
+ # ("") for the value.
4478
4542
  #
4479
- # If your maximum price is lower than the Spot price for the instance
4480
- # types that you selected, your Spot Instances are not launched.
4543
+ # If you specify a maximum price, your instances will be interrupted
4544
+ # more frequently than if you do not specify one.
4481
4545
  #
4482
4546
  # Valid Range: Minimum value of 0.001
4483
4547
  # @return [String]
@@ -4551,19 +4615,11 @@ module Aws::AutoScaling
4551
4615
  # @return [Array<String>]
4552
4616
  #
4553
4617
  # @!attribute [rw] classic_link_vpc_id
4554
- # *EC2-Classic retires on August 15, 2022. This property is not
4555
- # supported after that date.*
4556
- #
4557
- # The ID of a ClassicLink-enabled VPC to link your EC2-Classic
4558
- # instances to.
4618
+ # Available for backward compatibility.
4559
4619
  # @return [String]
4560
4620
  #
4561
4621
  # @!attribute [rw] classic_link_vpc_security_groups
4562
- # *EC2-Classic retires on August 15, 2022. This property is not
4563
- # supported after that date.*
4564
- #
4565
- # The IDs of one or more security groups for the VPC specified in
4566
- # `ClassicLinkVPCId`.
4622
+ # Available for backward compatibility.
4567
4623
  # @return [Array<String>]
4568
4624
  #
4569
4625
  # @!attribute [rw] user_data
@@ -4803,8 +4859,8 @@ module Aws::AutoScaling
4803
4859
  include Aws::Structure
4804
4860
  end
4805
4861
 
4806
- # Describes a launch template and overrides. You specify these
4807
- # properties as part of a mixed instances policy.
4862
+ # Use this structure to specify the launch templates and instance types
4863
+ # (overrides) for a mixed instances policy.
4808
4864
  #
4809
4865
  # @note When making an API call, you may pass LaunchTemplate
4810
4866
  # data as a hash:
@@ -4870,23 +4926,23 @@ module Aws::AutoScaling
4870
4926
  # min: 1,
4871
4927
  # max: 1,
4872
4928
  # },
4929
+ # network_bandwidth_gbps: {
4930
+ # min: 1.0,
4931
+ # max: 1.0,
4932
+ # },
4933
+ # allowed_instance_types: ["AllowedInstanceType"],
4873
4934
  # },
4874
4935
  # },
4875
4936
  # ],
4876
4937
  # }
4877
4938
  #
4878
4939
  # @!attribute [rw] launch_template_specification
4879
- # The launch template to use.
4940
+ # The launch template.
4880
4941
  # @return [Types::LaunchTemplateSpecification]
4881
4942
  #
4882
4943
  # @!attribute [rw] overrides
4883
4944
  # Any properties that you specify override the same properties in the
4884
- # launch template. If not provided, Amazon EC2 Auto Scaling uses the
4885
- # instance type or instance type requirements specified in the launch
4886
- # template when it launches an instance.
4887
- #
4888
- # The overrides can include either one or more instance types or a set
4889
- # of instance requirements, but not both.
4945
+ # launch template.
4890
4946
  # @return [Array<Types::LaunchTemplateOverrides>]
4891
4947
  #
4892
4948
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LaunchTemplate AWS API Documentation
@@ -4898,13 +4954,26 @@ module Aws::AutoScaling
4898
4954
  include Aws::Structure
4899
4955
  end
4900
4956
 
4901
- # Describes an override for a launch template. For more information, see
4902
- # [Configuring overrides][1] in the *Amazon EC2 Auto Scaling User
4903
- # Guide*.
4957
+ # Use this structure to let Amazon EC2 Auto Scaling do the following
4958
+ # when the Auto Scaling group has a mixed instances policy:
4959
+ #
4960
+ # * Override the instance type that is specified in the launch template.
4904
4961
  #
4962
+ # * Use multiple instance types.
4905
4963
  #
4964
+ # Specify the instance types that you want, or define your instance
4965
+ # requirements instead and let Amazon EC2 Auto Scaling provision the
4966
+ # available instance types that meet your requirements. This can provide
4967
+ # Amazon EC2 Auto Scaling with a larger selection of instance types to
4968
+ # choose from when fulfilling Spot and On-Demand capacities. You can
4969
+ # view which instance types are matched before you apply the instance
4970
+ # requirements to your Auto Scaling group.
4906
4971
  #
4907
- # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-configuring-overrides.html
4972
+ # After you define your instance requirements, you don't have to keep
4973
+ # updating these settings to get new EC2 instance types automatically.
4974
+ # Amazon EC2 Auto Scaling uses the instance requirements of the Auto
4975
+ # Scaling group to determine whether a new EC2 instance type can be
4976
+ # used.
4908
4977
  #
4909
4978
  # @note When making an API call, you may pass LaunchTemplateOverrides
4910
4979
  # data as a hash:
@@ -4963,34 +5032,52 @@ module Aws::AutoScaling
4963
5032
  # min: 1,
4964
5033
  # max: 1,
4965
5034
  # },
5035
+ # network_bandwidth_gbps: {
5036
+ # min: 1.0,
5037
+ # max: 1.0,
5038
+ # },
5039
+ # allowed_instance_types: ["AllowedInstanceType"],
4966
5040
  # },
4967
5041
  # }
4968
5042
  #
4969
5043
  # @!attribute [rw] instance_type
4970
- # The instance type, such as `m3.xlarge`. You must use an instance
5044
+ # The instance type, such as `m3.xlarge`. You must specify an instance
4971
5045
  # type that is supported in your requested Region and Availability
4972
5046
  # Zones. For more information, see [Instance types][1] in the *Amazon
4973
5047
  # Elastic Compute Cloud User Guide*.
4974
5048
  #
5049
+ # You can specify up to 40 instance types per Auto Scaling group.
5050
+ #
4975
5051
  #
4976
5052
  #
4977
5053
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html
4978
5054
  # @return [String]
4979
5055
  #
4980
5056
  # @!attribute [rw] weighted_capacity
4981
- # The number of capacity units provided by the instance type specified
4982
- # in `InstanceType` in terms of virtual CPUs, memory, storage,
4983
- # throughput, or other relative performance characteristic. When a
4984
- # Spot or On-Demand Instance is launched, the capacity units count
4985
- # toward the desired capacity. Amazon EC2 Auto Scaling launches
4986
- # instances until the desired capacity is totally fulfilled, even if
4987
- # this results in an overage. For example, if there are two units
4988
- # remaining to fulfill capacity, and Amazon EC2 Auto Scaling can only
4989
- # launch an instance with a `WeightedCapacity` of five units, the
4990
- # instance is launched, and the desired capacity is exceeded by three
4991
- # units. For more information, see [Configuring instance weighting for
4992
- # Amazon EC2 Auto Scaling][1] in the *Amazon EC2 Auto Scaling User
4993
- # Guide*. Value must be in the range of 1–999.
5057
+ # If you provide a list of instance types to use, you can specify the
5058
+ # number of capacity units provided by each instance type in terms of
5059
+ # virtual CPUs, memory, storage, throughput, or other relative
5060
+ # performance characteristic. When a Spot or On-Demand Instance is
5061
+ # launched, the capacity units count toward the desired capacity.
5062
+ # Amazon EC2 Auto Scaling launches instances until the desired
5063
+ # capacity is totally fulfilled, even if this results in an overage.
5064
+ # For example, if there are two units remaining to fulfill capacity,
5065
+ # and Amazon EC2 Auto Scaling can only launch an instance with a
5066
+ # `WeightedCapacity` of five units, the instance is launched, and the
5067
+ # desired capacity is exceeded by three units. For more information,
5068
+ # see [Configuring instance weighting for Amazon EC2 Auto Scaling][1]
5069
+ # in the *Amazon EC2 Auto Scaling User Guide*. Value must be in the
5070
+ # range of 1–999.
5071
+ #
5072
+ # If you specify a value for `WeightedCapacity` for one instance type,
5073
+ # you must specify a value for `WeightedCapacity` for all of them.
5074
+ #
5075
+ # Every Auto Scaling group has three size parameters
5076
+ # (`DesiredCapacity`, `MaxSize`, and `MinSize`). Usually, you set
5077
+ # these sizes based on a specific number of instances. However, if you
5078
+ # configure a mixed instances policy that defines weights for the
5079
+ # instance types, you must specify these sizes with the same units
5080
+ # that you use for weighting instances.
4994
5081
  #
4995
5082
  #
4996
5083
  #
@@ -4998,13 +5085,17 @@ module Aws::AutoScaling
4998
5085
  # @return [String]
4999
5086
  #
5000
5087
  # @!attribute [rw] launch_template_specification
5001
- # Provides a launch template for the specified instance type or
5088
+ # Provides a launch template for the specified instance type or set of
5002
5089
  # instance requirements. For example, some instance types might
5003
5090
  # require a launch template with a different AMI. If not provided,
5004
- # Amazon EC2 Auto Scaling uses the launch template that's defined for
5005
- # your mixed instances policy. For more information, see [Specifying a
5006
- # different launch template for an instance type][1] in the *Amazon
5007
- # EC2 Auto Scaling User Guide*.
5091
+ # Amazon EC2 Auto Scaling uses the launch template that's specified
5092
+ # in the `LaunchTemplate` definition. For more information, see
5093
+ # [Specifying a different launch template for an instance type][1] in
5094
+ # the *Amazon EC2 Auto Scaling User Guide*.
5095
+ #
5096
+ # You can specify up to 20 launch templates per Auto Scaling group.
5097
+ # The launch templates specified in the overrides and in the
5098
+ # `LaunchTemplate` definition count towards this limit.
5008
5099
  #
5009
5100
  #
5010
5101
  #
@@ -5012,11 +5103,22 @@ module Aws::AutoScaling
5012
5103
  # @return [Types::LaunchTemplateSpecification]
5013
5104
  #
5014
5105
  # @!attribute [rw] instance_requirements
5015
- # The instance requirements. When you specify instance requirements,
5016
- # Amazon EC2 Auto Scaling finds instance types that satisfy your
5017
- # requirements, and then uses your On-Demand and Spot allocation
5018
- # strategies to launch instances from these instance types, in the
5019
- # same way as when you specify a list of specific instance types.
5106
+ # The instance requirements. Amazon EC2 Auto Scaling uses your
5107
+ # specified requirements to identify instance types. Then, it uses
5108
+ # your On-Demand and Spot allocation strategies to launch instances
5109
+ # from these instance types.
5110
+ #
5111
+ # You can specify up to four separate sets of instance requirements
5112
+ # per Auto Scaling group. This is useful for provisioning instances
5113
+ # from different Amazon Machine Images (AMIs) in the same Auto Scaling
5114
+ # group. To do this, create the AMIs and create a new launch template
5115
+ # for each AMI. Then, create a compatible set of instance requirements
5116
+ # for each launch template.
5117
+ #
5118
+ # <note markdown="1"> If you specify `InstanceRequirements`, you can't specify
5119
+ # `InstanceType`.
5120
+ #
5121
+ # </note>
5020
5122
  # @return [Types::InstanceRequirements]
5021
5123
  #
5022
5124
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LaunchTemplateOverrides AWS API Documentation
@@ -5764,12 +5866,14 @@ module Aws::AutoScaling
5764
5866
  include Aws::Structure
5765
5867
  end
5766
5868
 
5767
- # Describes a mixed instances policy. A mixed instances policy contains
5768
- # the instance types that Amazon EC2 Auto Scaling can launch and other
5769
- # information that Amazon EC2 Auto Scaling can use to launch instances
5770
- # and help optimize your costs. For more information, see [Auto Scaling
5771
- # groups with multiple instance types and purchase options][1] in the
5772
- # *Amazon EC2 Auto Scaling User Guide*.
5869
+ # Use this structure to launch multiple instance types and On-Demand
5870
+ # Instances and Spot Instances within a single Auto Scaling group.
5871
+ #
5872
+ # A mixed instances policy contains information that Amazon EC2 Auto
5873
+ # Scaling can use to launch instances and help optimize your costs. For
5874
+ # more information, see [Auto Scaling groups with multiple instance
5875
+ # types and purchase options][1] in the *Amazon EC2 Auto Scaling User
5876
+ # Guide*.
5773
5877
  #
5774
5878
  #
5775
5879
  #
@@ -5840,6 +5944,11 @@ module Aws::AutoScaling
5840
5944
  # min: 1,
5841
5945
  # max: 1,
5842
5946
  # },
5947
+ # network_bandwidth_gbps: {
5948
+ # min: 1.0,
5949
+ # max: 1.0,
5950
+ # },
5951
+ # allowed_instance_types: ["AllowedInstanceType"],
5843
5952
  # },
5844
5953
  # },
5845
5954
  # ],
@@ -5873,6 +5982,50 @@ module Aws::AutoScaling
5873
5982
  include Aws::Structure
5874
5983
  end
5875
5984
 
5985
+ # Specifies the minimum and maximum for the `NetworkBandwidthGbps`
5986
+ # object when you specify InstanceRequirements for an Auto Scaling
5987
+ # group.
5988
+ #
5989
+ # <note markdown="1"> Setting the minimum bandwidth does not guarantee that your instance
5990
+ # will achieve the minimum bandwidth. Amazon EC2 will identify instance
5991
+ # types that support the specified minimum bandwidth, but the actual
5992
+ # bandwidth of your instance might go below the specified minimum at
5993
+ # times. For more information, see [Available instance bandwidth][1] in
5994
+ # the *Amazon EC2 User Guide for Linux Instances*.
5995
+ #
5996
+ # </note>
5997
+ #
5998
+ #
5999
+ #
6000
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-network-bandwidth.html#available-instance-bandwidth
6001
+ #
6002
+ # @note When making an API call, you may pass NetworkBandwidthGbpsRequest
6003
+ # data as a hash:
6004
+ #
6005
+ # {
6006
+ # min: 1.0,
6007
+ # max: 1.0,
6008
+ # }
6009
+ #
6010
+ # @!attribute [rw] min
6011
+ # The minimum amount of network bandwidth, in gigabits per second
6012
+ # (Gbps).
6013
+ # @return [Float]
6014
+ #
6015
+ # @!attribute [rw] max
6016
+ # The maximum amount of network bandwidth, in gigabits per second
6017
+ # (Gbps).
6018
+ # @return [Float]
6019
+ #
6020
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/NetworkBandwidthGbpsRequest AWS API Documentation
6021
+ #
6022
+ class NetworkBandwidthGbpsRequest < Struct.new(
6023
+ :min,
6024
+ :max)
6025
+ SENSITIVE = []
6026
+ include Aws::Structure
6027
+ end
6028
+
5876
6029
  # Specifies the minimum and maximum for the `NetworkInterfaceCount`
5877
6030
  # object when you specify InstanceRequirements for an Auto Scaling
5878
6031
  # group.
@@ -8174,6 +8327,11 @@ module Aws::AutoScaling
8174
8327
  # min: 1,
8175
8328
  # max: 1,
8176
8329
  # },
8330
+ # network_bandwidth_gbps: {
8331
+ # min: 1.0,
8332
+ # max: 1.0,
8333
+ # },
8334
+ # allowed_instance_types: ["AllowedInstanceType"],
8177
8335
  # },
8178
8336
  # },
8179
8337
  # ],
@@ -8661,6 +8819,11 @@ module Aws::AutoScaling
8661
8819
  # min: 1,
8662
8820
  # max: 1,
8663
8821
  # },
8822
+ # network_bandwidth_gbps: {
8823
+ # min: 1.0,
8824
+ # max: 1.0,
8825
+ # },
8826
+ # allowed_instance_types: ["AllowedInstanceType"],
8664
8827
  # },
8665
8828
  # },
8666
8829
  # ],
@@ -8710,10 +8873,9 @@ module Aws::AutoScaling
8710
8873
  # @return [Types::LaunchTemplateSpecification]
8711
8874
  #
8712
8875
  # @!attribute [rw] mixed_instances_policy
8713
- # An embedded object that specifies a mixed instances policy. For more
8714
- # information, see [Auto Scaling groups with multiple instance types
8715
- # and purchase options][1] in the *Amazon EC2 Auto Scaling User
8716
- # Guide*.
8876
+ # The mixed instances policy. For more information, see [Auto Scaling
8877
+ # groups with multiple instance types and purchase options][1] in the
8878
+ # *Amazon EC2 Auto Scaling User Guide*.
8717
8879
  #
8718
8880
  #
8719
8881
  #
@@ -13,10 +13,14 @@ require 'aws-sigv4'
13
13
 
14
14
  require_relative 'aws-sdk-autoscaling/types'
15
15
  require_relative 'aws-sdk-autoscaling/client_api'
16
+ require_relative 'aws-sdk-autoscaling/plugins/endpoints.rb'
16
17
  require_relative 'aws-sdk-autoscaling/client'
17
18
  require_relative 'aws-sdk-autoscaling/errors'
18
19
  require_relative 'aws-sdk-autoscaling/waiters'
19
20
  require_relative 'aws-sdk-autoscaling/resource'
21
+ require_relative 'aws-sdk-autoscaling/endpoint_parameters'
22
+ require_relative 'aws-sdk-autoscaling/endpoint_provider'
23
+ require_relative 'aws-sdk-autoscaling/endpoints'
20
24
  require_relative 'aws-sdk-autoscaling/activity'
21
25
  require_relative 'aws-sdk-autoscaling/auto_scaling_group'
22
26
  require_relative 'aws-sdk-autoscaling/instance'
@@ -59,6 +63,6 @@ require_relative 'aws-sdk-autoscaling/customizations'
59
63
  # @!group service
60
64
  module Aws::AutoScaling
61
65
 
62
- GEM_VERSION = '1.80.0'
66
+ GEM_VERSION = '1.82.0'
63
67
 
64
68
  end