aws-sdk-autoscaling 1.125.0 → 1.126.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: adc3e8ce5ee2fe4115a7c2c5507aab943a6c8cf8918d8fd7a70aa817e010f85f
4
- data.tar.gz: 5e3ac83e610a1c7be5aa234c136a6629c24bf71d7b0f564244d70f4732c14990
3
+ metadata.gz: ddce7db6f2774cf0b8a58b29913254c18ce7c43a9b8f6a8eb171441975017940
4
+ data.tar.gz: cd7752bde1c6d9474d58f2930c94a40129038101611abcccdba718990e119b3d
5
5
  SHA512:
6
- metadata.gz: 31a378654a92ef7f7120fa66da3d38ac6206d0552d904e726148408e90c750739b3c317a4dbb737990ccd76c53de6a86b353a65a6ec340351c306752d37cdfe7
7
- data.tar.gz: 18d9bc3d55331bf59b107d0f9e9cea6800411e4f0fc7dd49f65462c91c6c2f6b531d73c7d96432e671a0f886b104d0ff9d9f2825cd547849799c6c40a6123337
6
+ metadata.gz: 5eb292a0e4af4c88aed93dcb2aea4b6dbd4914090ba056a1b4a19e6333658174e799995d24be94647464327b1933583560085e980929573b5601fcc50bd18103
7
+ data.tar.gz: b7ebe231b269b51a2867dec7c03c1d9a1b6b56706b16780b0cc05c5d2722ff7f1ba6201a46202b5a1d534fe5baa89b5b8f3dd630ee0097b1986313123e19c449
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.126.0 (2024-11-18)
5
+ ------------------
6
+
7
+ * Feature - Amazon EC2 Auto Scaling now supports Amazon Application Recovery Controller (ARC) zonal shift and zonal autoshift to help you quickly recover an impaired application from failures in an Availability Zone (AZ).
8
+
4
9
  1.125.0 (2024-11-07)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.125.0
1
+ 1.126.0
@@ -249,6 +249,12 @@ module Aws::AutoScaling
249
249
  data[:availability_zone_distribution]
250
250
  end
251
251
 
252
+ # The Availability Zone impairment policy.
253
+ # @return [Types::AvailabilityZoneImpairmentPolicy]
254
+ def availability_zone_impairment_policy
255
+ data[:availability_zone_impairment_policy]
256
+ end
257
+
252
258
  # @!endgroup
253
259
 
254
260
  # @return [Client]
@@ -1282,6 +1288,11 @@ module Aws::AutoScaling
1282
1288
  # availability_zone_distribution: {
1283
1289
  # capacity_distribution_strategy: "balanced-only", # accepts balanced-only, balanced-best-effort
1284
1290
  # },
1291
+ # availability_zone_impairment_policy: {
1292
+ # zonal_shift_enabled: false,
1293
+ # impaired_zone_health_check_behavior: "ReplaceUnhealthy", # accepts ReplaceUnhealthy, IgnoreUnhealthy
1294
+ # },
1295
+ # skip_zonal_shift_validation: false,
1285
1296
  # })
1286
1297
  # @param [Hash] options ({})
1287
1298
  # @option options [String] :launch_configuration_name
@@ -1481,6 +1492,18 @@ module Aws::AutoScaling
1481
1492
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-maintenance-policy.html
1482
1493
  # @option options [Types::AvailabilityZoneDistribution] :availability_zone_distribution
1483
1494
  # The instance capacity distribution across Availability Zones.
1495
+ # @option options [Types::AvailabilityZoneImpairmentPolicy] :availability_zone_impairment_policy
1496
+ # The policy for Availability Zone impairment.
1497
+ # @option options [Boolean] :skip_zonal_shift_validation
1498
+ # If you enable zonal shift with cross-zone disabled load balancers,
1499
+ # capacity could become imbalanced across Availability Zones. To skip
1500
+ # the validation, specify `true`. For more information, see [Auto
1501
+ # Scaling group zonal shift][1] in the *Amazon EC2 Auto Scaling User
1502
+ # Guide*.
1503
+ #
1504
+ #
1505
+ #
1506
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-zonal-shift.html
1484
1507
  # @return [AutoScalingGroup]
1485
1508
  def update(options = {})
1486
1509
  options = options.merge(auto_scaling_group_name: @name)
@@ -692,6 +692,17 @@ module Aws::AutoScaling
692
692
  # The unique identifiers of one or more traffic sources. You can specify
