aws-sdk-autoscaling 1.102.0 → 1.103.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-autoscaling/client.rb +1 -1
- data/lib/aws-sdk-autoscaling/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-autoscaling.rb +1 -1
- data/sig/activity.rbs +74 -0
- data/sig/auto_scaling_group.rbs +541 -0
- data/sig/client.rbs +1371 -0
- data/sig/errors.rbs +46 -0
- data/sig/instance.rbs +125 -0
- data/sig/launch_configuration.rbs +100 -0
- data/sig/lifecycle_hook.rbs +97 -0
- data/sig/load_balancer.rbs +62 -0
- data/sig/notification_configuration.rbs +59 -0
- data/sig/resource.rbs +341 -0
- data/sig/scaling_policy.rbs +101 -0
- data/sig/scheduled_action.rbs +77 -0
- data/sig/tag.rbs +85 -0
- data/sig/types.rbs +1410 -0
- data/sig/waiters.rbs +67 -0
- metadata +23 -8
@@ -0,0 +1,541 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module AutoScaling
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html
|
11
|
+
class AutoScalingGroup
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#initialize-instance_method
|
13
|
+
def initialize: (String name, Hash[Symbol, untyped] options) -> void
|
14
|
+
| (name: String, ?client: Client) -> void
|
15
|
+
| (Hash[Symbol, untyped] args) -> void
|
16
|
+
|
17
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#name-instance_method
|
18
|
+
def name: () -> String
|
19
|
+
alias auto_scaling_group_name name
|
20
|
+
|
21
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#auto_scaling_group_arn-instance_method
|
22
|
+
def auto_scaling_group_arn: () -> ::String
|
23
|
+
|
24
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#launch_configuration_name-instance_method
|
25
|
+
def launch_configuration_name: () -> ::String
|
26
|
+
|
27
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#launch_template-instance_method
|
28
|
+
def launch_template: () -> Types::LaunchTemplateSpecification
|
29
|
+
|
30
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#mixed_instances_policy-instance_method
|
31
|
+
def mixed_instances_policy: () -> Types::MixedInstancesPolicy
|
32
|
+
|
33
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#min_size-instance_method
|
34
|
+
def min_size: () -> ::Integer
|
35
|
+
|
36
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#max_size-instance_method
|
37
|
+
def max_size: () -> ::Integer
|
38
|
+
|
39
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#desired_capacity-instance_method
|
40
|
+
def desired_capacity: () -> ::Integer
|
41
|
+
|
42
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#predicted_capacity-instance_method
|
43
|
+
def predicted_capacity: () -> ::Integer
|
44
|
+
|
45
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#default_cooldown-instance_method
|
46
|
+
def default_cooldown: () -> ::Integer
|
47
|
+
|
48
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#availability_zones-instance_method
|
49
|
+
def availability_zones: () -> ::Array[::String]
|
50
|
+
|
51
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#load_balancer_names-instance_method
|
52
|
+
def load_balancer_names: () -> ::Array[::String]
|
53
|
+
|
54
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#target_group_arns-instance_method
|
55
|
+
def target_group_arns: () -> ::Array[::String]
|
56
|
+
|
57
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#health_check_type-instance_method
|
58
|
+
def health_check_type: () -> ::String
|
59
|
+
|
60
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#health_check_grace_period-instance_method
|
61
|
+
def health_check_grace_period: () -> ::Integer
|
62
|
+
|
63
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#created_time-instance_method
|
64
|
+
def created_time: () -> ::Time
|
65
|
+
|
66
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#suspended_processes-instance_method
|
67
|
+
def suspended_processes: () -> ::Array[Types::SuspendedProcess]
|
68
|
+
|
69
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#placement_group-instance_method
|
70
|
+
def placement_group: () -> ::String
|
71
|
+
|
72
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#vpc_zone_identifier-instance_method
|
73
|
+
def vpc_zone_identifier: () -> ::String
|
74
|
+
|
75
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#enabled_metrics-instance_method
|
76
|
+
def enabled_metrics: () -> ::Array[Types::EnabledMetric]
|
77
|
+
|
78
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#status-instance_method
|
79
|
+
def status: () -> ::String
|
80
|
+
|
81
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#termination_policies-instance_method
|
82
|
+
def termination_policies: () -> ::Array[::String]
|
83
|
+
|
84
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#new_instances_protected_from_scale_in-instance_method
|
85
|
+
def new_instances_protected_from_scale_in: () -> bool
|
86
|
+
|
87
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#service_linked_role_arn-instance_method
|
88
|
+
def service_linked_role_arn: () -> ::String
|
89
|
+
|
90
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#max_instance_lifetime-instance_method
|
91
|
+
def max_instance_lifetime: () -> ::Integer
|
92
|
+
|
93
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#capacity_rebalance-instance_method
|
94
|
+
def capacity_rebalance: () -> bool
|
95
|
+
|
96
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#warm_pool_configuration-instance_method
|
97
|
+
def warm_pool_configuration: () -> Types::WarmPoolConfiguration
|
98
|
+
|
99
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#warm_pool_size-instance_method
|
100
|
+
def warm_pool_size: () -> ::Integer
|
101
|
+
|
102
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#context-instance_method
|
103
|
+
def context: () -> ::String
|
104
|
+
|
105
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#desired_capacity_type-instance_method
|
106
|
+
def desired_capacity_type: () -> ::String
|
107
|
+
|
108
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#default_instance_warmup-instance_method
|
109
|
+
def default_instance_warmup: () -> ::Integer
|
110
|
+
|
111
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#traffic_sources-instance_method
|
112
|
+
def traffic_sources: () -> ::Array[Types::TrafficSourceIdentifier]
|
113
|
+
|
114
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#instance_maintenance_policy-instance_method
|
115
|
+
def instance_maintenance_policy: () -> Types::InstanceMaintenancePolicy
|
116
|
+
|
117
|
+
def client: () -> Client
|
118
|
+
|
119
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#load-instance_method
|
120
|
+
def load: () -> self
|
121
|
+
alias reload load
|
122
|
+
|
123
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#data-instance_method
|
124
|
+
def data: () -> Types::AutoScalingGroup
|
125
|
+
|
126
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#data_loaded?-instance_method
|
127
|
+
def data_loaded?: () -> bool
|
128
|
+
|
129
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#exists?-instance_method
|
130
|
+
def exists?: (?max_attempts: Integer, ?delay: Numeric, ?before_attempt: (^(Integer attempts) -> void), ?before_wait: (^(Integer attempts, untyped response) -> void)) -> bool
|
131
|
+
| (?Hash[Symbol, untyped]) -> bool
|
132
|
+
|
133
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#wait_until_exists-instance_method
|
134
|
+
def wait_until_exists: (?max_attempts: Integer, ?delay: Numeric, ?before_attempt: (^(Integer attempts) -> void), ?before_wait: (^(Integer attempts, untyped response) -> void)) ?{ (untyped waiter) -> void } -> AutoScalingGroup
|
135
|
+
| (?Hash[Symbol, untyped]) ?{ (untyped waiter) -> void } -> AutoScalingGroup
|
136
|
+
|
137
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#wait_until_in_service-instance_method
|
138
|
+
def wait_until_in_service: (?max_attempts: Integer, ?delay: Numeric, ?before_attempt: (^(Integer attempts) -> void), ?before_wait: (^(Integer attempts, untyped response) -> void)) ?{ (untyped waiter) -> void } -> AutoScalingGroup
|
139
|
+
| (?Hash[Symbol, untyped]) ?{ (untyped waiter) -> void } -> AutoScalingGroup
|
140
|
+
|
141
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#wait_until_not_exists-instance_method
|
142
|
+
def wait_until_not_exists: (?max_attempts: Integer, ?delay: Numeric, ?before_attempt: (^(Integer attempts) -> void), ?before_wait: (^(Integer attempts, untyped response) -> void)) ?{ (untyped waiter) -> void } -> AutoScalingGroup
|
143
|
+
| (?Hash[Symbol, untyped]) ?{ (untyped waiter) -> void } -> AutoScalingGroup
|
144
|
+
|
145
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#attach_instances-instance_method
|
146
|
+
def attach_instances: (
|
147
|
+
?instance_ids: Array[::String]
|
148
|
+
) -> ::Aws::EmptyStructure
|
149
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
150
|
+
|
151
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#delete-instance_method
|
152
|
+
def delete: (
|
153
|
+
?force_delete: bool
|
154
|
+
) -> ::Aws::EmptyStructure
|
155
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
156
|
+
|
157
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#detach_instances-instance_method
|
158
|
+
def detach_instances: (
|
159
|
+
?instance_ids: Array[::String],
|
160
|
+
should_decrement_desired_capacity: bool
|
161
|
+
) -> Activity::Collection
|
162
|
+
| (?Hash[Symbol, untyped]) -> Activity::Collection
|
163
|
+
|
164
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#disable_metrics_collection-instance_method
|
165
|
+
def disable_metrics_collection: (
|
166
|
+
?metrics: Array[::String]
|
167
|
+
) -> ::Aws::EmptyStructure
|
168
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
169
|
+
|
170
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#enable_metrics_collection-instance_method
|
171
|
+
def enable_metrics_collection: (
|
172
|
+
?metrics: Array[::String],
|
173
|
+
granularity: ::String
|
174
|
+
) -> ::Aws::EmptyStructure
|
175
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
176
|
+
|
177
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#put_scaling_policy-instance_method
|
178
|
+
def put_scaling_policy: (
|
179
|
+
policy_name: ::String,
|
180
|
+
?policy_type: ::String,
|
181
|
+
?adjustment_type: ::String,
|
182
|
+
?min_adjustment_step: ::Integer,
|
183
|
+
?min_adjustment_magnitude: ::Integer,
|
184
|
+
?scaling_adjustment: ::Integer,
|
185
|
+
?cooldown: ::Integer,
|
186
|
+
?metric_aggregation_type: ::String,
|
187
|
+
?step_adjustments: Array[
|
188
|
+
{
|
189
|
+
metric_interval_lower_bound: ::Float?,
|
190
|
+
metric_interval_upper_bound: ::Float?,
|
191
|
+
scaling_adjustment: ::Integer
|
192
|
+
},
|
193
|
+
],
|
194
|
+
?estimated_instance_warmup: ::Integer,
|
195
|
+
?target_tracking_configuration: {
|
196
|
+
predefined_metric_specification: {
|
197
|
+
predefined_metric_type: ("ASGAverageCPUUtilization" | "ASGAverageNetworkIn" | "ASGAverageNetworkOut" | "ALBRequestCountPerTarget"),
|
198
|
+
resource_label: ::String?
|
199
|
+
}?,
|
200
|
+
customized_metric_specification: {
|
201
|
+
metric_name: ::String?,
|
202
|
+
namespace: ::String?,
|
203
|
+
dimensions: Array[
|
204
|
+
{
|
205
|
+
name: ::String,
|
206
|
+
value: ::String
|
207
|
+
},
|
208
|
+
]?,
|
209
|
+
statistic: ("Average" | "Minimum" | "Maximum" | "SampleCount" | "Sum")?,
|
210
|
+
unit: ::String?,
|
211
|
+
metrics: Array[
|
212
|
+
{
|
213
|
+
id: ::String,
|
214
|
+
expression: ::String?,
|
215
|
+
metric_stat: {
|
216
|
+
metric: {
|
217
|
+
namespace: ::String,
|
218
|
+
metric_name: ::String,
|
219
|
+
dimensions: Array[
|
220
|
+
{
|
221
|
+
name: ::String,
|
222
|
+
value: ::String
|
223
|
+
},
|
224
|
+
]?
|
225
|
+
},
|
226
|
+
stat: ::String,
|
227
|
+
unit: ::String?
|
228
|
+
}?,
|
229
|
+
label: ::String?,
|
230
|
+
return_data: bool?
|
231
|
+
},
|
232
|
+
]?
|
233
|
+
}?,
|
234
|
+
target_value: ::Float,
|
235
|
+
disable_scale_in: bool?
|
236
|
+
},
|
237
|
+
?enabled: bool,
|
238
|
+
?predictive_scaling_configuration: {
|
239
|
+
metric_specifications: Array[
|
240
|
+
{
|
241
|
+
target_value: ::Float,
|
242
|
+
predefined_metric_pair_specification: {
|
243
|
+
predefined_metric_type: ("ASGCPUUtilization" | "ASGNetworkIn" | "ASGNetworkOut" | "ALBRequestCount"),
|
244
|
+
resource_label: ::String?
|
245
|
+
}?,
|
246
|
+
predefined_scaling_metric_specification: {
|
247
|
+
predefined_metric_type: ("ASGAverageCPUUtilization" | "ASGAverageNetworkIn" | "ASGAverageNetworkOut" | "ALBRequestCountPerTarget"),
|
248
|
+
resource_label: ::String?
|
249
|
+
}?,
|
250
|
+
predefined_load_metric_specification: {
|
251
|
+
predefined_metric_type: ("ASGTotalCPUUtilization" | "ASGTotalNetworkIn" | "ASGTotalNetworkOut" | "ALBTargetGroupRequestCount"),
|
252
|
+
resource_label: ::String?
|
253
|
+
}?,
|
254
|
+
customized_scaling_metric_specification: {
|
255
|
+
metric_data_queries: Array[
|
256
|
+
{
|
257
|
+
id: ::String,
|
258
|
+
expression: ::String?,
|
259
|
+
metric_stat: {
|
260
|
+
metric: {
|
261
|
+
namespace: ::String,
|
262
|
+
metric_name: ::String,
|
263
|
+
dimensions: Array[
|
264
|
+
{
|
265
|
+
name: ::String,
|
266
|
+
value: ::String
|
267
|
+
},
|
268
|
+
]?
|
269
|
+
},
|
270
|
+
stat: ::String,
|
271
|
+
unit: ::String?
|
272
|
+
}?,
|
273
|
+
label: ::String?,
|
274
|
+
return_data: bool?
|
275
|
+
},
|
276
|
+
]
|
277
|
+
}?,
|
278
|
+
customized_load_metric_specification: {
|
279
|
+
metric_data_queries: Array[
|
280
|
+
{
|
281
|
+
id: ::String,
|
282
|
+
expression: ::String?,
|
283
|
+
metric_stat: {
|
284
|
+
metric: {
|
285
|
+
namespace: ::String,
|
286
|
+
metric_name: ::String,
|
287
|
+
dimensions: Array[
|
288
|
+
{
|
289
|
+
name: ::String,
|
290
|
+
value: ::String
|
291
|
+
},
|
292
|
+
]?
|
293
|
+
},
|
294
|
+
stat: ::String,
|
295
|
+
unit: ::String?
|
296
|
+
}?,
|
297
|
+
label: ::String?,
|
298
|
+
return_data: bool?
|
299
|
+
},
|
300
|
+
]
|
301
|
+
}?,
|
302
|
+
customized_capacity_metric_specification: {
|
303
|
+
metric_data_queries: Array[
|
304
|
+
{
|
305
|
+
id: ::String,
|
306
|
+
expression: ::String?,
|
307
|
+
metric_stat: {
|
308
|
+
metric: {
|
309
|
+
namespace: ::String,
|
310
|
+
metric_name: ::String,
|
311
|
+
dimensions: Array[
|
312
|
+
{
|
313
|
+
name: ::String,
|
314
|
+
value: ::String
|
315
|
+
},
|
316
|
+
]?
|
317
|
+
},
|
318
|
+
stat: ::String,
|
319
|
+
unit: ::String?
|
320
|
+
}?,
|
321
|
+
label: ::String?,
|
322
|
+
return_data: bool?
|
323
|
+
},
|
324
|
+
]
|
325
|
+
}?
|
326
|
+
},
|
327
|
+
],
|
328
|
+
mode: ("ForecastAndScale" | "ForecastOnly")?,
|
329
|
+
scheduling_buffer_time: ::Integer?,
|
330
|
+
max_capacity_breach_behavior: ("HonorMaxCapacity" | "IncreaseMaxCapacity")?,
|
331
|
+
max_capacity_buffer: ::Integer?
|
332
|
+
}
|
333
|
+
) -> ScalingPolicy
|
334
|
+
| (?Hash[Symbol, untyped]) -> ScalingPolicy
|
335
|
+
|
336
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#put_scheduled_update_group_action-instance_method
|
337
|
+
def put_scheduled_update_group_action: (
|
338
|
+
scheduled_action_name: ::String,
|
339
|
+
?time: ::Time,
|
340
|
+
?start_time: ::Time,
|
341
|
+
?end_time: ::Time,
|
342
|
+
?recurrence: ::String,
|
343
|
+
?min_size: ::Integer,
|
344
|
+
?max_size: ::Integer,
|
345
|
+
?desired_capacity: ::Integer,
|
346
|
+
?time_zone: ::String
|
347
|
+
) -> ScheduledAction
|
348
|
+
| (?Hash[Symbol, untyped]) -> ScheduledAction
|
349
|
+
|
350
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#resume_processes-instance_method
|
351
|
+
def resume_processes: (
|
352
|
+
?scaling_processes: Array[::String]
|
353
|
+
) -> ::Aws::EmptyStructure
|
354
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
355
|
+
|
356
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#set_desired_capacity-instance_method
|
357
|
+
def set_desired_capacity: (
|
358
|
+
desired_capacity: ::Integer,
|
359
|
+
?honor_cooldown: bool
|
360
|
+
) -> ::Aws::EmptyStructure
|
361
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
362
|
+
|
363
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#suspend_processes-instance_method
|
364
|
+
def suspend_processes: (
|
365
|
+
?scaling_processes: Array[::String]
|
366
|
+
) -> ::Aws::EmptyStructure
|
367
|
+
| (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
|
368
|
+
|
369
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#update-instance_method
|
370
|
+
def update: (
|
371
|
+
?launch_configuration_name: ::String,
|
372
|
+
?launch_template: {
|
373
|
+
launch_template_id: ::String?,
|
374
|
+
launch_template_name: ::String?,
|
375
|
+
version: ::String?
|
376
|
+
},
|
377
|
+
?mixed_instances_policy: {
|
378
|
+
launch_template: {
|
379
|
+
launch_template_specification: {
|
380
|
+
launch_template_id: ::String?,
|
381
|
+
launch_template_name: ::String?,
|
382
|
+
version: ::String?
|
383
|
+
}?,
|
384
|
+
overrides: Array[
|
385
|
+
{
|
386
|
+
instance_type: ::String?,
|
387
|
+
weighted_capacity: ::String?,
|
388
|
+
launch_template_specification: {
|
389
|
+
launch_template_id: ::String?,
|
390
|
+
launch_template_name: ::String?,
|
391
|
+
version: ::String?
|
392
|
+
}?,
|
393
|
+
instance_requirements: {
|
394
|
+
v_cpu_count: {
|
395
|
+
min: ::Integer,
|
396
|
+
max: ::Integer?
|
397
|
+
},
|
398
|
+
memory_mi_b: {
|
399
|
+
min: ::Integer,
|
400
|
+
max: ::Integer?
|
401
|
+
},
|
402
|
+
cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services")]?,
|
403
|
+
memory_gi_b_per_v_cpu: {
|
404
|
+
min: ::Float?,
|
405
|
+
max: ::Float?
|
406
|
+
}?,
|
407
|
+
excluded_instance_types: Array[::String]?,
|
408
|
+
instance_generations: Array[("current" | "previous")]?,
|
409
|
+
spot_max_price_percentage_over_lowest_price: ::Integer?,
|
410
|
+
on_demand_max_price_percentage_over_lowest_price: ::Integer?,
|
411
|
+
bare_metal: ("included" | "excluded" | "required")?,
|
412
|
+
burstable_performance: ("included" | "excluded" | "required")?,
|
413
|
+
require_hibernate_support: bool?,
|
414
|
+
network_interface_count: {
|
415
|
+
min: ::Integer?,
|
416
|
+
max: ::Integer?
|
417
|
+
}?,
|
418
|
+
local_storage: ("included" | "excluded" | "required")?,
|
419
|
+
local_storage_types: Array[("hdd" | "ssd")]?,
|
420
|
+
total_local_storage_gb: {
|
421
|
+
min: ::Float?,
|
422
|
+
max: ::Float?
|
423
|
+
}?,
|
424
|
+
baseline_ebs_bandwidth_mbps: {
|
425
|
+
min: ::Integer?,
|
426
|
+
max: ::Integer?
|
427
|
+
}?,
|
428
|
+
accelerator_types: Array[("gpu" | "fpga" | "inference")]?,
|
429
|
+
accelerator_count: {
|
430
|
+
min: ::Integer?,
|
431
|
+
max: ::Integer?
|
432
|
+
}?,
|
433
|
+
accelerator_manufacturers: Array[("nvidia" | "amd" | "amazon-web-services" | "xilinx")]?,
|
434
|
+
accelerator_names: Array[("a100" | "v100" | "k80" | "t4" | "m60" | "radeon-pro-v520" | "vu9p")]?,
|
435
|
+
accelerator_total_memory_mi_b: {
|
436
|
+
min: ::Integer?,
|
437
|
+
max: ::Integer?
|
438
|
+
}?,
|
439
|
+
network_bandwidth_gbps: {
|
440
|
+
min: ::Float?,
|
441
|
+
max: ::Float?
|
442
|
+
}?,
|
443
|
+
allowed_instance_types: Array[::String]?
|
444
|
+
}?
|
445
|
+
},
|
446
|
+
]?
|
447
|
+
}?,
|
448
|
+
instances_distribution: {
|
449
|
+
on_demand_allocation_strategy: ::String?,
|
450
|
+
on_demand_base_capacity: ::Integer?,
|
451
|
+
on_demand_percentage_above_base_capacity: ::Integer?,
|
452
|
+
spot_allocation_strategy: ::String?,
|
453
|
+
spot_instance_pools: ::Integer?,
|
454
|
+
spot_max_price: ::String?
|
455
|
+
}?
|
456
|
+
},
|
457
|
+
?min_size: ::Integer,
|
458
|
+
?max_size: ::Integer,
|
459
|
+
?desired_capacity: ::Integer,
|
460
|
+
?default_cooldown: ::Integer,
|
461
|
+
?availability_zones: Array[::String],
|
462
|
+
?health_check_type: ::String,
|
463
|
+
?health_check_grace_period: ::Integer,
|
464
|
+
?placement_group: ::String,
|
465
|
+
?vpc_zone_identifier: ::String,
|
466
|
+
?termination_policies: Array[::String],
|
467
|
+
?new_instances_protected_from_scale_in: bool,
|
468
|
+
?service_linked_role_arn: ::String,
|
469
|
+
?max_instance_lifetime: ::Integer,
|
470
|
+
?capacity_rebalance: bool,
|
471
|
+
?context: ::String,
|
472
|
+
?desired_capacity_type: ::String,
|
473
|
+
?default_instance_warmup: ::Integer,
|
474
|
+
?instance_maintenance_policy: {
|
475
|
+
min_healthy_percentage: ::Integer?,
|
476
|
+
max_healthy_percentage: ::Integer?
|
477
|
+
}
|
478
|
+
) -> AutoScalingGroup
|
479
|
+
| (?Hash[Symbol, untyped]) -> AutoScalingGroup
|
480
|
+
|
481
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#activities-instance_method
|
482
|
+
def activities: (
|
483
|
+
?activity_ids: Array[::String],
|
484
|
+
?include_deleted_groups: bool
|
485
|
+
) -> Activity::Collection
|
486
|
+
| (?Hash[Symbol, untyped]) -> Activity::Collection
|
487
|
+
|
488
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#instances-instance_method
|
489
|
+
def instances: () -> Instance::Collection
|
490
|
+
|
491
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#launch_configuration-instance_method
|
492
|
+
def launch_configuration: () -> LaunchConfiguration?
|
493
|
+
|
494
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#lifecycle_hook-instance_method
|
495
|
+
def lifecycle_hook: (String name) -> LifecycleHook
|
496
|
+
|
497
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#lifecycle_hooks-instance_method
|
498
|
+
def lifecycle_hooks: (
|
499
|
+
?lifecycle_hook_names: Array[::String]
|
500
|
+
) -> LifecycleHook::Collection
|
501
|
+
| (?Hash[Symbol, untyped]) -> LifecycleHook::Collection
|
502
|
+
|
503
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#load_balancer-instance_method
|
504
|
+
def load_balancer: (String name) -> LoadBalancer
|
505
|
+
|
506
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#load_balancers-instance_method
|
507
|
+
def load_balancers: (
|
508
|
+
) -> LoadBalancer::Collection
|
509
|
+
| (?Hash[Symbol, untyped]) -> LoadBalancer::Collection
|
510
|
+
|
511
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#notification_configurations-instance_method
|
512
|
+
def notification_configurations: (
|
513
|
+
) -> NotificationConfiguration::Collection
|
514
|
+
| (?Hash[Symbol, untyped]) -> NotificationConfiguration::Collection
|
515
|
+
|
516
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#policies-instance_method
|
517
|
+
def policies: (
|
518
|
+
?policy_names: Array[::String],
|
519
|
+
?policy_types: Array[::String]
|
520
|
+
) -> ScalingPolicy::Collection
|
521
|
+
| (?Hash[Symbol, untyped]) -> ScalingPolicy::Collection
|
522
|
+
|
523
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#scheduled_actions-instance_method
|
524
|
+
def scheduled_actions: (
|
525
|
+
?scheduled_action_names: Array[::String],
|
526
|
+
?start_time: ::Time,
|
527
|
+
?end_time: ::Time
|
528
|
+
) -> ScheduledAction::Collection
|
529
|
+
| (?Hash[Symbol, untyped]) -> ScheduledAction::Collection
|
530
|
+
|
531
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#tag-instance_method
|
532
|
+
def tag: (String key) -> Tag
|
533
|
+
|
534
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#tags-instance_method
|
535
|
+
def tags: () -> Tag::Collection
|
536
|
+
|
537
|
+
class Collection < ::Aws::Resources::Collection[AutoScalingGroup]
|
538
|
+
end
|
539
|
+
end
|
540
|
+
end
|
541
|
+
end
|