aws-sdk-autoscaling 1.70.0 → 1.71.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-autoscaling/auto_scaling_group.rb +85 -5
- data/lib/aws-sdk-autoscaling/client.rb +257 -20
- data/lib/aws-sdk-autoscaling/client_api.rb +102 -0
- data/lib/aws-sdk-autoscaling/resource.rb +68 -14
- data/lib/aws-sdk-autoscaling/types.rb +1073 -135
- data/lib/aws-sdk-autoscaling.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 945846eda804a1df5fcf104853a4f3362101a962c7da1522de3cb015823ac45a
|
4
|
+
data.tar.gz: dc1880e15ea8324edaf58d0a7de7f26b080778a7dde9752db9e11e9295cff5f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dda965c0c8b367bf7321dd0bba6b678af1788168c000336508ec01cd3d1a26e0fe2d204110340d36aa9eccfa2848bfc3b2940286024cb7723fccb0ff8fab74b8
|
7
|
+
data.tar.gz: 3274783979ac9c527b0d6c90e7ea72ef8e2ec5e662e7acdde39601e4f1061d1b144df7463e59fbe844c216e76a37a4c9c1ae33494006174f433e57ebcf1f4b25
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.71.0 (2021-10-27)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for attribute-based instance type selection, a new EC2 Auto Scaling feature that lets customers express their instance requirements as a set of attributes, such as vCPU, memory, and storage.
|
8
|
+
|
4
9
|
1.70.0 (2021-10-18)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.71.0
|
@@ -218,6 +218,25 @@ module Aws::AutoScaling
|
|
218
218
|
data[:context]
|
219
219
|
end
|
220
220
|
|
221
|
+
# The unit of measurement for the value specified for desired capacity.
|
222
|
+
# Amazon EC2 Auto Scaling supports `DesiredCapacityType` for
|
223
|
+
# attribute-based instance type selection only. For more information,
|
224
|
+
# see [Creating an Auto Scaling group using attribute-based instance
|
225
|
+
# type selection][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
226
|
+
#
|
227
|
+
# By default, Amazon EC2 Auto Scaling specifies `units`, which
|
228
|
+
# translates into number of instances.
|
229
|
+
#
|
230
|
+
# Valid values: `units` \| `vcpu` \| `memory-mib`
|
231
|
+
#
|
232
|
+
#
|
233
|
+
#
|
234
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-instance-type-requirements.html
|
235
|
+
# @return [String]
|
236
|
+
def desired_capacity_type
|
237
|
+
data[:desired_capacity_type]
|
238
|
+
end
|
239
|
+
|
221
240
|
# @!endgroup
|
222
241
|
|
223
242
|
# @return [Client]
|
@@ -1011,6 +1030,53 @@ module Aws::AutoScaling
|
|
1011
1030
|
# launch_template_name: "LaunchTemplateName",
|
1012
1031
|
# version: "XmlStringMaxLen255",
|
1013
1032
|
# },
|
1033
|
+
# instance_requirements: {
|
1034
|
+
# v_cpu_count: { # required
|
1035
|
+
# min: 1, # required
|
1036
|
+
# max: 1,
|
1037
|
+
# },
|
1038
|
+
# memory_mi_b: { # required
|
1039
|
+
# min: 1, # required
|
1040
|
+
# max: 1,
|
1041
|
+
# },
|
1042
|
+
# cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services
|
1043
|
+
# memory_gi_b_per_v_cpu: {
|
1044
|
+
# min: 1.0,
|
1045
|
+
# max: 1.0,
|
1046
|
+
# },
|
1047
|
+
# excluded_instance_types: ["ExcludedInstance"],
|
1048
|
+
# instance_generations: ["current"], # accepts current, previous
|
1049
|
+
# spot_max_price_percentage_over_lowest_price: 1,
|
1050
|
+
# on_demand_max_price_percentage_over_lowest_price: 1,
|
1051
|
+
# bare_metal: "included", # accepts included, excluded, required
|
1052
|
+
# burstable_performance: "included", # accepts included, excluded, required
|
1053
|
+
# require_hibernate_support: false,
|
1054
|
+
# network_interface_count: {
|
1055
|
+
# min: 1,
|
1056
|
+
# max: 1,
|
1057
|
+
# },
|
1058
|
+
# local_storage: "included", # accepts included, excluded, required
|
1059
|
+
# local_storage_types: ["hdd"], # accepts hdd, ssd
|
1060
|
+
# total_local_storage_gb: {
|
1061
|
+
# min: 1.0,
|
1062
|
+
# max: 1.0,
|
1063
|
+
# },
|
1064
|
+
# baseline_ebs_bandwidth_mbps: {
|
1065
|
+
# min: 1,
|
1066
|
+
# max: 1,
|
1067
|
+
# },
|
1068
|
+
# accelerator_types: ["gpu"], # accepts gpu, fpga, inference
|
1069
|
+
# accelerator_count: {
|
1070
|
+
# min: 1,
|
1071
|
+
# max: 1,
|
1072
|
+
# },
|
1073
|
+
# accelerator_manufacturers: ["nvidia"], # accepts nvidia, amd, amazon-web-services, xilinx
|
1074
|
+
# accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p
|
1075
|
+
# accelerator_total_memory_mi_b: {
|
1076
|
+
# min: 1,
|
1077
|
+
# max: 1,
|
1078
|
+
# },
|
1079
|
+
# },
|
1014
1080
|
# },
|
1015
1081
|
# ],
|
1016
1082
|
# },
|
@@ -1038,6 +1104,7 @@ module Aws::AutoScaling
|
|
1038
1104
|
# max_instance_lifetime: 1,
|
1039
1105
|
# capacity_rebalance: false,
|
1040
1106
|
# context: "Context",
|
1107
|
+
# desired_capacity_type: "XmlStringMaxLen255",
|
1041
1108
|
# })
|
1042
1109
|
# @param [Hash] options ({})
|
1043
1110
|
# @option options [String] :launch_configuration_name
|
@@ -1049,11 +1116,9 @@ module Aws::AutoScaling
|
|
1049
1116
|
# specify `LaunchTemplate` in your update request, you can't specify
|
1050
1117
|
# `LaunchConfigurationName` or `MixedInstancesPolicy`.
|
1051
1118
|
# @option options [Types::MixedInstancesPolicy] :mixed_instances_policy
|
1052
|
-
# An embedded object that specifies a mixed instances policy.
|
1053
|
-
#
|
1054
|
-
#
|
1055
|
-
# groups with multiple instance types and purchase options][1] in the
|
1056
|
-
# *Amazon EC2 Auto Scaling User Guide*.
|
1119
|
+
# An embedded object that specifies a mixed instances policy. For more
|
1120
|
+
# information, see [Auto Scaling groups with multiple instance types and
|
1121
|
+
# purchase options][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
1057
1122
|
#
|
1058
1123
|
#
|
1059
1124
|
#
|
@@ -1173,6 +1238,21 @@ module Aws::AutoScaling
|
|
1173
1238
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/capacity-rebalance.html
|
1174
1239
|
# @option options [String] :context
|
1175
1240
|
# Reserved.
|
1241
|
+
# @option options [String] :desired_capacity_type
|
1242
|
+
# The unit of measurement for the value specified for desired capacity.
|
1243
|
+
# Amazon EC2 Auto Scaling supports `DesiredCapacityType` for
|
1244
|
+
# attribute-based instance type selection only. For more information,
|
1245
|
+
# see [Creating an Auto Scaling group using attribute-based instance
|
1246
|
+
# type selection][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
1247
|
+
#
|
1248
|
+
# By default, Amazon EC2 Auto Scaling specifies `units`, which
|
1249
|
+
# translates into number of instances.
|
1250
|
+
#
|
1251
|
+
# Valid values: `units` \| `vcpu` \| `memory-mib`
|
1252
|
+
#
|
1253
|
+
#
|
1254
|
+
#
|
1255
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-instance-type-requirements.html
|
1176
1256
|
# @return [AutoScalingGroup]
|
1177
1257
|
def update(options = {})
|
1178
1258
|
options = options.merge(auto_scaling_group_name: @name)
|
@@ -790,20 +790,11 @@ module Aws::AutoScaling
|
|
790
790
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-template.html
|
791
791
|
#
|
792
792
|
# @option params [Types::MixedInstancesPolicy] :mixed_instances_policy
|
793
|
-
# An embedded object that specifies a mixed instances policy.
|
794
|
-
#
|
795
|
-
#
|
796
|
-
#
|
797
|
-
#
|
798
|
-
# of On-Demand Instances and Spot Instances, the maximum price to pay
|
799
|
-
# for Spot Instances, and how the Auto Scaling group allocates instance
|
800
|
-
# types to fulfill On-Demand and Spot capacities, but also the
|
801
|
-
# properties that specify the instance configuration information—the
|
802
|
-
# launch template and instance types. The policy can also include a
|
803
|
-
# weight for each instance type and different launch templates for
|
804
|
-
# individual instance types. For more information, see [Auto Scaling
|
805
|
-
# groups with multiple instance types and purchase options][1] in the
|
806
|
-
# *Amazon EC2 Auto Scaling User Guide*.
|
793
|
+
# An embedded object that specifies a mixed instances policy.
|
794
|
+
#
|
795
|
+
# For more information, see [Auto Scaling groups with multiple instance
|
796
|
+
# types and purchase options][1] in the *Amazon EC2 Auto Scaling User
|
797
|
+
# Guide*.
|
807
798
|
#
|
808
799
|
#
|
809
800
|
#
|
@@ -1011,6 +1002,22 @@ module Aws::AutoScaling
|
|
1011
1002
|
# @option params [String] :context
|
1012
1003
|
# Reserved.
|
1013
1004
|
#
|
1005
|
+
# @option params [String] :desired_capacity_type
|
1006
|
+
# The unit of measurement for the value specified for desired capacity.
|
1007
|
+
# Amazon EC2 Auto Scaling supports `DesiredCapacityType` for
|
1008
|
+
# attribute-based instance type selection only. For more information,
|
1009
|
+
# see [Creating an Auto Scaling group using attribute-based instance
|
1010
|
+
# type selection][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
1011
|
+
#
|
1012
|
+
# By default, Amazon EC2 Auto Scaling specifies `units`, which
|
1013
|
+
# translates into number of instances.
|
1014
|
+
#
|
1015
|
+
# Valid values: `units` \| `vcpu` \| `memory-mib`
|
1016
|
+
#
|
1017
|
+
#
|
1018
|
+
#
|
1019
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-instance-type-requirements.html
|
1020
|
+
#
|
1014
1021
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1015
1022
|
#
|
1016
1023
|
#
|
@@ -1117,6 +1124,53 @@ module Aws::AutoScaling
|
|
1117
1124
|
# launch_template_name: "LaunchTemplateName",
|
1118
1125
|
# version: "XmlStringMaxLen255",
|
1119
1126
|
# },
|
1127
|
+
# instance_requirements: {
|
1128
|
+
# v_cpu_count: { # required
|
1129
|
+
# min: 1, # required
|
1130
|
+
# max: 1,
|
1131
|
+
# },
|
1132
|
+
# memory_mi_b: { # required
|
1133
|
+
# min: 1, # required
|
1134
|
+
# max: 1,
|
1135
|
+
# },
|
1136
|
+
# cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services
|
1137
|
+
# memory_gi_b_per_v_cpu: {
|
1138
|
+
# min: 1.0,
|
1139
|
+
# max: 1.0,
|
1140
|
+
# },
|
1141
|
+
# excluded_instance_types: ["ExcludedInstance"],
|
1142
|
+
# instance_generations: ["current"], # accepts current, previous
|
1143
|
+
# spot_max_price_percentage_over_lowest_price: 1,
|
1144
|
+
# on_demand_max_price_percentage_over_lowest_price: 1,
|
1145
|
+
# bare_metal: "included", # accepts included, excluded, required
|
1146
|
+
# burstable_performance: "included", # accepts included, excluded, required
|
1147
|
+
# require_hibernate_support: false,
|
1148
|
+
# network_interface_count: {
|
1149
|
+
# min: 1,
|
1150
|
+
# max: 1,
|
1151
|
+
# },
|
1152
|
+
# local_storage: "included", # accepts included, excluded, required
|
1153
|
+
# local_storage_types: ["hdd"], # accepts hdd, ssd
|
1154
|
+
# total_local_storage_gb: {
|
1155
|
+
# min: 1.0,
|
1156
|
+
# max: 1.0,
|
1157
|
+
# },
|
1158
|
+
# baseline_ebs_bandwidth_mbps: {
|
1159
|
+
# min: 1,
|
1160
|
+
# max: 1,
|
1161
|
+
# },
|
1162
|
+
# accelerator_types: ["gpu"], # accepts gpu, fpga, inference
|
1163
|
+
# accelerator_count: {
|
1164
|
+
# min: 1,
|
1165
|
+
# max: 1,
|
1166
|
+
# },
|
1167
|
+
# accelerator_manufacturers: ["nvidia"], # accepts nvidia, amd, amazon-web-services, xilinx
|
1168
|
+
# accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p
|
1169
|
+
# accelerator_total_memory_mi_b: {
|
1170
|
+
# min: 1,
|
1171
|
+
# max: 1,
|
1172
|
+
# },
|
1173
|
+
# },
|
1120
1174
|
# },
|
1121
1175
|
# ],
|
1122
1176
|
# },
|
@@ -1167,6 +1221,7 @@ module Aws::AutoScaling
|
|
1167
1221
|
# service_linked_role_arn: "ResourceName",
|
1168
1222
|
# max_instance_lifetime: 1,
|
1169
1223
|
# context: "Context",
|
1224
|
+
# desired_capacity_type: "XmlStringMaxLen255",
|
1170
1225
|
# })
|
1171
1226
|
#
|
1172
1227
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateAutoScalingGroup AWS API Documentation
|
@@ -2144,6 +2199,42 @@ module Aws::AutoScaling
|
|
2144
2199
|
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].launch_template_specification.launch_template_id #=> String
|
2145
2200
|
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].launch_template_specification.launch_template_name #=> String
|
2146
2201
|
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].launch_template_specification.version #=> String
|
2202
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.v_cpu_count.min #=> Integer
|
2203
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.v_cpu_count.max #=> Integer
|
2204
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.memory_mi_b.min #=> Integer
|
2205
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.memory_mi_b.max #=> Integer
|
2206
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.cpu_manufacturers #=> Array
|
2207
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.cpu_manufacturers[0] #=> String, one of "intel", "amd", "amazon-web-services"
|
2208
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.memory_gi_b_per_v_cpu.min #=> Float
|
2209
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.memory_gi_b_per_v_cpu.max #=> Float
|
2210
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.excluded_instance_types #=> Array
|
2211
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.excluded_instance_types[0] #=> String
|
2212
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.instance_generations #=> Array
|
2213
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.instance_generations[0] #=> String, one of "current", "previous"
|
2214
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.spot_max_price_percentage_over_lowest_price #=> Integer
|
2215
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.on_demand_max_price_percentage_over_lowest_price #=> Integer
|
2216
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.bare_metal #=> String, one of "included", "excluded", "required"
|
2217
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.burstable_performance #=> String, one of "included", "excluded", "required"
|
2218
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.require_hibernate_support #=> Boolean
|
2219
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.network_interface_count.min #=> Integer
|
2220
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.network_interface_count.max #=> Integer
|
2221
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.local_storage #=> String, one of "included", "excluded", "required"
|
2222
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.local_storage_types #=> Array
|
2223
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.local_storage_types[0] #=> String, one of "hdd", "ssd"
|
2224
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.total_local_storage_gb.min #=> Float
|
2225
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.total_local_storage_gb.max #=> Float
|
2226
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.baseline_ebs_bandwidth_mbps.min #=> Integer
|
2227
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.baseline_ebs_bandwidth_mbps.max #=> Integer
|
2228
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_types #=> Array
|
2229
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_types[0] #=> String, one of "gpu", "fpga", "inference"
|
2230
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_count.min #=> Integer
|
2231
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_count.max #=> Integer
|
2232
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_manufacturers #=> Array
|
2233
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_manufacturers[0] #=> String, one of "nvidia", "amd", "amazon-web-services", "xilinx"
|
2234
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_names #=> Array
|
2235
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p"
|
2236
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
|
2237
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
|
2147
2238
|
# resp.auto_scaling_groups[0].mixed_instances_policy.instances_distribution.on_demand_allocation_strategy #=> String
|
2148
2239
|
# resp.auto_scaling_groups[0].mixed_instances_policy.instances_distribution.on_demand_base_capacity #=> Integer
|
2149
2240
|
# resp.auto_scaling_groups[0].mixed_instances_policy.instances_distribution.on_demand_percentage_above_base_capacity #=> Integer
|
@@ -2203,6 +2294,7 @@ module Aws::AutoScaling
|
|
2203
2294
|
# resp.auto_scaling_groups[0].warm_pool_configuration.status #=> String, one of "PendingDelete"
|
2204
2295
|
# resp.auto_scaling_groups[0].warm_pool_size #=> Integer
|
2205
2296
|
# resp.auto_scaling_groups[0].context #=> String
|
2297
|
+
# resp.auto_scaling_groups[0].desired_capacity_type #=> String
|
2206
2298
|
# resp.next_token #=> String
|
2207
2299
|
#
|
2208
2300
|
#
|
@@ -2474,6 +2566,42 @@ module Aws::AutoScaling
|
|
2474
2566
|
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].launch_template_specification.launch_template_id #=> String
|
2475
2567
|
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].launch_template_specification.launch_template_name #=> String
|
2476
2568
|
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].launch_template_specification.version #=> String
|
2569
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.v_cpu_count.min #=> Integer
|
2570
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.v_cpu_count.max #=> Integer
|
2571
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.memory_mi_b.min #=> Integer
|
2572
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.memory_mi_b.max #=> Integer
|
2573
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.cpu_manufacturers #=> Array
|
2574
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.cpu_manufacturers[0] #=> String, one of "intel", "amd", "amazon-web-services"
|
2575
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.memory_gi_b_per_v_cpu.min #=> Float
|
2576
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.memory_gi_b_per_v_cpu.max #=> Float
|
2577
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.excluded_instance_types #=> Array
|
2578
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.excluded_instance_types[0] #=> String
|
2579
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.instance_generations #=> Array
|
2580
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.instance_generations[0] #=> String, one of "current", "previous"
|
2581
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.spot_max_price_percentage_over_lowest_price #=> Integer
|
2582
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.on_demand_max_price_percentage_over_lowest_price #=> Integer
|
2583
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.bare_metal #=> String, one of "included", "excluded", "required"
|
2584
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.burstable_performance #=> String, one of "included", "excluded", "required"
|
2585
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.require_hibernate_support #=> Boolean
|
2586
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.network_interface_count.min #=> Integer
|
2587
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.network_interface_count.max #=> Integer
|
2588
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.local_storage #=> String, one of "included", "excluded", "required"
|
2589
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.local_storage_types #=> Array
|
2590
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.local_storage_types[0] #=> String, one of "hdd", "ssd"
|
2591
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.total_local_storage_gb.min #=> Float
|
2592
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.total_local_storage_gb.max #=> Float
|
2593
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.baseline_ebs_bandwidth_mbps.min #=> Integer
|
2594
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.baseline_ebs_bandwidth_mbps.max #=> Integer
|
2595
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_types #=> Array
|
2596
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_types[0] #=> String, one of "gpu", "fpga", "inference"
|
2597
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_count.min #=> Integer
|
2598
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_count.max #=> Integer
|
2599
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_manufacturers #=> Array
|
2600
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_manufacturers[0] #=> String, one of "nvidia", "amd", "amazon-web-services", "xilinx"
|
2601
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_names #=> Array
|
2602
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p"
|
2603
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
|
2604
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
|
2477
2605
|
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.instances_distribution.on_demand_allocation_strategy #=> String
|
2478
2606
|
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.instances_distribution.on_demand_base_capacity #=> Integer
|
2479
2607
|
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.instances_distribution.on_demand_percentage_above_base_capacity #=> Integer
|
@@ -5511,6 +5639,53 @@ module Aws::AutoScaling
|
|
5511
5639
|
# launch_template_name: "LaunchTemplateName",
|
5512
5640
|
# version: "XmlStringMaxLen255",
|
5513
5641
|
# },
|
5642
|
+
# instance_requirements: {
|
5643
|
+
# v_cpu_count: { # required
|
5644
|
+
# min: 1, # required
|
5645
|
+
# max: 1,
|
5646
|
+
# },
|
5647
|
+
# memory_mi_b: { # required
|
5648
|
+
# min: 1, # required
|
5649
|
+
# max: 1,
|
5650
|
+
# },
|
5651
|
+
# cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services
|
5652
|
+
# memory_gi_b_per_v_cpu: {
|
5653
|
+
# min: 1.0,
|
5654
|
+
# max: 1.0,
|
5655
|
+
# },
|
5656
|
+
# excluded_instance_types: ["ExcludedInstance"],
|
5657
|
+
# instance_generations: ["current"], # accepts current, previous
|
5658
|
+
# spot_max_price_percentage_over_lowest_price: 1,
|
5659
|
+
# on_demand_max_price_percentage_over_lowest_price: 1,
|
5660
|
+
# bare_metal: "included", # accepts included, excluded, required
|
5661
|
+
# burstable_performance: "included", # accepts included, excluded, required
|
5662
|
+
# require_hibernate_support: false,
|
5663
|
+
# network_interface_count: {
|
5664
|
+
# min: 1,
|
5665
|
+
# max: 1,
|
5666
|
+
# },
|
5667
|
+
# local_storage: "included", # accepts included, excluded, required
|
5668
|
+
# local_storage_types: ["hdd"], # accepts hdd, ssd
|
5669
|
+
# total_local_storage_gb: {
|
5670
|
+
# min: 1.0,
|
5671
|
+
# max: 1.0,
|
5672
|
+
# },
|
5673
|
+
# baseline_ebs_bandwidth_mbps: {
|
5674
|
+
# min: 1,
|
5675
|
+
# max: 1,
|
5676
|
+
# },
|
5677
|
+
# accelerator_types: ["gpu"], # accepts gpu, fpga, inference
|
5678
|
+
# accelerator_count: {
|
5679
|
+
# min: 1,
|
5680
|
+
# max: 1,
|
5681
|
+
# },
|
5682
|
+
# accelerator_manufacturers: ["nvidia"], # accepts nvidia, amd, amazon-web-services, xilinx
|
5683
|
+
# accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p
|
5684
|
+
# accelerator_total_memory_mi_b: {
|
5685
|
+
# min: 1,
|
5686
|
+
# max: 1,
|
5687
|
+
# },
|
5688
|
+
# },
|
5514
5689
|
# },
|
5515
5690
|
# ],
|
5516
5691
|
# },
|
@@ -5758,11 +5933,9 @@ module Aws::AutoScaling
|
|
5758
5933
|
# `LaunchConfigurationName` or `MixedInstancesPolicy`.
|
5759
5934
|
#
|
5760
5935
|
# @option params [Types::MixedInstancesPolicy] :mixed_instances_policy
|
5761
|
-
# An embedded object that specifies a mixed instances policy.
|
5762
|
-
#
|
5763
|
-
#
|
5764
|
-
# groups with multiple instance types and purchase options][1] in the
|
5765
|
-
# *Amazon EC2 Auto Scaling User Guide*.
|
5936
|
+
# An embedded object that specifies a mixed instances policy. For more
|
5937
|
+
# information, see [Auto Scaling groups with multiple instance types and
|
5938
|
+
# purchase options][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
5766
5939
|
#
|
5767
5940
|
#
|
5768
5941
|
#
|
@@ -5898,6 +6071,22 @@ module Aws::AutoScaling
|
|
5898
6071
|
# @option params [String] :context
|
5899
6072
|
# Reserved.
|
5900
6073
|
#
|
6074
|
+
# @option params [String] :desired_capacity_type
|
6075
|
+
# The unit of measurement for the value specified for desired capacity.
|
6076
|
+
# Amazon EC2 Auto Scaling supports `DesiredCapacityType` for
|
6077
|
+
# attribute-based instance type selection only. For more information,
|
6078
|
+
# see [Creating an Auto Scaling group using attribute-based instance
|
6079
|
+
# type selection][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
6080
|
+
#
|
6081
|
+
# By default, Amazon EC2 Auto Scaling specifies `units`, which
|
6082
|
+
# translates into number of instances.
|
6083
|
+
#
|
6084
|
+
# Valid values: `units` \| `vcpu` \| `memory-mib`
|
6085
|
+
#
|
6086
|
+
#
|
6087
|
+
#
|
6088
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-instance-type-requirements.html
|
6089
|
+
#
|
5901
6090
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
5902
6091
|
#
|
5903
6092
|
#
|
@@ -5955,6 +6144,53 @@ module Aws::AutoScaling
|
|
5955
6144
|
# launch_template_name: "LaunchTemplateName",
|
5956
6145
|
# version: "XmlStringMaxLen255",
|
5957
6146
|
# },
|
6147
|
+
# instance_requirements: {
|
6148
|
+
# v_cpu_count: { # required
|
6149
|
+
# min: 1, # required
|
6150
|
+
# max: 1,
|
6151
|
+
# },
|
6152
|
+
# memory_mi_b: { # required
|
6153
|
+
# min: 1, # required
|
6154
|
+
# max: 1,
|
6155
|
+
# },
|
6156
|
+
# cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services
|
6157
|
+
# memory_gi_b_per_v_cpu: {
|
6158
|
+
# min: 1.0,
|
6159
|
+
# max: 1.0,
|
6160
|
+
# },
|
6161
|
+
# excluded_instance_types: ["ExcludedInstance"],
|
6162
|
+
# instance_generations: ["current"], # accepts current, previous
|
6163
|
+
# spot_max_price_percentage_over_lowest_price: 1,
|
6164
|
+
# on_demand_max_price_percentage_over_lowest_price: 1,
|
6165
|
+
# bare_metal: "included", # accepts included, excluded, required
|
6166
|
+
# burstable_performance: "included", # accepts included, excluded, required
|
6167
|
+
# require_hibernate_support: false,
|
6168
|
+
# network_interface_count: {
|
6169
|
+
# min: 1,
|
6170
|
+
# max: 1,
|
6171
|
+
# },
|
6172
|
+
# local_storage: "included", # accepts included, excluded, required
|
6173
|
+
# local_storage_types: ["hdd"], # accepts hdd, ssd
|
6174
|
+
# total_local_storage_gb: {
|
6175
|
+
# min: 1.0,
|
6176
|
+
# max: 1.0,
|
6177
|
+
# },
|
6178
|
+
# baseline_ebs_bandwidth_mbps: {
|
6179
|
+
# min: 1,
|
6180
|
+
# max: 1,
|
6181
|
+
# },
|
6182
|
+
# accelerator_types: ["gpu"], # accepts gpu, fpga, inference
|
6183
|
+
# accelerator_count: {
|
6184
|
+
# min: 1,
|
6185
|
+
# max: 1,
|
6186
|
+
# },
|
6187
|
+
# accelerator_manufacturers: ["nvidia"], # accepts nvidia, amd, amazon-web-services, xilinx
|
6188
|
+
# accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p
|
6189
|
+
# accelerator_total_memory_mi_b: {
|
6190
|
+
# min: 1,
|
6191
|
+
# max: 1,
|
6192
|
+
# },
|
6193
|
+
# },
|
5958
6194
|
# },
|
5959
6195
|
# ],
|
5960
6196
|
# },
|
@@ -5982,6 +6218,7 @@ module Aws::AutoScaling
|
|
5982
6218
|
# max_instance_lifetime: 1,
|
5983
6219
|
# capacity_rebalance: false,
|
5984
6220
|
# context: "Context",
|
6221
|
+
# desired_capacity_type: "XmlStringMaxLen255",
|
5985
6222
|
# })
|
5986
6223
|
#
|
5987
6224
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroup AWS API Documentation
|
@@ -6006,7 +6243,7 @@ module Aws::AutoScaling
|
|
6006
6243
|
params: params,
|
6007
6244
|
config: config)
|
6008
6245
|
context[:gem_name] = 'aws-sdk-autoscaling'
|
6009
|
-
context[:gem_version] = '1.
|
6246
|
+
context[:gem_version] = '1.71.0'
|
6010
6247
|
Seahorse::Client::Request.new(handlers, context)
|
6011
6248
|
end
|
6012
6249
|
|