693
693
  # up to 10 traffic sources.
694
694
  #
695
+ # @option params [Boolean] :skip_zonal_shift_validation
696
+ # If you enable zonal shift with cross-zone disabled load balancers,
697
+ # capacity could become imbalanced across Availability Zones. To skip
698
+ # the validation, specify `true`. For more information, see [Auto
699
+ # Scaling group zonal shift][1] in the *Amazon EC2 Auto Scaling User
700
+ # Guide*.
701
+ #
702
+ #
703
+ #
704
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-zonal-shift.html
705
+ #
695
706
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
696
707
  #
697
708
  #
@@ -722,6 +733,7 @@ module Aws::AutoScaling
722
733
  # type: "XmlStringMaxLen511",
723
734
  # },
724
735
  # ],
736
+ # skip_zonal_shift_validation: false,
725
737
  # })
726
738
  #
727
739
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachTrafficSources AWS API Documentation
@@ -1312,6 +1324,20 @@ module Aws::AutoScaling
1312
1324
  # @option params [Types::AvailabilityZoneDistribution] :availability_zone_distribution
1313
1325
  # The instance capacity distribution across Availability Zones.
1314
1326
  #
1327
+ # @option params [Types::AvailabilityZoneImpairmentPolicy] :availability_zone_impairment_policy
1328
+ # The policy for Availability Zone impairment.
1329
+ #
1330
+ # @option params [Boolean] :skip_zonal_shift_validation
1331
+ # If you enable zonal shift with cross-zone disabled load balancers,
1332
+ # capacity could become imbalanced across Availability Zones. To skip
1333
+ # the validation, specify `true`. For more information, see [Auto
1334
+ # Scaling group zonal shift][1] in the *Amazon EC2 Auto Scaling User
1335
+ # Guide*.
1336
+ #
1337
+ #
1338
+ #
1339
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-zonal-shift.html
1340
+ #
1315
1341
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1316
1342
  #
1317
1343
  #
@@ -1580,6 +1606,11 @@ module Aws::AutoScaling
1580
1606
  # availability_zone_distribution: {
1581
1607
  # capacity_distribution_strategy: "balanced-only", # accepts balanced-only, balanced-best-effort
1582
1608
  # },
1609
+ # availability_zone_impairment_policy: {
1610
+ # zonal_shift_enabled: false,
1611
+ # impaired_zone_health_check_behavior: "ReplaceUnhealthy", # accepts ReplaceUnhealthy, IgnoreUnhealthy
1612
+ # },
1613
+ # skip_zonal_shift_validation: false,
1583
1614
  # })
1584
1615
  #
1585
1616
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateAutoScalingGroup AWS API Documentation
@@ -2688,6 +2719,8 @@ module Aws::AutoScaling
2688
2719
  # resp.auto_scaling_groups[0].instance_maintenance_policy.min_healthy_percentage #=> Integer
2689
2720
  # resp.auto_scaling_groups[0].instance_maintenance_policy.max_healthy_percentage #=> Integer
2690
2721
  # resp.auto_scaling_groups[0].availability_zone_distribution.capacity_distribution_strategy #=> String, one of "balanced-only", "balanced-best-effort"
2722
+ # resp.auto_scaling_groups[0].availability_zone_impairment_policy.zonal_shift_enabled #=> Boolean
2723
+ # resp.auto_scaling_groups[0].availability_zone_impairment_policy.impaired_zone_health_check_behavior #=> String, one of "ReplaceUnhealthy", "IgnoreUnhealthy"
2691
2724
  # resp.next_token #=> String
2692
2725
  #
2693
2726
  #
@@ -7166,6 +7199,20 @@ module Aws::AutoScaling
7166
7199
  # @option params [Types::AvailabilityZoneDistribution] :availability_zone_distribution
7167
7200
  # The instance capacity distribution across Availability Zones.
7168
7201
  #
7202
+ # @option params [Types::AvailabilityZoneImpairmentPolicy] :availability_zone_impairment_policy
7203
+ # The policy for Availability Zone impairment.
7204
+ #
7205
+ # @option params [Boolean] :skip_zonal_shift_validation
7206
+ # If you enable zonal shift with cross-zone disabled load balancers,
7207
+ # capacity could become imbalanced across Availability Zones. To skip
7208
+ # the validation, specify `true`. For more information, see [Auto
7209
+ # Scaling group zonal shift][1] in the *Amazon EC2 Auto Scaling User
7210
+ # Guide*.
7211
+ #
7212
+ #
7213
+ #
7214
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-zonal-shift.html
7215
+ #
7169
7216
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
7170
7217
  #
