aws-sdk-autoscaling 1.35.0 → 1.40.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-autoscaling.rb +3 -1
- data/lib/aws-sdk-autoscaling/activity.rb +2 -0
- data/lib/aws-sdk-autoscaling/auto_scaling_group.rb +102 -47
- data/lib/aws-sdk-autoscaling/client.rb +428 -127
- data/lib/aws-sdk-autoscaling/client_api.rb +99 -0
- data/lib/aws-sdk-autoscaling/customizations.rb +1 -0
- data/lib/aws-sdk-autoscaling/errors.rb +34 -0
- data/lib/aws-sdk-autoscaling/instance.rb +8 -1
- data/lib/aws-sdk-autoscaling/launch_configuration.rb +2 -0
- data/lib/aws-sdk-autoscaling/lifecycle_hook.rb +4 -2
- data/lib/aws-sdk-autoscaling/load_balancer.rb +2 -0
- data/lib/aws-sdk-autoscaling/notification_configuration.rb +2 -0
- data/lib/aws-sdk-autoscaling/resource.rb +52 -21
- data/lib/aws-sdk-autoscaling/scaling_policy.rb +2 -0
- data/lib/aws-sdk-autoscaling/scheduled_action.rb +7 -3
- data/lib/aws-sdk-autoscaling/tag.rb +2 -0
- data/lib/aws-sdk-autoscaling/types.rb +694 -117
- data/lib/aws-sdk-autoscaling/waiters.rb +2 -0
- metadata +4 -4
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -74,19 +76,21 @@ module Aws::AutoScaling
|
|
74
76
|
data[:recurrence]
|
75
77
|
end
|
76
78
|
|
77
|
-
# The minimum
|
79
|
+
# The minimum size of the Auto Scaling group.
|
78
80
|
# @return [Integer]
|
79
81
|
def min_size
|
80
82
|
data[:min_size]
|
81
83
|
end
|
82
84
|
|
83
|
-
# The maximum
|
85
|
+
# The maximum size of the Auto Scaling group.
|
84
86
|
# @return [Integer]
|
85
87
|
def max_size
|
86
88
|
data[:max_size]
|
87
89
|
end
|
88
90
|
|
89
|
-
# The
|
91
|
+
# The desired capacity is the initial capacity of the Auto Scaling group
|
92
|
+
# after the scheduled action runs and the capacity it attempts to
|
93
|
+
# maintain.
|
90
94
|
# @return [Integer]
|
91
95
|
def desired_capacity
|
92
96
|
data[:desired_capacity]
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -8,6 +10,20 @@
|
|
8
10
|
module Aws::AutoScaling
|
9
11
|
module Types
|
10
12
|
|
13
|
+
# The request failed because an active instance refresh for the
|
14
|
+
# specified Auto Scaling group was not found.
|
15
|
+
#
|
16
|
+
# @!attribute [rw] message
|
17
|
+
# @return [String]
|
18
|
+
#
|
19
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ActiveInstanceRefreshNotFoundFault AWS API Documentation
|
20
|
+
#
|
21
|
+
class ActiveInstanceRefreshNotFoundFault < Struct.new(
|
22
|
+
:message)
|
23
|
+
SENSITIVE = []
|
24
|
+
include Aws::Structure
|
25
|
+
end
|
26
|
+
|
11
27
|
# @!attribute [rw] activities
|
12
28
|
# The scaling activities. Activities are sorted by start time.
|
13
29
|
# Activities still in progress are described first.
|
@@ -26,6 +42,7 @@ module Aws::AutoScaling
|
|
26
42
|
class ActivitiesType < Struct.new(
|
27
43
|
:activities,
|
28
44
|
:next_token)
|
45
|
+
SENSITIVE = []
|
29
46
|
include Aws::Structure
|
30
47
|
end
|
31
48
|
|
@@ -87,6 +104,7 @@ module Aws::AutoScaling
|
|
87
104
|
:status_message,
|
88
105
|
:progress,
|
89
106
|
:details)
|
107
|
+
SENSITIVE = []
|
90
108
|
include Aws::Structure
|
91
109
|
end
|
92
110
|
|
@@ -98,6 +116,7 @@ module Aws::AutoScaling
|
|
98
116
|
#
|
99
117
|
class ActivityType < Struct.new(
|
100
118
|
:activity)
|
119
|
+
SENSITIVE = []
|
101
120
|
include Aws::Structure
|
102
121
|
end
|
103
122
|
|
@@ -112,6 +131,7 @@ module Aws::AutoScaling
|
|
112
131
|
#
|
113
132
|
class AdjustmentType < Struct.new(
|
114
133
|
:adjustment_type)
|
134
|
+
SENSITIVE = []
|
115
135
|
include Aws::Structure
|
116
136
|
end
|
117
137
|
|
@@ -130,6 +150,7 @@ module Aws::AutoScaling
|
|
130
150
|
class Alarm < Struct.new(
|
131
151
|
:alarm_name,
|
132
152
|
:alarm_arn)
|
153
|
+
SENSITIVE = []
|
133
154
|
include Aws::Structure
|
134
155
|
end
|
135
156
|
|
@@ -143,6 +164,7 @@ module Aws::AutoScaling
|
|
143
164
|
#
|
144
165
|
class AlreadyExistsFault < Struct.new(
|
145
166
|
:message)
|
167
|
+
SENSITIVE = []
|
146
168
|
include Aws::Structure
|
147
169
|
end
|
148
170
|
|
@@ -167,6 +189,7 @@ module Aws::AutoScaling
|
|
167
189
|
class AttachInstancesQuery < Struct.new(
|
168
190
|
:instance_ids,
|
169
191
|
:auto_scaling_group_name)
|
192
|
+
SENSITIVE = []
|
170
193
|
include Aws::Structure
|
171
194
|
end
|
172
195
|
|
@@ -196,6 +219,7 @@ module Aws::AutoScaling
|
|
196
219
|
class AttachLoadBalancerTargetGroupsType < Struct.new(
|
197
220
|
:auto_scaling_group_name,
|
198
221
|
:target_group_arns)
|
222
|
+
SENSITIVE = []
|
199
223
|
include Aws::Structure
|
200
224
|
end
|
201
225
|
|
@@ -225,6 +249,7 @@ module Aws::AutoScaling
|
|
225
249
|
class AttachLoadBalancersType < Struct.new(
|
226
250
|
:auto_scaling_group_name,
|
227
251
|
:load_balancer_names)
|
252
|
+
SENSITIVE = []
|
228
253
|
include Aws::Structure
|
229
254
|
end
|
230
255
|
|
@@ -319,8 +344,8 @@ module Aws::AutoScaling
|
|
319
344
|
# @return [Array<Types::EnabledMetric>]
|
320
345
|
#
|
321
346
|
# @!attribute [rw] status
|
322
|
-
# The current state of the group when DeleteAutoScalingGroup
|
323
|
-
# progress.
|
347
|
+
# The current state of the group when the DeleteAutoScalingGroup
|
348
|
+
# operation is in progress.
|
324
349
|
# @return [String]
|
325
350
|
#
|
326
351
|
# @!attribute [rw] tags
|
@@ -345,7 +370,7 @@ module Aws::AutoScaling
|
|
345
370
|
# The maximum amount of time, in seconds, that an instance can be in
|
346
371
|
# service.
|
347
372
|
#
|
348
|
-
# Valid Range: Minimum value of
|
373
|
+
# Valid Range: Minimum value of 0.
|
349
374
|
# @return [Integer]
|
350
375
|
#
|
351
376
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AutoScalingGroup AWS API Documentation
|
@@ -377,6 +402,7 @@ module Aws::AutoScaling
|
|
377
402
|
:new_instances_protected_from_scale_in,
|
378
403
|
:service_linked_role_arn,
|
379
404
|
:max_instance_lifetime)
|
405
|
+
SENSITIVE = []
|
380
406
|
include Aws::Structure
|
381
407
|
end
|
382
408
|
|
@@ -414,6 +440,7 @@ module Aws::AutoScaling
|
|
414
440
|
:auto_scaling_group_names,
|
415
441
|
:next_token,
|
416
442
|
:max_records)
|
443
|
+
SENSITIVE = []
|
417
444
|
include Aws::Structure
|
418
445
|
end
|
419
446
|
|
@@ -434,6 +461,7 @@ module Aws::AutoScaling
|
|
434
461
|
class AutoScalingGroupsType < Struct.new(
|
435
462
|
:auto_scaling_groups,
|
436
463
|
:next_token)
|
464
|
+
SENSITIVE = []
|
437
465
|
include Aws::Structure
|
438
466
|
end
|
439
467
|
|
@@ -501,6 +529,7 @@ module Aws::AutoScaling
|
|
501
529
|
:launch_template,
|
502
530
|
:protected_from_scale_in,
|
503
531
|
:weighted_capacity)
|
532
|
+
SENSITIVE = []
|
504
533
|
include Aws::Structure
|
505
534
|
end
|
506
535
|
|
@@ -521,6 +550,7 @@ module Aws::AutoScaling
|
|
521
550
|
class AutoScalingInstancesType < Struct.new(
|
522
551
|
:auto_scaling_instances,
|
523
552
|
:next_token)
|
553
|
+
SENSITIVE = []
|
524
554
|
include Aws::Structure
|
525
555
|
end
|
526
556
|
|
@@ -533,6 +563,7 @@ module Aws::AutoScaling
|
|
533
563
|
#
|
534
564
|
class BatchDeleteScheduledActionAnswer < Struct.new(
|
535
565
|
:failed_scheduled_actions)
|
566
|
+
SENSITIVE = []
|
536
567
|
include Aws::Structure
|
537
568
|
end
|
538
569
|
|
@@ -558,6 +589,7 @@ module Aws::AutoScaling
|
|
558
589
|
class BatchDeleteScheduledActionType < Struct.new(
|
559
590
|
:auto_scaling_group_name,
|
560
591
|
:scheduled_action_names)
|
592
|
+
SENSITIVE = []
|
561
593
|
include Aws::Structure
|
562
594
|
end
|
563
595
|
|
@@ -570,6 +602,7 @@ module Aws::AutoScaling
|
|
570
602
|
#
|
571
603
|
class BatchPutScheduledUpdateGroupActionAnswer < Struct.new(
|
572
604
|
:failed_scheduled_update_group_actions)
|
605
|
+
SENSITIVE = []
|
573
606
|
include Aws::Structure
|
574
607
|
end
|
575
608
|
|
@@ -604,6 +637,7 @@ module Aws::AutoScaling
|
|
604
637
|
class BatchPutScheduledUpdateGroupActionType < Struct.new(
|
605
638
|
:auto_scaling_group_name,
|
606
639
|
:scheduled_update_group_actions)
|
640
|
+
SENSITIVE = []
|
607
641
|
include Aws::Structure
|
608
642
|
end
|
609
643
|
|
@@ -628,6 +662,8 @@ module Aws::AutoScaling
|
|
628
662
|
#
|
629
663
|
# @!attribute [rw] virtual_name
|
630
664
|
# The name of the virtual device (for example, `ephemeral0`).
|
665
|
+
#
|
666
|
+
# You can specify either `VirtualName` or `Ebs`, but not both.
|
631
667
|
# @return [String]
|
632
668
|
#
|
633
669
|
# @!attribute [rw] device_name
|
@@ -641,15 +677,21 @@ module Aws::AutoScaling
|
|
641
677
|
# @return [String]
|
642
678
|
#
|
643
679
|
# @!attribute [rw] ebs
|
644
|
-
#
|
680
|
+
# Parameters used to automatically set up EBS volumes when an instance
|
681
|
+
# is launched.
|
682
|
+
#
|
683
|
+
# You can specify either `VirtualName` or `Ebs`, but not both.
|
645
684
|
# @return [Types::Ebs]
|
646
685
|
#
|
647
686
|
# @!attribute [rw] no_device
|
648
|
-
#
|
687
|
+
# Setting this value to `true` suppresses the specified device
|
688
|
+
# included in the block device mapping of the AMI.
|
649
689
|
#
|
650
|
-
# If
|
651
|
-
#
|
652
|
-
#
|
690
|
+
# If `NoDevice` is `true` for the root device, instances might fail
|
691
|
+
# the EC2 health check. In that case, Amazon EC2 Auto Scaling launches
|
692
|
+
# replacement instances.
|
693
|
+
#
|
694
|
+
# If you specify `NoDevice`, you cannot specify `Ebs`.
|
653
695
|
# @return [Boolean]
|
654
696
|
#
|
655
697
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/BlockDeviceMapping AWS API Documentation
|
@@ -659,6 +701,38 @@ module Aws::AutoScaling
|
|
659
701
|
:device_name,
|
660
702
|
:ebs,
|
661
703
|
:no_device)
|
704
|
+
SENSITIVE = []
|
705
|
+
include Aws::Structure
|
706
|
+
end
|
707
|
+
|
708
|
+
# @!attribute [rw] instance_refresh_id
|
709
|
+
# The instance refresh ID.
|
710
|
+
# @return [String]
|
711
|
+
#
|
712
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CancelInstanceRefreshAnswer AWS API Documentation
|
713
|
+
#
|
714
|
+
class CancelInstanceRefreshAnswer < Struct.new(
|
715
|
+
:instance_refresh_id)
|
716
|
+
SENSITIVE = []
|
717
|
+
include Aws::Structure
|
718
|
+
end
|
719
|
+
|
720
|
+
# @note When making an API call, you may pass CancelInstanceRefreshType
|
721
|
+
# data as a hash:
|
722
|
+
#
|
723
|
+
# {
|
724
|
+
# auto_scaling_group_name: "XmlStringMaxLen255", # required
|
725
|
+
# }
|
726
|
+
#
|
727
|
+
# @!attribute [rw] auto_scaling_group_name
|
728
|
+
# The name of the Auto Scaling group.
|
729
|
+
# @return [String]
|
730
|
+
#
|
731
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CancelInstanceRefreshType AWS API Documentation
|
732
|
+
#
|
733
|
+
class CancelInstanceRefreshType < Struct.new(
|
734
|
+
:auto_scaling_group_name)
|
735
|
+
SENSITIVE = []
|
662
736
|
include Aws::Structure
|
663
737
|
end
|
664
738
|
|
@@ -709,6 +783,7 @@ module Aws::AutoScaling
|
|
709
783
|
:lifecycle_action_token,
|
710
784
|
:lifecycle_action_result,
|
711
785
|
:instance_id)
|
786
|
+
SENSITIVE = []
|
712
787
|
include Aws::Structure
|
713
788
|
end
|
714
789
|
|
@@ -790,21 +865,29 @@ module Aws::AutoScaling
|
|
790
865
|
# @return [String]
|
791
866
|
#
|
792
867
|
# @!attribute [rw] launch_configuration_name
|
793
|
-
# The name of the launch configuration
|
868
|
+
# The name of the launch configuration to use when an instance is
|
869
|
+
# launched. To get the launch configuration name, use the
|
870
|
+
# DescribeLaunchConfigurations API operation. New launch
|
871
|
+
# configurations can be created with the CreateLaunchConfiguration
|
872
|
+
# API.
|
794
873
|
#
|
795
|
-
#
|
796
|
-
#
|
874
|
+
# You must specify one of the following parameters in your request:
|
875
|
+
# `LaunchConfigurationName`, `LaunchTemplate`, `InstanceId`, or
|
797
876
|
# `MixedInstancesPolicy`.
|
798
877
|
# @return [String]
|
799
878
|
#
|
800
879
|
# @!attribute [rw] launch_template
|
801
|
-
#
|
880
|
+
# Parameters used to specify the launch template and version to use
|
881
|
+
# when an instance is launched.
|
802
882
|
#
|
803
883
|
# For more information, see [LaunchTemplateSpecification][1] in the
|
804
884
|
# *Amazon EC2 Auto Scaling API Reference*.
|
805
885
|
#
|
806
|
-
#
|
807
|
-
#
|
886
|
+
# You can alternatively associate a launch template to the Auto
|
887
|
+
# Scaling group by using the `MixedInstancesPolicy` parameter.
|
888
|
+
#
|
889
|
+
# You must specify one of the following parameters in your request:
|
890
|
+
# `LaunchConfigurationName`, `LaunchTemplate`, `InstanceId`, or
|
808
891
|
# `MixedInstancesPolicy`.
|
809
892
|
#
|
810
893
|
#
|
@@ -841,23 +924,21 @@ module Aws::AutoScaling
|
|
841
924
|
#
|
842
925
|
# @!attribute [rw] instance_id
|
843
926
|
# The ID of the instance used to create a launch configuration for the
|
844
|
-
# group.
|
927
|
+
# group. To get the instance ID, use the Amazon EC2
|
928
|
+
# [DescribeInstances][1] API operation.
|
845
929
|
#
|
846
930
|
# When you specify an ID of an instance, Amazon EC2 Auto Scaling
|
847
931
|
# creates a new launch configuration and associates it with the group.
|
848
932
|
# This launch configuration derives its attributes from the specified
|
849
933
|
# instance, except for the block device mapping.
|
850
934
|
#
|
851
|
-
# For more information, see [Create an Auto Scaling Group Using an EC2
|
852
|
-
# Instance][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
853
|
-
#
|
854
935
|
# You must specify one of the following parameters in your request:
|
855
936
|
# `LaunchConfigurationName`, `LaunchTemplate`, `InstanceId`, or
|
856
937
|
# `MixedInstancesPolicy`.
|
857
938
|
#
|
858
939
|
#
|
859
940
|
#
|
860
|
-
# [1]: https://docs.aws.amazon.com/
|
941
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html
|
861
942
|
# @return [String]
|
862
943
|
#
|
863
944
|
# @!attribute [rw] min_size
|
@@ -866,14 +947,27 @@ module Aws::AutoScaling
|
|
866
947
|
#
|
867
948
|
# @!attribute [rw] max_size
|
868
949
|
# The maximum size of the group.
|
950
|
+
#
|
951
|
+
# <note markdown="1"> With a mixed instances policy that uses instance weighting, Amazon
|
952
|
+
# EC2 Auto Scaling may need to go above `MaxSize` to meet your
|
953
|
+
# capacity requirements. In this event, Amazon EC2 Auto Scaling will
|
954
|
+
# never go above `MaxSize` by more than your maximum instance weight
|
955
|
+
# (weights that define how many capacity units each instance
|
956
|
+
# contributes to the capacity of the group).
|
957
|
+
#
|
958
|
+
# </note>
|
869
959
|
# @return [Integer]
|
870
960
|
#
|
871
961
|
# @!attribute [rw] desired_capacity
|
872
|
-
# The
|
873
|
-
#
|
874
|
-
#
|
875
|
-
#
|
876
|
-
#
|
962
|
+
# The desired capacity is the initial capacity of the Auto Scaling
|
963
|
+
# group at the time of its creation and the capacity it attempts to
|
964
|
+
# maintain. It can scale beyond this capacity if you configure
|
965
|
+
# automatic scaling.
|
966
|
+
#
|
967
|
+
# This number must be greater than or equal to the minimum size of the
|
968
|
+
# group and less than or equal to the maximum size of the group. If
|
969
|
+
# you do not specify a desired capacity, the default is the minimum
|
970
|
+
# size of the group.
|
877
971
|
# @return [Integer]
|
878
972
|
#
|
879
973
|
# @!attribute [rw] default_cooldown
|
@@ -1012,7 +1106,15 @@ module Aws::AutoScaling
|
|
1012
1106
|
# @return [Array<Types::LifecycleHookSpecification>]
|
1013
1107
|
#
|
1014
1108
|
# @!attribute [rw] tags
|
1015
|
-
# One or more tags.
|
1109
|
+
# One or more tags. You can tag your Auto Scaling group and propagate
|
1110
|
+
# the tags to the Amazon EC2 instances it launches.
|
1111
|
+
#
|
1112
|
+
# Tags are not propagated to Amazon EBS volumes. To add tags to Amazon
|
1113
|
+
# EBS volumes, specify the tags in a launch template but use caution.
|
1114
|
+
# If the launch template specifies an instance tag with a key that is
|
1115
|
+
# also specified for the Auto Scaling group, Amazon EC2 Auto Scaling
|
1116
|
+
# overrides the value of that instance tag with the value specified by
|
1117
|
+
# the Auto Scaling group.
|
1016
1118
|
#
|
1017
1119
|
# For more information, see [Tagging Auto Scaling Groups and
|
1018
1120
|
# Instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
@@ -1037,13 +1139,17 @@ module Aws::AutoScaling
|
|
1037
1139
|
#
|
1038
1140
|
# @!attribute [rw] max_instance_lifetime
|
1039
1141
|
# The maximum amount of time, in seconds, that an instance can be in
|
1040
|
-
# service.
|
1142
|
+
# service. The default is null.
|
1143
|
+
#
|
1144
|
+
# This parameter is optional, but if you specify a value for it, you
|
1145
|
+
# must specify a value of at least 604,800 seconds (7 days). To clear
|
1146
|
+
# a previously set value, specify a new value of 0.
|
1041
1147
|
#
|
1042
1148
|
# For more information, see [Replacing Auto Scaling Instances Based on
|
1043
1149
|
# Maximum Instance Lifetime][1] in the *Amazon EC2 Auto Scaling User
|
1044
1150
|
# Guide*.
|
1045
1151
|
#
|
1046
|
-
# Valid Range: Minimum value of
|
1152
|
+
# Valid Range: Minimum value of 0.
|
1047
1153
|
#
|
1048
1154
|
#
|
1049
1155
|
#
|
@@ -1075,6 +1181,7 @@ module Aws::AutoScaling
|
|
1075
1181
|
:tags,
|
1076
1182
|
:service_linked_role_arn,
|
1077
1183
|
:max_instance_lifetime)
|
1184
|
+
SENSITIVE = []
|
1078
1185
|
include Aws::Structure
|
1079
1186
|
end
|
1080
1187
|
|
@@ -1392,6 +1499,7 @@ module Aws::AutoScaling
|
|
1392
1499
|
:ebs_optimized,
|
1393
1500
|
:associate_public_ip_address,
|
1394
1501
|
:placement_tenancy)
|
1502
|
+
SENSITIVE = []
|
1395
1503
|
include Aws::Structure
|
1396
1504
|
end
|
1397
1505
|
|
@@ -1418,6 +1526,7 @@ module Aws::AutoScaling
|
|
1418
1526
|
#
|
1419
1527
|
class CreateOrUpdateTagsType < Struct.new(
|
1420
1528
|
:tags)
|
1529
|
+
SENSITIVE = []
|
1421
1530
|
include Aws::Structure
|
1422
1531
|
end
|
1423
1532
|
|
@@ -1492,6 +1601,7 @@ module Aws::AutoScaling
|
|
1492
1601
|
:dimensions,
|
1493
1602
|
:statistic,
|
1494
1603
|
:unit)
|
1604
|
+
SENSITIVE = []
|
1495
1605
|
include Aws::Structure
|
1496
1606
|
end
|
1497
1607
|
|
@@ -1519,6 +1629,7 @@ module Aws::AutoScaling
|
|
1519
1629
|
class DeleteAutoScalingGroupType < Struct.new(
|
1520
1630
|
:auto_scaling_group_name,
|
1521
1631
|
:force_delete)
|
1632
|
+
SENSITIVE = []
|
1522
1633
|
include Aws::Structure
|
1523
1634
|
end
|
1524
1635
|
|
@@ -1547,6 +1658,7 @@ module Aws::AutoScaling
|
|
1547
1658
|
class DeleteLifecycleHookType < Struct.new(
|
1548
1659
|
:lifecycle_hook_name,
|
1549
1660
|
:auto_scaling_group_name)
|
1661
|
+
SENSITIVE = []
|
1550
1662
|
include Aws::Structure
|
1551
1663
|
end
|
1552
1664
|
|
@@ -1572,6 +1684,7 @@ module Aws::AutoScaling
|
|
1572
1684
|
class DeleteNotificationConfigurationType < Struct.new(
|
1573
1685
|
:auto_scaling_group_name,
|
1574
1686
|
:topic_arn)
|
1687
|
+
SENSITIVE = []
|
1575
1688
|
include Aws::Structure
|
1576
1689
|
end
|
1577
1690
|
|
@@ -1596,6 +1709,7 @@ module Aws::AutoScaling
|
|
1596
1709
|
class DeletePolicyType < Struct.new(
|
1597
1710
|
:auto_scaling_group_name,
|
1598
1711
|
:policy_name)
|
1712
|
+
SENSITIVE = []
|
1599
1713
|
include Aws::Structure
|
1600
1714
|
end
|
1601
1715
|
|
@@ -1620,6 +1734,7 @@ module Aws::AutoScaling
|
|
1620
1734
|
class DeleteScheduledActionType < Struct.new(
|
1621
1735
|
:auto_scaling_group_name,
|
1622
1736
|
:scheduled_action_name)
|
1737
|
+
SENSITIVE = []
|
1623
1738
|
include Aws::Structure
|
1624
1739
|
end
|
1625
1740
|
|
@@ -1646,6 +1761,7 @@ module Aws::AutoScaling
|
|
1646
1761
|
#
|
1647
1762
|
class DeleteTagsType < Struct.new(
|
1648
1763
|
:tags)
|
1764
|
+
SENSITIVE = []
|
1649
1765
|
include Aws::Structure
|
1650
1766
|
end
|
1651
1767
|
|
@@ -1674,6 +1790,7 @@ module Aws::AutoScaling
|
|
1674
1790
|
:max_number_of_launch_configurations,
|
1675
1791
|
:number_of_auto_scaling_groups,
|
1676
1792
|
:number_of_launch_configurations)
|
1793
|
+
SENSITIVE = []
|
1677
1794
|
include Aws::Structure
|
1678
1795
|
end
|
1679
1796
|
|
@@ -1685,6 +1802,7 @@ module Aws::AutoScaling
|
|
1685
1802
|
#
|
1686
1803
|
class DescribeAdjustmentTypesAnswer < Struct.new(
|
1687
1804
|
:adjustment_types)
|
1805
|
+
SENSITIVE = []
|
1688
1806
|
include Aws::Structure
|
1689
1807
|
end
|
1690
1808
|
|
@@ -1720,6 +1838,7 @@ module Aws::AutoScaling
|
|
1720
1838
|
:instance_ids,
|
1721
1839
|
:max_records,
|
1722
1840
|
:next_token)
|
1841
|
+
SENSITIVE = []
|
1723
1842
|
include Aws::Structure
|
1724
1843
|
end
|
1725
1844
|
|
@@ -1731,6 +1850,74 @@ module Aws::AutoScaling
|
|
1731
1850
|
#
|
1732
1851
|
class DescribeAutoScalingNotificationTypesAnswer < Struct.new(
|
1733
1852
|
:auto_scaling_notification_types)
|
1853
|
+
SENSITIVE = []
|
1854
|
+
include Aws::Structure
|
1855
|
+
end
|
1856
|
+
|
1857
|
+
# @!attribute [rw] instance_refreshes
|
1858
|
+
# The instance refreshes for the specified group.
|
1859
|
+
#
|
1860
|
+
# For more information, see [Replacing Auto Scaling Instances Based on
|
1861
|
+
# an Instance Refresh][1].
|
1862
|
+
#
|
1863
|
+
#
|
1864
|
+
#
|
1865
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-refresh.html
|
1866
|
+
# @return [Array<Types::InstanceRefresh>]
|
1867
|
+
#
|
1868
|
+
# @!attribute [rw] next_token
|
1869
|
+
# A string that indicates that the response contains more items than
|
1870
|
+
# can be returned in a single response. To receive additional items,
|
1871
|
+
# specify this string for the `NextToken` value when requesting the
|
1872
|
+
# next set of items. This value is null when there are no more items
|
1873
|
+
# to return.
|
1874
|
+
# @return [String]
|
1875
|
+
#
|
1876
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeInstanceRefreshesAnswer AWS API Documentation
|
1877
|
+
#
|
1878
|
+
class DescribeInstanceRefreshesAnswer < Struct.new(
|
1879
|
+
:instance_refreshes,
|
1880
|
+
:next_token)
|
1881
|
+
SENSITIVE = []
|
1882
|
+
include Aws::Structure
|
1883
|
+
end
|
1884
|
+
|
1885
|
+
# @note When making an API call, you may pass DescribeInstanceRefreshesType
|
1886
|
+
# data as a hash:
|
1887
|
+
#
|
1888
|
+
# {
|
1889
|
+
# auto_scaling_group_name: "XmlStringMaxLen255", # required
|
1890
|
+
# instance_refresh_ids: ["XmlStringMaxLen255"],
|
1891
|
+
# next_token: "XmlString",
|
1892
|
+
# max_records: 1,
|
1893
|
+
# }
|
1894
|
+
#
|
1895
|
+
# @!attribute [rw] auto_scaling_group_name
|
1896
|
+
# The name of the Auto Scaling group.
|
1897
|
+
# @return [String]
|
1898
|
+
#
|
1899
|
+
# @!attribute [rw] instance_refresh_ids
|
1900
|
+
# One or more instance refresh IDs.
|
1901
|
+
# @return [Array<String>]
|
1902
|
+
#
|
1903
|
+
# @!attribute [rw] next_token
|
1904
|
+
# The token for the next set of items to return. (You received this
|
1905
|
+
# token from a previous call.)
|
1906
|
+
# @return [String]
|
1907
|
+
#
|
1908
|
+
# @!attribute [rw] max_records
|
1909
|
+
# The maximum number of items to return with this call. The default
|
1910
|
+
# value is `50` and the maximum value is `100`.
|
1911
|
+
# @return [Integer]
|
1912
|
+
#
|
1913
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeInstanceRefreshesType AWS API Documentation
|
1914
|
+
#
|
1915
|
+
class DescribeInstanceRefreshesType < Struct.new(
|
1916
|
+
:auto_scaling_group_name,
|
1917
|
+
:instance_refresh_ids,
|
1918
|
+
:next_token,
|
1919
|
+
:max_records)
|
1920
|
+
SENSITIVE = []
|
1734
1921
|
include Aws::Structure
|
1735
1922
|
end
|
1736
1923
|
|
@@ -1742,6 +1929,7 @@ module Aws::AutoScaling
|
|
1742
1929
|
#
|
1743
1930
|
class DescribeLifecycleHookTypesAnswer < Struct.new(
|
1744
1931
|
:lifecycle_hook_types)
|
1932
|
+
SENSITIVE = []
|
1745
1933
|
include Aws::Structure
|
1746
1934
|
end
|
1747
1935
|
|
@@ -1753,6 +1941,7 @@ module Aws::AutoScaling
|
|
1753
1941
|
#
|
1754
1942
|
class DescribeLifecycleHooksAnswer < Struct.new(
|
1755
1943
|
:lifecycle_hooks)
|
1944
|
+
SENSITIVE = []
|
1756
1945
|
include Aws::Structure
|
1757
1946
|
end
|
1758
1947
|
|
@@ -1778,6 +1967,7 @@ module Aws::AutoScaling
|
|
1778
1967
|
class DescribeLifecycleHooksType < Struct.new(
|
1779
1968
|
:auto_scaling_group_name,
|
1780
1969
|
:lifecycle_hook_names)
|
1970
|
+
SENSITIVE = []
|
1781
1971
|
include Aws::Structure
|
1782
1972
|
end
|
1783
1973
|
|
@@ -1810,6 +2000,7 @@ module Aws::AutoScaling
|
|
1810
2000
|
:auto_scaling_group_name,
|
1811
2001
|
:next_token,
|
1812
2002
|
:max_records)
|
2003
|
+
SENSITIVE = []
|
1813
2004
|
include Aws::Structure
|
1814
2005
|
end
|
1815
2006
|
|
@@ -1830,6 +2021,7 @@ module Aws::AutoScaling
|
|
1830
2021
|
class DescribeLoadBalancerTargetGroupsResponse < Struct.new(
|
1831
2022
|
:load_balancer_target_groups,
|
1832
2023
|
:next_token)
|
2024
|
+
SENSITIVE = []
|
1833
2025
|
include Aws::Structure
|
1834
2026
|
end
|
1835
2027
|
|
@@ -1862,6 +2054,7 @@ module Aws::AutoScaling
|
|
1862
2054
|
:auto_scaling_group_name,
|
1863
2055
|
:next_token,
|
1864
2056
|
:max_records)
|
2057
|
+
SENSITIVE = []
|
1865
2058
|
include Aws::Structure
|
1866
2059
|
end
|
1867
2060
|
|
@@ -1882,6 +2075,7 @@ module Aws::AutoScaling
|
|
1882
2075
|
class DescribeLoadBalancersResponse < Struct.new(
|
1883
2076
|
:load_balancers,
|
1884
2077
|
:next_token)
|
2078
|
+
SENSITIVE = []
|
1885
2079
|
include Aws::Structure
|
1886
2080
|
end
|
1887
2081
|
|
@@ -1898,6 +2092,7 @@ module Aws::AutoScaling
|
|
1898
2092
|
class DescribeMetricCollectionTypesAnswer < Struct.new(
|
1899
2093
|
:metrics,
|
1900
2094
|
:granularities)
|
2095
|
+
SENSITIVE = []
|
1901
2096
|
include Aws::Structure
|
1902
2097
|
end
|
1903
2098
|
|
@@ -1918,6 +2113,7 @@ module Aws::AutoScaling
|
|
1918
2113
|
class DescribeNotificationConfigurationsAnswer < Struct.new(
|
1919
2114
|
:notification_configurations,
|
1920
2115
|
:next_token)
|
2116
|
+
SENSITIVE = []
|
1921
2117
|
include Aws::Structure
|
1922
2118
|
end
|
1923
2119
|
|
@@ -1950,6 +2146,7 @@ module Aws::AutoScaling
|
|
1950
2146
|
:auto_scaling_group_names,
|
1951
2147
|
:next_token,
|
1952
2148
|
:max_records)
|
2149
|
+
SENSITIVE = []
|
1953
2150
|
include Aws::Structure
|
1954
2151
|
end
|
1955
2152
|
|
@@ -1998,6 +2195,7 @@ module Aws::AutoScaling
|
|
1998
2195
|
:policy_types,
|
1999
2196
|
:next_token,
|
2000
2197
|
:max_records)
|
2198
|
+
SENSITIVE = []
|
2001
2199
|
include Aws::Structure
|
2002
2200
|
end
|
2003
2201
|
|
@@ -2040,6 +2238,7 @@ module Aws::AutoScaling
|
|
2040
2238
|
:auto_scaling_group_name,
|
2041
2239
|
:max_records,
|
2042
2240
|
:next_token)
|
2241
|
+
SENSITIVE = []
|
2043
2242
|
include Aws::Structure
|
2044
2243
|
end
|
2045
2244
|
|
@@ -2095,6 +2294,7 @@ module Aws::AutoScaling
|
|
2095
2294
|
:end_time,
|
2096
2295
|
:next_token,
|
2097
2296
|
:max_records)
|
2297
|
+
SENSITIVE = []
|
2098
2298
|
include Aws::Structure
|
2099
2299
|
end
|
2100
2300
|
|
@@ -2134,6 +2334,7 @@ module Aws::AutoScaling
|
|
2134
2334
|
:filters,
|
2135
2335
|
:next_token,
|
2136
2336
|
:max_records)
|
2337
|
+
SENSITIVE = []
|
2137
2338
|
include Aws::Structure
|
2138
2339
|
end
|
2139
2340
|
|
@@ -2148,6 +2349,7 @@ module Aws::AutoScaling
|
|
2148
2349
|
#
|
2149
2350
|
class DescribeTerminationPolicyTypesAnswer < Struct.new(
|
2150
2351
|
:termination_policy_types)
|
2352
|
+
SENSITIVE = []
|
2151
2353
|
include Aws::Structure
|
2152
2354
|
end
|
2153
2355
|
|
@@ -2160,6 +2362,7 @@ module Aws::AutoScaling
|
|
2160
2362
|
#
|
2161
2363
|
class DetachInstancesAnswer < Struct.new(
|
2162
2364
|
:activities)
|
2365
|
+
SENSITIVE = []
|
2163
2366
|
include Aws::Structure
|
2164
2367
|
end
|
2165
2368
|
|
@@ -2191,6 +2394,7 @@ module Aws::AutoScaling
|
|
2191
2394
|
:instance_ids,
|
2192
2395
|
:auto_scaling_group_name,
|
2193
2396
|
:should_decrement_desired_capacity)
|
2397
|
+
SENSITIVE = []
|
2194
2398
|
include Aws::Structure
|
2195
2399
|
end
|
2196
2400
|
|
@@ -2220,6 +2424,7 @@ module Aws::AutoScaling
|
|
2220
2424
|
class DetachLoadBalancerTargetGroupsType < Struct.new(
|
2221
2425
|
:auto_scaling_group_name,
|
2222
2426
|
:target_group_arns)
|
2427
|
+
SENSITIVE = []
|
2223
2428
|
include Aws::Structure
|
2224
2429
|
end
|
2225
2430
|
|
@@ -2249,6 +2454,7 @@ module Aws::AutoScaling
|
|
2249
2454
|
class DetachLoadBalancersType < Struct.new(
|
2250
2455
|
:auto_scaling_group_name,
|
2251
2456
|
:load_balancer_names)
|
2457
|
+
SENSITIVE = []
|
2252
2458
|
include Aws::Structure
|
2253
2459
|
end
|
2254
2460
|
|
@@ -2265,8 +2471,7 @@ module Aws::AutoScaling
|
|
2265
2471
|
# @return [String]
|
2266
2472
|
#
|
2267
2473
|
# @!attribute [rw] metrics
|
2268
|
-
#
|
2269
|
-
# all metrics are disabled.
|
2474
|
+
# Specifies one or more of the following metrics:
|
2270
2475
|
#
|
2271
2476
|
# * `GroupMinSize`
|
2272
2477
|
#
|
@@ -2283,6 +2488,18 @@ module Aws::AutoScaling
|
|
2283
2488
|
# * `GroupTerminatingInstances`
|
2284
2489
|
#
|
2285
2490
|
# * `GroupTotalInstances`
|
2491
|
+
#
|
2492
|
+
# * `GroupInServiceCapacity`
|
2493
|
+
#
|
2494
|
+
# * `GroupPendingCapacity`
|
2495
|
+
#
|
2496
|
+
# * `GroupStandbyCapacity`
|
2497
|
+
#
|
2498
|
+
# * `GroupTerminatingCapacity`
|
2499
|
+
#
|
2500
|
+
# * `GroupTotalCapacity`
|
2501
|
+
#
|
2502
|
+
# If you omit this parameter, all metrics are disabled.
|
2286
2503
|
# @return [Array<String>]
|
2287
2504
|
#
|
2288
2505
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DisableMetricsCollectionQuery AWS API Documentation
|
@@ -2290,11 +2507,12 @@ module Aws::AutoScaling
|
|
2290
2507
|
class DisableMetricsCollectionQuery < Struct.new(
|
2291
2508
|
:auto_scaling_group_name,
|
2292
2509
|
:metrics)
|
2510
|
+
SENSITIVE = []
|
2293
2511
|
include Aws::Structure
|
2294
2512
|
end
|
2295
2513
|
|
2296
|
-
# Describes an Amazon EBS volume
|
2297
|
-
#
|
2514
|
+
# Describes information used to set up an Amazon EBS volume specified in
|
2515
|
+
# a block device mapping.
|
2298
2516
|
#
|
2299
2517
|
# @note When making an API call, you may pass Ebs
|
2300
2518
|
# data as a hash:
|
@@ -2411,6 +2629,7 @@ module Aws::AutoScaling
|
|
2411
2629
|
:delete_on_termination,
|
2412
2630
|
:iops,
|
2413
2631
|
:encrypted)
|
2632
|
+
SENSITIVE = []
|
2414
2633
|
include Aws::Structure
|
2415
2634
|
end
|
2416
2635
|
|
@@ -2428,8 +2647,8 @@ module Aws::AutoScaling
|
|
2428
2647
|
# @return [String]
|
2429
2648
|
#
|
2430
2649
|
# @!attribute [rw] metrics
|
2431
|
-
#
|
2432
|
-
#
|
2650
|
+
# Specifies which group-level metrics to start collecting. You can
|
2651
|
+
# specify one or more of the following metrics:
|
2433
2652
|
#
|
2434
2653
|
# * `GroupMinSize`
|
2435
2654
|
#
|
@@ -2446,6 +2665,21 @@ module Aws::AutoScaling
|
|
2446
2665
|
# * `GroupTerminatingInstances`
|
2447
2666
|
#
|
2448
2667
|
# * `GroupTotalInstances`
|
2668
|
+
#
|
2669
|
+
# The instance weighting feature supports the following additional
|
2670
|
+
# metrics:
|
2671
|
+
#
|
2672
|
+
# * `GroupInServiceCapacity`
|
2673
|
+
#
|
2674
|
+
# * `GroupPendingCapacity`
|
2675
|
+
#
|
2676
|
+
# * `GroupStandbyCapacity`
|
2677
|
+
#
|
2678
|
+
# * `GroupTerminatingCapacity`
|
2679
|
+
#
|
2680
|
+
# * `GroupTotalCapacity`
|
2681
|
+
#
|
2682
|
+
# If you omit this parameter, all metrics are enabled.
|
2449
2683
|
# @return [Array<String>]
|
2450
2684
|
#
|
2451
2685
|
# @!attribute [rw] granularity
|
@@ -2459,6 +2693,7 @@ module Aws::AutoScaling
|
|
2459
2693
|
:auto_scaling_group_name,
|
2460
2694
|
:metrics,
|
2461
2695
|
:granularity)
|
2696
|
+
SENSITIVE = []
|
2462
2697
|
include Aws::Structure
|
2463
2698
|
end
|
2464
2699
|
|
@@ -2482,6 +2717,16 @@ module Aws::AutoScaling
|
|
2482
2717
|
# * `GroupTerminatingInstances`
|
2483
2718
|
#
|
2484
2719
|
# * `GroupTotalInstances`
|
2720
|
+
#
|
2721
|
+
# * `GroupInServiceCapacity`
|
2722
|
+
#
|
2723
|
+
# * `GroupPendingCapacity`
|
2724
|
+
#
|
2725
|
+
# * `GroupStandbyCapacity`
|
2726
|
+
#
|
2727
|
+
# * `GroupTerminatingCapacity`
|
2728
|
+
#
|
2729
|
+
# * `GroupTotalCapacity`
|
2485
2730
|
# @return [String]
|
2486
2731
|
#
|
2487
2732
|
# @!attribute [rw] granularity
|
@@ -2493,6 +2738,7 @@ module Aws::AutoScaling
|
|
2493
2738
|
class EnabledMetric < Struct.new(
|
2494
2739
|
:metric,
|
2495
2740
|
:granularity)
|
2741
|
+
SENSITIVE = []
|
2496
2742
|
include Aws::Structure
|
2497
2743
|
end
|
2498
2744
|
|
@@ -2504,6 +2750,7 @@ module Aws::AutoScaling
|
|
2504
2750
|
#
|
2505
2751
|
class EnterStandbyAnswer < Struct.new(
|
2506
2752
|
:activities)
|
2753
|
+
SENSITIVE = []
|
2507
2754
|
include Aws::Structure
|
2508
2755
|
end
|
2509
2756
|
|
@@ -2535,6 +2782,7 @@ module Aws::AutoScaling
|
|
2535
2782
|
:instance_ids,
|
2536
2783
|
:auto_scaling_group_name,
|
2537
2784
|
:should_decrement_desired_capacity)
|
2785
|
+
SENSITIVE = []
|
2538
2786
|
include Aws::Structure
|
2539
2787
|
end
|
2540
2788
|
|
@@ -2601,6 +2849,7 @@ module Aws::AutoScaling
|
|
2601
2849
|
:honor_cooldown,
|
2602
2850
|
:metric_value,
|
2603
2851
|
:breach_threshold)
|
2852
|
+
SENSITIVE = []
|
2604
2853
|
include Aws::Structure
|
2605
2854
|
end
|
2606
2855
|
|
@@ -2612,6 +2861,7 @@ module Aws::AutoScaling
|
|
2612
2861
|
#
|
2613
2862
|
class ExitStandbyAnswer < Struct.new(
|
2614
2863
|
:activities)
|
2864
|
+
SENSITIVE = []
|
2615
2865
|
include Aws::Structure
|
2616
2866
|
end
|
2617
2867
|
|
@@ -2636,6 +2886,7 @@ module Aws::AutoScaling
|
|
2636
2886
|
class ExitStandbyQuery < Struct.new(
|
2637
2887
|
:instance_ids,
|
2638
2888
|
:auto_scaling_group_name)
|
2889
|
+
SENSITIVE = []
|
2639
2890
|
include Aws::Structure
|
2640
2891
|
end
|
2641
2892
|
|
@@ -2660,10 +2911,19 @@ module Aws::AutoScaling
|
|
2660
2911
|
:scheduled_action_name,
|
2661
2912
|
:error_code,
|
2662
2913
|
:error_message)
|
2914
|
+
SENSITIVE = []
|
2663
2915
|
include Aws::Structure
|
2664
2916
|
end
|
2665
2917
|
|
2666
|
-
# Describes a filter
|
2918
|
+
# Describes a filter that is used to return a more specific list of
|
2919
|
+
# results when describing tags.
|
2920
|
+
#
|
2921
|
+
# For more information, see [Tagging Auto Scaling Groups and
|
2922
|
+
# Instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
2923
|
+
#
|
2924
|
+
#
|
2925
|
+
#
|
2926
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-tagging.html
|
2667
2927
|
#
|
2668
2928
|
# @note When making an API call, you may pass Filter
|
2669
2929
|
# data as a hash:
|
@@ -2674,13 +2934,12 @@ module Aws::AutoScaling
|
|
2674
2934
|
# }
|
2675
2935
|
#
|
2676
2936
|
# @!attribute [rw] name
|
2677
|
-
# The name of the filter. The valid values are:
|
2678
|
-
# `
|
2679
|
-
# `"propagate-at-launch"`.
|
2937
|
+
# The name of the filter. The valid values are: `auto-scaling-group`,
|
2938
|
+
# `key`, `value`, and `propagate-at-launch`.
|
2680
2939
|
# @return [String]
|
2681
2940
|
#
|
2682
2941
|
# @!attribute [rw] values
|
2683
|
-
#
|
2942
|
+
# One or more filter values. Filter values are case-sensitive.
|
2684
2943
|
# @return [Array<String>]
|
2685
2944
|
#
|
2686
2945
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/Filter AWS API Documentation
|
@@ -2688,6 +2947,7 @@ module Aws::AutoScaling
|
|
2688
2947
|
class Filter < Struct.new(
|
2689
2948
|
:name,
|
2690
2949
|
:values)
|
2950
|
+
SENSITIVE = []
|
2691
2951
|
include Aws::Structure
|
2692
2952
|
end
|
2693
2953
|
|
@@ -2749,6 +3009,7 @@ module Aws::AutoScaling
|
|
2749
3009
|
:launch_template,
|
2750
3010
|
:protected_from_scale_in,
|
2751
3011
|
:weighted_capacity)
|
3012
|
+
SENSITIVE = []
|
2752
3013
|
include Aws::Structure
|
2753
3014
|
end
|
2754
3015
|
|
@@ -2771,10 +3032,97 @@ module Aws::AutoScaling
|
|
2771
3032
|
#
|
2772
3033
|
class InstanceMonitoring < Struct.new(
|
2773
3034
|
:enabled)
|
3035
|
+
SENSITIVE = []
|
2774
3036
|
include Aws::Structure
|
2775
3037
|
end
|
2776
3038
|
|
2777
|
-
# Describes an
|
3039
|
+
# Describes an instance refresh for an Auto Scaling group.
|
3040
|
+
#
|
3041
|
+
# @!attribute [rw] instance_refresh_id
|
3042
|
+
# The instance refresh ID.
|
3043
|
+
# @return [String]
|
3044
|
+
#
|
3045
|
+
# @!attribute [rw] auto_scaling_group_name
|
3046
|
+
# The name of the Auto Scaling group.
|
3047
|
+
# @return [String]
|
3048
|
+
#
|
3049
|
+
# @!attribute [rw] status
|
3050
|
+
# The current status for the instance refresh operation:
|
3051
|
+
#
|
3052
|
+
# * `Pending` - The request was created, but the operation has not
|
3053
|
+
# started.
|
3054
|
+
#
|
3055
|
+
# * `InProgress` - The operation is in progress.
|
3056
|
+
#
|
3057
|
+
# * `Successful` - The operation completed successfully.
|
3058
|
+
#
|
3059
|
+
# * `Failed` - The operation failed to complete. You can troubleshoot
|
3060
|
+
# using the status reason and the scaling activities.
|
3061
|
+
#
|
3062
|
+
# * `Cancelling` - An ongoing operation is being cancelled.
|
3063
|
+
# Cancellation does not roll back any replacements that have already
|
3064
|
+
# been completed, but it prevents new replacements from being
|
3065
|
+
# started.
|
3066
|
+
#
|
3067
|
+
# * `Cancelled` - The operation is cancelled.
|
3068
|
+
# @return [String]
|
3069
|
+
#
|
3070
|
+
# @!attribute [rw] status_reason
|
3071
|
+
# Provides more details about the current status of the instance
|
3072
|
+
# refresh.
|
3073
|
+
# @return [String]
|
3074
|
+
#
|
3075
|
+
# @!attribute [rw] start_time
|
3076
|
+
# The date and time at which the instance refresh began.
|
3077
|
+
# @return [Time]
|
3078
|
+
#
|
3079
|
+
# @!attribute [rw] end_time
|
3080
|
+
# The date and time at which the instance refresh ended.
|
3081
|
+
# @return [Time]
|
3082
|
+
#
|
3083
|
+
# @!attribute [rw] percentage_complete
|
3084
|
+
# The percentage of the instance refresh that is complete. For each
|
3085
|
+
# instance replacement, Amazon EC2 Auto Scaling tracks the instance's
|
3086
|
+
# health status and warm-up time. When the instance's health status
|
3087
|
+
# changes to healthy and the specified warm-up time passes, the
|
3088
|
+
# instance is considered updated and added to the percentage complete.
|
3089
|
+
# @return [Integer]
|
3090
|
+
#
|
3091
|
+
# @!attribute [rw] instances_to_update
|
3092
|
+
# The number of instances remaining to update before the instance
|
3093
|
+
# refresh is complete.
|
3094
|
+
# @return [Integer]
|
3095
|
+
#
|
3096
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/InstanceRefresh AWS API Documentation
|
3097
|
+
#
|
3098
|
+
class InstanceRefresh < Struct.new(
|
3099
|
+
:instance_refresh_id,
|
3100
|
+
:auto_scaling_group_name,
|
3101
|
+
:status,
|
3102
|
+
:status_reason,
|
3103
|
+
:start_time,
|
3104
|
+
:end_time,
|
3105
|
+
:percentage_complete,
|
3106
|
+
:instances_to_update)
|
3107
|
+
SENSITIVE = []
|
3108
|
+
include Aws::Structure
|
3109
|
+
end
|
3110
|
+
|
3111
|
+
# The request failed because an active instance refresh operation
|
3112
|
+
# already exists for the specified Auto Scaling group.
|
3113
|
+
#
|
3114
|
+
# @!attribute [rw] message
|
3115
|
+
# @return [String]
|
3116
|
+
#
|
3117
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/InstanceRefreshInProgressFault AWS API Documentation
|
3118
|
+
#
|
3119
|
+
class InstanceRefreshInProgressFault < Struct.new(
|
3120
|
+
:message)
|
3121
|
+
SENSITIVE = []
|
3122
|
+
include Aws::Structure
|
3123
|
+
end
|
3124
|
+
|
3125
|
+
# Describes an instances distribution for an Auto Scaling group with a
|
2778
3126
|
# MixedInstancesPolicy.
|
2779
3127
|
#
|
2780
3128
|
# The instances distribution specifies the distribution of On-Demand
|
@@ -2902,6 +3250,7 @@ module Aws::AutoScaling
|
|
2902
3250
|
:spot_allocation_strategy,
|
2903
3251
|
:spot_instance_pools,
|
2904
3252
|
:spot_max_price)
|
3253
|
+
SENSITIVE = []
|
2905
3254
|
include Aws::Structure
|
2906
3255
|
end
|
2907
3256
|
|
@@ -2914,6 +3263,7 @@ module Aws::AutoScaling
|
|
2914
3263
|
#
|
2915
3264
|
class InvalidNextToken < Struct.new(
|
2916
3265
|
:message)
|
3266
|
+
SENSITIVE = []
|
2917
3267
|
include Aws::Structure
|
2918
3268
|
end
|
2919
3269
|
|
@@ -3136,6 +3486,7 @@ module Aws::AutoScaling
|
|
3136
3486
|
:ebs_optimized,
|
3137
3487
|
:associate_public_ip_address,
|
3138
3488
|
:placement_tenancy)
|
3489
|
+
SENSITIVE = []
|
3139
3490
|
include Aws::Structure
|
3140
3491
|
end
|
3141
3492
|
|
@@ -3154,6 +3505,7 @@ module Aws::AutoScaling
|
|
3154
3505
|
#
|
3155
3506
|
class LaunchConfigurationNameType < Struct.new(
|
3156
3507
|
:launch_configuration_name)
|
3508
|
+
SENSITIVE = []
|
3157
3509
|
include Aws::Structure
|
3158
3510
|
end
|
3159
3511
|
|
@@ -3187,6 +3539,7 @@ module Aws::AutoScaling
|
|
3187
3539
|
:launch_configuration_names,
|
3188
3540
|
:next_token,
|
3189
3541
|
:max_records)
|
3542
|
+
SENSITIVE = []
|
3190
3543
|
include Aws::Structure
|
3191
3544
|
end
|
3192
3545
|
|
@@ -3207,6 +3560,7 @@ module Aws::AutoScaling
|
|
3207
3560
|
class LaunchConfigurationsType < Struct.new(
|
3208
3561
|
:launch_configurations,
|
3209
3562
|
:next_token)
|
3563
|
+
SENSITIVE = []
|
3210
3564
|
include Aws::Structure
|
3211
3565
|
end
|
3212
3566
|
|
@@ -3245,10 +3599,12 @@ module Aws::AutoScaling
|
|
3245
3599
|
# @return [Types::LaunchTemplateSpecification]
|
3246
3600
|
#
|
3247
3601
|
# @!attribute [rw] overrides
|
3248
|
-
#
|
3249
|
-
#
|
3250
|
-
#
|
3251
|
-
#
|
3602
|
+
# Any parameters that you specify override the same parameters in the
|
3603
|
+
# launch template. Currently, the only supported override is instance
|
3604
|
+
# type. You can specify between 1 and 20 instance types.
|
3605
|
+
#
|
3606
|
+
# If not provided, Amazon EC2 Auto Scaling will use the instance type
|
3607
|
+
# specified in the launch template to launch instances.
|
3252
3608
|
# @return [Array<Types::LaunchTemplateOverrides>]
|
3253
3609
|
#
|
3254
3610
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LaunchTemplate AWS API Documentation
|
@@ -3256,10 +3612,15 @@ module Aws::AutoScaling
|
|
3256
3612
|
class LaunchTemplate < Struct.new(
|
3257
3613
|
:launch_template_specification,
|
3258
3614
|
:overrides)
|
3615
|
+
SENSITIVE = []
|
3259
3616
|
include Aws::Structure
|
3260
3617
|
end
|
3261
3618
|
|
3262
|
-
# Describes an override for a launch template.
|
3619
|
+
# Describes an override for a launch template. Currently, the only
|
3620
|
+
# supported override is instance type.
|
3621
|
+
#
|
3622
|
+
# The maximum number of instance type overrides that can be associated
|
3623
|
+
# with an Auto Scaling group is 20.
|
3263
3624
|
#
|
3264
3625
|
# @note When making an API call, you may pass LaunchTemplateOverrides
|
3265
3626
|
# data as a hash:
|
@@ -3270,7 +3631,8 @@ module Aws::AutoScaling
|
|
3270
3631
|
# }
|
3271
3632
|
#
|
3272
3633
|
# @!attribute [rw] instance_type
|
3273
|
-
# The instance type.
|
3634
|
+
# The instance type. You must use an instance type that is supported
|
3635
|
+
# in your requested Region and Availability Zones.
|
3274
3636
|
#
|
3275
3637
|
# For information about available instance types, see [Available
|
3276
3638
|
# Instance Types][1] in the *Amazon Elastic Compute Cloud User Guide.*
|
@@ -3303,10 +3665,13 @@ module Aws::AutoScaling
|
|
3303
3665
|
class LaunchTemplateOverrides < Struct.new(
|
3304
3666
|
:instance_type,
|
3305
3667
|
:weighted_capacity)
|
3668
|
+
SENSITIVE = []
|
3306
3669
|
include Aws::Structure
|
3307
3670
|
end
|
3308
3671
|
|
3309
|
-
# Describes
|
3672
|
+
# Describes the Amazon EC2 launch template and the launch template
|
3673
|
+
# version that can be used by an Auto Scaling group to configure Amazon
|
3674
|
+
# EC2 instances.
|
3310
3675
|
#
|
3311
3676
|
# The launch template that is specified must be configured for use with
|
3312
3677
|
# an Auto Scaling group. For more information, see [Creating a Launch
|
@@ -3327,22 +3692,49 @@ module Aws::AutoScaling
|
|
3327
3692
|
# }
|
3328
3693
|
#
|
3329
3694
|
# @!attribute [rw] launch_template_id
|
3330
|
-
# The ID of the launch template.
|
3331
|
-
#
|
3695
|
+
# The ID of the launch template. To get the template ID, use the
|
3696
|
+
# Amazon EC2 [DescribeLaunchTemplates][1] API operation. New launch
|
3697
|
+
# templates can be created using the Amazon EC2
|
3698
|
+
# [CreateLaunchTemplate][2] API.
|
3699
|
+
#
|
3700
|
+
# You must specify either a template ID or a template name.
|
3701
|
+
#
|
3702
|
+
#
|
3703
|
+
#
|
3704
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeLaunchTemplates.html
|
3705
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateLaunchTemplate.html
|
3332
3706
|
# @return [String]
|
3333
3707
|
#
|
3334
3708
|
# @!attribute [rw] launch_template_name
|
3335
|
-
# The name of the launch template.
|
3336
|
-
#
|
3709
|
+
# The name of the launch template. To get the template name, use the
|
3710
|
+
# Amazon EC2 [DescribeLaunchTemplates][1] API operation. New launch
|
3711
|
+
# templates can be created using the Amazon EC2
|
3712
|
+
# [CreateLaunchTemplate][2] API.
|
3713
|
+
#
|
3714
|
+
# You must specify either a template ID or a template name.
|
3715
|
+
#
|
3716
|
+
#
|
3717
|
+
#
|
3718
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeLaunchTemplates.html
|
3719
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateLaunchTemplate.html
|
3337
3720
|
# @return [String]
|
3338
3721
|
#
|
3339
3722
|
# @!attribute [rw] version
|
3340
|
-
# The version number, `$Latest`, or `$Default`.
|
3341
|
-
#
|
3342
|
-
# launch template
|
3343
|
-
#
|
3344
|
-
#
|
3345
|
-
# `$
|
3723
|
+
# The version number, `$Latest`, or `$Default`. To get the version
|
3724
|
+
# number, use the Amazon EC2 [DescribeLaunchTemplateVersions][1] API
|
3725
|
+
# operation. New launch template versions can be created using the
|
3726
|
+
# Amazon EC2 [CreateLaunchTemplateVersion][2] API.
|
3727
|
+
#
|
3728
|
+
# If the value is `$Latest`, Amazon EC2 Auto Scaling selects the
|
3729
|
+
# latest version of the launch template when launching instances. If
|
3730
|
+
# the value is `$Default`, Amazon EC2 Auto Scaling selects the default
|
3731
|
+
# version of the launch template when launching instances. The default
|
3732
|
+
# value is `$Default`.
|
3733
|
+
#
|
3734
|
+
#
|
3735
|
+
#
|
3736
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeLaunchTemplateVersions.html
|
3737
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateLaunchTemplateVersion.html
|
3346
3738
|
# @return [String]
|
3347
3739
|
#
|
3348
3740
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LaunchTemplateSpecification AWS API Documentation
|
@@ -3351,12 +3743,13 @@ module Aws::AutoScaling
|
|
3351
3743
|
:launch_template_id,
|
3352
3744
|
:launch_template_name,
|
3353
3745
|
:version)
|
3746
|
+
SENSITIVE = []
|
3354
3747
|
include Aws::Structure
|
3355
3748
|
end
|
3356
3749
|
|
3357
3750
|
# Describes a lifecycle hook, which tells Amazon EC2 Auto Scaling that
|
3358
3751
|
# you want to perform an action whenever it launches instances or
|
3359
|
-
# terminates instances.
|
3752
|
+
# terminates instances.
|
3360
3753
|
#
|
3361
3754
|
# @!attribute [rw] lifecycle_hook_name
|
3362
3755
|
# The name of the lifecycle hook.
|
@@ -3424,11 +3817,12 @@ module Aws::AutoScaling
|
|
3424
3817
|
:heartbeat_timeout,
|
3425
3818
|
:global_timeout,
|
3426
3819
|
:default_result)
|
3820
|
+
SENSITIVE = []
|
3427
3821
|
include Aws::Structure
|
3428
3822
|
end
|
3429
3823
|
|
3430
|
-
# Describes a lifecycle hook
|
3431
|
-
#
|
3824
|
+
# Describes information used to specify a lifecycle hook for an Auto
|
3825
|
+
# Scaling group.
|
3432
3826
|
#
|
3433
3827
|
# A lifecycle hook tells Amazon EC2 Auto Scaling to perform an action on
|
3434
3828
|
# an instance when the instance launches (before it is put into service)
|
@@ -3450,21 +3844,14 @@ module Aws::AutoScaling
|
|
3450
3844
|
# the instances launch or terminate.**
|
3451
3845
|
#
|
3452
3846
|
# 4. If you need more time, record the lifecycle action heartbeat to
|
3453
|
-
# keep the instance in a pending state
|
3454
|
-
# RecordLifecycleActionHeartbeat.
|
3847
|
+
# keep the instance in a pending state.
|
3455
3848
|
#
|
3456
3849
|
# 5. If you finish before the timeout period ends, complete the
|
3457
|
-
# lifecycle action
|
3850
|
+
# lifecycle action.
|
3458
3851
|
#
|
3459
3852
|
# For more information, see [Amazon EC2 Auto Scaling Lifecycle Hooks][1]
|
3460
3853
|
# in the *Amazon EC2 Auto Scaling User Guide*.
|
3461
3854
|
#
|
3462
|
-
# You can view the lifecycle hooks for an Auto Scaling group using
|
3463
|
-
# DescribeLifecycleHooks. You can modify an existing lifecycle hook or
|
3464
|
-
# create new lifecycle hooks using PutLifecycleHook. If you are no
|
3465
|
-
# longer using a lifecycle hook, you can delete it using
|
3466
|
-
# DeleteLifecycleHook.
|
3467
|
-
#
|
3468
3855
|
#
|
3469
3856
|
#
|
3470
3857
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html
|
@@ -3540,12 +3927,18 @@ module Aws::AutoScaling
|
|
3540
3927
|
:default_result,
|
3541
3928
|
:notification_target_arn,
|
3542
3929
|
:role_arn)
|
3930
|
+
SENSITIVE = []
|
3543
3931
|
include Aws::Structure
|
3544
3932
|
end
|
3545
3933
|
|
3546
3934
|
# You have already reached a limit for your Amazon EC2 Auto Scaling
|
3547
3935
|
# resources (for example, Auto Scaling groups, launch configurations, or
|
3548
|
-
# lifecycle hooks). For more information, see DescribeAccountLimits
|
3936
|
+
# lifecycle hooks). For more information, see [DescribeAccountLimits][1]
|
3937
|
+
# in the *Amazon EC2 Auto Scaling API Reference*.
|
3938
|
+
#
|
3939
|
+
#
|
3940
|
+
#
|
3941
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAccountLimits.html
|
3549
3942
|
#
|
3550
3943
|
# @!attribute [rw] message
|
3551
3944
|
# @return [String]
|
@@ -3554,6 +3947,7 @@ module Aws::AutoScaling
|
|
3554
3947
|
#
|
3555
3948
|
class LimitExceededFault < Struct.new(
|
3556
3949
|
:message)
|
3950
|
+
SENSITIVE = []
|
3557
3951
|
include Aws::Structure
|
3558
3952
|
end
|
3559
3953
|
|
@@ -3600,6 +3994,7 @@ module Aws::AutoScaling
|
|
3600
3994
|
class LoadBalancerState < Struct.new(
|
3601
3995
|
:load_balancer_name,
|
3602
3996
|
:state)
|
3997
|
+
SENSITIVE = []
|
3603
3998
|
include Aws::Structure
|
3604
3999
|
end
|
3605
4000
|
|
@@ -3643,6 +4038,7 @@ module Aws::AutoScaling
|
|
3643
4038
|
class LoadBalancerTargetGroupState < Struct.new(
|
3644
4039
|
:load_balancer_target_group_arn,
|
3645
4040
|
:state)
|
4041
|
+
SENSITIVE = []
|
3646
4042
|
include Aws::Structure
|
3647
4043
|
end
|
3648
4044
|
|
@@ -3672,6 +4068,7 @@ module Aws::AutoScaling
|
|
3672
4068
|
#
|
3673
4069
|
class MetricCollectionType < Struct.new(
|
3674
4070
|
:metric)
|
4071
|
+
SENSITIVE = []
|
3675
4072
|
include Aws::Structure
|
3676
4073
|
end
|
3677
4074
|
|
@@ -3698,6 +4095,7 @@ module Aws::AutoScaling
|
|
3698
4095
|
class MetricDimension < Struct.new(
|
3699
4096
|
:name,
|
3700
4097
|
:value)
|
4098
|
+
SENSITIVE = []
|
3701
4099
|
include Aws::Structure
|
3702
4100
|
end
|
3703
4101
|
|
@@ -3711,6 +4109,7 @@ module Aws::AutoScaling
|
|
3711
4109
|
#
|
3712
4110
|
class MetricGranularityType < Struct.new(
|
3713
4111
|
:granularity)
|
4112
|
+
SENSITIVE = []
|
3714
4113
|
include Aws::Structure
|
3715
4114
|
end
|
3716
4115
|
|
@@ -3777,6 +4176,7 @@ module Aws::AutoScaling
|
|
3777
4176
|
class MixedInstancesPolicy < Struct.new(
|
3778
4177
|
:launch_template,
|
3779
4178
|
:instances_distribution)
|
4179
|
+
SENSITIVE = []
|
3780
4180
|
include Aws::Structure
|
3781
4181
|
end
|
3782
4182
|
|
@@ -3811,6 +4211,7 @@ module Aws::AutoScaling
|
|
3811
4211
|
:auto_scaling_group_name,
|
3812
4212
|
:topic_arn,
|
3813
4213
|
:notification_type)
|
4214
|
+
SENSITIVE = []
|
3814
4215
|
include Aws::Structure
|
3815
4216
|
end
|
3816
4217
|
|
@@ -3831,6 +4232,7 @@ module Aws::AutoScaling
|
|
3831
4232
|
class PoliciesType < Struct.new(
|
3832
4233
|
:scaling_policies,
|
3833
4234
|
:next_token)
|
4235
|
+
SENSITIVE = []
|
3834
4236
|
include Aws::Structure
|
3835
4237
|
end
|
3836
4238
|
|
@@ -3850,6 +4252,7 @@ module Aws::AutoScaling
|
|
3850
4252
|
class PolicyARNType < Struct.new(
|
3851
4253
|
:policy_arn,
|
3852
4254
|
:alarms)
|
4255
|
+
SENSITIVE = []
|
3853
4256
|
include Aws::Structure
|
3854
4257
|
end
|
3855
4258
|
|
@@ -3886,7 +4289,9 @@ module Aws::AutoScaling
|
|
3886
4289
|
# `ALBRequestCountPerTarget` and there is a target group attached to
|
3887
4290
|
# the Auto Scaling group.
|
3888
4291
|
#
|
3889
|
-
#
|
4292
|
+
# Elastic Load Balancing sends data about your load balancers to
|
4293
|
+
# Amazon CloudWatch. CloudWatch collects the data and specifies the
|
4294
|
+
# format to use to access the data. The format is
|
3890
4295
|
# `app/load-balancer-name/load-balancer-id/targetgroup/target-group-name/target-group-id
|
3891
4296
|
# `, where
|
3892
4297
|
#
|
@@ -3895,6 +4300,15 @@ module Aws::AutoScaling
|
|
3895
4300
|
#
|
3896
4301
|
# * `targetgroup/target-group-name/target-group-id ` is the final
|
3897
4302
|
# portion of the target group ARN.
|
4303
|
+
#
|
4304
|
+
# To find the ARN for an Application Load Balancer, use the
|
4305
|
+
# [DescribeLoadBalancers][1] API operation. To find the ARN for the
|
4306
|
+
# target group, use the [DescribeTargetGroups][2] API operation.
|
4307
|
+
#
|
4308
|
+
#
|
4309
|
+
#
|
4310
|
+
# [1]: https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeLoadBalancers.html
|
4311
|
+
# [2]: https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html
|
3898
4312
|
# @return [String]
|
3899
4313
|
#
|
3900
4314
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PredefinedMetricSpecification AWS API Documentation
|
@@ -3902,6 +4316,7 @@ module Aws::AutoScaling
|
|
3902
4316
|
class PredefinedMetricSpecification < Struct.new(
|
3903
4317
|
:predefined_metric_type,
|
3904
4318
|
:resource_label)
|
4319
|
+
SENSITIVE = []
|
3905
4320
|
include Aws::Structure
|
3906
4321
|
end
|
3907
4322
|
|
@@ -3929,6 +4344,8 @@ module Aws::AutoScaling
|
|
3929
4344
|
#
|
3930
4345
|
# * `HealthCheck`
|
3931
4346
|
#
|
4347
|
+
# * `InstanceRefresh`
|
4348
|
+
#
|
3932
4349
|
# * `ReplaceUnhealthy`
|
3933
4350
|
#
|
3934
4351
|
# * `ScheduledActions`
|
@@ -3938,6 +4355,7 @@ module Aws::AutoScaling
|
|
3938
4355
|
#
|
3939
4356
|
class ProcessType < Struct.new(
|
3940
4357
|
:process_name)
|
4358
|
+
SENSITIVE = []
|
3941
4359
|
include Aws::Structure
|
3942
4360
|
end
|
3943
4361
|
|
@@ -3949,6 +4367,7 @@ module Aws::AutoScaling
|
|
3949
4367
|
#
|
3950
4368
|
class ProcessesType < Struct.new(
|
3951
4369
|
:processes)
|
4370
|
+
SENSITIVE = []
|
3952
4371
|
include Aws::Structure
|
3953
4372
|
end
|
3954
4373
|
|
@@ -4029,8 +4448,8 @@ module Aws::AutoScaling
|
|
4029
4448
|
#
|
4030
4449
|
# If the lifecycle hook times out, Amazon EC2 Auto Scaling performs
|
4031
4450
|
# the action that you specified in the `DefaultResult` parameter. You
|
4032
|
-
# can prevent the lifecycle hook from timing out by calling
|
4033
|
-
# RecordLifecycleActionHeartbeat.
|
4451
|
+
# can prevent the lifecycle hook from timing out by calling the
|
4452
|
+
# RecordLifecycleActionHeartbeat API.
|
4034
4453
|
# @return [Integer]
|
4035
4454
|
#
|
4036
4455
|
# @!attribute [rw] default_result
|
@@ -4051,6 +4470,7 @@ module Aws::AutoScaling
|
|
4051
4470
|
:notification_metadata,
|
4052
4471
|
:heartbeat_timeout,
|
4053
4472
|
:default_result)
|
4473
|
+
SENSITIVE = []
|
4054
4474
|
include Aws::Structure
|
4055
4475
|
end
|
4056
4476
|
|
@@ -4073,9 +4493,9 @@ module Aws::AutoScaling
|
|
4073
4493
|
# @return [String]
|
4074
4494
|
#
|
4075
4495
|
# @!attribute [rw] notification_types
|
4076
|
-
# The type of event that causes the notification to be sent.
|
4077
|
-
#
|
4078
|
-
#
|
4496
|
+
# The type of event that causes the notification to be sent. To query
|
4497
|
+
# the notification types supported by Amazon EC2 Auto Scaling, call
|
4498
|
+
# the DescribeAutoScalingNotificationTypes API.
|
4079
4499
|
# @return [Array<String>]
|
4080
4500
|
#
|
4081
4501
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutNotificationConfigurationType AWS API Documentation
|
@@ -4084,6 +4504,7 @@ module Aws::AutoScaling
|
|
4084
4504
|
:auto_scaling_group_name,
|
4085
4505
|
:topic_arn,
|
4086
4506
|
:notification_types)
|
4507
|
+
SENSITIVE = []
|
4087
4508
|
include Aws::Structure
|
4088
4509
|
end
|
4089
4510
|
|
@@ -4165,12 +4586,7 @@ module Aws::AutoScaling
|
|
4165
4586
|
# @return [Integer]
|
4166
4587
|
#
|
4167
4588
|
# @!attribute [rw] min_adjustment_magnitude
|
4168
|
-
# The minimum
|
4169
|
-
# `AdjustmentType` is `PercentChangeInCapacity`, the scaling policy
|
4170
|
-
# changes the `DesiredCapacity` of the Auto Scaling group by at least
|
4171
|
-
# this many instances. Otherwise, the error is `ValidationError`.
|
4172
|
-
#
|
4173
|
-
# This property replaces the `MinAdjustmentStep` property. For
|
4589
|
+
# The minimum value to scale by when scaling by percentages. For
|
4174
4590
|
# example, suppose that you create a step scaling policy to scale out
|
4175
4591
|
# an Auto Scaling group by 25 percent and you specify a
|
4176
4592
|
# `MinAdjustmentMagnitude` of 2. If the group has 4 instances and the
|
@@ -4178,7 +4594,14 @@ module Aws::AutoScaling
|
|
4178
4594
|
# you specified a `MinAdjustmentMagnitude` of 2, Amazon EC2 Auto
|
4179
4595
|
# Scaling scales out the group by 2 instances.
|
4180
4596
|
#
|
4181
|
-
# Valid only if the policy type is `
|
4597
|
+
# Valid only if the policy type is `StepScaling` or `SimpleScaling`
|
4598
|
+
# and the adjustment type is `PercentChangeInCapacity`. For more
|
4599
|
+
# information, see [Scaling Adjustment Types][1] in the *Amazon EC2
|
4600
|
+
# Auto Scaling User Guide*.
|
4601
|
+
#
|
4602
|
+
#
|
4603
|
+
#
|
4604
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html#as-scaling-adjustment
|
4182
4605
|
# @return [Integer]
|
4183
4606
|
#
|
4184
4607
|
# @!attribute [rw] scaling_adjustment
|
@@ -4276,6 +4699,7 @@ module Aws::AutoScaling
|
|
4276
4699
|
:estimated_instance_warmup,
|
4277
4700
|
:target_tracking_configuration,
|
4278
4701
|
:enabled)
|
4702
|
+
SENSITIVE = []
|
4279
4703
|
include Aws::Structure
|
4280
4704
|
end
|
4281
4705
|
|
@@ -4341,16 +4765,18 @@ module Aws::AutoScaling
|
|
4341
4765
|
# @return [String]
|
4342
4766
|
#
|
4343
4767
|
# @!attribute [rw] min_size
|
4344
|
-
# The minimum
|
4768
|
+
# The minimum size of the Auto Scaling group.
|
4345
4769
|
# @return [Integer]
|
4346
4770
|
#
|
4347
4771
|
# @!attribute [rw] max_size
|
4348
|
-
# The maximum
|
4772
|
+
# The maximum size of the Auto Scaling group.
|
4349
4773
|
# @return [Integer]
|
4350
4774
|
#
|
4351
4775
|
# @!attribute [rw] desired_capacity
|
4352
|
-
# The
|
4353
|
-
#
|
4776
|
+
# The desired capacity is the initial capacity of the Auto Scaling
|
4777
|
+
# group after the scheduled action runs and the capacity it attempts
|
4778
|
+
# to maintain. It can scale beyond this capacity if you add more
|
4779
|
+
# scaling conditions.
|
4354
4780
|
# @return [Integer]
|
4355
4781
|
#
|
4356
4782
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutScheduledUpdateGroupActionType AWS API Documentation
|
@@ -4365,6 +4791,7 @@ module Aws::AutoScaling
|
|
4365
4791
|
:min_size,
|
4366
4792
|
:max_size,
|
4367
4793
|
:desired_capacity)
|
4794
|
+
SENSITIVE = []
|
4368
4795
|
include Aws::Structure
|
4369
4796
|
end
|
4370
4797
|
|
@@ -4408,6 +4835,44 @@ module Aws::AutoScaling
|
|
4408
4835
|
:auto_scaling_group_name,
|
4409
4836
|
:lifecycle_action_token,
|
4410
4837
|
:instance_id)
|
4838
|
+
SENSITIVE = []
|
4839
|
+
include Aws::Structure
|
4840
|
+
end
|
4841
|
+
|
4842
|
+
# Describes information used to start an instance refresh.
|
4843
|
+
#
|
4844
|
+
# @note When making an API call, you may pass RefreshPreferences
|
4845
|
+
# data as a hash:
|
4846
|
+
#
|
4847
|
+
# {
|
4848
|
+
# min_healthy_percentage: 1,
|
4849
|
+
# instance_warmup: 1,
|
4850
|
+
# }
|
4851
|
+
#
|
4852
|
+
# @!attribute [rw] min_healthy_percentage
|
4853
|
+
# The amount of capacity in the Auto Scaling group that must remain
|
4854
|
+
# healthy during an instance refresh to allow the operation to
|
4855
|
+
# continue, as a percentage of the desired capacity of the Auto
|
4856
|
+
# Scaling group (rounded up to the nearest integer). The default is
|
4857
|
+
# `90`.
|
4858
|
+
# @return [Integer]
|
4859
|
+
#
|
4860
|
+
# @!attribute [rw] instance_warmup
|
4861
|
+
# The number of seconds until a newly launched instance is configured
|
4862
|
+
# and ready to use. During this time, Amazon EC2 Auto Scaling does not
|
4863
|
+
# immediately move on to the next replacement. The default is to use
|
4864
|
+
# the value specified for the health check grace period for the group.
|
4865
|
+
#
|
4866
|
+
# Note: While warming up, a newly launched instance is not counted
|
4867
|
+
# toward the aggregated metrics of the Auto Scaling group.
|
4868
|
+
# @return [Integer]
|
4869
|
+
#
|
4870
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/RefreshPreferences AWS API Documentation
|
4871
|
+
#
|
4872
|
+
class RefreshPreferences < Struct.new(
|
4873
|
+
:min_healthy_percentage,
|
4874
|
+
:instance_warmup)
|
4875
|
+
SENSITIVE = []
|
4411
4876
|
include Aws::Structure
|
4412
4877
|
end
|
4413
4878
|
|
@@ -4422,6 +4887,7 @@ module Aws::AutoScaling
|
|
4422
4887
|
#
|
4423
4888
|
class ResourceContentionFault < Struct.new(
|
4424
4889
|
:message)
|
4890
|
+
SENSITIVE = []
|
4425
4891
|
include Aws::Structure
|
4426
4892
|
end
|
4427
4893
|
|
@@ -4434,6 +4900,7 @@ module Aws::AutoScaling
|
|
4434
4900
|
#
|
4435
4901
|
class ResourceInUseFault < Struct.new(
|
4436
4902
|
:message)
|
4903
|
+
SENSITIVE = []
|
4437
4904
|
include Aws::Structure
|
4438
4905
|
end
|
4439
4906
|
|
@@ -4447,6 +4914,7 @@ module Aws::AutoScaling
|
|
4447
4914
|
#
|
4448
4915
|
class ScalingActivityInProgressFault < Struct.new(
|
4449
4916
|
:message)
|
4917
|
+
SENSITIVE = []
|
4450
4918
|
include Aws::Structure
|
4451
4919
|
end
|
4452
4920
|
|
@@ -4544,6 +5012,7 @@ module Aws::AutoScaling
|
|
4544
5012
|
:alarms,
|
4545
5013
|
:target_tracking_configuration,
|
4546
5014
|
:enabled)
|
5015
|
+
SENSITIVE = []
|
4547
5016
|
include Aws::Structure
|
4548
5017
|
end
|
4549
5018
|
|
@@ -4560,24 +5029,27 @@ module Aws::AutoScaling
|
|
4560
5029
|
# @return [String]
|
4561
5030
|
#
|
4562
5031
|
# @!attribute [rw] scaling_processes
|
4563
|
-
# One or more of the following processes
|
4564
|
-
# all processes are specified.
|
5032
|
+
# One or more of the following processes:
|
4565
5033
|
#
|
4566
5034
|
# * `Launch`
|
4567
5035
|
#
|
4568
5036
|
# * `Terminate`
|
4569
5037
|
#
|
4570
|
-
# * `
|
5038
|
+
# * `AddToLoadBalancer`
|
4571
5039
|
#
|
4572
|
-
# * `
|
5040
|
+
# * `AlarmNotification`
|
4573
5041
|
#
|
4574
5042
|
# * `AZRebalance`
|
4575
5043
|
#
|
4576
|
-
# * `
|
5044
|
+
# * `HealthCheck`
|
5045
|
+
#
|
5046
|
+
# * `InstanceRefresh`
|
5047
|
+
#
|
5048
|
+
# * `ReplaceUnhealthy`
|
4577
5049
|
#
|
4578
5050
|
# * `ScheduledActions`
|
4579
5051
|
#
|
4580
|
-
#
|
5052
|
+
# If you omit this parameter, all processes are specified.
|
4581
5053
|
# @return [Array<String>]
|
4582
5054
|
#
|
4583
5055
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ScalingProcessQuery AWS API Documentation
|
@@ -4585,6 +5057,7 @@ module Aws::AutoScaling
|
|
4585
5057
|
class ScalingProcessQuery < Struct.new(
|
4586
5058
|
:auto_scaling_group_name,
|
4587
5059
|
:scaling_processes)
|
5060
|
+
SENSITIVE = []
|
4588
5061
|
include Aws::Structure
|
4589
5062
|
end
|
4590
5063
|
|
@@ -4605,11 +5078,11 @@ module Aws::AutoScaling
|
|
4605
5078
|
class ScheduledActionsType < Struct.new(
|
4606
5079
|
:scheduled_update_group_actions,
|
4607
5080
|
:next_token)
|
5081
|
+
SENSITIVE = []
|
4608
5082
|
include Aws::Structure
|
4609
5083
|
end
|
4610
5084
|
|
4611
|
-
# Describes a scheduled scaling action.
|
4612
|
-
# DescribeScheduledActions.
|
5085
|
+
# Describes a scheduled scaling action.
|
4613
5086
|
#
|
4614
5087
|
# @!attribute [rw] auto_scaling_group_name
|
4615
5088
|
# The name of the Auto Scaling group.
|
@@ -4645,15 +5118,17 @@ module Aws::AutoScaling
|
|
4645
5118
|
# @return [String]
|
4646
5119
|
#
|
4647
5120
|
# @!attribute [rw] min_size
|
4648
|
-
# The minimum
|
5121
|
+
# The minimum size of the Auto Scaling group.
|
4649
5122
|
# @return [Integer]
|
4650
5123
|
#
|
4651
5124
|
# @!attribute [rw] max_size
|
4652
|
-
# The maximum
|
5125
|
+
# The maximum size of the Auto Scaling group.
|
4653
5126
|
# @return [Integer]
|
4654
5127
|
#
|
4655
5128
|
# @!attribute [rw] desired_capacity
|
4656
|
-
# The
|
5129
|
+
# The desired capacity is the initial capacity of the Auto Scaling
|
5130
|
+
# group after the scheduled action runs and the capacity it attempts
|
5131
|
+
# to maintain.
|
4657
5132
|
# @return [Integer]
|
4658
5133
|
#
|
4659
5134
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ScheduledUpdateGroupAction AWS API Documentation
|
@@ -4669,12 +5144,12 @@ module Aws::AutoScaling
|
|
4669
5144
|
:min_size,
|
4670
5145
|
:max_size,
|
4671
5146
|
:desired_capacity)
|
5147
|
+
SENSITIVE = []
|
4672
5148
|
include Aws::Structure
|
4673
5149
|
end
|
4674
5150
|
|
4675
|
-
# Describes one or more scheduled scaling action
|
4676
|
-
#
|
4677
|
-
# BatchPutScheduledUpdateGroupAction.
|
5151
|
+
# Describes information used for one or more scheduled scaling action
|
5152
|
+
# updates in a BatchPutScheduledUpdateGroupAction operation.
|
4678
5153
|
#
|
4679
5154
|
# When updating a scheduled scaling action, all optional parameters are
|
4680
5155
|
# left unchanged if not specified.
|
@@ -4731,15 +5206,17 @@ module Aws::AutoScaling
|
|
4731
5206
|
# @return [String]
|
4732
5207
|
#
|
4733
5208
|
# @!attribute [rw] min_size
|
4734
|
-
# The minimum
|
5209
|
+
# The minimum size of the Auto Scaling group.
|
4735
5210
|
# @return [Integer]
|
4736
5211
|
#
|
4737
5212
|
# @!attribute [rw] max_size
|
4738
|
-
# The maximum
|
5213
|
+
# The maximum size of the Auto Scaling group.
|
4739
5214
|
# @return [Integer]
|
4740
5215
|
#
|
4741
5216
|
# @!attribute [rw] desired_capacity
|
4742
|
-
# The
|
5217
|
+
# The desired capacity is the initial capacity of the Auto Scaling
|
5218
|
+
# group after the scheduled action runs and the capacity it attempts
|
5219
|
+
# to maintain.
|
4743
5220
|
# @return [Integer]
|
4744
5221
|
#
|
4745
5222
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ScheduledUpdateGroupActionRequest AWS API Documentation
|
@@ -4752,6 +5229,7 @@ module Aws::AutoScaling
|
|
4752
5229
|
:min_size,
|
4753
5230
|
:max_size,
|
4754
5231
|
:desired_capacity)
|
5232
|
+
SENSITIVE = []
|
4755
5233
|
include Aws::Structure
|
4756
5234
|
end
|
4757
5235
|
|
@@ -4764,6 +5242,7 @@ module Aws::AutoScaling
|
|
4764
5242
|
#
|
4765
5243
|
class ServiceLinkedRoleFailure < Struct.new(
|
4766
5244
|
:message)
|
5245
|
+
SENSITIVE = []
|
4767
5246
|
include Aws::Structure
|
4768
5247
|
end
|
4769
5248
|
|
@@ -4781,8 +5260,9 @@ module Aws::AutoScaling
|
|
4781
5260
|
# @return [String]
|
4782
5261
|
#
|
4783
5262
|
# @!attribute [rw] desired_capacity
|
4784
|
-
# The
|
4785
|
-
#
|
5263
|
+
# The desired capacity is the initial capacity of the Auto Scaling
|
5264
|
+
# group after this operation completes and the capacity it attempts to
|
5265
|
+
# maintain.
|
4786
5266
|
# @return [Integer]
|
4787
5267
|
#
|
4788
5268
|
# @!attribute [rw] honor_cooldown
|
@@ -4799,6 +5279,7 @@ module Aws::AutoScaling
|
|
4799
5279
|
:auto_scaling_group_name,
|
4800
5280
|
:desired_capacity,
|
4801
5281
|
:honor_cooldown)
|
5282
|
+
SENSITIVE = []
|
4802
5283
|
include Aws::Structure
|
4803
5284
|
end
|
4804
5285
|
|
@@ -4829,7 +5310,12 @@ module Aws::AutoScaling
|
|
4829
5310
|
# call not respect the grace period associated with the group.
|
4830
5311
|
#
|
4831
5312
|
# For more information about the health check grace period, see
|
4832
|
-
# CreateAutoScalingGroup
|
5313
|
+
# [CreateAutoScalingGroup][1] in the *Amazon EC2 Auto Scaling API
|
5314
|
+
# Reference*.
|
5315
|
+
#
|
5316
|
+
#
|
5317
|
+
#
|
5318
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_CreateAutoScalingGroup.html
|
4833
5319
|
# @return [Boolean]
|
4834
5320
|
#
|
4835
5321
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetInstanceHealthQuery AWS API Documentation
|
@@ -4838,6 +5324,7 @@ module Aws::AutoScaling
|
|
4838
5324
|
:instance_id,
|
4839
5325
|
:health_status,
|
4840
5326
|
:should_respect_grace_period)
|
5327
|
+
SENSITIVE = []
|
4841
5328
|
include Aws::Structure
|
4842
5329
|
end
|
4843
5330
|
|
@@ -4873,12 +5360,66 @@ module Aws::AutoScaling
|
|
4873
5360
|
:instance_ids,
|
4874
5361
|
:auto_scaling_group_name,
|
4875
5362
|
:protected_from_scale_in)
|
5363
|
+
SENSITIVE = []
|
5364
|
+
include Aws::Structure
|
5365
|
+
end
|
5366
|
+
|
5367
|
+
# @!attribute [rw] instance_refresh_id
|
5368
|
+
# A unique ID for tracking the progress of the request.
|
5369
|
+
# @return [String]
|
5370
|
+
#
|
5371
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/StartInstanceRefreshAnswer AWS API Documentation
|
5372
|
+
#
|
5373
|
+
class StartInstanceRefreshAnswer < Struct.new(
|
5374
|
+
:instance_refresh_id)
|
5375
|
+
SENSITIVE = []
|
5376
|
+
include Aws::Structure
|
5377
|
+
end
|
5378
|
+
|
5379
|
+
# @note When making an API call, you may pass StartInstanceRefreshType
|
5380
|
+
# data as a hash:
|
5381
|
+
#
|
5382
|
+
# {
|
5383
|
+
# auto_scaling_group_name: "XmlStringMaxLen255", # required
|
5384
|
+
# strategy: "Rolling", # accepts Rolling
|
5385
|
+
# preferences: {
|
5386
|
+
# min_healthy_percentage: 1,
|
5387
|
+
# instance_warmup: 1,
|
5388
|
+
# },
|
5389
|
+
# }
|
5390
|
+
#
|
5391
|
+
# @!attribute [rw] auto_scaling_group_name
|
5392
|
+
# The name of the Auto Scaling group.
|
5393
|
+
# @return [String]
|
5394
|
+
#
|
5395
|
+
# @!attribute [rw] strategy
|
5396
|
+
# The strategy to use for the instance refresh. The only valid value
|
5397
|
+
# is `Rolling`.
|
5398
|
+
#
|
5399
|
+
# A rolling update is an update that is applied to all instances in an
|
5400
|
+
# Auto Scaling group until all instances have been updated. A rolling
|
5401
|
+
# update can fail due to failed health checks or if instances are on
|
5402
|
+
# standby or are protected from scale-in. If the rolling update
|
5403
|
+
# process fails, any instances that were already replaced are not
|
5404
|
+
# rolled back to their previous configuration.
|
5405
|
+
# @return [String]
|
5406
|
+
#
|
5407
|
+
# @!attribute [rw] preferences
|
5408
|
+
# Set of preferences associated with the instance refresh request.
|
5409
|
+
# @return [Types::RefreshPreferences]
|
5410
|
+
#
|
5411
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/StartInstanceRefreshType AWS API Documentation
|
5412
|
+
#
|
5413
|
+
class StartInstanceRefreshType < Struct.new(
|
5414
|
+
:auto_scaling_group_name,
|
5415
|
+
:strategy,
|
5416
|
+
:preferences)
|
5417
|
+
SENSITIVE = []
|
4876
5418
|
include Aws::Structure
|
4877
5419
|
end
|
4878
5420
|
|
4879
|
-
# Describes
|
4880
|
-
#
|
4881
|
-
# defined for the alarm. Used in combination with PutScalingPolicy.
|
5421
|
+
# Describes information used to create a step adjustment for a step
|
5422
|
+
# scaling policy.
|
4882
5423
|
#
|
4883
5424
|
# For the following examples, suppose that you have an alarm with a
|
4884
5425
|
# breach threshold of 50:
|
@@ -4906,6 +5447,13 @@ module Aws::AutoScaling
|
|
4906
5447
|
# * The upper and lower bound can't be null in the same step
|
4907
5448
|
# adjustment.
|
4908
5449
|
#
|
5450
|
+
# For more information, see [Step Adjustments][1] in the *Amazon EC2
|
5451
|
+
# Auto Scaling User Guide*.
|
5452
|
+
#
|
5453
|
+
#
|
5454
|
+
#
|
5455
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html#as-scaling-steps
|
5456
|
+
#
|
4909
5457
|
# @note When making an API call, you may pass StepAdjustment
|
4910
5458
|
# data as a hash:
|
4911
5459
|
#
|
@@ -4947,11 +5495,18 @@ module Aws::AutoScaling
|
|
4947
5495
|
:metric_interval_lower_bound,
|
4948
5496
|
:metric_interval_upper_bound,
|
4949
5497
|
:scaling_adjustment)
|
5498
|
+
SENSITIVE = []
|
4950
5499
|
include Aws::Structure
|
4951
5500
|
end
|
4952
5501
|
|
4953
|
-
# Describes an automatic scaling process that has been suspended.
|
4954
|
-
#
|
5502
|
+
# Describes an automatic scaling process that has been suspended.
|
5503
|
+
#
|
5504
|
+
# For more information, see [Scaling Processes][1] in the *Amazon EC2
|
5505
|
+
# Auto Scaling User Guide*.
|
5506
|
+
#
|
5507
|
+
#
|
5508
|
+
#
|
5509
|
+
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html#process-types
|
4955
5510
|
#
|
4956
5511
|
# @!attribute [rw] process_name
|
4957
5512
|
# The name of the suspended process.
|
@@ -4966,6 +5521,7 @@ module Aws::AutoScaling
|
|
4966
5521
|
class SuspendedProcess < Struct.new(
|
4967
5522
|
:process_name,
|
4968
5523
|
:suspension_reason)
|
5524
|
+
SENSITIVE = []
|
4969
5525
|
include Aws::Structure
|
4970
5526
|
end
|
4971
5527
|
|
@@ -5012,6 +5568,7 @@ module Aws::AutoScaling
|
|
5012
5568
|
:key,
|
5013
5569
|
:value,
|
5014
5570
|
:propagate_at_launch)
|
5571
|
+
SENSITIVE = []
|
5015
5572
|
include Aws::Structure
|
5016
5573
|
end
|
5017
5574
|
|
@@ -5047,6 +5604,7 @@ module Aws::AutoScaling
|
|
5047
5604
|
:key,
|
5048
5605
|
:value,
|
5049
5606
|
:propagate_at_launch)
|
5607
|
+
SENSITIVE = []
|
5050
5608
|
include Aws::Structure
|
5051
5609
|
end
|
5052
5610
|
|
@@ -5067,6 +5625,7 @@ module Aws::AutoScaling
|
|
5067
5625
|
class TagsType < Struct.new(
|
5068
5626
|
:tags,
|
5069
5627
|
:next_token)
|
5628
|
+
SENSITIVE = []
|
5070
5629
|
include Aws::Structure
|
5071
5630
|
end
|
5072
5631
|
|
@@ -5126,6 +5685,7 @@ module Aws::AutoScaling
|
|
5126
5685
|
:customized_metric_specification,
|
5127
5686
|
:target_value,
|
5128
5687
|
:disable_scale_in)
|
5688
|
+
SENSITIVE = []
|
5129
5689
|
include Aws::Structure
|
5130
5690
|
end
|
5131
5691
|
|
@@ -5151,6 +5711,7 @@ module Aws::AutoScaling
|
|
5151
5711
|
class TerminateInstanceInAutoScalingGroupType < Struct.new(
|
5152
5712
|
:instance_id,
|
5153
5713
|
:should_decrement_desired_capacity)
|
5714
|
+
SENSITIVE = []
|
5154
5715
|
include Aws::Structure
|
5155
5716
|
end
|
5156
5717
|
|
@@ -5250,13 +5811,24 @@ module Aws::AutoScaling
|
|
5250
5811
|
#
|
5251
5812
|
# @!attribute [rw] max_size
|
5252
5813
|
# The maximum size of the Auto Scaling group.
|
5814
|
+
#
|
5815
|
+
# <note markdown="1"> With a mixed instances policy that uses instance weighting, Amazon
|
5816
|
+
# EC2 Auto Scaling may need to go above `MaxSize` to meet your
|
5817
|
+
# capacity requirements. In this event, Amazon EC2 Auto Scaling will
|
5818
|
+
# never go above `MaxSize` by more than your maximum instance weight
|
5819
|
+
# (weights that define how many capacity units each instance
|
5820
|
+
# contributes to the capacity of the group).
|
5821
|
+
#
|
5822
|
+
# </note>
|
5253
5823
|
# @return [Integer]
|
5254
5824
|
#
|
5255
5825
|
# @!attribute [rw] desired_capacity
|
5256
|
-
# The
|
5257
|
-
#
|
5258
|
-
#
|
5259
|
-
#
|
5826
|
+
# The desired capacity is the initial capacity of the Auto Scaling
|
5827
|
+
# group after this operation completes and the capacity it attempts to
|
5828
|
+
# maintain.
|
5829
|
+
#
|
5830
|
+
# This number must be greater than or equal to the minimum size of the
|
5831
|
+
# group and less than or equal to the maximum size of the group.
|
5260
5832
|
# @return [Integer]
|
5261
5833
|
#
|
5262
5834
|
# @!attribute [rw] default_cooldown
|
@@ -5363,13 +5935,17 @@ module Aws::AutoScaling
|
|
5363
5935
|
#
|
5364
5936
|
# @!attribute [rw] max_instance_lifetime
|
5365
5937
|
# The maximum amount of time, in seconds, that an instance can be in
|
5366
|
-
# service.
|
5938
|
+
# service. The default is null.
|
5939
|
+
#
|
5940
|
+
# This parameter is optional, but if you specify a value for it, you
|
5941
|
+
# must specify a value of at least 604,800 seconds (7 days). To clear
|
5942
|
+
# a previously set value, specify a new value of 0.
|
5367
5943
|
#
|
5368
5944
|
# For more information, see [Replacing Auto Scaling Instances Based on
|
5369
5945
|
# Maximum Instance Lifetime][1] in the *Amazon EC2 Auto Scaling User
|
5370
5946
|
# Guide*.
|
5371
5947
|
#
|
5372
|
-
# Valid Range: Minimum value of
|
5948
|
+
# Valid Range: Minimum value of 0.
|
5373
5949
|
#
|
5374
5950
|
#
|
5375
5951
|
#
|
@@ -5396,6 +5972,7 @@ module Aws::AutoScaling
|
|
5396
5972
|
:new_instances_protected_from_scale_in,
|
5397
5973
|
:service_linked_role_arn,
|
5398
5974
|
:max_instance_lifetime)
|
5975
|
+
SENSITIVE = []
|
5399
5976
|
include Aws::Structure
|
5400
5977
|
end
|
5401
5978
|
|