aws-sdk-autoscaling 1.67.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 +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-autoscaling/auto_scaling_group.rb +85 -5
- data/lib/aws-sdk-autoscaling/client.rb +282 -29
- data/lib/aws-sdk-autoscaling/client_api.rb +105 -0
- data/lib/aws-sdk-autoscaling/resource.rb +77 -15
- data/lib/aws-sdk-autoscaling/types.rb +1127 -137
- data/lib/aws-sdk-autoscaling.rb +1 -1
- metadata +5 -5
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,26 @@
|
|
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
|
+
|
9
|
+
1.70.0 (2021-10-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.69.0 (2021-10-14)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Amazon EC2 Auto Scaling now supports filtering describe Auto Scaling groups API using tags
|
18
|
+
|
19
|
+
1.68.0 (2021-09-01)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.67.0 (2021-08-05)
|
5
25
|
------------------
|
6
26
|
|
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
|
@@ -1375,7 +1430,7 @@ module Aws::AutoScaling
|
|
1375
1430
|
# provide optimal I/O performance. This optimization is not available
|
1376
1431
|
# with all instance types. Additional fees are incurred when you enable
|
1377
1432
|
# EBS optimization for an instance type that is not EBS-optimized by
|
1378
|
-
# default. For more information, see [Amazon EBS-
|
1433
|
+
# default. For more information, see [Amazon EBS-optimized instances][1]
|
1379
1434
|
# in the *Amazon EC2 User Guide for Linux Instances*.
|
1380
1435
|
#
|
1381
1436
|
# The default value is `false`.
|
@@ -1917,11 +1972,11 @@ module Aws::AutoScaling
|
|
1917
1972
|
# Describes the current Amazon EC2 Auto Scaling resource quotas for your
|
1918
1973
|
# account.
|
1919
1974
|
#
|
1920
|
-
# When you establish an account, the account has
|
1921
|
-
# maximum number of Auto Scaling groups and launch
|
1922
|
-
# you can create in a given Region. For more
|
1923
|
-
# EC2 Auto Scaling service quotas][1] in the
|
1924
|
-
# User Guide*.
|
1975
|
+
# When you establish an Amazon Web Services account, the account has
|
1976
|
+
# initial quotas on the maximum number of Auto Scaling groups and launch
|
1977
|
+
# configurations that you can create in a given Region. For more
|
1978
|
+
# information, see [Amazon EC2 Auto Scaling service quotas][1] in the
|
1979
|
+
# *Amazon EC2 Auto Scaling User Guide*.
|
1925
1980
|
#
|
1926
1981
|
#
|
1927
1982
|
#
|
@@ -2021,9 +2076,16 @@ module Aws::AutoScaling
|
|
2021
2076
|
# Gets information about the Auto Scaling groups in the account and
|
2022
2077
|
# Region.
|
2023
2078
|
#
|
2024
|
-
#
|
2025
|
-
#
|
2026
|
-
#
|
2079
|
+
# If you specify Auto Scaling group names, the output includes
|
2080
|
+
# information for only the specified Auto Scaling groups. If you specify
|
2081
|
+
# filters, the output includes information for only those Auto Scaling
|
2082
|
+
# groups that meet the filter criteria. If you do not specify group
|
2083
|
+
# names or filters, the output includes information for all Auto Scaling
|
2084
|
+
# groups.
|
2085
|
+
#
|
2086
|
+
# This operation also returns information about instances in Auto
|
2087
|
+
# Scaling groups. To retrieve information about the instances in a warm
|
2088
|
+
# pool, you must call the DescribeWarmPool API.
|
2027
2089
|
#
|
2028
2090
|
# @option params [Array<String>] :auto_scaling_group_names
|
2029
2091
|
# The names of the Auto Scaling groups. By default, you can only specify
|
@@ -2040,6 +2102,9 @@ module Aws::AutoScaling
|
|
2040
2102
|
# The maximum number of items to return with this call. The default
|
2041
2103
|
# value is `50` and the maximum value is `100`.
|
2042
2104
|
#
|
2105
|
+
# @option params [Array<Types::Filter>] :filters
|
2106
|
+
# One or more filters to limit the results based on specific tags.
|
2107
|
+
#
|
2043
2108
|
# @return [Types::AutoScalingGroupsType] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2044
2109
|
#
|
2045
2110
|
# * {Types::AutoScalingGroupsType#auto_scaling_groups #auto_scaling_groups} => Array<Types::AutoScalingGroup>
|
@@ -2108,6 +2173,12 @@ module Aws::AutoScaling
|
|
2108
2173
|
# auto_scaling_group_names: ["XmlStringMaxLen255"],
|
2109
2174
|
# next_token: "XmlString",
|
2110
2175
|
# max_records: 1,
|
2176
|
+
# filters: [
|
2177
|
+
# {
|
2178
|
+
# name: "XmlString",
|
2179
|
+
# values: ["XmlString"],
|
2180
|
+
# },
|
2181
|
+
# ],
|
2111
2182
|
# })
|
2112
2183
|
#
|
2113
2184
|
# @example Response structure
|
@@ -2128,6 +2199,42 @@ module Aws::AutoScaling
|
|
2128
2199
|
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].launch_template_specification.launch_template_id #=> String
|
2129
2200
|
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].launch_template_specification.launch_template_name #=> String
|
2130
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
|
2131
2238
|
# resp.auto_scaling_groups[0].mixed_instances_policy.instances_distribution.on_demand_allocation_strategy #=> String
|
2132
2239
|
# resp.auto_scaling_groups[0].mixed_instances_policy.instances_distribution.on_demand_base_capacity #=> Integer
|
2133
2240
|
# resp.auto_scaling_groups[0].mixed_instances_policy.instances_distribution.on_demand_percentage_above_base_capacity #=> Integer
|
@@ -2187,6 +2294,7 @@ module Aws::AutoScaling
|
|
2187
2294
|
# resp.auto_scaling_groups[0].warm_pool_configuration.status #=> String, one of "PendingDelete"
|
2188
2295
|
# resp.auto_scaling_groups[0].warm_pool_size #=> Integer
|
2189
2296
|
# resp.auto_scaling_groups[0].context #=> String
|
2297
|
+
# resp.auto_scaling_groups[0].desired_capacity_type #=> String
|
2190
2298
|
# resp.next_token #=> String
|
2191
2299
|
#
|
2192
2300
|
#
|
@@ -2458,6 +2566,42 @@ module Aws::AutoScaling
|
|
2458
2566
|
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].launch_template_specification.launch_template_id #=> String
|
2459
2567
|
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].launch_template_specification.launch_template_name #=> String
|
2460
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
|
2461
2605
|
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.instances_distribution.on_demand_allocation_strategy #=> String
|
2462
2606
|
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.instances_distribution.on_demand_base_capacity #=> Integer
|
2463
2607
|
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.instances_distribution.on_demand_percentage_above_base_capacity #=> Integer
|
@@ -5495,6 +5639,53 @@ module Aws::AutoScaling
|
|
5495
5639
|
# launch_template_name: "LaunchTemplateName",
|
5496
5640
|
# version: "XmlStringMaxLen255",
|
5497
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
|
+
# },
|
5498
5689
|
# },
|
5499
5690
|
# ],
|
5500
5691
|
# },
|
@@ -5742,11 +5933,9 @@ module Aws::AutoScaling
|
|
5742
5933
|
# `LaunchConfigurationName` or `MixedInstancesPolicy`.
|
5743
5934
|
#
|
5744
5935
|
# @option params [Types::MixedInstancesPolicy] :mixed_instances_policy
|
5745
|
-
# An embedded object that specifies a mixed instances policy.
|
5746
|
-
#
|
5747
|
-
#
|
5748
|
-
# groups with multiple instance types and purchase options][1] in the
|
5749
|
-
# *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*.
|
5750
5939
|
#
|
5751
5940
|
#
|
5752
5941
|
#
|
@@ -5882,6 +6071,22 @@ module Aws::AutoScaling
|
|
5882
6071
|
# @option params [String] :context
|
5883
6072
|
# Reserved.
|
5884
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
|
+
#
|
5885
6090
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
5886
6091
|
#
|
5887
6092
|
#
|
@@ -5939,6 +6144,53 @@ module Aws::AutoScaling
|
|
5939
6144
|
# launch_template_name: "LaunchTemplateName",
|
5940
6145
|
# version: "XmlStringMaxLen255",
|
5941
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
|
+
# },
|
5942
6194
|
# },
|
5943
6195
|
# ],
|
5944
6196
|
# },
|
@@ -5966,6 +6218,7 @@ module Aws::AutoScaling
|
|
5966
6218
|
# max_instance_lifetime: 1,
|
5967
6219
|
# capacity_rebalance: false,
|
5968
6220
|
# context: "Context",
|
6221
|
+
# desired_capacity_type: "XmlStringMaxLen255",
|
5969
6222
|
# })
|
5970
6223
|
#
|
5971
6224
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroup AWS API Documentation
|
@@ -5990,7 +6243,7 @@ module Aws::AutoScaling
|
|
5990
6243
|
params: params,
|
5991
6244
|
config: config)
|
5992
6245
|
context[:gem_name] = 'aws-sdk-autoscaling'
|
5993
|
-
context[:gem_version] = '1.
|
6246
|
+
context[:gem_version] = '1.71.0'
|
5994
6247
|
Seahorse::Client::Request.new(handlers, context)
|
5995
6248
|
end
|
5996
6249
|
|