7171
7218
  #
@@ -7299,6 +7346,11 @@ module Aws::AutoScaling
7299
7346
  # availability_zone_distribution: {
7300
7347
  # capacity_distribution_strategy: "balanced-only", # accepts balanced-only, balanced-best-effort
7301
7348
  # },
7349
+ # availability_zone_impairment_policy: {
7350
+ # zonal_shift_enabled: false,
7351
+ # impaired_zone_health_check_behavior: "ReplaceUnhealthy", # accepts ReplaceUnhealthy, IgnoreUnhealthy
7352
+ # },
7353
+ # skip_zonal_shift_validation: false,
7302
7354
  # })
7303
7355
  #
7304
7356
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroup AWS API Documentation
@@ -7328,7 +7380,7 @@ module Aws::AutoScaling
7328
7380
  tracer: tracer
7329
7381
  )
7330
7382
  context[:gem_name] = 'aws-sdk-autoscaling'
7331
- context[:gem_version] = '1.125.0'
7383
+ context[:gem_version] = '1.126.0'
7332
7384
  Seahorse::Client::Request.new(handlers, context)
7333
7385
  end
7334
7386
 
@@ -63,6 +63,7 @@ module Aws::AutoScaling
63
63
  AutoScalingInstancesType = Shapes::StructureShape.new(name: 'AutoScalingInstancesType')
64
64
  AutoScalingNotificationTypes = Shapes::ListShape.new(name: 'AutoScalingNotificationTypes')
65
65
  AvailabilityZoneDistribution = Shapes::StructureShape.new(name: 'AvailabilityZoneDistribution')
66
+ AvailabilityZoneImpairmentPolicy = Shapes::StructureShape.new(name: 'AvailabilityZoneImpairmentPolicy')
66
67
  AvailabilityZones = Shapes::ListShape.new(name: 'AvailabilityZones')
67
68
  BakeTime = Shapes::IntegerShape.new(name: 'BakeTime')
68
69
  BareMetal = Shapes::StringShape.new(name: 'BareMetal')
@@ -168,6 +169,7 @@ module Aws::AutoScaling
168
169
  HealthCheckGracePeriod = Shapes::IntegerShape.new(name: 'HealthCheckGracePeriod')
169
170
  HeartbeatTimeout = Shapes::IntegerShape.new(name: 'HeartbeatTimeout')
170
171
  HonorCooldown = Shapes::BooleanShape.new(name: 'HonorCooldown')
172
+ ImpairedZoneHealthCheckBehavior = Shapes::StringShape.new(name: 'ImpairedZoneHealthCheckBehavior')
171
173
  IncludeDeletedGroups = Shapes::BooleanShape.new(name: 'IncludeDeletedGroups')
172
174
  Instance = Shapes::StructureShape.new(name: 'Instance')
173
175
  InstanceGeneration = Shapes::StringShape.new(name: 'InstanceGeneration')
@@ -348,6 +350,7 @@ module Aws::AutoScaling
348
350
  ShouldDecrementDesiredCapacity = Shapes::BooleanShape.new(name: 'ShouldDecrementDesiredCapacity')
349
351
  ShouldRespectGracePeriod = Shapes::BooleanShape.new(name: 'ShouldRespectGracePeriod')
350
352
  SkipMatching = Shapes::BooleanShape.new(name: 'SkipMatching')
353
+ SkipZonalShiftValidation = Shapes::BooleanShape.new(name: 'SkipZonalShiftValidation')
351
354
  SpotInstancePools = Shapes::IntegerShape.new(name: 'SpotInstancePools')
352
355
  SpotPrice = Shapes::StringShape.new(name: 'SpotPrice')
353
356
  StandbyInstances = Shapes::StringShape.new(name: 'StandbyInstances')
@@ -399,6 +402,7 @@ module Aws::AutoScaling
399
402
  XmlStringMetricLabel = Shapes::StringShape.new(name: 'XmlStringMetricLabel')
400
403
  XmlStringMetricStat = Shapes::StringShape.new(name: 'XmlStringMetricStat')
401
404
  XmlStringUserData = Shapes::StringShape.new(name: 'XmlStringUserData')
