aws-sdk-autoscaling 1.61.0 → 1.65.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-autoscaling.rb +1 -1
- data/lib/aws-sdk-autoscaling/auto_scaling_group.rb +32 -17
- data/lib/aws-sdk-autoscaling/client.rb +182 -68
- data/lib/aws-sdk-autoscaling/client_api.rb +6 -0
- data/lib/aws-sdk-autoscaling/load_balancer.rb +5 -5
- data/lib/aws-sdk-autoscaling/resource.rb +32 -19
- data/lib/aws-sdk-autoscaling/types.rb +144 -114
- metadata +4 -4
@@ -53,6 +53,7 @@ module Aws::AutoScaling
|
|
53
53
|
BlockDeviceEbsDeleteOnTermination = Shapes::BooleanShape.new(name: 'BlockDeviceEbsDeleteOnTermination')
|
54
54
|
BlockDeviceEbsEncrypted = Shapes::BooleanShape.new(name: 'BlockDeviceEbsEncrypted')
|
55
55
|
BlockDeviceEbsIops = Shapes::IntegerShape.new(name: 'BlockDeviceEbsIops')
|
56
|
+
BlockDeviceEbsThroughput = Shapes::IntegerShape.new(name: 'BlockDeviceEbsThroughput')
|
56
57
|
BlockDeviceEbsVolumeSize = Shapes::IntegerShape.new(name: 'BlockDeviceEbsVolumeSize')
|
57
58
|
BlockDeviceEbsVolumeType = Shapes::StringShape.new(name: 'BlockDeviceEbsVolumeType')
|
58
59
|
BlockDeviceMapping = Shapes::StructureShape.new(name: 'BlockDeviceMapping')
|
@@ -66,6 +67,7 @@ module Aws::AutoScaling
|
|
66
67
|
ClassicLinkVPCSecurityGroups = Shapes::ListShape.new(name: 'ClassicLinkVPCSecurityGroups')
|
67
68
|
CompleteLifecycleActionAnswer = Shapes::StructureShape.new(name: 'CompleteLifecycleActionAnswer')
|
68
69
|
CompleteLifecycleActionType = Shapes::StructureShape.new(name: 'CompleteLifecycleActionType')
|
70
|
+
Context = Shapes::StringShape.new(name: 'Context')
|
69
71
|
Cooldown = Shapes::IntegerShape.new(name: 'Cooldown')
|
70
72
|
CreateAutoScalingGroupType = Shapes::StructureShape.new(name: 'CreateAutoScalingGroupType')
|
71
73
|
CreateLaunchConfigurationType = Shapes::StructureShape.new(name: 'CreateLaunchConfigurationType')
|
@@ -406,6 +408,7 @@ module Aws::AutoScaling
|
|
406
408
|
AutoScalingGroup.add_member(:capacity_rebalance, Shapes::ShapeRef.new(shape: CapacityRebalanceEnabled, location_name: "CapacityRebalance"))
|
407
409
|
AutoScalingGroup.add_member(:warm_pool_configuration, Shapes::ShapeRef.new(shape: WarmPoolConfiguration, location_name: "WarmPoolConfiguration"))
|
408
410
|
AutoScalingGroup.add_member(:warm_pool_size, Shapes::ShapeRef.new(shape: WarmPoolSize, location_name: "WarmPoolSize"))
|
411
|
+
AutoScalingGroup.add_member(:context, Shapes::ShapeRef.new(shape: Context, location_name: "Context"))
|
409
412
|
AutoScalingGroup.struct_class = Types::AutoScalingGroup
|
410
413
|
|
411
414
|
AutoScalingGroupNames.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen255)
|
@@ -511,6 +514,7 @@ module Aws::AutoScaling
|
|
511
514
|
CreateAutoScalingGroupType.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
512
515
|
CreateAutoScalingGroupType.add_member(:service_linked_role_arn, Shapes::ShapeRef.new(shape: ResourceName, location_name: "ServiceLinkedRoleARN"))
|
513
516
|
CreateAutoScalingGroupType.add_member(:max_instance_lifetime, Shapes::ShapeRef.new(shape: MaxInstanceLifetime, location_name: "MaxInstanceLifetime"))
|
517
|
+
CreateAutoScalingGroupType.add_member(:context, Shapes::ShapeRef.new(shape: Context, location_name: "Context"))
|
514
518
|
CreateAutoScalingGroupType.struct_class = Types::CreateAutoScalingGroupType
|
515
519
|
|
516
520
|
CreateLaunchConfigurationType.add_member(:launch_configuration_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "LaunchConfigurationName"))
|
@@ -713,6 +717,7 @@ module Aws::AutoScaling
|
|
713
717
|
Ebs.add_member(:delete_on_termination, Shapes::ShapeRef.new(shape: BlockDeviceEbsDeleteOnTermination, location_name: "DeleteOnTermination"))
|
714
718
|
Ebs.add_member(:iops, Shapes::ShapeRef.new(shape: BlockDeviceEbsIops, location_name: "Iops"))
|
715
719
|
Ebs.add_member(:encrypted, Shapes::ShapeRef.new(shape: BlockDeviceEbsEncrypted, location_name: "Encrypted"))
|
720
|
+
Ebs.add_member(:throughput, Shapes::ShapeRef.new(shape: BlockDeviceEbsThroughput, location_name: "Throughput"))
|
716
721
|
Ebs.struct_class = Types::Ebs
|
717
722
|
|
718
723
|
EnableMetricsCollectionQuery.add_member(:auto_scaling_group_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "AutoScalingGroupName"))
|
@@ -1256,6 +1261,7 @@ module Aws::AutoScaling
|
|
1256
1261
|
UpdateAutoScalingGroupType.add_member(:service_linked_role_arn, Shapes::ShapeRef.new(shape: ResourceName, location_name: "ServiceLinkedRoleARN"))
|
1257
1262
|
UpdateAutoScalingGroupType.add_member(:max_instance_lifetime, Shapes::ShapeRef.new(shape: MaxInstanceLifetime, location_name: "MaxInstanceLifetime"))
|
1258
1263
|
UpdateAutoScalingGroupType.add_member(:capacity_rebalance, Shapes::ShapeRef.new(shape: CapacityRebalanceEnabled, location_name: "CapacityRebalance"))
|
1264
|
+
UpdateAutoScalingGroupType.add_member(:context, Shapes::ShapeRef.new(shape: Context, location_name: "Context"))
|
1259
1265
|
UpdateAutoScalingGroupType.struct_class = Types::UpdateAutoScalingGroupType
|
1260
1266
|
|
1261
1267
|
Values.member = Shapes::ShapeRef.new(shape: XmlString)
|
@@ -45,21 +45,21 @@ module Aws::AutoScaling
|
|
45
45
|
|
46
46
|
# One of the following load balancer states:
|
47
47
|
#
|
48
|
-
# * `Adding` - The
|
48
|
+
# * `Adding` - The Auto Scaling instances are being registered with the
|
49
49
|
# load balancer.
|
50
50
|
#
|
51
|
-
# * `Added` - All
|
51
|
+
# * `Added` - All Auto Scaling instances are registered with the load
|
52
52
|
# balancer.
|
53
53
|
#
|
54
|
-
# * `InService` - At least one
|
54
|
+
# * `InService` - At least one Auto Scaling instance passed an `ELB`
|
55
55
|
# health check.
|
56
56
|
#
|
57
|
-
# * `Removing` - The
|
57
|
+
# * `Removing` - The Auto Scaling instances are being deregistered from
|
58
58
|
# the load balancer. If connection draining is enabled, Elastic Load
|
59
59
|
# Balancing waits for in-flight requests to complete before
|
60
60
|
# deregistering the instances.
|
61
61
|
#
|
62
|
-
# * `Removed` - All
|
62
|
+
# * `Removed` - All Auto Scaling instances are deregistered from the
|
63
63
|
# load balancer.
|
64
64
|
# @return [String]
|
65
65
|
def state
|
@@ -110,6 +110,7 @@ module Aws::AutoScaling
|
|
110
110
|
# ],
|
111
111
|
# service_linked_role_arn: "ResourceName",
|
112
112
|
# max_instance_lifetime: 1,
|
113
|
+
# context: "Context",
|
113
114
|
# })
|
114
115
|
# @param [Hash] options ({})
|
115
116
|
# @option options [required, String] :auto_scaling_group_name
|
@@ -319,11 +320,11 @@ module Aws::AutoScaling
|
|
319
320
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-tagging.html
|
320
321
|
# @option options [String] :service_linked_role_arn
|
321
322
|
# The Amazon Resource Name (ARN) of the service-linked role that the
|
322
|
-
# Auto Scaling group uses to call other
|
323
|
-
# default, Amazon EC2 Auto Scaling uses a service-linked role
|
324
|
-
# AWSServiceRoleForAutoScaling
|
325
|
-
# For more information, see [Service-linked roles][1] in the
|
326
|
-
# Auto Scaling User Guide*.
|
323
|
+
# Auto Scaling group uses to call other Amazon Web Services on your
|
324
|
+
# behalf. By default, Amazon EC2 Auto Scaling uses a service-linked role
|
325
|
+
# named `AWSServiceRoleForAutoScaling`, which it creates if it does not
|
326
|
+
# exist. For more information, see [Service-linked roles][1] in the
|
327
|
+
# *Amazon EC2 Auto Scaling User Guide*.
|
327
328
|
#
|
328
329
|
#
|
329
330
|
#
|
@@ -338,6 +339,8 @@ module Aws::AutoScaling
|
|
338
339
|
#
|
339
340
|
#
|
340
341
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-max-instance-lifetime.html
|
342
|
+
# @option options [String] :context
|
343
|
+
# Reserved.
|
341
344
|
# @return [AutoScalingGroup]
|
342
345
|
def create_group(options = {})
|
343
346
|
@client.create_auto_scaling_group(options)
|
@@ -372,6 +375,7 @@ module Aws::AutoScaling
|
|
372
375
|
# delete_on_termination: false,
|
373
376
|
# iops: 1,
|
374
377
|
# encrypted: false,
|
378
|
+
# throughput: 1,
|
375
379
|
# },
|
376
380
|
# no_device: false,
|
377
381
|
# },
|
@@ -637,11 +641,13 @@ module Aws::AutoScaling
|
|
637
641
|
# })
|
638
642
|
# @param [Hash] options ({})
|
639
643
|
# @option options [Array<String>] :activity_ids
|
640
|
-
# The activity IDs of the desired scaling activities.
|
641
|
-
#
|
642
|
-
#
|
643
|
-
#
|
644
|
-
#
|
644
|
+
# The activity IDs of the desired scaling activities. If you omit this
|
645
|
+
# parameter, all activities for the past six weeks are described. If
|
646
|
+
# unknown activities are requested, they are ignored with no error. If
|
647
|
+
# you specify an Auto Scaling group, the results are limited to that
|
648
|
+
# group.
|
649
|
+
#
|
650
|
+
# Array Members: Maximum number of 50 IDs.
|
645
651
|
# @option options [String] :auto_scaling_group_name
|
646
652
|
# The name of the Auto Scaling group.
|
647
653
|
# @option options [Boolean] :include_deleted_groups
|
@@ -722,9 +728,11 @@ module Aws::AutoScaling
|
|
722
728
|
# })
|
723
729
|
# @param [Hash] options ({})
|
724
730
|
# @option options [Array<String>] :instance_ids
|
725
|
-
# The IDs of the instances.
|
726
|
-
#
|
727
|
-
#
|
731
|
+
# The IDs of the instances. If you omit this parameter, all Auto Scaling
|
732
|
+
# instances are described. If you specify an ID that does not exist, it
|
733
|
+
# is ignored with no error.
|
734
|
+
#
|
735
|
+
# Array Members: Maximum number of 50 items.
|
728
736
|
# @return [Instance::Collection]
|
729
737
|
def instances(options = {})
|
730
738
|
batches = Enumerator.new do |y|
|
@@ -763,6 +771,8 @@ module Aws::AutoScaling
|
|
763
771
|
# @option options [Array<String>] :launch_configuration_names
|
764
772
|
# The launch configuration names. If you omit this parameter, all launch
|
765
773
|
# configurations are described.
|
774
|
+
#
|
775
|
+
# Array Members: Maximum number of 50 items.
|
766
776
|
# @return [LaunchConfiguration::Collection]
|
767
777
|
def launch_configurations(options = {})
|
768
778
|
batches = Enumerator.new do |y|
|
@@ -795,8 +805,10 @@ module Aws::AutoScaling
|
|
795
805
|
# @option options [Array<String>] :policy_names
|
796
806
|
# The names of one or more policies. If you omit this parameter, all
|
797
807
|
# policies are described. If a group name is provided, the results are
|
798
|
-
# limited to that group.
|
799
|
-
#
|
808
|
+
# limited to that group. If you specify an unknown policy name, it is
|
809
|
+
# ignored with no error.
|
810
|
+
#
|
811
|
+
# Array Members: Maximum number of 50 items.
|
800
812
|
# @option options [Array<String>] :policy_types
|
801
813
|
# One or more policy types. The valid values are `SimpleScaling`,
|
802
814
|
# `StepScaling`, `TargetTrackingScaling`, and `PredictiveScaling`.
|
@@ -849,10 +861,11 @@ module Aws::AutoScaling
|
|
849
861
|
# @option options [String] :auto_scaling_group_name
|
850
862
|
# The name of the Auto Scaling group.
|
851
863
|
# @option options [Array<String>] :scheduled_action_names
|
852
|
-
# The names of one or more scheduled actions.
|
853
|
-
#
|
854
|
-
#
|
855
|
-
#
|
864
|
+
# The names of one or more scheduled actions. If you omit this
|
865
|
+
# parameter, all scheduled actions are described. If you specify an
|
866
|
+
# unknown scheduled action, it is ignored with no error.
|
867
|
+
#
|
868
|
+
# Array Members: Maximum number of 50 actions.
|
856
869
|
# @option options [Time,DateTime,Date,Integer,String] :start_time
|
857
870
|
# The earliest scheduled start time to return. If scheduled action names
|
858
871
|
# are provided, this parameter is ignored.
|
@@ -328,9 +328,9 @@ module Aws::AutoScaling
|
|
328
328
|
#
|
329
329
|
# @!attribute [rw] health_check_type
|
330
330
|
# The service to use for the health checks. The valid values are `EC2`
|
331
|
-
# and `ELB`. If you configure an Auto Scaling group to use ELB
|
332
|
-
# checks, it considers the instance unhealthy if it fails
|
333
|
-
# EC2 status checks or the load balancer health checks.
|
331
|
+
# and `ELB`. If you configure an Auto Scaling group to use `ELB`
|
332
|
+
# health checks, it considers the instance unhealthy if it fails
|
333
|
+
# either the EC2 status checks or the load balancer health checks.
|
334
334
|
# @return [String]
|
335
335
|
#
|
336
336
|
# @!attribute [rw] health_check_grace_period
|
@@ -384,7 +384,8 @@ module Aws::AutoScaling
|
|
384
384
|
#
|
385
385
|
# @!attribute [rw] service_linked_role_arn
|
386
386
|
# The Amazon Resource Name (ARN) of the service-linked role that the
|
387
|
-
# Auto Scaling group uses to call other
|
387
|
+
# Auto Scaling group uses to call other Amazon Web Services on your
|
388
|
+
# behalf.
|
388
389
|
# @return [String]
|
389
390
|
#
|
390
391
|
# @!attribute [rw] max_instance_lifetime
|
@@ -406,6 +407,10 @@ module Aws::AutoScaling
|
|
406
407
|
# The current size of the warm pool.
|
407
408
|
# @return [Integer]
|
408
409
|
#
|
410
|
+
# @!attribute [rw] context
|
411
|
+
# Reserved.
|
412
|
+
# @return [String]
|
413
|
+
#
|
409
414
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AutoScalingGroup AWS API Documentation
|
410
415
|
#
|
411
416
|
class AutoScalingGroup < Struct.new(
|
@@ -438,7 +443,8 @@ module Aws::AutoScaling
|
|
438
443
|
:max_instance_lifetime,
|
439
444
|
:capacity_rebalance,
|
440
445
|
:warm_pool_configuration,
|
441
|
-
:warm_pool_size
|
446
|
+
:warm_pool_size,
|
447
|
+
:context)
|
442
448
|
SENSITIVE = []
|
443
449
|
include Aws::Structure
|
444
450
|
end
|
@@ -708,6 +714,7 @@ module Aws::AutoScaling
|
|
708
714
|
# delete_on_termination: false,
|
709
715
|
# iops: 1,
|
710
716
|
# encrypted: false,
|
717
|
+
# throughput: 1,
|
711
718
|
# },
|
712
719
|
# no_device: false,
|
713
720
|
# }
|
@@ -937,6 +944,7 @@ module Aws::AutoScaling
|
|
937
944
|
# ],
|
938
945
|
# service_linked_role_arn: "ResourceName",
|
939
946
|
# max_instance_lifetime: 1,
|
947
|
+
# context: "Context",
|
940
948
|
# }
|
941
949
|
#
|
942
950
|
# @!attribute [rw] auto_scaling_group_name
|
@@ -1193,11 +1201,11 @@ module Aws::AutoScaling
|
|
1193
1201
|
#
|
1194
1202
|
# @!attribute [rw] service_linked_role_arn
|
1195
1203
|
# The Amazon Resource Name (ARN) of the service-linked role that the
|
1196
|
-
# Auto Scaling group uses to call other
|
1197
|
-
# By default, Amazon EC2 Auto Scaling uses a service-linked
|
1198
|
-
# AWSServiceRoleForAutoScaling
|
1199
|
-
# For more information, see [Service-linked roles][1]
|
1200
|
-
# EC2 Auto Scaling User Guide*.
|
1204
|
+
# Auto Scaling group uses to call other Amazon Web Services on your
|
1205
|
+
# behalf. By default, Amazon EC2 Auto Scaling uses a service-linked
|
1206
|
+
# role named `AWSServiceRoleForAutoScaling`, which it creates if it
|
1207
|
+
# does not exist. For more information, see [Service-linked roles][1]
|
1208
|
+
# in the *Amazon EC2 Auto Scaling User Guide*.
|
1201
1209
|
#
|
1202
1210
|
#
|
1203
1211
|
#
|
@@ -1217,6 +1225,10 @@ module Aws::AutoScaling
|
|
1217
1225
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-max-instance-lifetime.html
|
1218
1226
|
# @return [Integer]
|
1219
1227
|
#
|
1228
|
+
# @!attribute [rw] context
|
1229
|
+
# Reserved.
|
1230
|
+
# @return [String]
|
1231
|
+
#
|
1220
1232
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateAutoScalingGroupType AWS API Documentation
|
1221
1233
|
#
|
1222
1234
|
class CreateAutoScalingGroupType < Struct.new(
|
@@ -1242,7 +1254,8 @@ module Aws::AutoScaling
|
|
1242
1254
|
:lifecycle_hook_specification_list,
|
1243
1255
|
:tags,
|
1244
1256
|
:service_linked_role_arn,
|
1245
|
-
:max_instance_lifetime
|
1257
|
+
:max_instance_lifetime,
|
1258
|
+
:context)
|
1246
1259
|
SENSITIVE = []
|
1247
1260
|
include Aws::Structure
|
1248
1261
|
end
|
@@ -1273,6 +1286,7 @@ module Aws::AutoScaling
|
|
1273
1286
|
# delete_on_termination: false,
|
1274
1287
|
# iops: 1,
|
1275
1288
|
# encrypted: false,
|
1289
|
+
# throughput: 1,
|
1276
1290
|
# },
|
1277
1291
|
# no_device: false,
|
1278
1292
|
# },
|
@@ -1880,21 +1894,21 @@ module Aws::AutoScaling
|
|
1880
1894
|
end
|
1881
1895
|
|
1882
1896
|
# @!attribute [rw] max_number_of_auto_scaling_groups
|
1883
|
-
# The maximum number of groups allowed for your
|
1884
|
-
#
|
1897
|
+
# The maximum number of groups allowed for your account. The default
|
1898
|
+
# is 200 groups per Region.
|
1885
1899
|
# @return [Integer]
|
1886
1900
|
#
|
1887
1901
|
# @!attribute [rw] max_number_of_launch_configurations
|
1888
|
-
# The maximum number of launch configurations allowed for your
|
1889
|
-
# account. The default is 200 launch configurations per
|
1902
|
+
# The maximum number of launch configurations allowed for your
|
1903
|
+
# account. The default is 200 launch configurations per Region.
|
1890
1904
|
# @return [Integer]
|
1891
1905
|
#
|
1892
1906
|
# @!attribute [rw] number_of_auto_scaling_groups
|
1893
|
-
# The current number of groups for your
|
1907
|
+
# The current number of groups for your account.
|
1894
1908
|
# @return [Integer]
|
1895
1909
|
#
|
1896
1910
|
# @!attribute [rw] number_of_launch_configurations
|
1897
|
-
# The current number of launch configurations for your
|
1911
|
+
# The current number of launch configurations for your account.
|
1898
1912
|
# @return [Integer]
|
1899
1913
|
#
|
1900
1914
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeAccountLimitsAnswer AWS API Documentation
|
@@ -1930,10 +1944,11 @@ module Aws::AutoScaling
|
|
1930
1944
|
# }
|
1931
1945
|
#
|
1932
1946
|
# @!attribute [rw] instance_ids
|
1933
|
-
# The IDs of the instances.
|
1934
|
-
#
|
1935
|
-
#
|
1936
|
-
#
|
1947
|
+
# The IDs of the instances. If you omit this parameter, all Auto
|
1948
|
+
# Scaling instances are described. If you specify an ID that does not
|
1949
|
+
# exist, it is ignored with no error.
|
1950
|
+
#
|
1951
|
+
# Array Members: Maximum number of 50 items.
|
1937
1952
|
# @return [Array<String>]
|
1938
1953
|
#
|
1939
1954
|
# @!attribute [rw] max_records
|
@@ -2275,8 +2290,10 @@ module Aws::AutoScaling
|
|
2275
2290
|
# @!attribute [rw] policy_names
|
2276
2291
|
# The names of one or more policies. If you omit this parameter, all
|
2277
2292
|
# policies are described. If a group name is provided, the results are
|
2278
|
-
# limited to that group.
|
2279
|
-
#
|
2293
|
+
# limited to that group. If you specify an unknown policy name, it is
|
2294
|
+
# ignored with no error.
|
2295
|
+
#
|
2296
|
+
# Array Members: Maximum number of 50 items.
|
2280
2297
|
# @return [Array<String>]
|
2281
2298
|
#
|
2282
2299
|
# @!attribute [rw] policy_types
|
@@ -2318,11 +2335,13 @@ module Aws::AutoScaling
|
|
2318
2335
|
# }
|
2319
2336
|
#
|
2320
2337
|
# @!attribute [rw] activity_ids
|
2321
|
-
# The activity IDs of the desired scaling activities.
|
2322
|
-
#
|
2323
|
-
#
|
2324
|
-
#
|
2325
|
-
# group
|
2338
|
+
# The activity IDs of the desired scaling activities. If you omit this
|
2339
|
+
# parameter, all activities for the past six weeks are described. If
|
2340
|
+
# unknown activities are requested, they are ignored with no error. If
|
2341
|
+
# you specify an Auto Scaling group, the results are limited to that
|
2342
|
+
# group.
|
2343
|
+
#
|
2344
|
+
# Array Members: Maximum number of 50 IDs.
|
2326
2345
|
# @return [Array<String>]
|
2327
2346
|
#
|
2328
2347
|
# @!attribute [rw] auto_scaling_group_name
|
@@ -2373,10 +2392,11 @@ module Aws::AutoScaling
|
|
2373
2392
|
# @return [String]
|
2374
2393
|
#
|
2375
2394
|
# @!attribute [rw] scheduled_action_names
|
2376
|
-
# The names of one or more scheduled actions.
|
2377
|
-
#
|
2378
|
-
#
|
2379
|
-
#
|
2395
|
+
# The names of one or more scheduled actions. If you omit this
|
2396
|
+
# parameter, all scheduled actions are described. If you specify an
|
2397
|
+
# unknown scheduled action, it is ignored with no error.
|
2398
|
+
#
|
2399
|
+
# Array Members: Maximum number of 50 actions.
|
2380
2400
|
# @return [Array<String>]
|
2381
2401
|
#
|
2382
2402
|
# @!attribute [rw] start_time
|
@@ -2708,6 +2728,7 @@ module Aws::AutoScaling
|
|
2708
2728
|
# delete_on_termination: false,
|
2709
2729
|
# iops: 1,
|
2710
2730
|
# encrypted: false,
|
2731
|
+
# throughput: 1,
|
2711
2732
|
# }
|
2712
2733
|
#
|
2713
2734
|
# @!attribute [rw] snapshot_id
|
@@ -2717,29 +2738,28 @@ module Aws::AutoScaling
|
|
2717
2738
|
# @return [String]
|
2718
2739
|
#
|
2719
2740
|
# @!attribute [rw] volume_size
|
2720
|
-
# The volume size, in
|
2741
|
+
# The volume size, in GiBs. The following are the supported volumes
|
2742
|
+
# sizes for each volume type:
|
2743
|
+
#
|
2744
|
+
# * `gp2` and `gp3`\: 1-16,384
|
2721
2745
|
#
|
2722
|
-
#
|
2723
|
-
# `io1`, 1-16,384 for `gp2`, and 500-16,384 for `st1` and `sc1`. If
|
2724
|
-
# you specify a snapshot, the volume size must be equal to or larger
|
2725
|
-
# than the snapshot size.
|
2746
|
+
# * `io1`\: 4-16,384
|
2726
2747
|
#
|
2727
|
-
#
|
2728
|
-
# specify a volume size, the default is the snapshot size.
|
2748
|
+
# * `st1` and `sc1`\: 125-16,384
|
2729
2749
|
#
|
2730
|
-
#
|
2750
|
+
# * `standard`\: 1-1,024
|
2751
|
+
#
|
2752
|
+
# You must specify either a `SnapshotId` or a `VolumeSize`. If you
|
2731
2753
|
# specify both `SnapshotId` and `VolumeSize`, the volume size must be
|
2732
2754
|
# equal or greater than the size of the snapshot.
|
2733
2755
|
# @return [Integer]
|
2734
2756
|
#
|
2735
2757
|
# @!attribute [rw] volume_type
|
2736
|
-
# The volume type
|
2737
|
-
#
|
2738
|
-
# Throughput Optimized HDD, or `sc1` for Cold HDD. For more
|
2739
|
-
# information, see [Amazon EBS Volume Types][1] in the *Amazon EC2
|
2740
|
-
# User Guide for Linux Instances*.
|
2758
|
+
# The volume type. For more information, see [Amazon EBS Volume
|
2759
|
+
# Types][1] in the *Amazon EC2 User Guide for Linux Instances*.
|
2741
2760
|
#
|
2742
|
-
# Valid Values: `standard` \| `io1` \| `gp2` \| `st1` \| `sc1`
|
2761
|
+
# Valid Values: `standard` \| `io1` \| `gp2` \| `st1` \| `sc1` \|
|
2762
|
+
# `gp3`
|
2743
2763
|
#
|
2744
2764
|
#
|
2745
2765
|
#
|
@@ -2752,17 +2772,30 @@ module Aws::AutoScaling
|
|
2752
2772
|
# @return [Boolean]
|
2753
2773
|
#
|
2754
2774
|
# @!attribute [rw] iops
|
2755
|
-
# The number of I/O operations per second (IOPS) to
|
2756
|
-
#
|
2757
|
-
#
|
2758
|
-
#
|
2775
|
+
# The number of input/output (I/O) operations per second (IOPS) to
|
2776
|
+
# provision for the volume. For `gp3` and `io1` volumes, this
|
2777
|
+
# represents the number of IOPS that are provisioned for the volume.
|
2778
|
+
# For `gp2` volumes, this represents the baseline performance of the
|
2779
|
+
# volume and the rate at which the volume accumulates I/O credits for
|
2780
|
+
# bursting.
|
2759
2781
|
#
|
2760
|
-
#
|
2761
|
-
# `gp2`, `st1`, or `sc1` volumes.)
|
2782
|
+
# The following are the supported values for each volume type:
|
2762
2783
|
#
|
2784
|
+
# * `gp3`\: 3,000-16,000 IOPS
|
2763
2785
|
#
|
2786
|
+
# * `io1`\: 100-64,000 IOPS
|
2764
2787
|
#
|
2765
|
-
# [
|
2788
|
+
# For `io1` volumes, we guarantee 64,000 IOPS only for [Instances
|
2789
|
+
# built on the Nitro System][1]. Other instance families guarantee
|
2790
|
+
# performance up to 32,000 IOPS.
|
2791
|
+
#
|
2792
|
+
# `Iops` is supported when the volume type is `gp3` or `io1` and
|
2793
|
+
# required only when the volume type is `io1`. (Not used with
|
2794
|
+
# `standard`, `gp2`, `st1`, or `sc1` volumes.)
|
2795
|
+
#
|
2796
|
+
#
|
2797
|
+
#
|
2798
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#ec2-nitro-instances
|
2766
2799
|
# @return [Integer]
|
2767
2800
|
#
|
2768
2801
|
# @!attribute [rw] encrypted
|
@@ -2776,16 +2809,16 @@ module Aws::AutoScaling
|
|
2776
2809
|
# encryption value. Volumes that are created from encrypted snapshots
|
2777
2810
|
# are automatically encrypted, and volumes that are created from
|
2778
2811
|
# unencrypted snapshots are automatically unencrypted. By default,
|
2779
|
-
# encrypted snapshots use the
|
2780
|
-
# encryption, but you can specify a custom CMK when you
|
2781
|
-
# snapshot. The ability to encrypt a snapshot during
|
2782
|
-
# allows you to apply a new CMK to an already-encrypted
|
2783
|
-
# Volumes restored from the resulting copy are only
|
2784
|
-
# the new CMK.
|
2812
|
+
# encrypted snapshots use the Amazon Web Services managed CMK that is
|
2813
|
+
# used for EBS encryption, but you can specify a custom CMK when you
|
2814
|
+
# create the snapshot. The ability to encrypt a snapshot during
|
2815
|
+
# copying also allows you to apply a new CMK to an already-encrypted
|
2816
|
+
# snapshot. Volumes restored from the resulting copy are only
|
2817
|
+
# accessible using the new CMK.
|
2785
2818
|
#
|
2786
2819
|
# Enabling [encryption by default][2] results in all EBS volumes being
|
2787
|
-
# encrypted with the
|
2788
|
-
# whether or not the snapshot was encrypted.
|
2820
|
+
# encrypted with the Amazon Web Services managed CMK or a customer
|
2821
|
+
# managed CMK, whether or not the snapshot was encrypted.
|
2789
2822
|
#
|
2790
2823
|
# </note>
|
2791
2824
|
#
|
@@ -2802,6 +2835,10 @@ module Aws::AutoScaling
|
|
2802
2835
|
# [4]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/key-policy-requirements-EBS-encryption.html
|
2803
2836
|
# @return [Boolean]
|
2804
2837
|
#
|
2838
|
+
# @!attribute [rw] throughput
|
2839
|
+
# The throughput (MiBps) to provision for a `gp3` volume.
|
2840
|
+
# @return [Integer]
|
2841
|
+
#
|
2805
2842
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/Ebs AWS API Documentation
|
2806
2843
|
#
|
2807
2844
|
class Ebs < Struct.new(
|
@@ -2810,7 +2847,8 @@ module Aws::AutoScaling
|
|
2810
2847
|
:volume_type,
|
2811
2848
|
:delete_on_termination,
|
2812
2849
|
:iops,
|
2813
|
-
:encrypted
|
2850
|
+
:encrypted,
|
2851
|
+
:throughput)
|
2814
2852
|
SENSITIVE = []
|
2815
2853
|
include Aws::Structure
|
2816
2854
|
end
|
@@ -3922,6 +3960,8 @@ module Aws::AutoScaling
|
|
3922
3960
|
# @!attribute [rw] launch_configuration_names
|
3923
3961
|
# The launch configuration names. If you omit this parameter, all
|
3924
3962
|
# launch configurations are described.
|
3963
|
+
#
|
3964
|
+
# Array Members: Maximum number of 50 items.
|
3925
3965
|
# @return [Array<String>]
|
3926
3966
|
#
|
3927
3967
|
# @!attribute [rw] next_token
|
@@ -4381,17 +4421,6 @@ module Aws::AutoScaling
|
|
4381
4421
|
|
4382
4422
|
# Describes the state of a Classic Load Balancer.
|
4383
4423
|
#
|
4384
|
-
# If you specify a load balancer when creating the Auto Scaling group,
|
4385
|
-
# the state of the load balancer is `InService`.
|
4386
|
-
#
|
4387
|
-
# If you attach a load balancer to an existing Auto Scaling group, the
|
4388
|
-
# initial state is `Adding`. The state transitions to `Added` after all
|
4389
|
-
# instances in the group are registered with the load balancer. If
|
4390
|
-
# Elastic Load Balancing health checks are enabled for the load
|
4391
|
-
# balancer, the state transitions to `InService` after at least one
|
4392
|
-
# instance in the group passes the health check. If EC2 health checks
|
4393
|
-
# are enabled instead, the load balancer remains in the `Added` state.
|
4394
|
-
#
|
4395
4424
|
# @!attribute [rw] load_balancer_name
|
4396
4425
|
# The name of the load balancer.
|
4397
4426
|
# @return [String]
|
@@ -4399,21 +4428,21 @@ module Aws::AutoScaling
|
|
4399
4428
|
# @!attribute [rw] state
|
4400
4429
|
# One of the following load balancer states:
|
4401
4430
|
#
|
4402
|
-
# * `Adding` - The
|
4431
|
+
# * `Adding` - The Auto Scaling instances are being registered with
|
4403
4432
|
# the load balancer.
|
4404
4433
|
#
|
4405
|
-
# * `Added` - All
|
4434
|
+
# * `Added` - All Auto Scaling instances are registered with the load
|
4406
4435
|
# balancer.
|
4407
4436
|
#
|
4408
|
-
# * `InService` - At least one
|
4437
|
+
# * `InService` - At least one Auto Scaling instance passed an `ELB`
|
4409
4438
|
# health check.
|
4410
4439
|
#
|
4411
|
-
# * `Removing` - The
|
4440
|
+
# * `Removing` - The Auto Scaling instances are being deregistered
|
4412
4441
|
# from the load balancer. If connection draining is enabled, Elastic
|
4413
4442
|
# Load Balancing waits for in-flight requests to complete before
|
4414
4443
|
# deregistering the instances.
|
4415
4444
|
#
|
4416
|
-
# * `Removed` - All
|
4445
|
+
# * `Removed` - All Auto Scaling instances are deregistered from the
|
4417
4446
|
# load balancer.
|
4418
4447
|
# @return [String]
|
4419
4448
|
#
|
@@ -4428,14 +4457,6 @@ module Aws::AutoScaling
|
|
4428
4457
|
|
4429
4458
|
# Describes the state of a target group.
|
4430
4459
|
#
|
4431
|
-
# If you attach a target group to an existing Auto Scaling group, the
|
4432
|
-
# initial state is `Adding`. The state transitions to `Added` after all
|
4433
|
-
# Auto Scaling instances are registered with the target group. If
|
4434
|
-
# Elastic Load Balancing health checks are enabled, the state
|
4435
|
-
# transitions to `InService` after at least one Auto Scaling instance
|
4436
|
-
# passes the health check. If EC2 health checks are enabled instead, the
|
4437
|
-
# target group remains in the `Added` state.
|
4438
|
-
#
|
4439
4460
|
# @!attribute [rw] load_balancer_target_group_arn
|
4440
4461
|
# The Amazon Resource Name (ARN) of the target group.
|
4441
4462
|
# @return [String]
|
@@ -4449,7 +4470,7 @@ module Aws::AutoScaling
|
|
4449
4470
|
# * `Added` - All Auto Scaling instances are registered with the
|
4450
4471
|
# target group.
|
4451
4472
|
#
|
4452
|
-
# * `InService` - At least one Auto Scaling instance passed an ELB
|
4473
|
+
# * `InService` - At least one Auto Scaling instance passed an `ELB`
|
4453
4474
|
# health check.
|
4454
4475
|
#
|
4455
4476
|
# * `Removing` - The Auto Scaling instances are being deregistered
|
@@ -4765,16 +4786,20 @@ module Aws::AutoScaling
|
|
4765
4786
|
# @return [String]
|
4766
4787
|
#
|
4767
4788
|
# @!attribute [rw] resource_label
|
4768
|
-
#
|
4769
|
-
#
|
4770
|
-
#
|
4771
|
-
# the
|
4789
|
+
# A label that uniquely identifies a specific Application Load
|
4790
|
+
# Balancer target group from which to determine the average request
|
4791
|
+
# count served by your Auto Scaling group. You can't specify a
|
4792
|
+
# resource label unless the target group is attached to the Auto
|
4793
|
+
# Scaling group.
|
4772
4794
|
#
|
4773
4795
|
# You create the resource label by appending the final portion of the
|
4774
4796
|
# load balancer ARN and the final portion of the target group ARN into
|
4775
|
-
# a single value, separated by a forward slash (/). The format
|
4776
|
-
#
|
4777
|
-
#
|
4797
|
+
# a single value, separated by a forward slash (/). The format of the
|
4798
|
+
# resource label is:
|
4799
|
+
#
|
4800
|
+
# `app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff`.
|
4801
|
+
#
|
4802
|
+
# Where:
|
4778
4803
|
#
|
4779
4804
|
# * app/<load-balancer-name>/<load-balancer-id> is the
|
4780
4805
|
# final portion of the load balancer ARN
|
@@ -4782,9 +4807,6 @@ module Aws::AutoScaling
|
|
4782
4807
|
# * targetgroup/<target-group-name>/<target-group-id> is
|
4783
4808
|
# the final portion of the target group ARN.
|
4784
4809
|
#
|
4785
|
-
# This is an example:
|
4786
|
-
# app/EC2Co-EcsEl-1TKLTMITMM0EO/f37c06a68c1748aa/targetgroup/EC2Co-Defau-LDNM7Q3ZH1ZN/6d4ea56ca2d6a18d.
|
4787
|
-
#
|
4788
4810
|
# To find the ARN for an Application Load Balancer, use the
|
4789
4811
|
# [DescribeLoadBalancers][1] API operation. To find the ARN for the
|
4790
4812
|
# target group, use the [DescribeTargetGroups][2] API operation.
|
@@ -5024,7 +5046,7 @@ module Aws::AutoScaling
|
|
5024
5046
|
# a single value, separated by a forward slash (/). The format of the
|
5025
5047
|
# resource label is:
|
5026
5048
|
#
|
5027
|
-
# `app/
|
5049
|
+
# `app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff`.
|
5028
5050
|
#
|
5029
5051
|
# Where:
|
5030
5052
|
#
|
@@ -5074,16 +5096,17 @@ module Aws::AutoScaling
|
|
5074
5096
|
#
|
5075
5097
|
# @!attribute [rw] resource_label
|
5076
5098
|
# A label that uniquely identifies a specific Application Load
|
5077
|
-
# Balancer target group from which to determine the
|
5078
|
-
# served by your Auto Scaling group. You can't specify
|
5079
|
-
# label unless the target group is attached to the Auto
|
5099
|
+
# Balancer target group from which to determine the total and average
|
5100
|
+
# request count served by your Auto Scaling group. You can't specify
|
5101
|
+
# a resource label unless the target group is attached to the Auto
|
5102
|
+
# Scaling group.
|
5080
5103
|
#
|
5081
5104
|
# You create the resource label by appending the final portion of the
|
5082
5105
|
# load balancer ARN and the final portion of the target group ARN into
|
5083
5106
|
# a single value, separated by a forward slash (/). The format of the
|
5084
5107
|
# resource label is:
|
5085
5108
|
#
|
5086
|
-
# `app/
|
5109
|
+
# `app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff`.
|
5087
5110
|
#
|
5088
5111
|
# Where:
|
5089
5112
|
#
|
@@ -5132,16 +5155,17 @@ module Aws::AutoScaling
|
|
5132
5155
|
#
|
5133
5156
|
# @!attribute [rw] resource_label
|
5134
5157
|
# A label that uniquely identifies a specific Application Load
|
5135
|
-
# Balancer target group from which to determine the request
|
5136
|
-
# served by your Auto Scaling group. You can't specify a
|
5137
|
-
# label unless the target group is attached to the Auto
|
5158
|
+
# Balancer target group from which to determine the average request
|
5159
|
+
# count served by your Auto Scaling group. You can't specify a
|
5160
|
+
# resource label unless the target group is attached to the Auto
|
5161
|
+
# Scaling group.
|
5138
5162
|
#
|
5139
5163
|
# You create the resource label by appending the final portion of the
|
5140
5164
|
# load balancer ARN and the final portion of the target group ARN into
|
5141
5165
|
# a single value, separated by a forward slash (/). The format of the
|
5142
5166
|
# resource label is:
|
5143
5167
|
#
|
5144
|
-
# `app/
|
5168
|
+
# `app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff`.
|
5145
5169
|
#
|
5146
5170
|
# Where:
|
5147
5171
|
#
|
@@ -6610,7 +6634,7 @@ module Aws::AutoScaling
|
|
6610
6634
|
# }
|
6611
6635
|
#
|
6612
6636
|
# @!attribute [rw] resource_id
|
6613
|
-
# The name of the group.
|
6637
|
+
# The name of the Auto Scaling group.
|
6614
6638
|
# @return [String]
|
6615
6639
|
#
|
6616
6640
|
# @!attribute [rw] resource_type
|
@@ -6839,6 +6863,7 @@ module Aws::AutoScaling
|
|
6839
6863
|
# service_linked_role_arn: "ResourceName",
|
6840
6864
|
# max_instance_lifetime: 1,
|
6841
6865
|
# capacity_rebalance: false,
|
6866
|
+
# context: "Context",
|
6842
6867
|
# }
|
6843
6868
|
#
|
6844
6869
|
# @!attribute [rw] auto_scaling_group_name
|
@@ -6913,9 +6938,9 @@ module Aws::AutoScaling
|
|
6913
6938
|
#
|
6914
6939
|
# @!attribute [rw] health_check_type
|
6915
6940
|
# The service to use for the health checks. The valid values are `EC2`
|
6916
|
-
# and `ELB`. If you configure an Auto Scaling group to use ELB
|
6917
|
-
# checks, it considers the instance unhealthy if it fails
|
6918
|
-
# EC2 status checks or the load balancer health checks.
|
6941
|
+
# and `ELB`. If you configure an Auto Scaling group to use `ELB`
|
6942
|
+
# health checks, it considers the instance unhealthy if it fails
|
6943
|
+
# either the EC2 status checks or the load balancer health checks.
|
6919
6944
|
# @return [String]
|
6920
6945
|
#
|
6921
6946
|
# @!attribute [rw] health_check_grace_period
|
@@ -6978,9 +7003,9 @@ module Aws::AutoScaling
|
|
6978
7003
|
#
|
6979
7004
|
# @!attribute [rw] service_linked_role_arn
|
6980
7005
|
# The Amazon Resource Name (ARN) of the service-linked role that the
|
6981
|
-
# Auto Scaling group uses to call other
|
6982
|
-
# For more information, see [Service-linked roles][1] in the
|
6983
|
-
# EC2 Auto Scaling User Guide*.
|
7006
|
+
# Auto Scaling group uses to call other Amazon Web Services on your
|
7007
|
+
# behalf. For more information, see [Service-linked roles][1] in the
|
7008
|
+
# *Amazon EC2 Auto Scaling User Guide*.
|
6984
7009
|
#
|
6985
7010
|
#
|
6986
7011
|
#
|
@@ -7010,6 +7035,10 @@ module Aws::AutoScaling
|
|
7010
7035
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/capacity-rebalance.html
|
7011
7036
|
# @return [Boolean]
|
7012
7037
|
#
|
7038
|
+
# @!attribute [rw] context
|
7039
|
+
# Reserved.
|
7040
|
+
# @return [String]
|
7041
|
+
#
|
7013
7042
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroupType AWS API Documentation
|
7014
7043
|
#
|
7015
7044
|
class UpdateAutoScalingGroupType < Struct.new(
|
@@ -7030,7 +7059,8 @@ module Aws::AutoScaling
|
|
7030
7059
|
:new_instances_protected_from_scale_in,
|
7031
7060
|
:service_linked_role_arn,
|
7032
7061
|
:max_instance_lifetime,
|
7033
|
-
:capacity_rebalance
|
7062
|
+
:capacity_rebalance,
|
7063
|
+
:context)
|
7034
7064
|
SENSITIVE = []
|
7035
7065
|
include Aws::Structure
|
7036
7066
|
end
|