aws-sdk-autoscaling 1.124.0 → 1.125.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/auto_scaling_group.rb +11 -0
- data/lib/aws-sdk-autoscaling/client.rb +14 -1
- data/lib/aws-sdk-autoscaling/client_api.rb +8 -0
- data/lib/aws-sdk-autoscaling/resource.rb +5 -0
- data/lib/aws-sdk-autoscaling/types.rb +41 -3
- data/lib/aws-sdk-autoscaling.rb +1 -1
- data/sig/auto_scaling_group.rbs +6 -0
- data/sig/client.rbs +6 -0
- data/sig/resource.rbs +3 -0
- data/sig/types.rbs +8 -0
- 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: adc3e8ce5ee2fe4115a7c2c5507aab943a6c8cf8918d8fd7a70aa817e010f85f
|
4
|
+
data.tar.gz: 5e3ac83e610a1c7be5aa234c136a6629c24bf71d7b0f564244d70f4732c14990
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31a378654a92ef7f7120fa66da3d38ac6206d0552d904e726148408e90c750739b3c317a4dbb737990ccd76c53de6a86b353a65a6ec340351c306752d37cdfe7
|
7
|
+
data.tar.gz: 18d9bc3d55331bf59b107d0f9e9cea6800411e4f0fc7dd49f65462c91c6c2f6b531d73c7d96432e671a0f886b104d0ff9d9f2825cd547849799c6c40a6123337
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.125.0 (2024-11-07)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Auto Scaling groups now support the ability to strictly balance instances across Availability Zones by configuring the AvailabilityZoneDistribution parameter. If balanced-only is configured for a group, launches will always be attempted in the under scaled Availability Zone even if it is unhealthy.
|
8
|
+
|
4
9
|
1.124.0 (2024-10-31)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.125.0
|
@@ -243,6 +243,12 @@ module Aws::AutoScaling
|
|
243
243
|
data[:instance_maintenance_policy]
|
244
244
|
end
|
245
245
|
|
246
|
+
# The instance capacity distribution across Availability Zones.
|
247
|
+
# @return [Types::AvailabilityZoneDistribution]
|
248
|
+
def availability_zone_distribution
|
249
|
+
data[:availability_zone_distribution]
|
250
|
+
end
|
251
|
+
|
246
252
|
# @!endgroup
|
247
253
|
|
248
254
|
# @return [Client]
|
@@ -1273,6 +1279,9 @@ module Aws::AutoScaling
|
|
1273
1279
|
# min_healthy_percentage: 1,
|
1274
1280
|
# max_healthy_percentage: 1,
|
1275
1281
|
# },
|
1282
|
+
# availability_zone_distribution: {
|
1283
|
+
# capacity_distribution_strategy: "balanced-only", # accepts balanced-only, balanced-best-effort
|
1284
|
+
# },
|
1276
1285
|
# })
|
1277
1286
|
# @param [Hash] options ({})
|
1278
1287
|
# @option options [String] :launch_configuration_name
|
@@ -1470,6 +1479,8 @@ module Aws::AutoScaling
|
|
1470
1479
|
#
|
1471
1480
|
#
|
1472
1481
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-maintenance-policy.html
|
1482
|
+
# @option options [Types::AvailabilityZoneDistribution] :availability_zone_distribution
|
1483
|
+
# The instance capacity distribution across Availability Zones.
|
1473
1484
|
# @return [AutoScalingGroup]
|
1474
1485
|
def update(options = {})
|
1475
1486
|
options = options.merge(auto_scaling_group_name: @name)
|
@@ -1309,6 +1309,9 @@ module Aws::AutoScaling
|
|
1309
1309
|
#
|
1310
1310
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-maintenance-policy.html
|
1311
1311
|
#
|
1312
|
+
# @option params [Types::AvailabilityZoneDistribution] :availability_zone_distribution
|
1313
|
+
# The instance capacity distribution across Availability Zones.
|
1314
|
+
#
|
1312
1315
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1313
1316
|
#
|
1314
1317
|
#
|
@@ -1574,6 +1577,9 @@ module Aws::AutoScaling
|
|
1574
1577
|
# min_healthy_percentage: 1,
|
1575
1578
|
# max_healthy_percentage: 1,
|
1576
1579
|
# },
|
1580
|
+
# availability_zone_distribution: {
|
1581
|
+
# capacity_distribution_strategy: "balanced-only", # accepts balanced-only, balanced-best-effort
|
1582
|
+
# },
|
1577
1583
|
# })
|
1578
1584
|
#
|
1579
1585
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateAutoScalingGroup AWS API Documentation
|
@@ -2681,6 +2687,7 @@ module Aws::AutoScaling
|
|
2681
2687
|
# resp.auto_scaling_groups[0].traffic_sources[0].type #=> String
|
2682
2688
|
# resp.auto_scaling_groups[0].instance_maintenance_policy.min_healthy_percentage #=> Integer
|
2683
2689
|
# resp.auto_scaling_groups[0].instance_maintenance_policy.max_healthy_percentage #=> Integer
|
2690
|
+
# resp.auto_scaling_groups[0].availability_zone_distribution.capacity_distribution_strategy #=> String, one of "balanced-only", "balanced-best-effort"
|
2684
2691
|
# resp.next_token #=> String
|
2685
2692
|
#
|
2686
2693
|
#
|
@@ -7156,6 +7163,9 @@ module Aws::AutoScaling
|
|
7156
7163
|
#
|
7157
7164
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-maintenance-policy.html
|
7158
7165
|
#
|
7166
|
+
# @option params [Types::AvailabilityZoneDistribution] :availability_zone_distribution
|
7167
|
+
# The instance capacity distribution across Availability Zones.
|
7168
|
+
#
|
7159
7169
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
7160
7170
|
#
|
7161
7171
|
#
|
@@ -7286,6 +7296,9 @@ module Aws::AutoScaling
|
|
7286
7296
|
# min_healthy_percentage: 1,
|
7287
7297
|
# max_healthy_percentage: 1,
|
7288
7298
|
# },
|
7299
|
+
# availability_zone_distribution: {
|
7300
|
+
# capacity_distribution_strategy: "balanced-only", # accepts balanced-only, balanced-best-effort
|
7301
|
+
# },
|
7289
7302
|
# })
|
7290
7303
|
#
|
7291
7304
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroup AWS API Documentation
|
@@ -7315,7 +7328,7 @@ module Aws::AutoScaling
|
|
7315
7328
|
tracer: tracer
|
7316
7329
|
)
|
7317
7330
|
context[:gem_name] = 'aws-sdk-autoscaling'
|
7318
|
-
context[:gem_version] = '1.
|
7331
|
+
context[:gem_version] = '1.125.0'
|
7319
7332
|
Seahorse::Client::Request.new(handlers, context)
|
7320
7333
|
end
|
7321
7334
|
|
@@ -62,6 +62,7 @@ module Aws::AutoScaling
|
|
62
62
|
AutoScalingInstances = Shapes::ListShape.new(name: 'AutoScalingInstances')
|
63
63
|
AutoScalingInstancesType = Shapes::StructureShape.new(name: 'AutoScalingInstancesType')
|
64
64
|
AutoScalingNotificationTypes = Shapes::ListShape.new(name: 'AutoScalingNotificationTypes')
|
65
|
+
AvailabilityZoneDistribution = Shapes::StructureShape.new(name: 'AvailabilityZoneDistribution')
|
65
66
|
AvailabilityZones = Shapes::ListShape.new(name: 'AvailabilityZones')
|
66
67
|
BakeTime = Shapes::IntegerShape.new(name: 'BakeTime')
|
67
68
|
BareMetal = Shapes::StringShape.new(name: 'BareMetal')
|
@@ -81,6 +82,7 @@ module Aws::AutoScaling
|
|
81
82
|
BurstablePerformance = Shapes::StringShape.new(name: 'BurstablePerformance')
|
82
83
|
CancelInstanceRefreshAnswer = Shapes::StructureShape.new(name: 'CancelInstanceRefreshAnswer')
|
83
84
|
CancelInstanceRefreshType = Shapes::StructureShape.new(name: 'CancelInstanceRefreshType')
|
85
|
+
CapacityDistributionStrategy = Shapes::StringShape.new(name: 'CapacityDistributionStrategy')
|
84
86
|
CapacityForecast = Shapes::StructureShape.new(name: 'CapacityForecast')
|
85
87
|
CapacityRebalanceEnabled = Shapes::BooleanShape.new(name: 'CapacityRebalanceEnabled')
|
86
88
|
CheckpointDelay = Shapes::IntegerShape.new(name: 'CheckpointDelay')
|
@@ -518,6 +520,7 @@ module Aws::AutoScaling
|
|
518
520
|
AutoScalingGroup.add_member(:default_instance_warmup, Shapes::ShapeRef.new(shape: DefaultInstanceWarmup, location_name: "DefaultInstanceWarmup"))
|
519
521
|
AutoScalingGroup.add_member(:traffic_sources, Shapes::ShapeRef.new(shape: TrafficSources, location_name: "TrafficSources"))
|
520
522
|
AutoScalingGroup.add_member(:instance_maintenance_policy, Shapes::ShapeRef.new(shape: InstanceMaintenancePolicy, location_name: "InstanceMaintenancePolicy"))
|
523
|
+
AutoScalingGroup.add_member(:availability_zone_distribution, Shapes::ShapeRef.new(shape: AvailabilityZoneDistribution, location_name: "AvailabilityZoneDistribution"))
|
521
524
|
AutoScalingGroup.struct_class = Types::AutoScalingGroup
|
522
525
|
|
523
526
|
AutoScalingGroupNames.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen255)
|
@@ -554,6 +557,9 @@ module Aws::AutoScaling
|
|
554
557
|
|
555
558
|
AutoScalingNotificationTypes.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen255)
|
556
559
|
|
560
|
+
AvailabilityZoneDistribution.add_member(:capacity_distribution_strategy, Shapes::ShapeRef.new(shape: CapacityDistributionStrategy, location_name: "CapacityDistributionStrategy"))
|
561
|
+
AvailabilityZoneDistribution.struct_class = Types::AvailabilityZoneDistribution
|
562
|
+
|
557
563
|
AvailabilityZones.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen255)
|
558
564
|
|
559
565
|
BaselineEbsBandwidthMbpsRequest.add_member(:min, Shapes::ShapeRef.new(shape: NullablePositiveInteger, location_name: "Min"))
|
@@ -635,6 +641,7 @@ module Aws::AutoScaling
|
|
635
641
|
CreateAutoScalingGroupType.add_member(:default_instance_warmup, Shapes::ShapeRef.new(shape: DefaultInstanceWarmup, location_name: "DefaultInstanceWarmup"))
|
636
642
|
CreateAutoScalingGroupType.add_member(:traffic_sources, Shapes::ShapeRef.new(shape: TrafficSources, location_name: "TrafficSources"))
|
637
643
|
CreateAutoScalingGroupType.add_member(:instance_maintenance_policy, Shapes::ShapeRef.new(shape: InstanceMaintenancePolicy, location_name: "InstanceMaintenancePolicy"))
|
644
|
+
CreateAutoScalingGroupType.add_member(:availability_zone_distribution, Shapes::ShapeRef.new(shape: AvailabilityZoneDistribution, location_name: "AvailabilityZoneDistribution"))
|
638
645
|
CreateAutoScalingGroupType.struct_class = Types::CreateAutoScalingGroupType
|
639
646
|
|
640
647
|
CreateLaunchConfigurationType.add_member(:launch_configuration_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "LaunchConfigurationName"))
|
@@ -1553,6 +1560,7 @@ module Aws::AutoScaling
|
|
1553
1560
|
UpdateAutoScalingGroupType.add_member(:desired_capacity_type, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "DesiredCapacityType"))
|
1554
1561
|
UpdateAutoScalingGroupType.add_member(:default_instance_warmup, Shapes::ShapeRef.new(shape: DefaultInstanceWarmup, location_name: "DefaultInstanceWarmup"))
|
1555
1562
|
UpdateAutoScalingGroupType.add_member(:instance_maintenance_policy, Shapes::ShapeRef.new(shape: InstanceMaintenancePolicy, location_name: "InstanceMaintenancePolicy"))
|
1563
|
+
UpdateAutoScalingGroupType.add_member(:availability_zone_distribution, Shapes::ShapeRef.new(shape: AvailabilityZoneDistribution, location_name: "AvailabilityZoneDistribution"))
|
1556
1564
|
UpdateAutoScalingGroupType.struct_class = Types::UpdateAutoScalingGroupType
|
1557
1565
|
|
1558
1566
|
VCpuCountRequest.add_member(:min, Shapes::ShapeRef.new(shape: NullablePositiveInteger, required: true, location_name: "Min"))
|
@@ -176,6 +176,9 @@ module Aws::AutoScaling
|
|
176
176
|
# min_healthy_percentage: 1,
|
177
177
|
# max_healthy_percentage: 1,
|
178
178
|
# },
|
179
|
+
# availability_zone_distribution: {
|
180
|
+
# capacity_distribution_strategy: "balanced-only", # accepts balanced-only, balanced-best-effort
|
181
|
+
# },
|
179
182
|
# })
|
180
183
|
# @param [Hash] options ({})
|
181
184
|
# @option options [required, String] :auto_scaling_group_name
|
@@ -468,6 +471,8 @@ module Aws::AutoScaling
|
|
468
471
|
#
|
469
472
|
#
|
470
473
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-maintenance-policy.html
|
474
|
+
# @option options [Types::AvailabilityZoneDistribution] :availability_zone_distribution
|
475
|
+
# The instance capacity distribution across Availability Zones.
|
471
476
|
# @return [AutoScalingGroup]
|
472
477
|
def create_group(options = {})
|
473
478
|
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
@@ -491,6 +491,10 @@ module Aws::AutoScaling
|
|
491
491
|
# An instance maintenance policy.
|
492
492
|
# @return [Types::InstanceMaintenancePolicy]
|
493
493
|
#
|
494
|
+
# @!attribute [rw] availability_zone_distribution
|
495
|
+
# The instance capacity distribution across Availability Zones.
|
496
|
+
# @return [Types::AvailabilityZoneDistribution]
|
497
|
+
#
|
494
498
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AutoScalingGroup AWS API Documentation
|
495
499
|
#
|
496
500
|
class AutoScalingGroup < Struct.new(
|
@@ -528,7 +532,8 @@ module Aws::AutoScaling
|
|
528
532
|
:desired_capacity_type,
|
529
533
|
:default_instance_warmup,
|
530
534
|
:traffic_sources,
|
531
|
-
:instance_maintenance_policy
|
535
|
+
:instance_maintenance_policy,
|
536
|
+
:availability_zone_distribution)
|
532
537
|
SENSITIVE = []
|
533
538
|
include Aws::Structure
|
534
539
|
end
|
@@ -691,6 +696,29 @@ module Aws::AutoScaling
|
|
691
696
|
include Aws::Structure
|
692
697
|
end
|
693
698
|
|
699
|
+
# Describes an Availability Zone distribution.
|
700
|
+
#
|
701
|
+
# @!attribute [rw] capacity_distribution_strategy
|
702
|
+
# If launches fail in an Availability Zone, the following strategies
|
703
|
+
# are available. The default is `balanced-best-effort`.
|
704
|
+
#
|
705
|
+
# * `balanced-only` - If launches fail in an Availability Zone, Auto
|
706
|
+
# Scaling will continue to attempt to launch in the unhealthy zone
|
707
|
+
# to preserve a balanced distribution.
|
708
|
+
#
|
709
|
+
# * `balanced-best-effort` - If launches fail in an Availability Zone,
|
710
|
+
# Auto Scaling will attempt to launch in another healthy
|
711
|
+
# Availability Zone instead.
|
712
|
+
# @return [String]
|
713
|
+
#
|
714
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AvailabilityZoneDistribution AWS API Documentation
|
715
|
+
#
|
716
|
+
class AvailabilityZoneDistribution < Struct.new(
|
717
|
+
:capacity_distribution_strategy)
|
718
|
+
SENSITIVE = []
|
719
|
+
include Aws::Structure
|
720
|
+
end
|
721
|
+
|
694
722
|
# Specifies the minimum and maximum for the `BaselineEbsBandwidthMbps`
|
695
723
|
# object when you specify [InstanceRequirements][1] for an Auto Scaling
|
696
724
|
# group.
|
@@ -1263,6 +1291,10 @@ module Aws::AutoScaling
|
|
1263
1291
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-maintenance-policy.html
|
1264
1292
|
# @return [Types::InstanceMaintenancePolicy]
|
1265
1293
|
#
|
1294
|
+
# @!attribute [rw] availability_zone_distribution
|
1295
|
+
# The instance capacity distribution across Availability Zones.
|
1296
|
+
# @return [Types::AvailabilityZoneDistribution]
|
1297
|
+
#
|
1266
1298
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateAutoScalingGroupType AWS API Documentation
|
1267
1299
|
#
|
1268
1300
|
class CreateAutoScalingGroupType < Struct.new(
|
@@ -1293,7 +1325,8 @@ module Aws::AutoScaling
|
|
1293
1325
|
:desired_capacity_type,
|
1294
1326
|
:default_instance_warmup,
|
1295
1327
|
:traffic_sources,
|
1296
|
-
:instance_maintenance_policy
|
1328
|
+
:instance_maintenance_policy,
|
1329
|
+
:availability_zone_distribution)
|
1297
1330
|
SENSITIVE = []
|
1298
1331
|
include Aws::Structure
|
1299
1332
|
end
|
@@ -7905,6 +7938,10 @@ module Aws::AutoScaling
|
|
7905
7938
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-maintenance-policy.html
|
7906
7939
|
# @return [Types::InstanceMaintenancePolicy]
|
7907
7940
|
#
|
7941
|
+
# @!attribute [rw] availability_zone_distribution
|
7942
|
+
# The instance capacity distribution across Availability Zones.
|
7943
|
+
# @return [Types::AvailabilityZoneDistribution]
|
7944
|
+
#
|
7908
7945
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroupType AWS API Documentation
|
7909
7946
|
#
|
7910
7947
|
class UpdateAutoScalingGroupType < Struct.new(
|
@@ -7929,7 +7966,8 @@ module Aws::AutoScaling
|
|
7929
7966
|
:context,
|
7930
7967
|
:desired_capacity_type,
|
7931
7968
|
:default_instance_warmup,
|
7932
|
-
:instance_maintenance_policy
|
7969
|
+
:instance_maintenance_policy,
|
7970
|
+
:availability_zone_distribution)
|
7933
7971
|
SENSITIVE = []
|
7934
7972
|
include Aws::Structure
|
7935
7973
|
end
|
data/lib/aws-sdk-autoscaling.rb
CHANGED
data/sig/auto_scaling_group.rbs
CHANGED
@@ -114,6 +114,9 @@ module Aws
|
|
114
114
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#instance_maintenance_policy-instance_method
|
115
115
|
def instance_maintenance_policy: () -> Types::InstanceMaintenancePolicy
|
116
116
|
|
117
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#availability_zone_distribution-instance_method
|
118
|
+
def availability_zone_distribution: () -> Types::AvailabilityZoneDistribution
|
119
|
+
|
117
120
|
def client: () -> Client
|
118
121
|
|
119
122
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#load-instance_method
|
@@ -475,6 +478,9 @@ module Aws
|
|
475
478
|
?instance_maintenance_policy: {
|
476
479
|
min_healthy_percentage: ::Integer?,
|
477
480
|
max_healthy_percentage: ::Integer?
|
481
|
+
},
|
482
|
+
?availability_zone_distribution: {
|
483
|
+
capacity_distribution_strategy: ("balanced-only" | "balanced-best-effort")?
|
478
484
|
}
|
479
485
|
) -> AutoScalingGroup
|
480
486
|
| (?Hash[Symbol, untyped]) -> AutoScalingGroup
|
data/sig/client.rbs
CHANGED
@@ -312,6 +312,9 @@ module Aws
|
|
312
312
|
?instance_maintenance_policy: {
|
313
313
|
min_healthy_percentage: ::Integer?,
|
314
314
|
max_healthy_percentage: ::Integer?
|
315
|
+
},
|
316
|
+
?availability_zone_distribution: {
|
317
|
+
capacity_distribution_strategy: ("balanced-only" | "balanced-best-effort")?
|
315
318
|
}
|
316
319
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
317
320
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
@@ -1331,6 +1334,9 @@ module Aws
|
|
1331
1334
|
?instance_maintenance_policy: {
|
1332
1335
|
min_healthy_percentage: ::Integer?,
|
1333
1336
|
max_healthy_percentage: ::Integer?
|
1337
|
+
},
|
1338
|
+
?availability_zone_distribution: {
|
1339
|
+
capacity_distribution_strategy: ("balanced-only" | "balanced-best-effort")?
|
1334
1340
|
}
|
1335
1341
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1336
1342
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
data/sig/resource.rbs
CHANGED
@@ -216,6 +216,9 @@ module Aws
|
|
216
216
|
?instance_maintenance_policy: {
|
217
217
|
min_healthy_percentage: ::Integer?,
|
218
218
|
max_healthy_percentage: ::Integer?
|
219
|
+
},
|
220
|
+
?availability_zone_distribution: {
|
221
|
+
capacity_distribution_strategy: ("balanced-only" | "balanced-best-effort")?
|
219
222
|
}
|
220
223
|
) -> AutoScalingGroup
|
221
224
|
| (?Hash[Symbol, untyped]) -> AutoScalingGroup
|
data/sig/types.rbs
CHANGED
@@ -142,6 +142,7 @@ module Aws::AutoScaling
|
|
142
142
|
attr_accessor default_instance_warmup: ::Integer
|
143
143
|
attr_accessor traffic_sources: ::Array[Types::TrafficSourceIdentifier]
|
144
144
|
attr_accessor instance_maintenance_policy: Types::InstanceMaintenancePolicy
|
145
|
+
attr_accessor availability_zone_distribution: Types::AvailabilityZoneDistribution
|
145
146
|
SENSITIVE: []
|
146
147
|
end
|
147
148
|
|
@@ -179,6 +180,11 @@ module Aws::AutoScaling
|
|
179
180
|
SENSITIVE: []
|
180
181
|
end
|
181
182
|
|
183
|
+
class AvailabilityZoneDistribution
|
184
|
+
attr_accessor capacity_distribution_strategy: ("balanced-only" | "balanced-best-effort")
|
185
|
+
SENSITIVE: []
|
186
|
+
end
|
187
|
+
|
182
188
|
class BaselineEbsBandwidthMbpsRequest
|
183
189
|
attr_accessor min: ::Integer
|
184
190
|
attr_accessor max: ::Integer
|
@@ -272,6 +278,7 @@ module Aws::AutoScaling
|
|
272
278
|
attr_accessor default_instance_warmup: ::Integer
|
273
279
|
attr_accessor traffic_sources: ::Array[Types::TrafficSourceIdentifier]
|
274
280
|
attr_accessor instance_maintenance_policy: Types::InstanceMaintenancePolicy
|
281
|
+
attr_accessor availability_zone_distribution: Types::AvailabilityZoneDistribution
|
275
282
|
SENSITIVE: []
|
276
283
|
end
|
277
284
|
|
@@ -1391,6 +1398,7 @@ module Aws::AutoScaling
|
|
1391
1398
|
attr_accessor desired_capacity_type: ::String
|
1392
1399
|
attr_accessor default_instance_warmup: ::Integer
|
1393
1400
|
attr_accessor instance_maintenance_policy: Types::InstanceMaintenancePolicy
|
1401
|
+
attr_accessor availability_zone_distribution: Types::AvailabilityZoneDistribution
|
1394
1402
|
SENSITIVE: []
|
1395
1403
|
end
|
1396
1404
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-autoscaling
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.125.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|