405
+ ZonalShiftEnabled = Shapes::BooleanShape.new(name: 'ZonalShiftEnabled')
402
406
 
403
407
  AcceleratorCountRequest.add_member(:min, Shapes::ShapeRef.new(shape: NullablePositiveInteger, location_name: "Min"))
404
408
  AcceleratorCountRequest.add_member(:max, Shapes::ShapeRef.new(shape: NullablePositiveInteger, location_name: "Max"))
@@ -483,6 +487,7 @@ module Aws::AutoScaling
483
487
 
484
488
  AttachTrafficSourcesType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
485
489
  AttachTrafficSourcesType.add_member(:traffic_sources, Shapes::ShapeRef.new(shape: TrafficSources, required: true, location_name: "TrafficSources"))
490
+ AttachTrafficSourcesType.add_member(:skip_zonal_shift_validation, Shapes::ShapeRef.new(shape: SkipZonalShiftValidation, location_name: "SkipZonalShiftValidation"))
486
491
  AttachTrafficSourcesType.struct_class = Types::AttachTrafficSourcesType
487
492
 
488
493
  AutoScalingGroup.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
@@ -521,6 +526,7 @@ module Aws::AutoScaling
521
526
  AutoScalingGroup.add_member(:traffic_sources, Shapes::ShapeRef.new(shape: TrafficSources, location_name: "TrafficSources"))
522
527
  AutoScalingGroup.add_member(:instance_maintenance_policy, Shapes::ShapeRef.new(shape: InstanceMaintenancePolicy, location_name: "InstanceMaintenancePolicy"))
523
528
  AutoScalingGroup.add_member(:availability_zone_distribution, Shapes::ShapeRef.new(shape: AvailabilityZoneDistribution, location_name: "AvailabilityZoneDistribution"))
529
+ AutoScalingGroup.add_member(:availability_zone_impairment_policy, Shapes::ShapeRef.new(shape: AvailabilityZoneImpairmentPolicy, location_name: "AvailabilityZoneImpairmentPolicy"))
524
530
  AutoScalingGroup.struct_class = Types::AutoScalingGroup
525
531
 
526
532
  AutoScalingGroupNames.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen255)
@@ -560,6 +566,10 @@ module Aws::AutoScaling
560
566
  AvailabilityZoneDistribution.add_member(:capacity_distribution_strategy, Shapes::ShapeRef.new(shape: CapacityDistributionStrategy, location_name: "CapacityDistributionStrategy"))
561
567
  AvailabilityZoneDistribution.struct_class = Types::AvailabilityZoneDistribution
562
568
 
569
+ AvailabilityZoneImpairmentPolicy.add_member(:zonal_shift_enabled, Shapes::ShapeRef.new(shape: ZonalShiftEnabled, location_name: "ZonalShiftEnabled"))
570
+ AvailabilityZoneImpairmentPolicy.add_member(:impaired_zone_health_check_behavior, Shapes::ShapeRef.new(shape: ImpairedZoneHealthCheckBehavior, location_name: "ImpairedZoneHealthCheckBehavior"))
571
+ AvailabilityZoneImpairmentPolicy.struct_class = Types::AvailabilityZoneImpairmentPolicy
572
+
563
573
  AvailabilityZones.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen255)
564
574
 
565
575
  BaselineEbsBandwidthMbpsRequest.add_member(:min, Shapes::ShapeRef.new(shape: NullablePositiveInteger, location_name: "Min"))
@@ -642,6 +652,8 @@ module Aws::AutoScaling
642
652
  CreateAutoScalingGroupType.add_member(:traffic_sources, Shapes::ShapeRef.new(shape: TrafficSources, location_name: "TrafficSources"))
643
653
  CreateAutoScalingGroupType.add_member(:instance_maintenance_policy, Shapes::ShapeRef.new(shape: InstanceMaintenancePolicy, location_name: "InstanceMaintenancePolicy"))
644
654
  CreateAutoScalingGroupType.add_member(:availability_zone_distribution, Shapes::ShapeRef.new(shape: AvailabilityZoneDistribution, location_name: "AvailabilityZoneDistribution"))
655
+ CreateAutoScalingGroupType.add_member(:availability_zone_impairment_policy, Shapes::ShapeRef.new(shape: AvailabilityZoneImpairmentPolicy, location_name: "AvailabilityZoneImpairmentPolicy"))
656
+ CreateAutoScalingGroupType.add_member(:skip_zonal_shift_validation, Shapes::ShapeRef.new(shape: SkipZonalShiftValidation, location_name: "SkipZonalShiftValidation"))
645
657
  CreateAutoScalingGroupType.struct_class = Types::CreateAutoScalingGroupType
