aws-sdk-autoscaling 1.6.0 → 1.7.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/lib/aws-sdk-autoscaling.rb +1 -1
- data/lib/aws-sdk-autoscaling/auto_scaling_group.rb +44 -46
- data/lib/aws-sdk-autoscaling/client.rb +298 -198
- data/lib/aws-sdk-autoscaling/client_api.rb +60 -0
- data/lib/aws-sdk-autoscaling/instance.rb +8 -8
- data/lib/aws-sdk-autoscaling/lifecycle_hook.rb +35 -27
- data/lib/aws-sdk-autoscaling/resource.rb +53 -55
- data/lib/aws-sdk-autoscaling/scaling_policy.rb +5 -5
- data/lib/aws-sdk-autoscaling/types.rb +373 -178
- metadata +2 -2
@@ -280,17 +280,17 @@ module Aws::AutoScaling
|
|
280
280
|
# @option options [String] :auto_scaling_group_name
|
281
281
|
# The name of the Auto Scaling group.
|
282
282
|
# @option options [Boolean] :honor_cooldown
|
283
|
-
# Indicates whether Auto Scaling waits for the cooldown
|
284
|
-
# complete before executing the policy.
|
283
|
+
# Indicates whether Amazon EC2 Auto Scaling waits for the cooldown
|
284
|
+
# period to complete before executing the policy.
|
285
285
|
#
|
286
286
|
# This parameter is not supported if the policy type is `StepScaling`.
|
287
287
|
#
|
288
|
-
# For more information, see [
|
289
|
-
# Scaling User Guide*.
|
288
|
+
# For more information, see [Scaling Cooldowns][1] in the *Amazon EC2
|
289
|
+
# Auto Scaling User Guide*.
|
290
290
|
#
|
291
291
|
#
|
292
292
|
#
|
293
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
293
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html
|
294
294
|
# @option options [Float] :metric_value
|
295
295
|
# The metric value to compare to `BreachThreshold`. This enables you to
|
296
296
|
# execute a policy of type `StepScaling` and determine which step
|
@@ -100,12 +100,12 @@ module Aws::AutoScaling
|
|
100
100
|
|
101
101
|
# Describes a policy adjustment type.
|
102
102
|
#
|
103
|
-
# For more information, see [Dynamic Scaling][1] in the *Auto
|
104
|
-
# User Guide*.
|
103
|
+
# For more information, see [Dynamic Scaling][1] in the *Amazon EC2 Auto
|
104
|
+
# Scaling User Guide*.
|
105
105
|
#
|
106
106
|
#
|
107
107
|
#
|
108
|
-
# [1]: http://docs.aws.amazon.com/
|
108
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/DeveloperGuide/as-scale-based-on-demand.html
|
109
109
|
#
|
110
110
|
# @!attribute [rw] adjustment_type
|
111
111
|
# The policy adjustment type. The valid values are `ChangeInCapacity`,
|
@@ -273,9 +273,9 @@ module Aws::AutoScaling
|
|
273
273
|
# @return [String]
|
274
274
|
#
|
275
275
|
# @!attribute [rw] health_check_grace_period
|
276
|
-
# The amount of time, in seconds, that Auto Scaling waits
|
277
|
-
# checking the health status of an EC2 instance that has come
|
278
|
-
# service.
|
276
|
+
# The amount of time, in seconds, that Amazon EC2 Auto Scaling waits
|
277
|
+
# before checking the health status of an EC2 instance that has come
|
278
|
+
# into service.
|
279
279
|
# @return [Integer]
|
280
280
|
#
|
281
281
|
# @!attribute [rw] instances
|
@@ -375,8 +375,9 @@ module Aws::AutoScaling
|
|
375
375
|
# }
|
376
376
|
#
|
377
377
|
# @!attribute [rw] auto_scaling_group_names
|
378
|
-
# The names of the Auto Scaling groups.
|
379
|
-
# all Auto Scaling
|
378
|
+
# The names of the Auto Scaling groups. You can specify up to
|
379
|
+
# `MaxRecords` names. If you omit this parameter, all Auto Scaling
|
380
|
+
# groups are described.
|
380
381
|
# @return [Array<String>]
|
381
382
|
#
|
382
383
|
# @!attribute [rw] next_token
|
@@ -431,18 +432,19 @@ module Aws::AutoScaling
|
|
431
432
|
#
|
432
433
|
# @!attribute [rw] lifecycle_state
|
433
434
|
# The lifecycle state for the instance. For more information, see
|
434
|
-
# [Auto Scaling Lifecycle][1] in the *Auto Scaling User
|
435
|
+
# [Auto Scaling Lifecycle][1] in the *Amazon EC2 Auto Scaling User
|
436
|
+
# Guide*.
|
435
437
|
#
|
436
438
|
#
|
437
439
|
#
|
438
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
440
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroupLifecycle.html
|
439
441
|
# @return [String]
|
440
442
|
#
|
441
443
|
# @!attribute [rw] health_status
|
442
444
|
# The last reported health status of this instance. "Healthy" means
|
443
445
|
# that the instance is healthy and should remain in service.
|
444
|
-
# "Unhealthy" means that the instance is unhealthy and
|
445
|
-
# should terminate and replace it.
|
446
|
+
# "Unhealthy" means that the instance is unhealthy and Amazon EC2
|
447
|
+
# Auto Scaling should terminate and replace it.
|
446
448
|
# @return [String]
|
447
449
|
#
|
448
450
|
# @!attribute [rw] launch_configuration_name
|
@@ -456,8 +458,8 @@ module Aws::AutoScaling
|
|
456
458
|
# @return [Types::LaunchTemplateSpecification]
|
457
459
|
#
|
458
460
|
# @!attribute [rw] protected_from_scale_in
|
459
|
-
# Indicates whether the instance is protected from termination by
|
460
|
-
# Scaling when scaling in.
|
461
|
+
# Indicates whether the instance is protected from termination by
|
462
|
+
# Amazon EC2 Auto Scaling when scaling in.
|
461
463
|
# @return [Boolean]
|
462
464
|
#
|
463
465
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AutoScalingInstanceDetails AWS API Documentation
|
@@ -491,6 +493,89 @@ module Aws::AutoScaling
|
|
491
493
|
include Aws::Structure
|
492
494
|
end
|
493
495
|
|
496
|
+
# @!attribute [rw] failed_scheduled_actions
|
497
|
+
# The names of the scheduled actions that could not be deleted,
|
498
|
+
# including an error message.
|
499
|
+
# @return [Array<Types::FailedScheduledUpdateGroupActionRequest>]
|
500
|
+
#
|
501
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/BatchDeleteScheduledActionAnswer AWS API Documentation
|
502
|
+
#
|
503
|
+
class BatchDeleteScheduledActionAnswer < Struct.new(
|
504
|
+
:failed_scheduled_actions)
|
505
|
+
include Aws::Structure
|
506
|
+
end
|
507
|
+
|
508
|
+
# @note When making an API call, you may pass BatchDeleteScheduledActionType
|
509
|
+
# data as a hash:
|
510
|
+
#
|
511
|
+
# {
|
512
|
+
# auto_scaling_group_name: "ResourceName", # required
|
513
|
+
# scheduled_action_names: ["ResourceName"], # required
|
514
|
+
# }
|
515
|
+
#
|
516
|
+
# @!attribute [rw] auto_scaling_group_name
|
517
|
+
# The name of the Auto Scaling group.
|
518
|
+
# @return [String]
|
519
|
+
#
|
520
|
+
# @!attribute [rw] scheduled_action_names
|
521
|
+
# The names of the scheduled actions to delete. The maximum number
|
522
|
+
# allowed is 50.
|
523
|
+
# @return [Array<String>]
|
524
|
+
#
|
525
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/BatchDeleteScheduledActionType AWS API Documentation
|
526
|
+
#
|
527
|
+
class BatchDeleteScheduledActionType < Struct.new(
|
528
|
+
:auto_scaling_group_name,
|
529
|
+
:scheduled_action_names)
|
530
|
+
include Aws::Structure
|
531
|
+
end
|
532
|
+
|
533
|
+
# @!attribute [rw] failed_scheduled_update_group_actions
|
534
|
+
# The names of the scheduled actions that could not be created or
|
535
|
+
# updated, including an error message.
|
536
|
+
# @return [Array<Types::FailedScheduledUpdateGroupActionRequest>]
|
537
|
+
#
|
538
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/BatchPutScheduledUpdateGroupActionAnswer AWS API Documentation
|
539
|
+
#
|
540
|
+
class BatchPutScheduledUpdateGroupActionAnswer < Struct.new(
|
541
|
+
:failed_scheduled_update_group_actions)
|
542
|
+
include Aws::Structure
|
543
|
+
end
|
544
|
+
|
545
|
+
# @note When making an API call, you may pass BatchPutScheduledUpdateGroupActionType
|
546
|
+
# data as a hash:
|
547
|
+
#
|
548
|
+
# {
|
549
|
+
# auto_scaling_group_name: "ResourceName", # required
|
550
|
+
# scheduled_update_group_actions: [ # required
|
551
|
+
# {
|
552
|
+
# scheduled_action_name: "XmlStringMaxLen255", # required
|
553
|
+
# start_time: Time.now,
|
554
|
+
# end_time: Time.now,
|
555
|
+
# recurrence: "XmlStringMaxLen255",
|
556
|
+
# min_size: 1,
|
557
|
+
# max_size: 1,
|
558
|
+
# desired_capacity: 1,
|
559
|
+
# },
|
560
|
+
# ],
|
561
|
+
# }
|
562
|
+
#
|
563
|
+
# @!attribute [rw] auto_scaling_group_name
|
564
|
+
# The name of the Auto Scaling group.
|
565
|
+
# @return [String]
|
566
|
+
#
|
567
|
+
# @!attribute [rw] scheduled_update_group_actions
|
568
|
+
# One or more scheduled actions. The maximum number allowed is 50.
|
569
|
+
# @return [Array<Types::ScheduledUpdateGroupActionRequest>]
|
570
|
+
#
|
571
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/BatchPutScheduledUpdateGroupActionType AWS API Documentation
|
572
|
+
#
|
573
|
+
class BatchPutScheduledUpdateGroupActionType < Struct.new(
|
574
|
+
:auto_scaling_group_name,
|
575
|
+
:scheduled_update_group_actions)
|
576
|
+
include Aws::Structure
|
577
|
+
end
|
578
|
+
|
494
579
|
# Describes a block device mapping.
|
495
580
|
#
|
496
581
|
# @note When making an API call, you may pass BlockDeviceMapping
|
@@ -527,8 +612,8 @@ module Aws::AutoScaling
|
|
527
612
|
# Suppresses a device mapping.
|
528
613
|
#
|
529
614
|
# If this parameter is true for the root device, the instance might
|
530
|
-
# fail the EC2 health check. Auto Scaling launches a
|
531
|
-
# instance if the instance fails the health check.
|
615
|
+
# fail the EC2 health check. Amazon EC2 Auto Scaling launches a
|
616
|
+
# replacement instance if the instance fails the health check.
|
532
617
|
# @return [Boolean]
|
533
618
|
#
|
534
619
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/BlockDeviceMapping AWS API Documentation
|
@@ -566,9 +651,9 @@ module Aws::AutoScaling
|
|
566
651
|
#
|
567
652
|
# @!attribute [rw] lifecycle_action_token
|
568
653
|
# A universally unique identifier (UUID) that identifies a specific
|
569
|
-
# lifecycle action associated with an instance.
|
570
|
-
# this token to the notification target you specified
|
571
|
-
# the lifecycle hook.
|
654
|
+
# lifecycle action associated with an instance. Amazon EC2 Auto
|
655
|
+
# Scaling sends this token to the notification target you specified
|
656
|
+
# when you created the lifecycle hook.
|
572
657
|
# @return [String]
|
573
658
|
#
|
574
659
|
# @!attribute [rw] lifecycle_action_result
|
@@ -661,17 +746,17 @@ module Aws::AutoScaling
|
|
661
746
|
# group. You must specify one of the following: an EC2 instance, a
|
662
747
|
# launch configuration, or a launch template.
|
663
748
|
#
|
664
|
-
# When you specify an ID of an instance, Auto Scaling
|
665
|
-
# launch configuration and associates it with the group.
|
666
|
-
# configuration derives its attributes from the specified
|
667
|
-
# with the exception of the block device mapping.
|
749
|
+
# When you specify an ID of an instance, Amazon EC2 Auto Scaling
|
750
|
+
# creates a new launch configuration and associates it with the group.
|
751
|
+
# This launch configuration derives its attributes from the specified
|
752
|
+
# instance, with the exception of the block device mapping.
|
668
753
|
#
|
669
754
|
# For more information, see [Create an Auto Scaling Group Using an EC2
|
670
|
-
# Instance][1] in the *Auto Scaling User Guide*.
|
755
|
+
# Instance][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
671
756
|
#
|
672
757
|
#
|
673
758
|
#
|
674
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
759
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-from-instance.html
|
675
760
|
# @return [String]
|
676
761
|
#
|
677
762
|
# @!attribute [rw] min_size
|
@@ -694,12 +779,12 @@ module Aws::AutoScaling
|
|
694
779
|
# The amount of time, in seconds, after a scaling activity completes
|
695
780
|
# before another scaling activity can start. The default is 300.
|
696
781
|
#
|
697
|
-
# For more information, see [
|
698
|
-
# Scaling User Guide*.
|
782
|
+
# For more information, see [Scaling Cooldowns][1] in the *Amazon EC2
|
783
|
+
# Auto Scaling User Guide*.
|
699
784
|
#
|
700
785
|
#
|
701
786
|
#
|
702
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
787
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html
|
703
788
|
# @return [Integer]
|
704
789
|
#
|
705
790
|
# @!attribute [rw] availability_zones
|
@@ -712,11 +797,11 @@ module Aws::AutoScaling
|
|
712
797
|
# Balancer, use `TargetGroupARNs` instead.
|
713
798
|
#
|
714
799
|
# For more information, see [Using a Load Balancer With an Auto
|
715
|
-
# Scaling Group][1] in the *Auto Scaling User Guide*.
|
800
|
+
# Scaling Group][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
716
801
|
#
|
717
802
|
#
|
718
803
|
#
|
719
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
804
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-from-instance.html
|
720
805
|
# @return [Array<String>]
|
721
806
|
#
|
722
807
|
# @!attribute [rw] target_group_arns
|
@@ -729,27 +814,27 @@ module Aws::AutoScaling
|
|
729
814
|
#
|
730
815
|
# By default, health checks use Amazon EC2 instance status checks to
|
731
816
|
# determine the health of an instance. For more information, see
|
732
|
-
# [Health Checks][1] in the *Auto Scaling User Guide*.
|
817
|
+
# [Health Checks][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
733
818
|
#
|
734
819
|
#
|
735
820
|
#
|
736
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
821
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html
|
737
822
|
# @return [String]
|
738
823
|
#
|
739
824
|
# @!attribute [rw] health_check_grace_period
|
740
|
-
# The amount of time, in seconds, that Auto Scaling waits
|
741
|
-
# checking the health status of an EC2 instance that has come
|
742
|
-
# service. During this time, any health check failures for the
|
825
|
+
# The amount of time, in seconds, that Amazon EC2 Auto Scaling waits
|
826
|
+
# before checking the health status of an EC2 instance that has come
|
827
|
+
# into service. During this time, any health check failures for the
|
743
828
|
# instance are ignored. The default is 0.
|
744
829
|
#
|
745
830
|
# This parameter is required if you are adding an `ELB` health check.
|
746
831
|
#
|
747
|
-
# For more information, see [Health Checks][1] in the *Auto
|
748
|
-
# User Guide*.
|
832
|
+
# For more information, see [Health Checks][1] in the *Amazon EC2 Auto
|
833
|
+
# Scaling User Guide*.
|
749
834
|
#
|
750
835
|
#
|
751
836
|
#
|
752
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
837
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html
|
753
838
|
# @return [Integer]
|
754
839
|
#
|
755
840
|
# @!attribute [rw] placement_group
|
@@ -771,11 +856,11 @@ module Aws::AutoScaling
|
|
771
856
|
# specified.
|
772
857
|
#
|
773
858
|
# For more information, see [Launching Auto Scaling Instances in a
|
774
|
-
# VPC][1] in the *Auto Scaling User Guide*.
|
859
|
+
# VPC][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
775
860
|
#
|
776
861
|
#
|
777
862
|
#
|
778
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
863
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html
|
779
864
|
# @return [String]
|
780
865
|
#
|
781
866
|
# @!attribute [rw] termination_policies
|
@@ -788,7 +873,7 @@ module Aws::AutoScaling
|
|
788
873
|
#
|
789
874
|
#
|
790
875
|
#
|
791
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
876
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html
|
792
877
|
# @return [Array<String>]
|
793
878
|
#
|
794
879
|
# @!attribute [rw] new_instances_protected_from_scale_in
|
@@ -804,17 +889,17 @@ module Aws::AutoScaling
|
|
804
889
|
# One or more tags.
|
805
890
|
#
|
806
891
|
# For more information, see [Tagging Auto Scaling Groups and
|
807
|
-
# Instances][1] in the *Auto Scaling User Guide*.
|
892
|
+
# Instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
808
893
|
#
|
809
894
|
#
|
810
895
|
#
|
811
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
896
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-tagging.html
|
812
897
|
# @return [Array<Types::Tag>]
|
813
898
|
#
|
814
899
|
# @!attribute [rw] service_linked_role_arn
|
815
900
|
# The Amazon Resource Name (ARN) of the service-linked role that the
|
816
901
|
# Auto Scaling group uses to call other AWS services on your behalf.
|
817
|
-
# By default, Auto Scaling uses a service-linked role named
|
902
|
+
# By default, Amazon EC2 Auto Scaling uses a service-linked role named
|
818
903
|
# AWSServiceRoleForAutoScaling, which it creates if it does not exist.
|
819
904
|
# @return [String]
|
820
905
|
#
|
@@ -977,11 +1062,11 @@ module Aws::AutoScaling
|
|
977
1062
|
# same request.
|
978
1063
|
#
|
979
1064
|
# For more information, see [Create a Launch Configuration Using an
|
980
|
-
# EC2 Instance][1] in the *Auto Scaling User Guide*.
|
1065
|
+
# EC2 Instance][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
981
1066
|
#
|
982
1067
|
#
|
983
1068
|
#
|
984
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
1069
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/create-lc-with-instanceID.html
|
985
1070
|
# @return [String]
|
986
1071
|
#
|
987
1072
|
# @!attribute [rw] instance_type
|
@@ -1025,11 +1110,11 @@ module Aws::AutoScaling
|
|
1025
1110
|
# to fulfill the request. Spot Instances are launched when the price
|
1026
1111
|
# you specify exceeds the current Spot market price. For more
|
1027
1112
|
# information, see [Launching Spot Instances in Your Auto Scaling
|
1028
|
-
# Group][1] in the *Auto Scaling User Guide*.
|
1113
|
+
# Group][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
1029
1114
|
#
|
1030
1115
|
#
|
1031
1116
|
#
|
1032
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
1117
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-launch-spot-instances.html
|
1033
1118
|
# @return [String]
|
1034
1119
|
#
|
1035
1120
|
# @!attribute [rw] iam_instance_profile
|
@@ -1037,15 +1122,15 @@ module Aws::AutoScaling
|
|
1037
1122
|
# associated with the IAM role for the instance.
|
1038
1123
|
#
|
1039
1124
|
# EC2 instances launched with an IAM role will automatically have AWS
|
1040
|
-
# security credentials available. You can use IAM roles with
|
1041
|
-
# Scaling to automatically enable applications running on
|
1042
|
-
# instances to securely access other AWS resources. For more
|
1125
|
+
# security credentials available. You can use IAM roles with Amazon
|
1126
|
+
# EC2 Auto Scaling to automatically enable applications running on
|
1127
|
+
# your EC2 instances to securely access other AWS resources. For more
|
1043
1128
|
# information, see [Launch Auto Scaling Instances with an IAM Role][1]
|
1044
|
-
# in the *Auto Scaling User Guide*.
|
1129
|
+
# in the *Amazon EC2 Auto Scaling User Guide*.
|
1045
1130
|
#
|
1046
1131
|
#
|
1047
1132
|
#
|
1048
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
1133
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/us-iam-role.html
|
1049
1134
|
# @return [String]
|
1050
1135
|
#
|
1051
1136
|
# @!attribute [rw] ebs_optimized
|
@@ -1066,7 +1151,7 @@ module Aws::AutoScaling
|
|
1066
1151
|
# Used for groups that launch instances into a virtual private cloud
|
1067
1152
|
# (VPC). Specifies whether to assign a public IP address to each
|
1068
1153
|
# instance. For more information, see [Launching Auto Scaling
|
1069
|
-
# Instances in a VPC][1] in the *Auto Scaling User Guide*.
|
1154
|
+
# Instances in a VPC][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
1070
1155
|
#
|
1071
1156
|
# If you specify this parameter, be sure to specify at least one
|
1072
1157
|
# subnet when you create your group.
|
@@ -1078,7 +1163,7 @@ module Aws::AutoScaling
|
|
1078
1163
|
#
|
1079
1164
|
#
|
1080
1165
|
#
|
1081
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
1166
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html
|
1082
1167
|
# @return [Boolean]
|
1083
1168
|
#
|
1084
1169
|
# @!attribute [rw] placement_tenancy
|
@@ -1094,13 +1179,13 @@ module Aws::AutoScaling
|
|
1094
1179
|
# subnet when you create your group.
|
1095
1180
|
#
|
1096
1181
|
# For more information, see [Launching Auto Scaling Instances in a
|
1097
|
-
# VPC][1] in the *Auto Scaling User Guide*.
|
1182
|
+
# VPC][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
1098
1183
|
#
|
1099
1184
|
# Valid values: `default` \| `dedicated`
|
1100
1185
|
#
|
1101
1186
|
#
|
1102
1187
|
#
|
1103
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
1188
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html
|
1104
1189
|
# @return [String]
|
1105
1190
|
#
|
1106
1191
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateLaunchConfigurationType AWS API Documentation
|
@@ -1405,9 +1490,10 @@ module Aws::AutoScaling
|
|
1405
1490
|
# }
|
1406
1491
|
#
|
1407
1492
|
# @!attribute [rw] instance_ids
|
1408
|
-
# The instances
|
1409
|
-
# parameter, all Auto Scaling instances are described.
|
1410
|
-
# an ID that does not exist, it is ignored with no
|
1493
|
+
# The IDs of the instances. You can specify up to `MaxRecords` IDs. If
|
1494
|
+
# you omit this parameter, all Auto Scaling instances are described.
|
1495
|
+
# If you specify an ID that does not exist, it is ignored with no
|
1496
|
+
# error.
|
1411
1497
|
# @return [Array<String>]
|
1412
1498
|
#
|
1413
1499
|
# @!attribute [rw] max_records
|
@@ -1709,12 +1795,11 @@ module Aws::AutoScaling
|
|
1709
1795
|
# }
|
1710
1796
|
#
|
1711
1797
|
# @!attribute [rw] activity_ids
|
1712
|
-
# The activity IDs of the desired scaling activities.
|
1713
|
-
# parameter, all activities for the
|
1714
|
-
#
|
1715
|
-
#
|
1716
|
-
#
|
1717
|
-
# error.
|
1798
|
+
# The activity IDs of the desired scaling activities. You can specify
|
1799
|
+
# up to 50 IDs. If you omit this parameter, all activities for the
|
1800
|
+
# past six weeks are described. If unknown activities are requested,
|
1801
|
+
# they are ignored with no error. If you specify an Auto Scaling
|
1802
|
+
# group, the results are limited to that group.
|
1718
1803
|
# @return [Array<String>]
|
1719
1804
|
#
|
1720
1805
|
# @!attribute [rw] auto_scaling_group_name
|
@@ -1758,13 +1843,10 @@ module Aws::AutoScaling
|
|
1758
1843
|
# @return [String]
|
1759
1844
|
#
|
1760
1845
|
# @!attribute [rw] scheduled_action_names
|
1761
|
-
#
|
1762
|
-
#
|
1763
|
-
# scheduled action, it is ignored
|
1764
|
-
#
|
1765
|
-
# You can describe up to a maximum of 50 instances with a single call.
|
1766
|
-
# If there are more items to return, the call returns a token. To get
|
1767
|
-
# the next set of items, repeat the call with the returned token.
|
1846
|
+
# The names of one or more scheduled actions. You can specify up to 50
|
1847
|
+
# actions. If you omit this parameter, all scheduled actions are
|
1848
|
+
# described. If you specify an unknown scheduled action, it is ignored
|
1849
|
+
# with no error.
|
1768
1850
|
# @return [Array<String>]
|
1769
1851
|
#
|
1770
1852
|
# @!attribute [rw] start_time
|
@@ -1837,7 +1919,7 @@ module Aws::AutoScaling
|
|
1837
1919
|
end
|
1838
1920
|
|
1839
1921
|
# @!attribute [rw] termination_policy_types
|
1840
|
-
# The termination policies supported by Auto Scaling
|
1922
|
+
# The termination policies supported by Amazon EC2 Auto Scaling
|
1841
1923
|
# (`OldestInstance`, `OldestLaunchConfiguration`, `NewestInstance`,
|
1842
1924
|
# `ClosestToNextInstanceHour`, and `Default`).
|
1843
1925
|
# @return [Array<String>]
|
@@ -2026,8 +2108,6 @@ module Aws::AutoScaling
|
|
2026
2108
|
#
|
2027
2109
|
# Valid values: `standard` \| `io1` \| `gp2`
|
2028
2110
|
#
|
2029
|
-
# Default: `standard`
|
2030
|
-
#
|
2031
2111
|
#
|
2032
2112
|
#
|
2033
2113
|
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html
|
@@ -2215,17 +2295,17 @@ module Aws::AutoScaling
|
|
2215
2295
|
# @return [String]
|
2216
2296
|
#
|
2217
2297
|
# @!attribute [rw] honor_cooldown
|
2218
|
-
# Indicates whether Auto Scaling waits for the cooldown
|
2219
|
-
# complete before executing the policy.
|
2298
|
+
# Indicates whether Amazon EC2 Auto Scaling waits for the cooldown
|
2299
|
+
# period to complete before executing the policy.
|
2220
2300
|
#
|
2221
2301
|
# This parameter is not supported if the policy type is `StepScaling`.
|
2222
2302
|
#
|
2223
|
-
# For more information, see [
|
2224
|
-
# Scaling User Guide*.
|
2303
|
+
# For more information, see [Scaling Cooldowns][1] in the *Amazon EC2
|
2304
|
+
# Auto Scaling User Guide*.
|
2225
2305
|
#
|
2226
2306
|
#
|
2227
2307
|
#
|
2228
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
2308
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html
|
2229
2309
|
# @return [Boolean]
|
2230
2310
|
#
|
2231
2311
|
# @!attribute [rw] metric_value
|
@@ -2295,6 +2375,30 @@ module Aws::AutoScaling
|
|
2295
2375
|
include Aws::Structure
|
2296
2376
|
end
|
2297
2377
|
|
2378
|
+
# Describes a scheduled action that could not be created, updated, or
|
2379
|
+
# deleted.
|
2380
|
+
#
|
2381
|
+
# @!attribute [rw] scheduled_action_name
|
2382
|
+
# The name of the scheduled action.
|
2383
|
+
# @return [String]
|
2384
|
+
#
|
2385
|
+
# @!attribute [rw] error_code
|
2386
|
+
# The error code.
|
2387
|
+
# @return [String]
|
2388
|
+
#
|
2389
|
+
# @!attribute [rw] error_message
|
2390
|
+
# The error message accompanying the error code.
|
2391
|
+
# @return [String]
|
2392
|
+
#
|
2393
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/FailedScheduledUpdateGroupActionRequest AWS API Documentation
|
2394
|
+
#
|
2395
|
+
class FailedScheduledUpdateGroupActionRequest < Struct.new(
|
2396
|
+
:scheduled_action_name,
|
2397
|
+
:error_code,
|
2398
|
+
:error_message)
|
2399
|
+
include Aws::Structure
|
2400
|
+
end
|
2401
|
+
|
2298
2402
|
# Describes a filter.
|
2299
2403
|
#
|
2300
2404
|
# @note When making an API call, you may pass Filter
|
@@ -2341,8 +2445,8 @@ module Aws::AutoScaling
|
|
2341
2445
|
# @!attribute [rw] health_status
|
2342
2446
|
# The last reported health status of the instance. "Healthy" means
|
2343
2447
|
# that the instance is healthy and should remain in service.
|
2344
|
-
# "Unhealthy" means that the instance is unhealthy and
|
2345
|
-
# should terminate and replace it.
|
2448
|
+
# "Unhealthy" means that the instance is unhealthy and Amazon EC2
|
2449
|
+
# Auto Scaling should terminate and replace it.
|
2346
2450
|
# @return [String]
|
2347
2451
|
#
|
2348
2452
|
# @!attribute [rw] launch_configuration_name
|
@@ -2354,8 +2458,8 @@ module Aws::AutoScaling
|
|
2354
2458
|
# @return [Types::LaunchTemplateSpecification]
|
2355
2459
|
#
|
2356
2460
|
# @!attribute [rw] protected_from_scale_in
|
2357
|
-
# Indicates whether the instance is protected from termination by
|
2358
|
-
# Scaling when scaling in.
|
2461
|
+
# Indicates whether the instance is protected from termination by
|
2462
|
+
# Amazon EC2 Auto Scaling when scaling in.
|
2359
2463
|
# @return [Boolean]
|
2360
2464
|
#
|
2361
2465
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/Instance AWS API Documentation
|
@@ -2609,10 +2713,11 @@ module Aws::AutoScaling
|
|
2609
2713
|
#
|
2610
2714
|
# @!attribute [rw] version
|
2611
2715
|
# The version number, `$Latest`, or `$Default`. If the value is
|
2612
|
-
# `$Latest`, Auto Scaling selects the latest version of the
|
2613
|
-
# template when launching instances. If the value is
|
2614
|
-
# Scaling selects the default version of
|
2615
|
-
# launching instances. The default value is
|
2716
|
+
# `$Latest`, Amazon EC2 Auto Scaling selects the latest version of the
|
2717
|
+
# launch template when launching instances. If the value is
|
2718
|
+
# `$Default`, Amazon EC2 Auto Scaling selects the default version of
|
2719
|
+
# the launch template when launching instances. The default value is
|
2720
|
+
# `$Default`.
|
2616
2721
|
# @return [String]
|
2617
2722
|
#
|
2618
2723
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LaunchTemplateSpecification AWS API Documentation
|
@@ -2624,16 +2729,16 @@ module Aws::AutoScaling
|
|
2624
2729
|
include Aws::Structure
|
2625
2730
|
end
|
2626
2731
|
|
2627
|
-
# Describes a lifecycle hook, which tells Auto Scaling that
|
2628
|
-
# perform an action whenever it launches instances or
|
2629
|
-
# terminates instances.
|
2732
|
+
# Describes a lifecycle hook, which tells Amazon EC2 Auto Scaling that
|
2733
|
+
# you want to perform an action whenever it launches instances or
|
2734
|
+
# whenever it terminates instances.
|
2630
2735
|
#
|
2631
|
-
# For more information, see [
|
2632
|
-
#
|
2736
|
+
# For more information, see [Lifecycle Hooks][1] in the *Amazon EC2 Auto
|
2737
|
+
# Scaling User Guide*.
|
2633
2738
|
#
|
2634
2739
|
#
|
2635
2740
|
#
|
2636
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
2741
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html
|
2637
2742
|
#
|
2638
2743
|
# @!attribute [rw] lifecycle_hook_name
|
2639
2744
|
# The name of the lifecycle hook.
|
@@ -2645,14 +2750,18 @@ module Aws::AutoScaling
|
|
2645
2750
|
#
|
2646
2751
|
# @!attribute [rw] lifecycle_transition
|
2647
2752
|
# The state of the EC2 instance to which you want to attach the
|
2648
|
-
# lifecycle hook.
|
2649
|
-
#
|
2753
|
+
# lifecycle hook. The following are possible values:
|
2754
|
+
#
|
2755
|
+
# * autoscaling:EC2\_INSTANCE\_LAUNCHING
|
2756
|
+
#
|
2757
|
+
# * autoscaling:EC2\_INSTANCE\_TERMINATING
|
2650
2758
|
# @return [String]
|
2651
2759
|
#
|
2652
2760
|
# @!attribute [rw] notification_target_arn
|
2653
|
-
# The ARN of the target that Auto Scaling sends
|
2654
|
-
# an instance is in the transition state for the
|
2655
|
-
# notification target can be either an SQS queue
|
2761
|
+
# The ARN of the target that Amazon EC2 Auto Scaling sends
|
2762
|
+
# notifications to when an instance is in the transition state for the
|
2763
|
+
# lifecycle hook. The notification target can be either an SQS queue
|
2764
|
+
# or an SNS topic.
|
2656
2765
|
# @return [String]
|
2657
2766
|
#
|
2658
2767
|
# @!attribute [rw] role_arn
|
@@ -2661,15 +2770,15 @@ module Aws::AutoScaling
|
|
2661
2770
|
# @return [String]
|
2662
2771
|
#
|
2663
2772
|
# @!attribute [rw] notification_metadata
|
2664
|
-
# Additional information that you want to include any time
|
2665
|
-
# Scaling sends a message to the notification target.
|
2773
|
+
# Additional information that you want to include any time Amazon EC2
|
2774
|
+
# Auto Scaling sends a message to the notification target.
|
2666
2775
|
# @return [String]
|
2667
2776
|
#
|
2668
2777
|
# @!attribute [rw] heartbeat_timeout
|
2669
2778
|
# The maximum time, in seconds, that can elapse before the lifecycle
|
2670
|
-
# hook times out. If the lifecycle hook times out, Auto
|
2671
|
-
# performs the default action. You can prevent the lifecycle
|
2672
|
-
# timing out by calling RecordLifecycleActionHeartbeat.
|
2779
|
+
# hook times out. If the lifecycle hook times out, Amazon EC2 Auto
|
2780
|
+
# Scaling performs the default action. You can prevent the lifecycle
|
2781
|
+
# hook from timing out by calling RecordLifecycleActionHeartbeat.
|
2673
2782
|
# @return [Integer]
|
2674
2783
|
#
|
2675
2784
|
# @!attribute [rw] global_timeout
|
@@ -2701,16 +2810,16 @@ module Aws::AutoScaling
|
|
2701
2810
|
include Aws::Structure
|
2702
2811
|
end
|
2703
2812
|
|
2704
|
-
# Describes a lifecycle hook, which tells Auto Scaling that
|
2705
|
-
# perform an action whenever it launches instances or
|
2706
|
-
# terminates instances.
|
2813
|
+
# Describes a lifecycle hook, which tells Amazon EC2 Auto Scaling that
|
2814
|
+
# you want to perform an action whenever it launches instances or
|
2815
|
+
# whenever it terminates instances.
|
2707
2816
|
#
|
2708
|
-
# For more information, see [
|
2709
|
-
#
|
2817
|
+
# For more information, see [Lifecycle Hooks][1] in the *Amazon EC2 Auto
|
2818
|
+
# Scaling User Guide*.
|
2710
2819
|
#
|
2711
2820
|
#
|
2712
2821
|
#
|
2713
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
2822
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html
|
2714
2823
|
#
|
2715
2824
|
# @note When making an API call, you may pass LifecycleHookSpecification
|
2716
2825
|
# data as a hash:
|
@@ -2731,20 +2840,23 @@ module Aws::AutoScaling
|
|
2731
2840
|
#
|
2732
2841
|
# @!attribute [rw] lifecycle_transition
|
2733
2842
|
# The state of the EC2 instance to which you want to attach the
|
2734
|
-
# lifecycle hook.
|
2735
|
-
#
|
2843
|
+
# lifecycle hook. The possible values are:
|
2844
|
+
#
|
2845
|
+
# * autoscaling:EC2\_INSTANCE\_LAUNCHING
|
2846
|
+
#
|
2847
|
+
# * autoscaling:EC2\_INSTANCE\_TERMINATING
|
2736
2848
|
# @return [String]
|
2737
2849
|
#
|
2738
2850
|
# @!attribute [rw] notification_metadata
|
2739
|
-
# Additional information that you want to include any time
|
2740
|
-
# Scaling sends a message to the notification target.
|
2851
|
+
# Additional information that you want to include any time Amazon EC2
|
2852
|
+
# Auto Scaling sends a message to the notification target.
|
2741
2853
|
# @return [String]
|
2742
2854
|
#
|
2743
2855
|
# @!attribute [rw] heartbeat_timeout
|
2744
2856
|
# The maximum time, in seconds, that can elapse before the lifecycle
|
2745
|
-
# hook times out. If the lifecycle hook times out, Auto
|
2746
|
-
# performs the default action. You can prevent the lifecycle
|
2747
|
-
# timing out by calling RecordLifecycleActionHeartbeat.
|
2857
|
+
# hook times out. If the lifecycle hook times out, Amazon EC2 Auto
|
2858
|
+
# Scaling performs the default action. You can prevent the lifecycle
|
2859
|
+
# hook from timing out by calling RecordLifecycleActionHeartbeat.
|
2748
2860
|
# @return [Integer]
|
2749
2861
|
#
|
2750
2862
|
# @!attribute [rw] default_result
|
@@ -2754,9 +2866,10 @@ module Aws::AutoScaling
|
|
2754
2866
|
# @return [String]
|
2755
2867
|
#
|
2756
2868
|
# @!attribute [rw] notification_target_arn
|
2757
|
-
# The ARN of the target that Auto Scaling sends
|
2758
|
-
# an instance is in the transition state for the
|
2759
|
-
# notification target can be either an SQS queue
|
2869
|
+
# The ARN of the target that Amazon EC2 Auto Scaling sends
|
2870
|
+
# notifications to when an instance is in the transition state for the
|
2871
|
+
# lifecycle hook. The notification target can be either an SQS queue
|
2872
|
+
# or an SNS topic.
|
2760
2873
|
# @return [String]
|
2761
2874
|
#
|
2762
2875
|
# @!attribute [rw] role_arn
|
@@ -3057,12 +3170,12 @@ module Aws::AutoScaling
|
|
3057
3170
|
|
3058
3171
|
# Describes a process type.
|
3059
3172
|
#
|
3060
|
-
# For more information, see [
|
3061
|
-
# Scaling User Guide*.
|
3173
|
+
# For more information, see [Scaling Processes][1] in the *Amazon EC2
|
3174
|
+
# Auto Scaling User Guide*.
|
3062
3175
|
#
|
3063
3176
|
#
|
3064
3177
|
#
|
3065
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
3178
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html#process-types
|
3066
3179
|
#
|
3067
3180
|
# @!attribute [rw] process_name
|
3068
3181
|
# One of the following processes:
|
@@ -3130,7 +3243,11 @@ module Aws::AutoScaling
|
|
3130
3243
|
#
|
3131
3244
|
# @!attribute [rw] lifecycle_transition
|
3132
3245
|
# The instance state to which you want to attach the lifecycle hook.
|
3133
|
-
#
|
3246
|
+
# The possible values are:
|
3247
|
+
#
|
3248
|
+
# * autoscaling:EC2\_INSTANCE\_LAUNCHING
|
3249
|
+
#
|
3250
|
+
# * autoscaling:EC2\_INSTANCE\_TERMINATING
|
3134
3251
|
#
|
3135
3252
|
# This parameter is required for new lifecycle hooks, but optional
|
3136
3253
|
# when updating existing hooks.
|
@@ -3145,9 +3262,9 @@ module Aws::AutoScaling
|
|
3145
3262
|
# @return [String]
|
3146
3263
|
#
|
3147
3264
|
# @!attribute [rw] notification_target_arn
|
3148
|
-
# The ARN of the notification target that Auto Scaling will
|
3149
|
-
# notify you when an instance is in the transition state for
|
3150
|
-
# lifecycle hook. This target can be either an SQS queue or an SNS
|
3265
|
+
# The ARN of the notification target that Amazon EC2 Auto Scaling will
|
3266
|
+
# use to notify you when an instance is in the transition state for
|
3267
|
+
# the lifecycle hook. This target can be either an SQS queue or an SNS
|
3151
3268
|
# topic. If you specify an empty string, this overrides the current
|
3152
3269
|
# ARN.
|
3153
3270
|
#
|
@@ -3155,14 +3272,15 @@ module Aws::AutoScaling
|
|
3155
3272
|
# Amazon SQS queue, and an email key/value pair format when sending
|
3156
3273
|
# notifications to an Amazon SNS topic.
|
3157
3274
|
#
|
3158
|
-
# When you specify a notification target, Auto Scaling
|
3159
|
-
# message. Test messages contains the following
|
3160
|
-
# pair: `"Event":
|
3275
|
+
# When you specify a notification target, Amazon EC2 Auto Scaling
|
3276
|
+
# sends it a test message. Test messages contains the following
|
3277
|
+
# additional key/value pair: `"Event":
|
3278
|
+
# "autoscaling:TEST_NOTIFICATION"`.
|
3161
3279
|
# @return [String]
|
3162
3280
|
#
|
3163
3281
|
# @!attribute [rw] notification_metadata
|
3164
3282
|
# Contains additional information that you want to include any time
|
3165
|
-
# Auto Scaling sends a message to the notification target.
|
3283
|
+
# Amazon EC2 Auto Scaling sends a message to the notification target.
|
3166
3284
|
# @return [String]
|
3167
3285
|
#
|
3168
3286
|
# @!attribute [rw] heartbeat_timeout
|
@@ -3170,9 +3288,9 @@ module Aws::AutoScaling
|
|
3170
3288
|
# hook times out. The range is from 30 to 7200 seconds. The default is
|
3171
3289
|
# 3600 seconds (1 hour).
|
3172
3290
|
#
|
3173
|
-
# If the lifecycle hook times out, Auto Scaling performs
|
3174
|
-
# action. You can prevent the lifecycle hook from timing
|
3175
|
-
# calling RecordLifecycleActionHeartbeat.
|
3291
|
+
# If the lifecycle hook times out, Amazon EC2 Auto Scaling performs
|
3292
|
+
# the default action. You can prevent the lifecycle hook from timing
|
3293
|
+
# out by calling RecordLifecycleActionHeartbeat.
|
3176
3294
|
# @return [Integer]
|
3177
3295
|
#
|
3178
3296
|
# @!attribute [rw] default_result
|
@@ -3216,8 +3334,8 @@ module Aws::AutoScaling
|
|
3216
3334
|
#
|
3217
3335
|
# @!attribute [rw] notification_types
|
3218
3336
|
# The type of event that will cause the notification to be sent. For
|
3219
|
-
# details about notification types supported by
|
3220
|
-
# DescribeAutoScalingNotificationTypes.
|
3337
|
+
# details about notification types supported by Amazon EC2 Auto
|
3338
|
+
# Scaling, see DescribeAutoScalingNotificationTypes.
|
3221
3339
|
# @return [Array<String>]
|
3222
3340
|
#
|
3223
3341
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutNotificationConfigurationType AWS API Documentation
|
@@ -3293,12 +3411,12 @@ module Aws::AutoScaling
|
|
3293
3411
|
# This parameter is supported if the policy type is `SimpleScaling` or
|
3294
3412
|
# `StepScaling`.
|
3295
3413
|
#
|
3296
|
-
# For more information, see [Dynamic Scaling][1] in the *
|
3297
|
-
# User Guide*.
|
3414
|
+
# For more information, see [Dynamic Scaling][1] in the *Amazon EC2
|
3415
|
+
# Auto Scaling User Guide*.
|
3298
3416
|
#
|
3299
3417
|
#
|
3300
3418
|
#
|
3301
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
3419
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scale-based-on-demand.html
|
3302
3420
|
# @return [String]
|
3303
3421
|
#
|
3304
3422
|
# @!attribute [rw] min_adjustment_step
|
@@ -3332,12 +3450,12 @@ module Aws::AutoScaling
|
|
3332
3450
|
#
|
3333
3451
|
# This parameter is supported if the policy type is `SimpleScaling`.
|
3334
3452
|
#
|
3335
|
-
# For more information, see [
|
3336
|
-
# Scaling User Guide*.
|
3453
|
+
# For more information, see [Scaling Cooldowns][1] in the *Amazon EC2
|
3454
|
+
# Auto Scaling User Guide*.
|
3337
3455
|
#
|
3338
3456
|
#
|
3339
3457
|
#
|
3340
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
3458
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html
|
3341
3459
|
# @return [Integer]
|
3342
3460
|
#
|
3343
3461
|
# @!attribute [rw] metric_aggregation_type
|
@@ -3421,26 +3539,26 @@ module Aws::AutoScaling
|
|
3421
3539
|
# The time for this action to start, in "YYYY-MM-DDThh:mm:ssZ"
|
3422
3540
|
# format in UTC/GMT only (for example, `2014-06-01T00:00:00Z`).
|
3423
3541
|
#
|
3424
|
-
# If you specify `Recurrence` and `StartTime`, Auto Scaling
|
3425
|
-
# the action at this time, and then performs the action based
|
3426
|
-
# specified recurrence.
|
3542
|
+
# If you specify `Recurrence` and `StartTime`, Amazon EC2 Auto Scaling
|
3543
|
+
# performs the action at this time, and then performs the action based
|
3544
|
+
# on the specified recurrence.
|
3427
3545
|
#
|
3428
|
-
# If you try to schedule your action in the past,
|
3429
|
-
# an error message.
|
3546
|
+
# If you try to schedule your action in the past, Amazon EC2 Auto
|
3547
|
+
# Scaling returns an error message.
|
3430
3548
|
# @return [Time]
|
3431
3549
|
#
|
3432
3550
|
# @!attribute [rw] end_time
|
3433
|
-
# The time for the recurring schedule to end. Auto Scaling
|
3434
|
-
# perform the action after this time.
|
3551
|
+
# The time for the recurring schedule to end. Amazon EC2 Auto Scaling
|
3552
|
+
# does not perform the action after this time.
|
3435
3553
|
# @return [Time]
|
3436
3554
|
#
|
3437
3555
|
# @!attribute [rw] recurrence
|
3438
3556
|
# The recurring schedule for this action, in Unix cron syntax format.
|
3439
|
-
# For more information, see [
|
3557
|
+
# For more information about this format, see [Crontab][1].
|
3440
3558
|
#
|
3441
3559
|
#
|
3442
3560
|
#
|
3443
|
-
# [1]: http://
|
3561
|
+
# [1]: http://crontab.org
|
3444
3562
|
# @return [String]
|
3445
3563
|
#
|
3446
3564
|
# @!attribute [rw] min_size
|
@@ -3494,9 +3612,9 @@ module Aws::AutoScaling
|
|
3494
3612
|
#
|
3495
3613
|
# @!attribute [rw] lifecycle_action_token
|
3496
3614
|
# A token that uniquely identifies a specific lifecycle action
|
3497
|
-
# associated with an instance. Auto Scaling sends this
|
3498
|
-
# notification target you specified when you created the
|
3499
|
-
# hook.
|
3615
|
+
# associated with an instance. Amazon EC2 Auto Scaling sends this
|
3616
|
+
# token to the notification target you specified when you created the
|
3617
|
+
# lifecycle hook.
|
3500
3618
|
# @return [String]
|
3501
3619
|
#
|
3502
3620
|
# @!attribute [rw] instance_id
|
@@ -3661,7 +3779,8 @@ module Aws::AutoScaling
|
|
3661
3779
|
include Aws::Structure
|
3662
3780
|
end
|
3663
3781
|
|
3664
|
-
# Describes a scheduled
|
3782
|
+
# Describes a scheduled scaling action. Used in response to
|
3783
|
+
# DescribeScheduledActions.
|
3665
3784
|
#
|
3666
3785
|
# @!attribute [rw] auto_scaling_group_name
|
3667
3786
|
# The name of the Auto Scaling group.
|
@@ -3725,6 +3844,81 @@ module Aws::AutoScaling
|
|
3725
3844
|
include Aws::Structure
|
3726
3845
|
end
|
3727
3846
|
|
3847
|
+
# Describes one or more scheduled scaling action updates for a specified
|
3848
|
+
# Auto Scaling group. Used in combination with
|
3849
|
+
# BatchPutScheduledUpdateGroupAction.
|
3850
|
+
#
|
3851
|
+
# When updating a scheduled scaling action, all optional parameters are
|
3852
|
+
# left unchanged if not specified.
|
3853
|
+
#
|
3854
|
+
# @note When making an API call, you may pass ScheduledUpdateGroupActionRequest
|
3855
|
+
# data as a hash:
|
3856
|
+
#
|
3857
|
+
# {
|
3858
|
+
# scheduled_action_name: "XmlStringMaxLen255", # required
|
3859
|
+
# start_time: Time.now,
|
3860
|
+
# end_time: Time.now,
|
3861
|
+
# recurrence: "XmlStringMaxLen255",
|
3862
|
+
# min_size: 1,
|
3863
|
+
# max_size: 1,
|
3864
|
+
# desired_capacity: 1,
|
3865
|
+
# }
|
3866
|
+
#
|
3867
|
+
# @!attribute [rw] scheduled_action_name
|
3868
|
+
# The name of the scaling action.
|
3869
|
+
# @return [String]
|
3870
|
+
#
|
3871
|
+
# @!attribute [rw] start_time
|
3872
|
+
# The time for the action to start, in "YYYY-MM-DDThh:mm:ssZ" format
|
3873
|
+
# in UTC/GMT only (for example, `2014-06-01T00:00:00Z`).
|
3874
|
+
#
|
3875
|
+
# If you specify `Recurrence` and `StartTime`, Amazon EC2 Auto Scaling
|
3876
|
+
# performs the action at this time, and then performs the action based
|
3877
|
+
# on the specified recurrence.
|
3878
|
+
#
|
3879
|
+
# If you try to schedule the action in the past, Amazon EC2 Auto
|
3880
|
+
# Scaling returns an error message.
|
3881
|
+
# @return [Time]
|
3882
|
+
#
|
3883
|
+
# @!attribute [rw] end_time
|
3884
|
+
# The time for the recurring schedule to end. Amazon EC2 Auto Scaling
|
3885
|
+
# does not perform the action after this time.
|
3886
|
+
# @return [Time]
|
3887
|
+
#
|
3888
|
+
# @!attribute [rw] recurrence
|
3889
|
+
# The recurring schedule for the action, in Unix cron syntax format.
|
3890
|
+
# For more information about this format, see [Crontab][1].
|
3891
|
+
#
|
3892
|
+
#
|
3893
|
+
#
|
3894
|
+
# [1]: http://crontab.org
|
3895
|
+
# @return [String]
|
3896
|
+
#
|
3897
|
+
# @!attribute [rw] min_size
|
3898
|
+
# The minimum size of the group.
|
3899
|
+
# @return [Integer]
|
3900
|
+
#
|
3901
|
+
# @!attribute [rw] max_size
|
3902
|
+
# The maximum size of the group.
|
3903
|
+
# @return [Integer]
|
3904
|
+
#
|
3905
|
+
# @!attribute [rw] desired_capacity
|
3906
|
+
# The number of EC2 instances that should be running in the group.
|
3907
|
+
# @return [Integer]
|
3908
|
+
#
|
3909
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/ScheduledUpdateGroupActionRequest AWS API Documentation
|
3910
|
+
#
|
3911
|
+
class ScheduledUpdateGroupActionRequest < Struct.new(
|
3912
|
+
:scheduled_action_name,
|
3913
|
+
:start_time,
|
3914
|
+
:end_time,
|
3915
|
+
:recurrence,
|
3916
|
+
:min_size,
|
3917
|
+
:max_size,
|
3918
|
+
:desired_capacity)
|
3919
|
+
include Aws::Structure
|
3920
|
+
end
|
3921
|
+
|
3728
3922
|
# @note When making an API call, you may pass SetDesiredCapacityType
|
3729
3923
|
# data as a hash:
|
3730
3924
|
#
|
@@ -3744,10 +3938,11 @@ module Aws::AutoScaling
|
|
3744
3938
|
# @return [Integer]
|
3745
3939
|
#
|
3746
3940
|
# @!attribute [rw] honor_cooldown
|
3747
|
-
# Indicates whether Auto Scaling waits for the cooldown
|
3748
|
-
# complete before initiating a scaling activity to set your
|
3749
|
-
# Scaling group to its new capacity. By default,
|
3750
|
-
# honor the cooldown period during manual scaling
|
3941
|
+
# Indicates whether Amazon EC2 Auto Scaling waits for the cooldown
|
3942
|
+
# period to complete before initiating a scaling activity to set your
|
3943
|
+
# Auto Scaling group to its new capacity. By default, Amazon EC2 Auto
|
3944
|
+
# Scaling does not honor the cooldown period during manual scaling
|
3945
|
+
# activities.
|
3751
3946
|
# @return [Boolean]
|
3752
3947
|
#
|
3753
3948
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetDesiredCapacityType AWS API Documentation
|
@@ -3775,8 +3970,8 @@ module Aws::AutoScaling
|
|
3775
3970
|
# @!attribute [rw] health_status
|
3776
3971
|
# The health status of the instance. Set to `Healthy` if you want the
|
3777
3972
|
# instance to remain in service. Set to `Unhealthy` if you want the
|
3778
|
-
# instance to be out of service. Auto Scaling will
|
3779
|
-
# replace the unhealthy instance.
|
3973
|
+
# instance to be out of service. Amazon EC2 Auto Scaling will
|
3974
|
+
# terminate and replace the unhealthy instance.
|
3780
3975
|
# @return [String]
|
3781
3976
|
#
|
3782
3977
|
# @!attribute [rw] should_respect_grace_period
|
@@ -3821,8 +4016,8 @@ module Aws::AutoScaling
|
|
3821
4016
|
# @return [String]
|
3822
4017
|
#
|
3823
4018
|
# @!attribute [rw] protected_from_scale_in
|
3824
|
-
# Indicates whether the instance is protected from termination by
|
3825
|
-
# Scaling when scaling in.
|
4019
|
+
# Indicates whether the instance is protected from termination by
|
4020
|
+
# Amazon EC2 Auto Scaling when scaling in.
|
3826
4021
|
# @return [Boolean]
|
3827
4022
|
#
|
3828
4023
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetInstanceProtectionQuery AWS API Documentation
|
@@ -3908,8 +4103,8 @@ module Aws::AutoScaling
|
|
3908
4103
|
include Aws::Structure
|
3909
4104
|
end
|
3910
4105
|
|
3911
|
-
# Describes an
|
3912
|
-
# information, see ProcessType.
|
4106
|
+
# Describes an automatic scaling process that has been suspended. For
|
4107
|
+
# more information, see ProcessType.
|
3913
4108
|
#
|
3914
4109
|
# @!attribute [rw] process_name
|
3915
4110
|
# The name of the suspended process.
|
@@ -4165,12 +4360,12 @@ module Aws::AutoScaling
|
|
4165
4360
|
# The amount of time, in seconds, after a scaling activity completes
|
4166
4361
|
# before another scaling activity can start. The default is 300.
|
4167
4362
|
#
|
4168
|
-
# For more information, see [
|
4169
|
-
# Scaling User Guide*.
|
4363
|
+
# For more information, see [Scaling Cooldowns][1] in the *Amazon EC2
|
4364
|
+
# Auto Scaling User Guide*.
|
4170
4365
|
#
|
4171
4366
|
#
|
4172
4367
|
#
|
4173
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
4368
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html
|
4174
4369
|
# @return [Integer]
|
4175
4370
|
#
|
4176
4371
|
# @!attribute [rw] availability_zones
|
@@ -4183,16 +4378,16 @@ module Aws::AutoScaling
|
|
4183
4378
|
# @return [String]
|
4184
4379
|
#
|
4185
4380
|
# @!attribute [rw] health_check_grace_period
|
4186
|
-
# The amount of time, in seconds, that Auto Scaling waits
|
4187
|
-
# checking the health status of an EC2 instance that has come
|
4188
|
-
# service. The default is 0.
|
4381
|
+
# The amount of time, in seconds, that Amazon EC2 Auto Scaling waits
|
4382
|
+
# before checking the health status of an EC2 instance that has come
|
4383
|
+
# into service. The default is 0.
|
4189
4384
|
#
|
4190
|
-
# For more information, see [Health Checks][1] in the *Auto
|
4191
|
-
# User Guide*.
|
4385
|
+
# For more information, see [Health Checks][1] in the *Amazon EC2 Auto
|
4386
|
+
# Scaling User Guide*.
|
4192
4387
|
#
|
4193
4388
|
#
|
4194
4389
|
#
|
4195
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
4390
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/healthcheck.html
|
4196
4391
|
# @return [Integer]
|
4197
4392
|
#
|
4198
4393
|
# @!attribute [rw] placement_group
|
@@ -4214,11 +4409,11 @@ module Aws::AutoScaling
|
|
4214
4409
|
# specify for `AvailabilityZones`.
|
4215
4410
|
#
|
4216
4411
|
# For more information, see [Launching Auto Scaling Instances in a
|
4217
|
-
# VPC][1] in the *Auto Scaling User Guide*.
|
4412
|
+
# VPC][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
4218
4413
|
#
|
4219
4414
|
#
|
4220
4415
|
#
|
4221
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
4416
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html
|
4222
4417
|
# @return [String]
|
4223
4418
|
#
|
4224
4419
|
# @!attribute [rw] termination_policies
|
@@ -4231,7 +4426,7 @@ module Aws::AutoScaling
|
|
4231
4426
|
#
|
4232
4427
|
#
|
4233
4428
|
#
|
4234
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/
|
4429
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html
|
4235
4430
|
# @return [Array<String>]
|
4236
4431
|
#
|
4237
4432
|
# @!attribute [rw] new_instances_protected_from_scale_in
|