aws-sdk-autoscaling 1.125.0 → 1.127.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-autoscaling/auto_scaling_group.rb +47 -0
- data/lib/aws-sdk-autoscaling/client.rb +109 -1
- data/lib/aws-sdk-autoscaling/client_api.rb +51 -0
- data/lib/aws-sdk-autoscaling/resource.rb +35 -0
- data/lib/aws-sdk-autoscaling/types.rb +277 -5
- data/lib/aws-sdk-autoscaling.rb +1 -1
- data/sig/auto_scaling_group.rbs +28 -1
- data/sig/client.rbs +56 -4
- data/sig/resource.rbs +22 -1
- data/sig/types.rbs +43 -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: 7493befe8972afaa717c23fa7c5826770f20c1c5f598ffa9e98590e3f9394ace
|
4
|
+
data.tar.gz: d29918dbef8b1720ece9a1ef0cd62afc771024f8aaa076b14855f500a56ce05b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68394ed3f466d26e60588dc20a0b126cdd3a91cf64412b4022ded8e47c52096a9c3cf98ec2ad2b053fd089aac7910c95502257545de53acbbfffa8f679f93bc9
|
7
|
+
data.tar.gz: 5da99ca104a6d146965d1bb9ee97efedcce3fa86f0c35f39e236019acc732ada51f8e19811b2053059245fe27cc493809901fbe384508ee816d168909fe0de82
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.127.0 (2024-11-20)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - With this release, customers can prioritize launching instances into ODCRs using targets from ASGs or Launch Templates. Customers can express their baseline instances' CPU-performance in attribute-based Instance Requirements configuration by referencing an instance family that meets their needs.
|
8
|
+
|
9
|
+
1.126.0 (2024-11-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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).
|
13
|
+
|
4
14
|
1.125.0 (2024-11-07)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.127.0
|
@@ -249,6 +249,18 @@ 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
|
+
|
258
|
+
# The capacity reservation specification.
|
259
|
+
# @return [Types::CapacityReservationSpecification]
|
260
|
+
def capacity_reservation_specification
|
261
|
+
data[:capacity_reservation_specification]
|
262
|
+
end
|
263
|
+
|
252
264
|
# @!endgroup
|
253
265
|
|
254
266
|
# @return [Client]
|
@@ -1245,6 +1257,15 @@ module Aws::AutoScaling
|
|
1245
1257
|
# max: 1.0,
|
1246
1258
|
# },
|
1247
1259
|
# allowed_instance_types: ["AllowedInstanceType"],
|
1260
|
+
# baseline_performance_factors: {
|
1261
|
+
# cpu: {
|
1262
|
+
# references: [
|
1263
|
+
# {
|
1264
|
+
# instance_family: "String",
|
1265
|
+
# },
|
1266
|
+
# ],
|
1267
|
+
# },
|
1268
|
+
# },
|
1248
1269
|
# },
|
1249
1270
|
# },
|
1250
1271
|
# ],
|
@@ -1282,6 +1303,18 @@ module Aws::AutoScaling
|
|
1282
1303
|
# availability_zone_distribution: {
|
1283
1304
|
# capacity_distribution_strategy: "balanced-only", # accepts balanced-only, balanced-best-effort
|
1284
1305
|
# },
|
1306
|
+
# availability_zone_impairment_policy: {
|
1307
|
+
# zonal_shift_enabled: false,
|
1308
|
+
# impaired_zone_health_check_behavior: "ReplaceUnhealthy", # accepts ReplaceUnhealthy, IgnoreUnhealthy
|
1309
|
+
# },
|
1310
|
+
# skip_zonal_shift_validation: false,
|
1311
|
+
# capacity_reservation_specification: {
|
1312
|
+
# capacity_reservation_preference: "capacity-reservations-only", # accepts capacity-reservations-only, capacity-reservations-first, none, default
|
1313
|
+
# capacity_reservation_target: {
|
1314
|
+
# capacity_reservation_ids: ["AsciiStringMaxLen255"],
|
1315
|
+
# capacity_reservation_resource_group_arns: ["ResourceName"],
|
1316
|
+
# },
|
1317
|
+
# },
|
1285
1318
|
# })
|
1286
1319
|
# @param [Hash] options ({})
|
1287
1320
|
# @option options [String] :launch_configuration_name
|
@@ -1481,6 +1514,20 @@ module Aws::AutoScaling
|
|
1481
1514
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-maintenance-policy.html
|
1482
1515
|
# @option options [Types::AvailabilityZoneDistribution] :availability_zone_distribution
|
1483
1516
|
# The instance capacity distribution across Availability Zones.
|
1517
|
+
# @option options [Types::AvailabilityZoneImpairmentPolicy] :availability_zone_impairment_policy
|
1518
|
+
# The policy for Availability Zone impairment.
|
1519
|
+
# @option options [Boolean] :skip_zonal_shift_validation
|
1520
|
+
# If you enable zonal shift with cross-zone disabled load balancers,
|
1521
|
+
# capacity could become imbalanced across Availability Zones. To skip
|
1522
|
+
# the validation, specify `true`. For more information, see [Auto
|
1523
|
+
# Scaling group zonal shift][1] in the *Amazon EC2 Auto Scaling User
|
1524
|
+
# Guide*.
|
1525
|
+
#
|
1526
|
+
#
|
1527
|
+
#
|
1528
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-zonal-shift.html
|
1529
|
+
# @option options [Types::CapacityReservationSpecification] :capacity_reservation_specification
|
1530
|
+
# The capacity reservation specification for the Auto Scaling group.
|
1484
1531
|
# @return [AutoScalingGroup]
|
1485
1532
|
def update(options = {})
|
1486
1533
|
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,23 @@ 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
|
+
#
|
1341
|
+
# @option params [Types::CapacityReservationSpecification] :capacity_reservation_specification
|
1342
|
+
# The capacity reservation specification for the Auto Scaling group.
|
1343
|
+
#
|
1315
1344
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1316
1345
|
#
|
1317
1346
|
#
|
@@ -1514,6 +1543,15 @@ module Aws::AutoScaling
|
|
1514
1543
|
# max: 1.0,
|
1515
1544
|
# },
|
1516
1545
|
# allowed_instance_types: ["AllowedInstanceType"],
|
1546
|
+
# baseline_performance_factors: {
|
1547
|
+
# cpu: {
|
1548
|
+
# references: [
|
1549
|
+
# {
|
1550
|
+
# instance_family: "String",
|
1551
|
+
# },
|
1552
|
+
# ],
|
1553
|
+
# },
|
1554
|
+
# },
|
1517
1555
|
# },
|
1518
1556
|
# },
|
1519
1557
|
# ],
|
@@ -1580,6 +1618,18 @@ module Aws::AutoScaling
|
|
1580
1618
|
# availability_zone_distribution: {
|
1581
1619
|
# capacity_distribution_strategy: "balanced-only", # accepts balanced-only, balanced-best-effort
|
1582
1620
|
# },
|
1621
|
+
# availability_zone_impairment_policy: {
|
1622
|
+
# zonal_shift_enabled: false,
|
1623
|
+
# impaired_zone_health_check_behavior: "ReplaceUnhealthy", # accepts ReplaceUnhealthy, IgnoreUnhealthy
|
1624
|
+
# },
|
1625
|
+
# skip_zonal_shift_validation: false,
|
1626
|
+
# capacity_reservation_specification: {
|
1627
|
+
# capacity_reservation_preference: "capacity-reservations-only", # accepts capacity-reservations-only, capacity-reservations-first, none, default
|
1628
|
+
# capacity_reservation_target: {
|
1629
|
+
# capacity_reservation_ids: ["AsciiStringMaxLen255"],
|
1630
|
+
# capacity_reservation_resource_group_arns: ["ResourceName"],
|
1631
|
+
# },
|
1632
|
+
# },
|
1583
1633
|
# })
|
1584
1634
|
#
|
1585
1635
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateAutoScalingGroup AWS API Documentation
|
@@ -2620,6 +2670,8 @@ module Aws::AutoScaling
|
|
2620
2670
|
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.network_bandwidth_gbps.max #=> Float
|
2621
2671
|
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.allowed_instance_types #=> Array
|
2622
2672
|
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.allowed_instance_types[0] #=> String
|
2673
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.baseline_performance_factors.cpu.references #=> Array
|
2674
|
+
# resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.baseline_performance_factors.cpu.references[0].instance_family #=> String
|
2623
2675
|
# resp.auto_scaling_groups[0].mixed_instances_policy.instances_distribution.on_demand_allocation_strategy #=> String
|
2624
2676
|
# resp.auto_scaling_groups[0].mixed_instances_policy.instances_distribution.on_demand_base_capacity #=> Integer
|
2625
2677
|
# resp.auto_scaling_groups[0].mixed_instances_policy.instances_distribution.on_demand_percentage_above_base_capacity #=> Integer
|
@@ -2688,6 +2740,13 @@ module Aws::AutoScaling
|
|
2688
2740
|
# resp.auto_scaling_groups[0].instance_maintenance_policy.min_healthy_percentage #=> Integer
|
2689
2741
|
# resp.auto_scaling_groups[0].instance_maintenance_policy.max_healthy_percentage #=> Integer
|
2690
2742
|
# resp.auto_scaling_groups[0].availability_zone_distribution.capacity_distribution_strategy #=> String, one of "balanced-only", "balanced-best-effort"
|
2743
|
+
# resp.auto_scaling_groups[0].availability_zone_impairment_policy.zonal_shift_enabled #=> Boolean
|
2744
|
+
# resp.auto_scaling_groups[0].availability_zone_impairment_policy.impaired_zone_health_check_behavior #=> String, one of "ReplaceUnhealthy", "IgnoreUnhealthy"
|
2745
|
+
# resp.auto_scaling_groups[0].capacity_reservation_specification.capacity_reservation_preference #=> String, one of "capacity-reservations-only", "capacity-reservations-first", "none", "default"
|
2746
|
+
# resp.auto_scaling_groups[0].capacity_reservation_specification.capacity_reservation_target.capacity_reservation_ids #=> Array
|
2747
|
+
# resp.auto_scaling_groups[0].capacity_reservation_specification.capacity_reservation_target.capacity_reservation_ids[0] #=> String
|
2748
|
+
# resp.auto_scaling_groups[0].capacity_reservation_specification.capacity_reservation_target.capacity_reservation_resource_group_arns #=> Array
|
2749
|
+
# resp.auto_scaling_groups[0].capacity_reservation_specification.capacity_reservation_target.capacity_reservation_resource_group_arns[0] #=> String
|
2691
2750
|
# resp.next_token #=> String
|
2692
2751
|
#
|
2693
2752
|
#
|
@@ -3024,6 +3083,8 @@ module Aws::AutoScaling
|
|
3024
3083
|
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.network_bandwidth_gbps.max #=> Float
|
3025
3084
|
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.allowed_instance_types #=> Array
|
3026
3085
|
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.allowed_instance_types[0] #=> String
|
3086
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.baseline_performance_factors.cpu.references #=> Array
|
3087
|
+
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.baseline_performance_factors.cpu.references[0].instance_family #=> String
|
3027
3088
|
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.instances_distribution.on_demand_allocation_strategy #=> String
|
3028
3089
|
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.instances_distribution.on_demand_base_capacity #=> Integer
|
3029
3090
|
# resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.instances_distribution.on_demand_percentage_above_base_capacity #=> Integer
|
@@ -6696,6 +6757,15 @@ module Aws::AutoScaling
|
|
6696
6757
|
# max: 1.0,
|
6697
6758
|
# },
|
6698
6759
|
# allowed_instance_types: ["AllowedInstanceType"],
|
6760
|
+
# baseline_performance_factors: {
|
6761
|
+
# cpu: {
|
6762
|
+
# references: [
|
6763
|
+
# {
|
6764
|
+
# instance_family: "String",
|
6765
|
+
# },
|
6766
|
+
# ],
|
6767
|
+
# },
|
6768
|
+
# },
|
6699
6769
|
# },
|
6700
6770
|
# },
|
6701
6771
|
# ],
|
@@ -7166,6 +7236,23 @@ module Aws::AutoScaling
|
|
7166
7236
|
# @option params [Types::AvailabilityZoneDistribution] :availability_zone_distribution
|
7167
7237
|
# The instance capacity distribution across Availability Zones.
|
7168
7238
|
#
|
7239
|
+
# @option params [Types::AvailabilityZoneImpairmentPolicy] :availability_zone_impairment_policy
|
7240
|
+
# The policy for Availability Zone impairment.
|
7241
|
+
#
|
7242
|
+
# @option params [Boolean] :skip_zonal_shift_validation
|
7243
|
+
# If you enable zonal shift with cross-zone disabled load balancers,
|
7244
|
+
# capacity could become imbalanced across Availability Zones. To skip
|
7245
|
+
# the validation, specify `true`. For more information, see [Auto
|
7246
|
+
# Scaling group zonal shift][1] in the *Amazon EC2 Auto Scaling User
|
7247
|
+
# Guide*.
|
7248
|
+
#
|
7249
|
+
#
|
7250
|
+
#
|
7251
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-zonal-shift.html
|
7252
|
+
#
|
7253
|
+
# @option params [Types::CapacityReservationSpecification] :capacity_reservation_specification
|
7254
|
+
# The capacity reservation specification for the Auto Scaling group.
|
7255
|
+
#
|
7169
7256
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
7170
7257
|
#
|
7171
7258
|
#
|
@@ -7262,6 +7349,15 @@ module Aws::AutoScaling
|
|
7262
7349
|
# max: 1.0,
|
7263
7350
|
# },
|
7264
7351
|
# allowed_instance_types: ["AllowedInstanceType"],
|
7352
|
+
# baseline_performance_factors: {
|
7353
|
+
# cpu: {
|
7354
|
+
# references: [
|
7355
|
+
# {
|
7356
|
+
# instance_family: "String",
|
7357
|
+
# },
|
7358
|
+
# ],
|
7359
|
+
# },
|
7360
|
+
# },
|
7265
7361
|
# },
|
7266
7362
|
# },
|
7267
7363
|
# ],
|
@@ -7299,6 +7395,18 @@ module Aws::AutoScaling
|
|
7299
7395
|
# availability_zone_distribution: {
|
7300
7396
|
# capacity_distribution_strategy: "balanced-only", # accepts balanced-only, balanced-best-effort
|
7301
7397
|
# },
|
7398
|
+
# availability_zone_impairment_policy: {
|
7399
|
+
# zonal_shift_enabled: false,
|
7400
|
+
# impaired_zone_health_check_behavior: "ReplaceUnhealthy", # accepts ReplaceUnhealthy, IgnoreUnhealthy
|
7401
|
+
# },
|
7402
|
+
# skip_zonal_shift_validation: false,
|
7403
|
+
# capacity_reservation_specification: {
|
7404
|
+
# capacity_reservation_preference: "capacity-reservations-only", # accepts capacity-reservations-only, capacity-reservations-first, none, default
|
7405
|
+
# capacity_reservation_target: {
|
7406
|
+
# capacity_reservation_ids: ["AsciiStringMaxLen255"],
|
7407
|
+
# capacity_reservation_resource_group_arns: ["ResourceName"],
|
7408
|
+
# },
|
7409
|
+
# },
|
7302
7410
|
# })
|
7303
7411
|
#
|
7304
7412
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroup AWS API Documentation
|
@@ -7328,7 +7436,7 @@ module Aws::AutoScaling
|
|
7328
7436
|
tracer: tracer
|
7329
7437
|
)
|
7330
7438
|
context[:gem_name] = 'aws-sdk-autoscaling'
|
7331
|
-
context[:gem_version] = '1.
|
7439
|
+
context[:gem_version] = '1.127.0'
|
7332
7440
|
Seahorse::Client::Request.new(handlers, context)
|
7333
7441
|
end
|
7334
7442
|
|
@@ -63,10 +63,12 @@ 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')
|
69
70
|
BaselineEbsBandwidthMbpsRequest = Shapes::StructureShape.new(name: 'BaselineEbsBandwidthMbpsRequest')
|
71
|
+
BaselinePerformanceFactorsRequest = Shapes::StructureShape.new(name: 'BaselinePerformanceFactorsRequest')
|
70
72
|
BatchDeleteScheduledActionAnswer = Shapes::StructureShape.new(name: 'BatchDeleteScheduledActionAnswer')
|
71
73
|
BatchDeleteScheduledActionType = Shapes::StructureShape.new(name: 'BatchDeleteScheduledActionType')
|
72
74
|
BatchPutScheduledUpdateGroupActionAnswer = Shapes::StructureShape.new(name: 'BatchPutScheduledUpdateGroupActionAnswer')
|
@@ -85,6 +87,11 @@ module Aws::AutoScaling
|
|
85
87
|
CapacityDistributionStrategy = Shapes::StringShape.new(name: 'CapacityDistributionStrategy')
|
86
88
|
CapacityForecast = Shapes::StructureShape.new(name: 'CapacityForecast')
|
87
89
|
CapacityRebalanceEnabled = Shapes::BooleanShape.new(name: 'CapacityRebalanceEnabled')
|
90
|
+
CapacityReservationIds = Shapes::ListShape.new(name: 'CapacityReservationIds')
|
91
|
+
CapacityReservationPreference = Shapes::StringShape.new(name: 'CapacityReservationPreference')
|
92
|
+
CapacityReservationResourceGroupArns = Shapes::ListShape.new(name: 'CapacityReservationResourceGroupArns')
|
93
|
+
CapacityReservationSpecification = Shapes::StructureShape.new(name: 'CapacityReservationSpecification')
|
94
|
+
CapacityReservationTarget = Shapes::StructureShape.new(name: 'CapacityReservationTarget')
|
88
95
|
CheckpointDelay = Shapes::IntegerShape.new(name: 'CheckpointDelay')
|
89
96
|
CheckpointPercentages = Shapes::ListShape.new(name: 'CheckpointPercentages')
|
90
97
|
ClassicLinkVPCSecurityGroups = Shapes::ListShape.new(name: 'ClassicLinkVPCSecurityGroups')
|
@@ -94,6 +101,7 @@ module Aws::AutoScaling
|
|
94
101
|
Cooldown = Shapes::IntegerShape.new(name: 'Cooldown')
|
95
102
|
CpuManufacturer = Shapes::StringShape.new(name: 'CpuManufacturer')
|
96
103
|
CpuManufacturers = Shapes::ListShape.new(name: 'CpuManufacturers')
|
104
|
+
CpuPerformanceFactorRequest = Shapes::StructureShape.new(name: 'CpuPerformanceFactorRequest')
|
97
105
|
CreateAutoScalingGroupType = Shapes::StructureShape.new(name: 'CreateAutoScalingGroupType')
|
98
106
|
CreateLaunchConfigurationType = Shapes::StructureShape.new(name: 'CreateLaunchConfigurationType')
|
99
107
|
CreateOrUpdateTagsType = Shapes::StructureShape.new(name: 'CreateOrUpdateTagsType')
|
@@ -168,6 +176,7 @@ module Aws::AutoScaling
|
|
168
176
|
HealthCheckGracePeriod = Shapes::IntegerShape.new(name: 'HealthCheckGracePeriod')
|
169
177
|
HeartbeatTimeout = Shapes::IntegerShape.new(name: 'HeartbeatTimeout')
|
170
178
|
HonorCooldown = Shapes::BooleanShape.new(name: 'HonorCooldown')
|
179
|
+
ImpairedZoneHealthCheckBehavior = Shapes::StringShape.new(name: 'ImpairedZoneHealthCheckBehavior')
|
171
180
|
IncludeDeletedGroups = Shapes::BooleanShape.new(name: 'IncludeDeletedGroups')
|
172
181
|
Instance = Shapes::StructureShape.new(name: 'Instance')
|
173
182
|
InstanceGeneration = Shapes::StringShape.new(name: 'InstanceGeneration')
|
@@ -275,6 +284,8 @@ module Aws::AutoScaling
|
|
275
284
|
OnDemandBaseCapacity = Shapes::IntegerShape.new(name: 'OnDemandBaseCapacity')
|
276
285
|
OnDemandPercentageAboveBaseCapacity = Shapes::IntegerShape.new(name: 'OnDemandPercentageAboveBaseCapacity')
|
277
286
|
Overrides = Shapes::ListShape.new(name: 'Overrides')
|
287
|
+
PerformanceFactorReferenceRequest = Shapes::StructureShape.new(name: 'PerformanceFactorReferenceRequest')
|
288
|
+
PerformanceFactorReferenceSetRequest = Shapes::ListShape.new(name: 'PerformanceFactorReferenceSetRequest')
|
278
289
|
PoliciesType = Shapes::StructureShape.new(name: 'PoliciesType')
|
279
290
|
PolicyARNType = Shapes::StructureShape.new(name: 'PolicyARNType')
|
280
291
|
PolicyIncrement = Shapes::IntegerShape.new(name: 'PolicyIncrement')
|
@@ -348,6 +359,7 @@ module Aws::AutoScaling
|
|
348
359
|
ShouldDecrementDesiredCapacity = Shapes::BooleanShape.new(name: 'ShouldDecrementDesiredCapacity')
|
349
360
|
ShouldRespectGracePeriod = Shapes::BooleanShape.new(name: 'ShouldRespectGracePeriod')
|
350
361
|
SkipMatching = Shapes::BooleanShape.new(name: 'SkipMatching')
|
362
|
+
SkipZonalShiftValidation = Shapes::BooleanShape.new(name: 'SkipZonalShiftValidation')
|
351
363
|
SpotInstancePools = Shapes::IntegerShape.new(name: 'SpotInstancePools')
|
352
364
|
SpotPrice = Shapes::StringShape.new(name: 'SpotPrice')
|
353
365
|
StandbyInstances = Shapes::StringShape.new(name: 'StandbyInstances')
|
@@ -355,6 +367,7 @@ module Aws::AutoScaling
|
|
355
367
|
StartInstanceRefreshType = Shapes::StructureShape.new(name: 'StartInstanceRefreshType')
|
356
368
|
StepAdjustment = Shapes::StructureShape.new(name: 'StepAdjustment')
|
357
369
|
StepAdjustments = Shapes::ListShape.new(name: 'StepAdjustments')
|
370
|
+
String = Shapes::StringShape.new(name: 'String')
|
358
371
|
SuspendedProcess = Shapes::StructureShape.new(name: 'SuspendedProcess')
|
359
372
|
SuspendedProcesses = Shapes::ListShape.new(name: 'SuspendedProcesses')
|
360
373
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
@@ -399,6 +412,7 @@ module Aws::AutoScaling
|
|
399
412
|
XmlStringMetricLabel = Shapes::StringShape.new(name: 'XmlStringMetricLabel')
|
400
413
|
XmlStringMetricStat = Shapes::StringShape.new(name: 'XmlStringMetricStat')
|
401
414
|
XmlStringUserData = Shapes::StringShape.new(name: 'XmlStringUserData')
|
415
|
+
ZonalShiftEnabled = Shapes::BooleanShape.new(name: 'ZonalShiftEnabled')
|
402
416
|
|
403
417
|
AcceleratorCountRequest.add_member(:min, Shapes::ShapeRef.new(shape: NullablePositiveInteger, location_name: "Min"))
|
404
418
|
AcceleratorCountRequest.add_member(:max, Shapes::ShapeRef.new(shape: NullablePositiveInteger, location_name: "Max"))
|
@@ -483,6 +497,7 @@ module Aws::AutoScaling
|
|
483
497
|
|
484
498
|
AttachTrafficSourcesType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
485
499
|
AttachTrafficSourcesType.add_member(:traffic_sources, Shapes::ShapeRef.new(shape: TrafficSources, required: true, location_name: "TrafficSources"))
|
500
|
+
AttachTrafficSourcesType.add_member(:skip_zonal_shift_validation, Shapes::ShapeRef.new(shape: SkipZonalShiftValidation, location_name: "SkipZonalShiftValidation"))
|
486
501
|
AttachTrafficSourcesType.struct_class = Types::AttachTrafficSourcesType
|
487
502
|
|
488
503
|
AutoScalingGroup.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
@@ -521,6 +536,8 @@ module Aws::AutoScaling
|
|
521
536
|
AutoScalingGroup.add_member(:traffic_sources, Shapes::ShapeRef.new(shape: TrafficSources, location_name: "TrafficSources"))
|
522
537
|
AutoScalingGroup.add_member(:instance_maintenance_policy, Shapes::ShapeRef.new(shape: InstanceMaintenancePolicy, location_name: "InstanceMaintenancePolicy"))
|
523
538
|
AutoScalingGroup.add_member(:availability_zone_distribution, Shapes::ShapeRef.new(shape: AvailabilityZoneDistribution, location_name: "AvailabilityZoneDistribution"))
|
539
|
+
AutoScalingGroup.add_member(:availability_zone_impairment_policy, Shapes::ShapeRef.new(shape: AvailabilityZoneImpairmentPolicy, location_name: "AvailabilityZoneImpairmentPolicy"))
|
540
|
+
AutoScalingGroup.add_member(:capacity_reservation_specification, Shapes::ShapeRef.new(shape: CapacityReservationSpecification, location_name: "CapacityReservationSpecification"))
|
524
541
|
AutoScalingGroup.struct_class = Types::AutoScalingGroup
|
525
542
|
|
526
543
|
AutoScalingGroupNames.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen255)
|
@@ -560,12 +577,19 @@ module Aws::AutoScaling
|
|
560
577
|
AvailabilityZoneDistribution.add_member(:capacity_distribution_strategy, Shapes::ShapeRef.new(shape: CapacityDistributionStrategy, location_name: "CapacityDistributionStrategy"))
|
561
578
|
AvailabilityZoneDistribution.struct_class = Types::AvailabilityZoneDistribution
|
562
579
|
|
580
|
+
AvailabilityZoneImpairmentPolicy.add_member(:zonal_shift_enabled, Shapes::ShapeRef.new(shape: ZonalShiftEnabled, location_name: "ZonalShiftEnabled"))
|
581
|
+
AvailabilityZoneImpairmentPolicy.add_member(:impaired_zone_health_check_behavior, Shapes::ShapeRef.new(shape: ImpairedZoneHealthCheckBehavior, location_name: "ImpairedZoneHealthCheckBehavior"))
|
582
|
+
AvailabilityZoneImpairmentPolicy.struct_class = Types::AvailabilityZoneImpairmentPolicy
|
583
|
+
|
563
584
|
AvailabilityZones.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen255)
|
564
585
|
|
565
586
|
BaselineEbsBandwidthMbpsRequest.add_member(:min, Shapes::ShapeRef.new(shape: NullablePositiveInteger, location_name: "Min"))
|
566
587
|
BaselineEbsBandwidthMbpsRequest.add_member(:max, Shapes::ShapeRef.new(shape: NullablePositiveInteger, location_name: "Max"))
|
567
588
|
BaselineEbsBandwidthMbpsRequest.struct_class = Types::BaselineEbsBandwidthMbpsRequest
|
568
589
|
|
590
|
+
BaselinePerformanceFactorsRequest.add_member(:cpu, Shapes::ShapeRef.new(shape: CpuPerformanceFactorRequest, location_name: "Cpu"))
|
591
|
+
BaselinePerformanceFactorsRequest.struct_class = Types::BaselinePerformanceFactorsRequest
|
592
|
+
|
569
593
|
BatchDeleteScheduledActionAnswer.add_member(:failed_scheduled_actions, Shapes::ShapeRef.new(shape: FailedScheduledUpdateGroupActionRequests, location_name: "FailedScheduledActions"))
|
570
594
|
BatchDeleteScheduledActionAnswer.struct_class = Types::BatchDeleteScheduledActionAnswer
|
571
595
|
|
@@ -598,6 +622,18 @@ module Aws::AutoScaling
|
|
598
622
|
CapacityForecast.add_member(:values, Shapes::ShapeRef.new(shape: PredictiveScalingForecastValues, required: true, location_name: "Values"))
|
599
623
|
CapacityForecast.struct_class = Types::CapacityForecast
|
600
624
|
|
625
|
+
CapacityReservationIds.member = Shapes::ShapeRef.new(shape: AsciiStringMaxLen255)
|
626
|
+
|
627
|
+
CapacityReservationResourceGroupArns.member = Shapes::ShapeRef.new(shape: ResourceName)
|
628
|
+
|
629
|
+
CapacityReservationSpecification.add_member(:capacity_reservation_preference, Shapes::ShapeRef.new(shape: CapacityReservationPreference, location_name: "CapacityReservationPreference"))
|
630
|
+
CapacityReservationSpecification.add_member(:capacity_reservation_target, Shapes::ShapeRef.new(shape: CapacityReservationTarget, location_name: "CapacityReservationTarget"))
|
631
|
+
CapacityReservationSpecification.struct_class = Types::CapacityReservationSpecification
|
632
|
+
|
633
|
+
CapacityReservationTarget.add_member(:capacity_reservation_ids, Shapes::ShapeRef.new(shape: CapacityReservationIds, location_name: "CapacityReservationIds"))
|
634
|
+
CapacityReservationTarget.add_member(:capacity_reservation_resource_group_arns, Shapes::ShapeRef.new(shape: CapacityReservationResourceGroupArns, location_name: "CapacityReservationResourceGroupArns"))
|
635
|
+
CapacityReservationTarget.struct_class = Types::CapacityReservationTarget
|
636
|
+
|
601
637
|
CheckpointPercentages.member = Shapes::ShapeRef.new(shape: NonZeroIntPercent)
|
602
638
|
|
603
639
|
ClassicLinkVPCSecurityGroups.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen255)
|
@@ -613,6 +649,9 @@ module Aws::AutoScaling
|
|
613
649
|
|
614
650
|
CpuManufacturers.member = Shapes::ShapeRef.new(shape: CpuManufacturer)
|
615
651
|
|
652
|
+
CpuPerformanceFactorRequest.add_member(:references, Shapes::ShapeRef.new(shape: PerformanceFactorReferenceSetRequest, location_name: "Reference"))
|
653
|
+
CpuPerformanceFactorRequest.struct_class = Types::CpuPerformanceFactorRequest
|
654
|
+
|
616
655
|
CreateAutoScalingGroupType.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
617
656
|
CreateAutoScalingGroupType.add_member(:launch_configuration_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, location_name: "LaunchConfigurationName"))
|
618
657
|
CreateAutoScalingGroupType.add_member(:launch_template, Shapes::ShapeRef.new(shape: LaunchTemplateSpecification, location_name: "LaunchTemplate"))
|
@@ -642,6 +681,9 @@ module Aws::AutoScaling
|
|
642
681
|
CreateAutoScalingGroupType.add_member(:traffic_sources, Shapes::ShapeRef.new(shape: TrafficSources, location_name: "TrafficSources"))
|
643
682
|
CreateAutoScalingGroupType.add_member(:instance_maintenance_policy, Shapes::ShapeRef.new(shape: InstanceMaintenancePolicy, location_name: "InstanceMaintenancePolicy"))
|
644
683
|
CreateAutoScalingGroupType.add_member(:availability_zone_distribution, Shapes::ShapeRef.new(shape: AvailabilityZoneDistribution, location_name: "AvailabilityZoneDistribution"))
|
684
|
+
CreateAutoScalingGroupType.add_member(:availability_zone_impairment_policy, Shapes::ShapeRef.new(shape: AvailabilityZoneImpairmentPolicy, location_name: "AvailabilityZoneImpairmentPolicy"))
|
685
|
+
CreateAutoScalingGroupType.add_member(:skip_zonal_shift_validation, Shapes::ShapeRef.new(shape: SkipZonalShiftValidation, location_name: "SkipZonalShiftValidation"))
|
686
|
+
CreateAutoScalingGroupType.add_member(:capacity_reservation_specification, Shapes::ShapeRef.new(shape: CapacityReservationSpecification, location_name: "CapacityReservationSpecification"))
|
645
687
|
CreateAutoScalingGroupType.struct_class = Types::CreateAutoScalingGroupType
|
646
688
|
|
647
689
|
CreateLaunchConfigurationType.add_member(:launch_configuration_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "LaunchConfigurationName"))
|
@@ -1011,6 +1053,7 @@ module Aws::AutoScaling
|
|
1011
1053
|
InstanceRequirements.add_member(:accelerator_total_memory_mi_b, Shapes::ShapeRef.new(shape: AcceleratorTotalMemoryMiBRequest, location_name: "AcceleratorTotalMemoryMiB"))
|
1012
1054
|
InstanceRequirements.add_member(:network_bandwidth_gbps, Shapes::ShapeRef.new(shape: NetworkBandwidthGbpsRequest, location_name: "NetworkBandwidthGbps"))
|
1013
1055
|
InstanceRequirements.add_member(:allowed_instance_types, Shapes::ShapeRef.new(shape: AllowedInstanceTypes, location_name: "AllowedInstanceTypes"))
|
1056
|
+
InstanceRequirements.add_member(:baseline_performance_factors, Shapes::ShapeRef.new(shape: BaselinePerformanceFactorsRequest, location_name: "BaselinePerformanceFactors"))
|
1014
1057
|
InstanceRequirements.struct_class = Types::InstanceRequirements
|
1015
1058
|
|
1016
1059
|
InstanceReusePolicy.add_member(:reuse_on_scale_in, Shapes::ShapeRef.new(shape: ReuseOnScaleIn, location_name: "ReuseOnScaleIn"))
|
@@ -1203,6 +1246,11 @@ module Aws::AutoScaling
|
|
1203
1246
|
|
1204
1247
|
Overrides.member = Shapes::ShapeRef.new(shape: LaunchTemplateOverrides)
|
1205
1248
|
|
1249
|
+
PerformanceFactorReferenceRequest.add_member(:instance_family, Shapes::ShapeRef.new(shape: String, location_name: "InstanceFamily"))
|
1250
|
+
PerformanceFactorReferenceRequest.struct_class = Types::PerformanceFactorReferenceRequest
|
1251
|
+
|
1252
|
+
PerformanceFactorReferenceSetRequest.member = Shapes::ShapeRef.new(shape: PerformanceFactorReferenceRequest, location_name: "item")
|
1253
|
+
|
1206
1254
|
PoliciesType.add_member(:scaling_policies, Shapes::ShapeRef.new(shape: ScalingPolicies, location_name: "ScalingPolicies"))
|
1207
1255
|
PoliciesType.add_member(:next_token, Shapes::ShapeRef.new(shape: XmlString, location_name: "NextToken"))
|
1208
1256
|
PoliciesType.struct_class = Types::PoliciesType
|
@@ -1561,6 +1609,9 @@ module Aws::AutoScaling
|
|
1561
1609
|
UpdateAutoScalingGroupType.add_member(:default_instance_warmup, Shapes::ShapeRef.new(shape: DefaultInstanceWarmup, location_name: "DefaultInstanceWarmup"))
|
1562
1610
|
UpdateAutoScalingGroupType.add_member(:instance_maintenance_policy, Shapes::ShapeRef.new(shape: InstanceMaintenancePolicy, location_name: "InstanceMaintenancePolicy"))
|
1563
1611
|
UpdateAutoScalingGroupType.add_member(:availability_zone_distribution, Shapes::ShapeRef.new(shape: AvailabilityZoneDistribution, location_name: "AvailabilityZoneDistribution"))
|
1612
|
+
UpdateAutoScalingGroupType.add_member(:availability_zone_impairment_policy, Shapes::ShapeRef.new(shape: AvailabilityZoneImpairmentPolicy, location_name: "AvailabilityZoneImpairmentPolicy"))
|
1613
|
+
UpdateAutoScalingGroupType.add_member(:skip_zonal_shift_validation, Shapes::ShapeRef.new(shape: SkipZonalShiftValidation, location_name: "SkipZonalShiftValidation"))
|
1614
|
+
UpdateAutoScalingGroupType.add_member(:capacity_reservation_specification, Shapes::ShapeRef.new(shape: CapacityReservationSpecification, location_name: "CapacityReservationSpecification"))
|
1564
1615
|
UpdateAutoScalingGroupType.struct_class = Types::UpdateAutoScalingGroupType
|
1565
1616
|
|
1566
1617
|
VCpuCountRequest.add_member(:min, Shapes::ShapeRef.new(shape: NullablePositiveInteger, required: true, location_name: "Min"))
|
@@ -113,6 +113,15 @@ module Aws::AutoScaling
|
|
113
113
|
# max: 1.0,
|
114
114
|
# },
|
115
115
|
# allowed_instance_types: ["AllowedInstanceType"],
|
116
|
+
# baseline_performance_factors: {
|
117
|
+
# cpu: {
|
118
|
+
# references: [
|
119
|
+
# {
|
120
|
+
# instance_family: "String",
|
121
|
+
# },
|
122
|
+
# ],
|
123
|
+
# },
|
124
|
+
# },
|
116
125
|
# },
|
117
126
|
# },
|
118
127
|
# ],
|
@@ -179,6 +188,18 @@ module Aws::AutoScaling
|
|
179
188
|
# availability_zone_distribution: {
|
180
189
|
# capacity_distribution_strategy: "balanced-only", # accepts balanced-only, balanced-best-effort
|
181
190
|
# },
|
191
|
+
# availability_zone_impairment_policy: {
|
192
|
+
# zonal_shift_enabled: false,
|
193
|
+
# impaired_zone_health_check_behavior: "ReplaceUnhealthy", # accepts ReplaceUnhealthy, IgnoreUnhealthy
|
194
|
+
# },
|
195
|
+
# skip_zonal_shift_validation: false,
|
196
|
+
# capacity_reservation_specification: {
|
197
|
+
# capacity_reservation_preference: "capacity-reservations-only", # accepts capacity-reservations-only, capacity-reservations-first, none, default
|
198
|
+
# capacity_reservation_target: {
|
199
|
+
# capacity_reservation_ids: ["AsciiStringMaxLen255"],
|
200
|
+
# capacity_reservation_resource_group_arns: ["ResourceName"],
|
201
|
+
# },
|
202
|
+
# },
|
182
203
|
# })
|
183
204
|
# @param [Hash] options ({})
|
184
205
|
# @option options [required, String] :auto_scaling_group_name
|
@@ -473,6 +494,20 @@ module Aws::AutoScaling
|
|
473
494
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-maintenance-policy.html
|
474
495
|
# @option options [Types::AvailabilityZoneDistribution] :availability_zone_distribution
|
475
496
|
# The instance capacity distribution across Availability Zones.
|
497
|
+
# @option options [Types::AvailabilityZoneImpairmentPolicy] :availability_zone_impairment_policy
|
498
|
+
# The policy for Availability Zone impairment.
|
499
|
+
# @option options [Boolean] :skip_zonal_shift_validation
|
500
|
+
# If you enable zonal shift with cross-zone disabled load balancers,
|
501
|
+
# capacity could become imbalanced across Availability Zones. To skip
|
502
|
+
# the validation, specify `true`. For more information, see [Auto
|
503
|
+
# Scaling group zonal shift][1] in the *Amazon EC2 Auto Scaling User
|
504
|
+
# Guide*.
|
505
|
+
#
|
506
|
+
#
|
507
|
+
#
|
508
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-zonal-shift.html
|
509
|
+
# @option options [Types::CapacityReservationSpecification] :capacity_reservation_specification
|
510
|
+
# The capacity reservation specification for the Auto Scaling group.
|
476
511
|
# @return [AutoScalingGroup]
|
477
512
|
def create_group(options = {})
|
478
513
|
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,14 @@ 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
|
+
#
|
515
|
+
# @!attribute [rw] capacity_reservation_specification
|
516
|
+
# The capacity reservation specification.
|
517
|
+
# @return [Types::CapacityReservationSpecification]
|
518
|
+
#
|
498
519
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AutoScalingGroup AWS API Documentation
|
499
520
|
#
|
500
521
|
class AutoScalingGroup < Struct.new(
|
@@ -533,7 +554,9 @@ module Aws::AutoScaling
|
|
533
554
|
:default_instance_warmup,
|
534
555
|
:traffic_sources,
|
535
556
|
:instance_maintenance_policy,
|
536
|
-
:availability_zone_distribution
|
557
|
+
:availability_zone_distribution,
|
558
|
+
:availability_zone_impairment_policy,
|
559
|
+
:capacity_reservation_specification)
|
537
560
|
SENSITIVE = []
|
538
561
|
include Aws::Structure
|
539
562
|
end
|
@@ -719,6 +742,35 @@ module Aws::AutoScaling
|
|
719
742
|
include Aws::Structure
|
720
743
|
end
|
721
744
|
|
745
|
+
# Describes an Availability Zone impairment policy.
|
746
|
+
#
|
747
|
+
# @!attribute [rw] zonal_shift_enabled
|
748
|
+
# If `true`, enable zonal shift for your Auto Scaling group.
|
749
|
+
# @return [Boolean]
|
750
|
+
#
|
751
|
+
# @!attribute [rw] impaired_zone_health_check_behavior
|
752
|
+
# Specifies the health check behavior for the impaired Availability
|
753
|
+
# Zone in an active zonal shift. If you select `Replace unhealthy`,
|
754
|
+
# instances that appear unhealthy will be replaced in all Availability
|
755
|
+
# Zones. If you select `Ignore unhealthy`, instances will not be
|
756
|
+
# replaced in the Availability Zone with the active zonal shift. For
|
757
|
+
# more information, see [Auto Scaling group zonal shift][1] in the
|
758
|
+
# *Amazon EC2 Auto Scaling User Guide*.
|
759
|
+
#
|
760
|
+
#
|
761
|
+
#
|
762
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-zonal-shift.html
|
763
|
+
# @return [String]
|
764
|
+
#
|
765
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AvailabilityZoneImpairmentPolicy AWS API Documentation
|
766
|
+
#
|
767
|
+
class AvailabilityZoneImpairmentPolicy < Struct.new(
|
768
|
+
:zonal_shift_enabled,
|
769
|
+
:impaired_zone_health_check_behavior)
|
770
|
+
SENSITIVE = []
|
771
|
+
include Aws::Structure
|
772
|
+
end
|
773
|
+
|
722
774
|
# Specifies the minimum and maximum for the `BaselineEbsBandwidthMbps`
|
723
775
|
# object when you specify [InstanceRequirements][1] for an Auto Scaling
|
724
776
|
# group.
|
@@ -744,6 +796,30 @@ module Aws::AutoScaling
|
|
744
796
|
include Aws::Structure
|
745
797
|
end
|
746
798
|
|
799
|
+
# The baseline performance to consider, using an instance family as a
|
800
|
+
# baseline reference. The instance family establishes the lowest
|
801
|
+
# acceptable level of performance. Auto Scaling uses this baseline to
|
802
|
+
# guide instance type selection, but there is no guarantee that the
|
803
|
+
# selected instance types will always exceed the baseline for every
|
804
|
+
# application.
|
805
|
+
#
|
806
|
+
# Currently, this parameter only supports CPU performance as a baseline
|
807
|
+
# performance factor. For example, specifying `c6i` uses the CPU
|
808
|
+
# performance of the `c6i` family as the baseline reference.
|
809
|
+
#
|
810
|
+
# @!attribute [rw] cpu
|
811
|
+
# The CPU performance to consider, using an instance family as the
|
812
|
+
# baseline reference.
|
813
|
+
# @return [Types::CpuPerformanceFactorRequest]
|
814
|
+
#
|
815
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/BaselinePerformanceFactorsRequest AWS API Documentation
|
816
|
+
#
|
817
|
+
class BaselinePerformanceFactorsRequest < Struct.new(
|
818
|
+
:cpu)
|
819
|
+
SENSITIVE = []
|
820
|
+
include Aws::Structure
|
821
|
+
end
|
822
|
+
|
747
823
|
# @!attribute [rw] failed_scheduled_actions
|
748
824
|
# The names of the scheduled actions that could not be deleted,
|
749
825
|
# including an error message.
|
@@ -902,6 +978,66 @@ module Aws::AutoScaling
|
|
902
978
|
include Aws::Structure
|
903
979
|
end
|
904
980
|
|
981
|
+
# Describes the Capacity Reservation preference and targeting options.
|
982
|
+
# If you specify `open` or `none` for `CapacityReservationPreference`,
|
983
|
+
# do not specify a `CapacityReservationTarget`.
|
984
|
+
#
|
985
|
+
# @!attribute [rw] capacity_reservation_preference
|
986
|
+
# The capacity reservation preference. The following options are
|
987
|
+
# available:
|
988
|
+
#
|
989
|
+
# * `capacity-reservations-only` - Auto Scaling will only launch
|
990
|
+
# instances into a Capacity Reservation or Capacity Reservation
|
991
|
+
# resource group. If capacity isn't available, instances will fail
|
992
|
+
# to launch.
|
993
|
+
#
|
994
|
+
# * `capacity-reservations-first` - Auto Scaling will try to launch
|
995
|
+
# instances into a Capacity Reservation or Capacity Reservation
|
996
|
+
# resource group first. If capacity isn't available, instances will
|
997
|
+
# run in On-Demand capacity.
|
998
|
+
#
|
999
|
+
# * `none` - Auto Scaling will not launch instances into a Capacity
|
1000
|
+
# Reservation. Instances will run in On-Demand capacity.
|
1001
|
+
#
|
1002
|
+
# * `default` - Auto Scaling uses the Capacity Reservation preference
|
1003
|
+
# from your launch template or an open Capacity Reservation.
|
1004
|
+
# @return [String]
|
1005
|
+
#
|
1006
|
+
# @!attribute [rw] capacity_reservation_target
|
1007
|
+
# Describes a target Capacity Reservation or Capacity Reservation
|
1008
|
+
# resource group.
|
1009
|
+
# @return [Types::CapacityReservationTarget]
|
1010
|
+
#
|
1011
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CapacityReservationSpecification AWS API Documentation
|
1012
|
+
#
|
1013
|
+
class CapacityReservationSpecification < Struct.new(
|
1014
|
+
:capacity_reservation_preference,
|
1015
|
+
:capacity_reservation_target)
|
1016
|
+
SENSITIVE = []
|
1017
|
+
include Aws::Structure
|
1018
|
+
end
|
1019
|
+
|
1020
|
+
# The target for the Capacity Reservation. Specify Capacity Reservations
|
1021
|
+
# IDs or Capacity Reservation resource group ARNs.
|
1022
|
+
#
|
1023
|
+
# @!attribute [rw] capacity_reservation_ids
|
1024
|
+
# The Capacity Reservation IDs to launch instances into.
|
1025
|
+
# @return [Array<String>]
|
1026
|
+
#
|
1027
|
+
# @!attribute [rw] capacity_reservation_resource_group_arns
|
1028
|
+
# The resource group ARNs of the Capacity Reservation to launch
|
1029
|
+
# instances into.
|
1030
|
+
# @return [Array<String>]
|
1031
|
+
#
|
1032
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CapacityReservationTarget AWS API Documentation
|
1033
|
+
#
|
1034
|
+
class CapacityReservationTarget < Struct.new(
|
1035
|
+
:capacity_reservation_ids,
|
1036
|
+
:capacity_reservation_resource_group_arns)
|
1037
|
+
SENSITIVE = []
|
1038
|
+
include Aws::Structure
|
1039
|
+
end
|
1040
|
+
|
905
1041
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CompleteLifecycleActionAnswer AWS API Documentation
|
906
1042
|
#
|
907
1043
|
class CompleteLifecycleActionAnswer < Aws::EmptyStructure; end
|
@@ -942,6 +1078,29 @@ module Aws::AutoScaling
|
|
942
1078
|
include Aws::Structure
|
943
1079
|
end
|
944
1080
|
|
1081
|
+
# The CPU performance to consider, using an instance family as the
|
1082
|
+
# baseline reference.
|
1083
|
+
#
|
1084
|
+
# @!attribute [rw] references
|
1085
|
+
# Specify an instance family to use as the baseline reference for CPU
|
1086
|
+
# performance. All instance types that match your specified attributes
|
1087
|
+
# will be compared against the CPU performance of the referenced
|
1088
|
+
# instance family, regardless of CPU manufacturer or architecture
|
1089
|
+
# differences.
|
1090
|
+
#
|
1091
|
+
# <note markdown="1"> Currently only one instance family can be specified in the list.
|
1092
|
+
#
|
1093
|
+
# </note>
|
1094
|
+
# @return [Array<Types::PerformanceFactorReferenceRequest>]
|
1095
|
+
#
|
1096
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CpuPerformanceFactorRequest AWS API Documentation
|
1097
|
+
#
|
1098
|
+
class CpuPerformanceFactorRequest < Struct.new(
|
1099
|
+
:references)
|
1100
|
+
SENSITIVE = []
|
1101
|
+
include Aws::Structure
|
1102
|
+
end
|
1103
|
+
|
945
1104
|
# @!attribute [rw] auto_scaling_group_name
|
946
1105
|
# The name of the Auto Scaling group. This name must be unique per
|
947
1106
|
# Region per account.
|
@@ -1295,6 +1454,26 @@ module Aws::AutoScaling
|
|
1295
1454
|
# The instance capacity distribution across Availability Zones.
|
1296
1455
|
# @return [Types::AvailabilityZoneDistribution]
|
1297
1456
|
#
|
1457
|
+
# @!attribute [rw] availability_zone_impairment_policy
|
1458
|
+
# The policy for Availability Zone impairment.
|
1459
|
+
# @return [Types::AvailabilityZoneImpairmentPolicy]
|
1460
|
+
#
|
1461
|
+
# @!attribute [rw] skip_zonal_shift_validation
|
1462
|
+
# If you enable zonal shift with cross-zone disabled load balancers,
|
1463
|
+
# capacity could become imbalanced across Availability Zones. To skip
|
1464
|
+
# the validation, specify `true`. For more information, see [Auto
|
1465
|
+
# Scaling group zonal shift][1] in the *Amazon EC2 Auto Scaling User
|
1466
|
+
# Guide*.
|
1467
|
+
#
|
1468
|
+
#
|
1469
|
+
#
|
1470
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-zonal-shift.html
|
1471
|
+
# @return [Boolean]
|
1472
|
+
#
|
1473
|
+
# @!attribute [rw] capacity_reservation_specification
|
1474
|
+
# The capacity reservation specification for the Auto Scaling group.
|
1475
|
+
# @return [Types::CapacityReservationSpecification]
|
1476
|
+
#
|
1298
1477
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateAutoScalingGroupType AWS API Documentation
|
1299
1478
|
#
|
1300
1479
|
class CreateAutoScalingGroupType < Struct.new(
|
@@ -1326,7 +1505,10 @@ module Aws::AutoScaling
|
|
1326
1505
|
:default_instance_warmup,
|
1327
1506
|
:traffic_sources,
|
1328
1507
|
:instance_maintenance_policy,
|
1329
|
-
:availability_zone_distribution
|
1508
|
+
:availability_zone_distribution,
|
1509
|
+
:availability_zone_impairment_policy,
|
1510
|
+
:skip_zonal_shift_validation,
|
1511
|
+
:capacity_reservation_specification)
|
1330
1512
|
SENSITIVE = []
|
1331
1513
|
include Aws::Structure
|
1332
1514
|
end
|
@@ -3937,6 +4119,10 @@ module Aws::AutoScaling
|
|
3937
4119
|
# Default: All instance types
|
3938
4120
|
# @return [Array<String>]
|
3939
4121
|
#
|
4122
|
+
# @!attribute [rw] baseline_performance_factors
|
4123
|
+
# The baseline performance factors for the instance requirements.
|
4124
|
+
# @return [Types::BaselinePerformanceFactorsRequest]
|
4125
|
+
#
|
3940
4126
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/InstanceRequirements AWS API Documentation
|
3941
4127
|
#
|
3942
4128
|
class InstanceRequirements < Struct.new(
|
@@ -3963,7 +4149,8 @@ module Aws::AutoScaling
|
|
3963
4149
|
:accelerator_names,
|
3964
4150
|
:accelerator_total_memory_mi_b,
|
3965
4151
|
:network_bandwidth_gbps,
|
3966
|
-
:allowed_instance_types
|
4152
|
+
:allowed_instance_types,
|
4153
|
+
:baseline_performance_factors)
|
3967
4154
|
SENSITIVE = []
|
3968
4155
|
include Aws::Structure
|
3969
4156
|
end
|
@@ -5329,6 +5516,68 @@ module Aws::AutoScaling
|
|
5329
5516
|
include Aws::Structure
|
5330
5517
|
end
|
5331
5518
|
|
5519
|
+
# Specify an instance family to use as the baseline reference for CPU
|
5520
|
+
# performance. All instance types that All instance types that match
|
5521
|
+
# your specified attributes will be compared against the CPU performance
|
5522
|
+
# of the referenced instance family, regardless of CPU manufacturer or
|
5523
|
+
# architecture differences.
|
5524
|
+
#
|
5525
|
+
# <note markdown="1"> Currently only one instance family can be specified in the list.
|
5526
|
+
#
|
5527
|
+
# </note>
|
5528
|
+
#
|
5529
|
+
# @!attribute [rw] instance_family
|
5530
|
+
# The instance family to use as a baseline reference.
|
5531
|
+
#
|
5532
|
+
# <note markdown="1"> Make sure that you specify the correct value for the instance
|
5533
|
+
# family. The instance family is everything before the period (.) in
|
5534
|
+
# the instance type name. For example, in the instance `c6i.large`,
|
5535
|
+
# the instance family is `c6i`, not `c6`. For more information, see
|
5536
|
+
# [Amazon EC2 instance type naming conventions][1] in *Amazon EC2
|
5537
|
+
# Instance Types*.
|
5538
|
+
#
|
5539
|
+
# </note>
|
5540
|
+
#
|
5541
|
+
# The following instance types are *not supported* for performance
|
5542
|
+
# protection.
|
5543
|
+
#
|
5544
|
+
# * `c1`
|
5545
|
+
#
|
5546
|
+
# * `g3| g3s`
|
5547
|
+
#
|
5548
|
+
# * `hpc7g`
|
5549
|
+
#
|
5550
|
+
# * `m1| m2`
|
5551
|
+
#
|
5552
|
+
# * `mac1 | mac2 | mac2-m1ultra | mac2-m2 | mac2-m2pro`
|
5553
|
+
#
|
5554
|
+
# * `p3dn | p4d | p5`
|
5555
|
+
#
|
5556
|
+
# * `t1`
|
5557
|
+
#
|
5558
|
+
# * `u-12tb1 | u-18tb1 | u-24tb1 | u-3tb1 | u-6tb1 | u-9tb1 | u7i-12tb
|
5559
|
+
# | u7in-16tb | u7in-24tb | u7in-32tb`
|
5560
|
+
#
|
5561
|
+
# If you performance protection by specifying a supported instance
|
5562
|
+
# family, the returned instance types will exclude the preceding
|
5563
|
+
# unsupported instance families.
|
5564
|
+
#
|
5565
|
+
# If you specify an unsupported instance family as a value for
|
5566
|
+
# baseline performance, the API returns an empty response.
|
5567
|
+
#
|
5568
|
+
#
|
5569
|
+
#
|
5570
|
+
# [1]: https://docs.aws.amazon.com/ec2/latest/instancetypes/instance-type-names.html
|
5571
|
+
# @return [String]
|
5572
|
+
#
|
5573
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PerformanceFactorReferenceRequest AWS API Documentation
|
5574
|
+
#
|
5575
|
+
class PerformanceFactorReferenceRequest < Struct.new(
|
5576
|
+
:instance_family)
|
5577
|
+
SENSITIVE = []
|
5578
|
+
include Aws::Structure
|
5579
|
+
end
|
5580
|
+
|
5332
5581
|
# @!attribute [rw] scaling_policies
|
5333
5582
|
# The scaling policies.
|
5334
5583
|
# @return [Array<Types::ScalingPolicy>]
|
@@ -7942,6 +8191,26 @@ module Aws::AutoScaling
|
|
7942
8191
|
# The instance capacity distribution across Availability Zones.
|
7943
8192
|
# @return [Types::AvailabilityZoneDistribution]
|
7944
8193
|
#
|
8194
|
+
# @!attribute [rw] availability_zone_impairment_policy
|
8195
|
+
# The policy for Availability Zone impairment.
|
8196
|
+
# @return [Types::AvailabilityZoneImpairmentPolicy]
|
8197
|
+
#
|
8198
|
+
# @!attribute [rw] skip_zonal_shift_validation
|
8199
|
+
# If you enable zonal shift with cross-zone disabled load balancers,
|
8200
|
+
# capacity could become imbalanced across Availability Zones. To skip
|
8201
|
+
# the validation, specify `true`. For more information, see [Auto
|
8202
|
+
# Scaling group zonal shift][1] in the *Amazon EC2 Auto Scaling User
|
8203
|
+
# Guide*.
|
8204
|
+
#
|
8205
|
+
#
|
8206
|
+
#
|
8207
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-zonal-shift.html
|
8208
|
+
# @return [Boolean]
|
8209
|
+
#
|
8210
|
+
# @!attribute [rw] capacity_reservation_specification
|
8211
|
+
# The capacity reservation specification for the Auto Scaling group.
|
8212
|
+
# @return [Types::CapacityReservationSpecification]
|
8213
|
+
#
|
7945
8214
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroupType AWS API Documentation
|
7946
8215
|
#
|
7947
8216
|
class UpdateAutoScalingGroupType < Struct.new(
|
@@ -7967,7 +8236,10 @@ module Aws::AutoScaling
|
|
7967
8236
|
:desired_capacity_type,
|
7968
8237
|
:default_instance_warmup,
|
7969
8238
|
:instance_maintenance_policy,
|
7970
|
-
:availability_zone_distribution
|
8239
|
+
:availability_zone_distribution,
|
8240
|
+
:availability_zone_impairment_policy,
|
8241
|
+
:skip_zonal_shift_validation,
|
8242
|
+
:capacity_reservation_specification)
|
7971
8243
|
SENSITIVE = []
|
7972
8244
|
include Aws::Structure
|
7973
8245
|
end
|
data/lib/aws-sdk-autoscaling.rb
CHANGED
data/sig/auto_scaling_group.rbs
CHANGED
@@ -117,6 +117,12 @@ 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
|
+
|
123
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#capacity_reservation_specification-instance_method
|
124
|
+
def capacity_reservation_specification: () -> Types::CapacityReservationSpecification
|
125
|
+
|
120
126
|
def client: () -> Client
|
121
127
|
|
122
128
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/AutoScaling/AutoScalingGroup.html#load-instance_method
|
@@ -444,7 +450,16 @@ module Aws
|
|
444
450
|
min: ::Float?,
|
445
451
|
max: ::Float?
|
446
452
|
}?,
|
447
|
-
allowed_instance_types: Array[::String]
|
453
|
+
allowed_instance_types: Array[::String]?,
|
454
|
+
baseline_performance_factors: {
|
455
|
+
cpu: {
|
456
|
+
references: Array[
|
457
|
+
{
|
458
|
+
instance_family: ::String?
|
459
|
+
},
|
460
|
+
]?
|
461
|
+
}?
|
462
|
+
}?
|
448
463
|
}?
|
449
464
|
},
|
450
465
|
]?
|
@@ -481,6 +496,18 @@ module Aws
|
|
481
496
|
},
|
482
497
|
?availability_zone_distribution: {
|
483
498
|
capacity_distribution_strategy: ("balanced-only" | "balanced-best-effort")?
|
499
|
+
},
|
500
|
+
?availability_zone_impairment_policy: {
|
501
|
+
zonal_shift_enabled: bool?,
|
502
|
+
impaired_zone_health_check_behavior: ("ReplaceUnhealthy" | "IgnoreUnhealthy")?
|
503
|
+
},
|
504
|
+
?skip_zonal_shift_validation: bool,
|
505
|
+
?capacity_reservation_specification: {
|
506
|
+
capacity_reservation_preference: ("capacity-reservations-only" | "capacity-reservations-first" | "none" | "default")?,
|
507
|
+
capacity_reservation_target: {
|
508
|
+
capacity_reservation_ids: Array[::String]?,
|
509
|
+
capacity_reservation_resource_group_arns: Array[::String]?
|
510
|
+
}?
|
484
511
|
}
|
485
512
|
) -> AutoScalingGroup
|
486
513
|
| (?Hash[Symbol, untyped]) -> AutoScalingGroup
|
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
|
|
@@ -249,7 +250,16 @@ module Aws
|
|
249
250
|
min: ::Float?,
|
250
251
|
max: ::Float?
|
251
252
|
}?,
|
252
|
-
allowed_instance_types: Array[::String]
|
253
|
+
allowed_instance_types: Array[::String]?,
|
254
|
+
baseline_performance_factors: {
|
255
|
+
cpu: {
|
256
|
+
references: Array[
|
257
|
+
{
|
258
|
+
instance_family: ::String?
|
259
|
+
},
|
260
|
+
]?
|
261
|
+
}?
|
262
|
+
}?
|
253
263
|
}?
|
254
264
|
},
|
255
265
|
]?
|
@@ -315,6 +325,18 @@ module Aws
|
|
315
325
|
},
|
316
326
|
?availability_zone_distribution: {
|
317
327
|
capacity_distribution_strategy: ("balanced-only" | "balanced-best-effort")?
|
328
|
+
},
|
329
|
+
?availability_zone_impairment_policy: {
|
330
|
+
zonal_shift_enabled: bool?,
|
331
|
+
impaired_zone_health_check_behavior: ("ReplaceUnhealthy" | "IgnoreUnhealthy")?
|
332
|
+
},
|
333
|
+
?skip_zonal_shift_validation: bool,
|
334
|
+
?capacity_reservation_specification: {
|
335
|
+
capacity_reservation_preference: ("capacity-reservations-only" | "capacity-reservations-first" | "none" | "default")?,
|
336
|
+
capacity_reservation_target: {
|
337
|
+
capacity_reservation_ids: Array[::String]?,
|
338
|
+
capacity_reservation_resource_group_arns: Array[::String]?
|
339
|
+
}?
|
318
340
|
}
|
319
341
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
320
342
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
@@ -1173,7 +1195,16 @@ module Aws
|
|
1173
1195
|
min: ::Float?,
|
1174
1196
|
max: ::Float?
|
1175
1197
|
}?,
|
1176
|
-
allowed_instance_types: Array[::String]
|
1198
|
+
allowed_instance_types: Array[::String]?,
|
1199
|
+
baseline_performance_factors: {
|
1200
|
+
cpu: {
|
1201
|
+
references: Array[
|
1202
|
+
{
|
1203
|
+
instance_family: ::String?
|
1204
|
+
},
|
1205
|
+
]?
|
1206
|
+
}?
|
1207
|
+
}?
|
1177
1208
|
}?
|
1178
1209
|
},
|
1179
1210
|
]?
|
@@ -1300,7 +1331,16 @@ module Aws
|
|
1300
1331
|
min: ::Float?,
|
1301
1332
|
max: ::Float?
|
1302
1333
|
}?,
|
1303
|
-
allowed_instance_types: Array[::String]
|
1334
|
+
allowed_instance_types: Array[::String]?,
|
1335
|
+
baseline_performance_factors: {
|
1336
|
+
cpu: {
|
1337
|
+
references: Array[
|
1338
|
+
{
|
1339
|
+
instance_family: ::String?
|
1340
|
+
},
|
1341
|
+
]?
|
1342
|
+
}?
|
1343
|
+
}?
|
1304
1344
|
}?
|
1305
1345
|
},
|
1306
1346
|
]?
|
@@ -1337,6 +1377,18 @@ module Aws
|
|
1337
1377
|
},
|
1338
1378
|
?availability_zone_distribution: {
|
1339
1379
|
capacity_distribution_strategy: ("balanced-only" | "balanced-best-effort")?
|
1380
|
+
},
|
1381
|
+
?availability_zone_impairment_policy: {
|
1382
|
+
zonal_shift_enabled: bool?,
|
1383
|
+
impaired_zone_health_check_behavior: ("ReplaceUnhealthy" | "IgnoreUnhealthy")?
|
1384
|
+
},
|
1385
|
+
?skip_zonal_shift_validation: bool,
|
1386
|
+
?capacity_reservation_specification: {
|
1387
|
+
capacity_reservation_preference: ("capacity-reservations-only" | "capacity-reservations-first" | "none" | "default")?,
|
1388
|
+
capacity_reservation_target: {
|
1389
|
+
capacity_reservation_ids: Array[::String]?,
|
1390
|
+
capacity_reservation_resource_group_arns: Array[::String]?
|
1391
|
+
}?
|
1340
1392
|
}
|
1341
1393
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1342
1394
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
data/sig/resource.rbs
CHANGED
@@ -153,7 +153,16 @@ module Aws
|
|
153
153
|
min: ::Float?,
|
154
154
|
max: ::Float?
|
155
155
|
}?,
|
156
|
-
allowed_instance_types: Array[::String]
|
156
|
+
allowed_instance_types: Array[::String]?,
|
157
|
+
baseline_performance_factors: {
|
158
|
+
cpu: {
|
159
|
+
references: Array[
|
160
|
+
{
|
161
|
+
instance_family: ::String?
|
162
|
+
},
|
163
|
+
]?
|
164
|
+
}?
|
165
|
+
}?
|
157
166
|
}?
|
158
167
|
},
|
159
168
|
]?
|
@@ -219,6 +228,18 @@ module Aws
|
|
219
228
|
},
|
220
229
|
?availability_zone_distribution: {
|
221
230
|
capacity_distribution_strategy: ("balanced-only" | "balanced-best-effort")?
|
231
|
+
},
|
232
|
+
?availability_zone_impairment_policy: {
|
233
|
+
zonal_shift_enabled: bool?,
|
234
|
+
impaired_zone_health_check_behavior: ("ReplaceUnhealthy" | "IgnoreUnhealthy")?
|
235
|
+
},
|
236
|
+
?skip_zonal_shift_validation: bool,
|
237
|
+
?capacity_reservation_specification: {
|
238
|
+
capacity_reservation_preference: ("capacity-reservations-only" | "capacity-reservations-first" | "none" | "default")?,
|
239
|
+
capacity_reservation_target: {
|
240
|
+
capacity_reservation_ids: Array[::String]?,
|
241
|
+
capacity_reservation_resource_group_arns: Array[::String]?
|
242
|
+
}?
|
222
243
|
}
|
223
244
|
) -> AutoScalingGroup
|
224
245
|
| (?Hash[Symbol, untyped]) -> AutoScalingGroup
|
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,8 @@ 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
|
148
|
+
attr_accessor capacity_reservation_specification: Types::CapacityReservationSpecification
|
146
149
|
SENSITIVE: []
|
147
150
|
end
|
148
151
|
|
@@ -185,12 +188,23 @@ module Aws::AutoScaling
|
|
185
188
|
SENSITIVE: []
|
186
189
|
end
|
187
190
|
|
191
|
+
class AvailabilityZoneImpairmentPolicy
|
192
|
+
attr_accessor zonal_shift_enabled: bool
|
193
|
+
attr_accessor impaired_zone_health_check_behavior: ("ReplaceUnhealthy" | "IgnoreUnhealthy")
|
194
|
+
SENSITIVE: []
|
195
|
+
end
|
196
|
+
|
188
197
|
class BaselineEbsBandwidthMbpsRequest
|
189
198
|
attr_accessor min: ::Integer
|
190
199
|
attr_accessor max: ::Integer
|
191
200
|
SENSITIVE: []
|
192
201
|
end
|
193
202
|
|
203
|
+
class BaselinePerformanceFactorsRequest
|
204
|
+
attr_accessor cpu: Types::CpuPerformanceFactorRequest
|
205
|
+
SENSITIVE: []
|
206
|
+
end
|
207
|
+
|
194
208
|
class BatchDeleteScheduledActionAnswer
|
195
209
|
attr_accessor failed_scheduled_actions: ::Array[Types::FailedScheduledUpdateGroupActionRequest]
|
196
210
|
SENSITIVE: []
|
@@ -237,6 +251,18 @@ module Aws::AutoScaling
|
|
237
251
|
SENSITIVE: []
|
238
252
|
end
|
239
253
|
|
254
|
+
class CapacityReservationSpecification
|
255
|
+
attr_accessor capacity_reservation_preference: ("capacity-reservations-only" | "capacity-reservations-first" | "none" | "default")
|
256
|
+
attr_accessor capacity_reservation_target: Types::CapacityReservationTarget
|
257
|
+
SENSITIVE: []
|
258
|
+
end
|
259
|
+
|
260
|
+
class CapacityReservationTarget
|
261
|
+
attr_accessor capacity_reservation_ids: ::Array[::String]
|
262
|
+
attr_accessor capacity_reservation_resource_group_arns: ::Array[::String]
|
263
|
+
SENSITIVE: []
|
264
|
+
end
|
265
|
+
|
240
266
|
class CompleteLifecycleActionAnswer < Aws::EmptyStructure
|
241
267
|
end
|
242
268
|
|
@@ -249,6 +275,11 @@ module Aws::AutoScaling
|
|
249
275
|
SENSITIVE: []
|
250
276
|
end
|
251
277
|
|
278
|
+
class CpuPerformanceFactorRequest
|
279
|
+
attr_accessor references: ::Array[Types::PerformanceFactorReferenceRequest]
|
280
|
+
SENSITIVE: []
|
281
|
+
end
|
282
|
+
|
252
283
|
class CreateAutoScalingGroupType
|
253
284
|
attr_accessor auto_scaling_group_name: ::String
|
254
285
|
attr_accessor launch_configuration_name: ::String
|
@@ -279,6 +310,9 @@ module Aws::AutoScaling
|
|
279
310
|
attr_accessor traffic_sources: ::Array[Types::TrafficSourceIdentifier]
|
280
311
|
attr_accessor instance_maintenance_policy: Types::InstanceMaintenancePolicy
|
281
312
|
attr_accessor availability_zone_distribution: Types::AvailabilityZoneDistribution
|
313
|
+
attr_accessor availability_zone_impairment_policy: Types::AvailabilityZoneImpairmentPolicy
|
314
|
+
attr_accessor skip_zonal_shift_validation: bool
|
315
|
+
attr_accessor capacity_reservation_specification: Types::CapacityReservationSpecification
|
282
316
|
SENSITIVE: []
|
283
317
|
end
|
284
318
|
|
@@ -765,6 +799,7 @@ module Aws::AutoScaling
|
|
765
799
|
attr_accessor accelerator_total_memory_mi_b: Types::AcceleratorTotalMemoryMiBRequest
|
766
800
|
attr_accessor network_bandwidth_gbps: Types::NetworkBandwidthGbpsRequest
|
767
801
|
attr_accessor allowed_instance_types: ::Array[::String]
|
802
|
+
attr_accessor baseline_performance_factors: Types::BaselinePerformanceFactorsRequest
|
768
803
|
SENSITIVE: []
|
769
804
|
end
|
770
805
|
|
@@ -980,6 +1015,11 @@ module Aws::AutoScaling
|
|
980
1015
|
SENSITIVE: []
|
981
1016
|
end
|
982
1017
|
|
1018
|
+
class PerformanceFactorReferenceRequest
|
1019
|
+
attr_accessor instance_family: ::String
|
1020
|
+
SENSITIVE: []
|
1021
|
+
end
|
1022
|
+
|
983
1023
|
class PoliciesType
|
984
1024
|
attr_accessor scaling_policies: ::Array[Types::ScalingPolicy]
|
985
1025
|
attr_accessor next_token: ::String
|
@@ -1399,6 +1439,9 @@ module Aws::AutoScaling
|
|
1399
1439
|
attr_accessor default_instance_warmup: ::Integer
|
1400
1440
|
attr_accessor instance_maintenance_policy: Types::InstanceMaintenancePolicy
|
1401
1441
|
attr_accessor availability_zone_distribution: Types::AvailabilityZoneDistribution
|
1442
|
+
attr_accessor availability_zone_impairment_policy: Types::AvailabilityZoneImpairmentPolicy
|
1443
|
+
attr_accessor skip_zonal_shift_validation: bool
|
1444
|
+
attr_accessor capacity_reservation_specification: Types::CapacityReservationSpecification
|
1402
1445
|
SENSITIVE: []
|
1403
1446
|
end
|
1404
1447
|
|
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.127.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-
|
11
|
+
date: 2024-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|