646
658
 
647
659
  CreateLaunchConfigurationType.add_member(:launch_configuration_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "LaunchConfigurationName"))
@@ -1561,6 +1573,8 @@ module Aws::AutoScaling
1561
1573
  UpdateAutoScalingGroupType.add_member(:default_instance_warmup, Shapes::ShapeRef.new(shape: DefaultInstanceWarmup, location_name: "DefaultInstanceWarmup"))
1562
1574
  UpdateAutoScalingGroupType.add_member(:instance_maintenance_policy, Shapes::ShapeRef.new(shape: InstanceMaintenancePolicy, location_name: "InstanceMaintenancePolicy"))
1563
1575
  UpdateAutoScalingGroupType.add_member(:availability_zone_distribution, Shapes::ShapeRef.new(shape: AvailabilityZoneDistribution, location_name: "AvailabilityZoneDistribution"))
1576
+ UpdateAutoScalingGroupType.add_member(:availability_zone_impairment_policy, Shapes::ShapeRef.new(shape: AvailabilityZoneImpairmentPolicy, location_name: "AvailabilityZoneImpairmentPolicy"))
1577
+ UpdateAutoScalingGroupType.add_member(:skip_zonal_shift_validation, Shapes::ShapeRef.new(shape: SkipZonalShiftValidation, location_name: "SkipZonalShiftValidation"))
1564
1578
  UpdateAutoScalingGroupType.struct_class = Types::UpdateAutoScalingGroupType
1565
1579
 
1566
1580
  VCpuCountRequest.add_member(:min, Shapes::ShapeRef.new(shape: NullablePositiveInteger, required: true, location_name: "Min"))
@@ -179,6 +179,11 @@ module Aws::AutoScaling
179
179
  # availability_zone_distribution: {
180
180
  # capacity_distribution_strategy: "balanced-only", # accepts balanced-only, balanced-best-effort
181
181
  # },
182
+ # availability_zone_impairment_policy: {
183
+ # zonal_shift_enabled: false,
184
+ # impaired_zone_health_check_behavior: "ReplaceUnhealthy", # accepts ReplaceUnhealthy, IgnoreUnhealthy
185
+ # },
186
+ # skip_zonal_shift_validation: false,
182
187
  # })
183
188
  # @param [Hash] options ({})
184
189
  # @option options [required, String] :auto_scaling_group_name
@@ -473,6 +478,18 @@ module Aws::AutoScaling
473
478
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-maintenance-policy.html
474
479
  # @option options [Types::AvailabilityZoneDistribution] :availability_zone_distribution
475
480
  # The instance capacity distribution across Availability Zones.
481
+ # @option options [Types::AvailabilityZoneImpairmentPolicy] :availability_zone_impairment_policy
482
+ # The policy for Availability Zone impairment.
483
+ # @option options [Boolean] :skip_zonal_shift_validation
484
+ # If you enable zonal shift with cross-zone disabled load balancers,
485
+ # capacity could become imbalanced across Availability Zones. To skip
486
+ # the validation, specify `true`. For more information, see [Auto
487
+ # Scaling group zonal shift][1] in the *Amazon EC2 Auto Scaling User
488
+ # Guide*.
489
+ #
490
+ #
491
+ #
492
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-zonal-shift.html
476
493
  # @return [AutoScalingGroup]
477
494
  def create_group(options = {})
478
495
  Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
@@ -324,11 +324,24 @@ module Aws::AutoScaling
324
324
  # specify up to 10 traffic sources.
325
325
  # @return [Array<Types::TrafficSourceIdentifier>]
326
326
  #
327
+ # @!attribute [rw] skip_zonal_shift_validation
328
+ # If you enable zonal shift with cross-zone disabled load balancers,
329
+ # capacity could become imbalanced across Availability Zones. To skip
330
+ # the validation, specify `true`. For more information, see [Auto
331
+ # Scaling group zonal shift][1] in the *Amazon EC2 Auto Scaling User
332
+ # Guide*.
333
+ #
334
+ #
335
+ #
336
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-zonal-shift.html
337
+ # @return [Boolean]
338
+ #
327
339
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachTrafficSourcesType AWS API Documentation
328
340
  #
329
341
  class AttachTrafficSourcesType < Struct.new(
330
342
  :auto_scaling_group_name,
331
- :traffic_sources)
343
+ :traffic_sources,
344
+ :skip_zonal_shift_validation)
332
345
  SENSITIVE = []
333
346
  include Aws::Structure
334
347
  end
@@ -495,6 +508,10 @@ module Aws::AutoScaling
495
508
  # The instance capacity distribution across Availability Zones.
496
509
  # @return [Types::AvailabilityZoneDistribution]
497
510
  #
511
+ # @!attribute [rw] availability_zone_impairment_policy
512
+ # The Availability Zone impairment policy.
513
+ # @return [Types::AvailabilityZoneImpairmentPolicy]
514
+ #
498
515
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AutoScalingGroup AWS API Documentation
499
516
  #
500
517
  class AutoScalingGroup < Struct.new(
@@ -533,7 +550,8 @@ module Aws::AutoScaling
533
550
  :default_instance_warmup,
534
551
  :traffic_sources,
535
552
  :instance_maintenance_policy,
536
- :availability_zone_distribution)
553
+ :availability_zone_distribution,
554
+ :availability_zone_impairment_policy)
537
555
  SENSITIVE = []
538
556
  include Aws::Structure
539
557
  end
@@ -719,6 +737,35 @@ module Aws::AutoScaling
719
737
  include Aws::Structure
720
738
  end
721
739
 
740
+ # Describes an Availability Zone impairment policy.
741
+ #
742
+ # @!attribute [rw] zonal_shift_enabled
743
+ # If `true`, enable zonal shift for your Auto Scaling group.
744
+ # @return [Boolean]
745
+ #
746
+ # @!attribute [rw] impaired_zone_health_check_behavior
747
+ # Specifies the health check behavior for the impaired Availability
748
+ # Zone in an active zonal shift. If you select `Replace unhealthy`,
749
+ # instances that appear unhealthy will be replaced in all Availability
750
+ # Zones. If you select `Ignore unhealthy`, instances will not be
751
+ # replaced in the Availability Zone with the active zonal shift. For
752
+ # more information, see [Auto Scaling group zonal shift][1] in the
753
+ # *Amazon EC2 Auto Scaling User Guide*.
754
+ #
755
+ #
756
+ #
757
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-zonal-shift.html
758
+ # @return [String]
759
+ #
760
+ # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AvailabilityZoneImpairmentPolicy AWS API Documentation
761
+ #
762
+ class AvailabilityZoneImpairmentPolicy < Struct.new(
763
+ :zonal_shift_enabled,
764
+ :impaired_zone_health_check_behavior)
765
+ SENSITIVE = []
766
+ include Aws::Structure
767
+ end
768
+
722
769
  # Specifies the minimum and maximum for the `BaselineEbsBandwidthMbps`
723
770
  # object when you specify [InstanceRequirements][1] for an Auto Scaling
724
771
  # group.
@@ -1295,6 +1342,22 @@ module Aws::AutoScaling
1295
1342
  # The instance capacity distribution across Availability Zones.
1296
1343
  # @return [Types::AvailabilityZoneDistribution]
1297
1344
  #
1345
+ # @!attribute [rw] availability_zone_impairment_policy
1346
+ # The policy for Availability Zone impairment.
1347
+ # @return [Types::AvailabilityZoneImpairmentPolicy]
1348
+ #
1349
+ # @!attribute [rw] skip_zonal_shift_validation
1350
+ # If you enable zonal shift with cross-zone disabled load balancers,
1351
+ # capacity could become imbalanced across Availability Zones. To skip
1352
+ # the validation, specify `true`. For more information, see [Auto
1353
+ # Scaling group zonal shift][1] in the *Amazon EC2 Auto Scaling User
1354
+ # Guide*.
1355
+ #
1356
+ #
1357
+ #
1358
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-zonal-shift.html
1359
+ # @return [Boolean]
1360
+ #
1298
1361
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateAutoScalingGroupType AWS API Documentation
1299
1362
  #
1300
1363
  class CreateAutoScalingGroupType < Struct.new(
@@ -1326,7 +1389,9 @@ module Aws::AutoScaling
1326
1389
  :default_instance_warmup,
1327
1390
  :traffic_sources,
1328
1391
  :instance_maintenance_policy,
1329
- :availability_zone_distribution)
1392
+ :availability_zone_distribution,
1393
+ :availability_zone_impairment_policy,
1394
+ :skip_zonal_shift_validation)
1330
1395
  SENSITIVE = []
1331
1396
  include Aws::Structure
1332
1397
  end
@@ -7942,6 +8007,22 @@ module Aws::AutoScaling
7942
8007
  # The instance capacity distribution across Availability Zones.
7943
8008
  # @return [Types::AvailabilityZoneDistribution]
7944
8009
  #
8010
+ # @!attribute [rw] availability_zone_impairment_policy
8011
+ # The policy for Availability Zone impairment.
8012
+ # @return [Types::AvailabilityZoneImpairmentPolicy]
8013
+ #
8014
+ # @!attribute [rw] skip_zonal_shift_validation
8015
+ # If you enable zonal shift with cross-zone disabled load balancers,
8016
+ # capacity could become imbalanced across Availability Zones. To skip
8017
+ # the validation, specify `true`. For more information, see [Auto
8018
+ # Scaling group zonal shift][1] in the *Amazon EC2 Auto Scaling User
8019
+ # Guide*.
8020
+ #
8021
+ #
8022
+ #
8023
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-zonal-shift.html
8024
+ # @return [Boolean]
8025
+ #
7945
8026
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroupType AWS API Documentation
7946
8027
  #
7947
8028
  class UpdateAutoScalingGroupType < Struct.new(
@@ -7967,7 +8048,9 @@ module Aws::AutoScaling
7967
8048
  :desired_capacity_type,
7968
8049
  :default_instance_warmup,
7969
8050
  :instance_maintenance_policy,
7970
- :availability_zone_distribution)
8051
+ :availability_zone_distribution,
8052
+ :availability_zone_impairment_policy,
8053
+ :skip_zonal_shift_validation)
7971
8054
  SENSITIVE = []
7972
8055
  include Aws::Structure
7973
8056
  end
@@ -65,7 +65,7 @@ module Aws::AutoScaling
65
65
  autoload :ScheduledAction, 'aws-sdk-autoscaling/scheduled_action'
66
66
  autoload :Tag, 'aws-sdk-autoscaling/tag'
67
67
 
68
- GEM_VERSION = '1.125.0'
68
+ GEM_VERSION = '1.126.0'
69
69
 
70
70
  end
71
71
 
@@ -117,6 +117,9 @@ module Aws
117
117
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#availability_zone_distribution-instance_method
118
118
  def availability_zone_distribution: () -> Types::AvailabilityZoneDistribution
119
119
 
120
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#availability_zone_impairment_policy-instance_method
121
+ def availability_zone_impairment_policy: () -> Types::AvailabilityZoneImpairmentPolicy
122
+
120
123
  def client: () -> Client
121
124
 
122
125
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#load-instance_method
@@ -481,7 +484,12 @@ module Aws
481
484
  },
482
485
  ?availability_zone_distribution: {
483
486
  capacity_distribution_strategy: ("balanced-only" | "balanced-best-effort")?
484
- }
487
+ },
488
+ ?availability_zone_impairment_policy: {
489
+ zonal_shift_enabled: bool?,
490
+ impaired_zone_health_check_behavior: ("ReplaceUnhealthy" | "IgnoreUnhealthy")?
491
+ },
492
+ ?skip_zonal_shift_validation: bool
485
493
  ) -> AutoScalingGroup
486
494
  | (?Hash[Symbol, untyped]) -> AutoScalingGroup
487
495
 
data/sig/client.rbs CHANGED
@@ -113,7 +113,8 @@ module Aws
113
113
  identifier: ::String,
114
114
  type: ::String?
115
115
  },
116
- ]
116
+ ],
117
+ ?skip_zonal_shift_validation: bool
117
118
  ) -> _AttachTrafficSourcesResponseSuccess
118
119
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AttachTrafficSourcesResponseSuccess
119
120
 
@@ -315,7 +316,12 @@ module Aws
315
316
  },
316
317
  ?availability_zone_distribution: {
317
318
  capacity_distribution_strategy: ("balanced-only" | "balanced-best-effort")?
318
- }
319
+ },
320
+ ?availability_zone_impairment_policy: {
321
+ zonal_shift_enabled: bool?,
322
+ impaired_zone_health_check_behavior: ("ReplaceUnhealthy" | "IgnoreUnhealthy")?
323
+ },
324
+ ?skip_zonal_shift_validation: bool
319
325
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
320
326
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
321
327
 
@@ -1337,7 +1343,12 @@ module Aws
1337
1343
  },
1338
1344
  ?availability_zone_distribution: {
1339
1345
  capacity_distribution_strategy: ("balanced-only" | "balanced-best-effort")?
1340
- }
1346
+ },
1347
+ ?availability_zone_impairment_policy: {
1348
+ zonal_shift_enabled: bool?,
1349
+ impaired_zone_health_check_behavior: ("ReplaceUnhealthy" | "IgnoreUnhealthy")?
1350
+ },
1351
+ ?skip_zonal_shift_validation: bool
1341
1352
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1342
1353
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1343
1354
 
data/sig/resource.rbs CHANGED
@@ -219,7 +219,12 @@ module Aws
219
219
  },
220
220
  ?availability_zone_distribution: {
221
221
  capacity_distribution_strategy: ("balanced-only" | "balanced-best-effort")?
222
- }
222
+ },
223
+ ?availability_zone_impairment_policy: {
224
+ zonal_shift_enabled: bool?,
225
+ impaired_zone_health_check_behavior: ("ReplaceUnhealthy" | "IgnoreUnhealthy")?
226
+ },
227
+ ?skip_zonal_shift_validation: bool
223
228
  ) -> AutoScalingGroup
224
229
  | (?Hash[Symbol, untyped]) -> AutoScalingGroup
225
230
 
data/sig/types.rbs CHANGED
@@ -103,6 +103,7 @@ module Aws::AutoScaling
103
103
  class AttachTrafficSourcesType
104
104
  attr_accessor auto_scaling_group_name: ::String
105
105
  attr_accessor traffic_sources: ::Array[Types::TrafficSourceIdentifier]
106
+ attr_accessor skip_zonal_shift_validation: bool
106
107
  SENSITIVE: []
107
108
  end
108
109
 
@@ -143,6 +144,7 @@ module Aws::AutoScaling
143
144
  attr_accessor traffic_sources: ::Array[Types::TrafficSourceIdentifier]
144
145
  attr_accessor instance_maintenance_policy: Types::InstanceMaintenancePolicy
145
146
  attr_accessor availability_zone_distribution: Types::AvailabilityZoneDistribution
147
+ attr_accessor availability_zone_impairment_policy: Types::AvailabilityZoneImpairmentPolicy
146
148
  SENSITIVE: []
147
149
  end
148
150
 
@@ -185,6 +187,12 @@ module Aws::AutoScaling
185
187
  SENSITIVE: []
186
188
  end
187
189
 
190
+ class AvailabilityZoneImpairmentPolicy
191
+ attr_accessor zonal_shift_enabled: bool
192
+ attr_accessor impaired_zone_health_check_behavior: ("ReplaceUnhealthy" | "IgnoreUnhealthy")
193
+ SENSITIVE: []
194
+ end
195
+
188
196
  class BaselineEbsBandwidthMbpsRequest
189
197
  attr_accessor min: ::Integer
190
198
  attr_accessor max: ::Integer
@@ -279,6 +287,8 @@ module Aws::AutoScaling
279
287
  attr_accessor traffic_sources: ::Array[Types::TrafficSourceIdentifier]
280
288
  attr_accessor instance_maintenance_policy: Types::InstanceMaintenancePolicy
281
289
  attr_accessor availability_zone_distribution: Types::AvailabilityZoneDistribution
290
+ attr_accessor availability_zone_impairment_policy: Types::AvailabilityZoneImpairmentPolicy
291
+ attr_accessor skip_zonal_shift_validation: bool
282
292
  SENSITIVE: []
283
293
  end
284
294
 
@@ -1399,6 +1409,8 @@ module Aws::AutoScaling
1399
1409
  attr_accessor default_instance_warmup: ::Integer
1400
1410
  attr_accessor instance_maintenance_policy: Types::InstanceMaintenancePolicy
1401
1411
  attr_accessor availability_zone_distribution: Types::AvailabilityZoneDistribution
1412
+ attr_accessor availability_zone_impairment_policy: Types::AvailabilityZoneImpairmentPolicy
1413
+ attr_accessor skip_zonal_shift_validation: bool
1402
1414
  SENSITIVE: []
1403
1415
  end
1404
1416
 
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.125.0
4
+ version: 1.126.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-07 00:00:00.000000000 Z
11
+ date: 2024-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core