aws-sdk-autoscaling 1.13.0 → 1.14.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 +1 -1
- data/lib/aws-sdk-autoscaling/auto_scaling_group.rb +24 -5
- data/lib/aws-sdk-autoscaling/client.rb +82 -59
- data/lib/aws-sdk-autoscaling/client_api.rb +2 -1
- data/lib/aws-sdk-autoscaling/instance.rb +7 -0
- data/lib/aws-sdk-autoscaling/launch_configuration.rb +7 -3
- data/lib/aws-sdk-autoscaling/resource.rb +37 -22
- data/lib/aws-sdk-autoscaling/types.rb +113 -53
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b8425bef187ae713a5ca2425662c0bc8d845698
|
4
|
+
data.tar.gz: 3fc222273282fda029ffc43b67806f47a8b889f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11c2b3d4892107ae733be4996334b26ca8f5d3a8ecedc14245b382d2c51ba3ae2c553f25d3aac68c542db7b8d7534c0a27d7b25a25cea2393b776d790c03ff5e
|
7
|
+
data.tar.gz: ec9c72ed1d465ed0c2bc7fc1d8cedcf2dd562629f5f1b091f6cc9a2cb9da9ac4336518c03eb26faf34aa9e60a9b5e1d95d859c1686c423c6bfbe4da9a6dc458e
|
data/lib/aws-sdk-autoscaling.rb
CHANGED
@@ -128,7 +128,7 @@ module Aws::AutoScaling
|
|
128
128
|
|
129
129
|
# The name of the placement group into which to launch your instances,
|
130
130
|
# if any. For more information, see [Placement Groups][1] in the *Amazon
|
131
|
-
#
|
131
|
+
# EC2 User Guide for Linux Instances*.
|
132
132
|
#
|
133
133
|
#
|
134
134
|
#
|
@@ -169,6 +169,13 @@ module Aws::AutoScaling
|
|
169
169
|
|
170
170
|
# Indicates whether newly launched instances are protected from
|
171
171
|
# termination by Auto Scaling when scaling in.
|
172
|
+
#
|
173
|
+
# For more information, see [Instance Protection][1] in the *Amazon EC2
|
174
|
+
# Auto Scaling User Guide*.
|
175
|
+
#
|
176
|
+
#
|
177
|
+
#
|
178
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection
|
172
179
|
# @return [Boolean]
|
173
180
|
def new_instances_protected_from_scale_in
|
174
181
|
data[:new_instances_protected_from_scale_in]
|
@@ -663,7 +670,10 @@ module Aws::AutoScaling
|
|
663
670
|
# does not perform the action after this time.
|
664
671
|
# @option options [String] :recurrence
|
665
672
|
# The recurring schedule for this action, in Unix cron syntax format.
|
666
|
-
#
|
673
|
+
# This format consists of five fields separated by white spaces:
|
674
|
+
# \[Minute\] \[Hour\] \[Day\_of\_Month\] \[Month\_of\_Year\]
|
675
|
+
# \[Day\_of\_Week\]. For more information about this format, see
|
676
|
+
# [Crontab][1].
|
667
677
|
#
|
668
678
|
#
|
669
679
|
#
|
@@ -799,7 +809,7 @@ module Aws::AutoScaling
|
|
799
809
|
# on_demand_percentage_above_base_capacity: 1,
|
800
810
|
# spot_allocation_strategy: "XmlString",
|
801
811
|
# spot_instance_pools: 1,
|
802
|
-
# spot_max_price: "
|
812
|
+
# spot_max_price: "MixedInstanceSpotPrice",
|
803
813
|
# },
|
804
814
|
# },
|
805
815
|
# min_size: 1,
|
@@ -864,7 +874,7 @@ module Aws::AutoScaling
|
|
864
874
|
# @option options [String] :placement_group
|
865
875
|
# The name of the placement group into which to launch your instances,
|
866
876
|
# if any. For more information, see [Placement Groups][1] in the *Amazon
|
867
|
-
#
|
877
|
+
# EC2 User Guide for Linux Instances*.
|
868
878
|
#
|
869
879
|
#
|
870
880
|
#
|
@@ -889,7 +899,8 @@ module Aws::AutoScaling
|
|
889
899
|
# order that they are listed.
|
890
900
|
#
|
891
901
|
# For more information, see [Controlling Which Instances Auto Scaling
|
892
|
-
# Terminates During Scale In][1] in the *Auto Scaling User
|
902
|
+
# Terminates During Scale In][1] in the *Amazon EC2 Auto Scaling User
|
903
|
+
# Guide*.
|
893
904
|
#
|
894
905
|
#
|
895
906
|
#
|
@@ -897,6 +908,14 @@ module Aws::AutoScaling
|
|
897
908
|
# @option options [Boolean] :new_instances_protected_from_scale_in
|
898
909
|
# Indicates whether newly launched instances are protected from
|
899
910
|
# termination by Auto Scaling when scaling in.
|
911
|
+
#
|
912
|
+
# For more information about preventing instances from terminating on
|
913
|
+
# scale in, see [Instance Protection][1] in the *Amazon EC2 Auto Scaling
|
914
|
+
# User Guide*.
|
915
|
+
#
|
916
|
+
#
|
917
|
+
#
|
918
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection
|
900
919
|
# @option options [String] :service_linked_role_arn
|
901
920
|
# The Amazon Resource Name (ARN) of the service-linked role that the
|
902
921
|
# Auto Scaling group uses to call other AWS services on your behalf.
|
@@ -269,7 +269,10 @@ module Aws::AutoScaling
|
|
269
269
|
# DescribeLoadBalancerTargetGroups. To detach the target group from the
|
270
270
|
# Auto Scaling group, use DetachLoadBalancerTargetGroups.
|
271
271
|
#
|
272
|
-
#
|
272
|
+
# With Application Load Balancers and Network Load Balancers, instances
|
273
|
+
# are registered as targets with a target group. With Classic Load
|
274
|
+
# Balancers, instances are registered with the load balancer. For more
|
275
|
+
# information, see [Attaching a Load Balancer to Your Auto Scaling
|
273
276
|
# Group][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
274
277
|
#
|
275
278
|
#
|
@@ -316,15 +319,15 @@ module Aws::AutoScaling
|
|
316
319
|
# Attaches one or more Classic Load Balancers to the specified Auto
|
317
320
|
# Scaling group.
|
318
321
|
#
|
319
|
-
# To attach an Application Load Balancer
|
320
|
-
# AttachLoadBalancerTargetGroups.
|
322
|
+
# To attach an Application Load Balancer or a Network Load Balancer
|
323
|
+
# instead, see AttachLoadBalancerTargetGroups.
|
321
324
|
#
|
322
325
|
# To describe the load balancers for an Auto Scaling group, use
|
323
326
|
# DescribeLoadBalancers. To detach the load balancer from the Auto
|
324
327
|
# Scaling group, use DetachLoadBalancers.
|
325
328
|
#
|
326
|
-
# For more information, see [
|
327
|
-
# Group][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
329
|
+
# For more information, see [Attaching a Load Balancer to Your Auto
|
330
|
+
# Scaling Group][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
328
331
|
#
|
329
332
|
#
|
330
333
|
#
|
@@ -540,7 +543,8 @@ module Aws::AutoScaling
|
|
540
543
|
# If you exceed your maximum limit of Auto Scaling groups, the call
|
541
544
|
# fails. For information about viewing this limit, see
|
542
545
|
# DescribeAccountLimits. For information about updating this limit, see
|
543
|
-
# [Auto Scaling Limits][1] in the *Amazon EC2 Auto Scaling
|
546
|
+
# [Amazon EC2 Auto Scaling Limits][1] in the *Amazon EC2 Auto Scaling
|
547
|
+
# User Guide*.
|
544
548
|
#
|
545
549
|
# For more information, see [Auto Scaling Groups][2] in the *Amazon EC2
|
546
550
|
# Auto Scaling User Guide*.
|
@@ -616,14 +620,14 @@ module Aws::AutoScaling
|
|
616
620
|
#
|
617
621
|
# @option params [Array<String>] :load_balancer_names
|
618
622
|
# One or more Classic Load Balancers. To specify an Application Load
|
619
|
-
# Balancer, use `TargetGroupARNs` instead.
|
623
|
+
# Balancer or a Network Load Balancer, use `TargetGroupARNs` instead.
|
620
624
|
#
|
621
625
|
# For more information, see [Using a Load Balancer With an Auto Scaling
|
622
626
|
# Group][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
623
627
|
#
|
624
628
|
#
|
625
629
|
#
|
626
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
630
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html
|
627
631
|
#
|
628
632
|
# @option params [Array<String>] :target_group_arns
|
629
633
|
# The Amazon Resource Names (ARN) of the target groups.
|
@@ -658,7 +662,7 @@ module Aws::AutoScaling
|
|
658
662
|
# @option params [String] :placement_group
|
659
663
|
# The name of the placement group into which to launch your instances,
|
660
664
|
# if any. For more information, see [Placement Groups][1] in the *Amazon
|
661
|
-
#
|
665
|
+
# EC2 User Guide for Linux Instances*.
|
662
666
|
#
|
663
667
|
#
|
664
668
|
#
|
@@ -685,7 +689,8 @@ module Aws::AutoScaling
|
|
685
689
|
# listed.
|
686
690
|
#
|
687
691
|
# For more information, see [Controlling Which Instances Auto Scaling
|
688
|
-
# Terminates During Scale In][1] in the *Auto Scaling User
|
692
|
+
# Terminates During Scale In][1] in the *Amazon EC2 Auto Scaling User
|
693
|
+
# Guide*.
|
689
694
|
#
|
690
695
|
#
|
691
696
|
#
|
@@ -695,6 +700,14 @@ module Aws::AutoScaling
|
|
695
700
|
# Indicates whether newly launched instances are protected from
|
696
701
|
# termination by Auto Scaling when scaling in.
|
697
702
|
#
|
703
|
+
# For more information about preventing instances from terminating on
|
704
|
+
# scale in, see [Instance Protection][1] in the *Amazon EC2 Auto Scaling
|
705
|
+
# User Guide*.
|
706
|
+
#
|
707
|
+
#
|
708
|
+
#
|
709
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection
|
710
|
+
#
|
698
711
|
# @option params [Array<Types::LifecycleHookSpecification>] :lifecycle_hook_specification_list
|
699
712
|
# One or more lifecycle hooks.
|
700
713
|
#
|
@@ -794,7 +807,7 @@ module Aws::AutoScaling
|
|
794
807
|
# on_demand_percentage_above_base_capacity: 1,
|
795
808
|
# spot_allocation_strategy: "XmlString",
|
796
809
|
# spot_instance_pools: 1,
|
797
|
-
# spot_max_price: "
|
810
|
+
# spot_max_price: "MixedInstanceSpotPrice",
|
798
811
|
# },
|
799
812
|
# },
|
800
813
|
# instance_id: "XmlStringMaxLen19",
|
@@ -848,7 +861,8 @@ module Aws::AutoScaling
|
|
848
861
|
# If you exceed your maximum limit of launch configurations, the call
|
849
862
|
# fails. For information about viewing this limit, see
|
850
863
|
# DescribeAccountLimits. For information about updating this limit, see
|
851
|
-
# [Auto Scaling Limits][1] in the *Amazon EC2 Auto Scaling
|
864
|
+
# [Amazon EC2 Auto Scaling Limits][1] in the *Amazon EC2 Auto Scaling
|
865
|
+
# User Guide*.
|
852
866
|
#
|
853
867
|
# For more information, see [Launch Configurations][2] in the *Amazon
|
854
868
|
# EC2 Auto Scaling User Guide*.
|
@@ -868,8 +882,8 @@ module Aws::AutoScaling
|
|
868
882
|
#
|
869
883
|
# If you do not specify `InstanceId`, you must specify `ImageId`.
|
870
884
|
#
|
871
|
-
# For more information, see [Finding an AMI][1] in the *Amazon
|
872
|
-
#
|
885
|
+
# For more information, see [Finding an AMI][1] in the *Amazon EC2 User
|
886
|
+
# Guide for Linux Instances*.
|
873
887
|
#
|
874
888
|
#
|
875
889
|
#
|
@@ -877,7 +891,7 @@ module Aws::AutoScaling
|
|
877
891
|
#
|
878
892
|
# @option params [String] :key_name
|
879
893
|
# The name of the key pair. For more information, see [Amazon EC2 Key
|
880
|
-
# Pairs][1] in the *Amazon
|
894
|
+
# Pairs][1] in the *Amazon EC2 User Guide for Linux Instances*.
|
881
895
|
#
|
882
896
|
#
|
883
897
|
#
|
@@ -888,8 +902,8 @@ module Aws::AutoScaling
|
|
888
902
|
#
|
889
903
|
# If your instances are launched in EC2-Classic, you can either specify
|
890
904
|
# security group names or the security group IDs. For more information,
|
891
|
-
# see [Amazon EC2 Security Groups][1] in the *Amazon
|
892
|
-
#
|
905
|
+
# see [Amazon EC2 Security Groups][1] in the *Amazon EC2 User Guide for
|
906
|
+
# Linux Instances*.
|
893
907
|
#
|
894
908
|
# If your instances are launched into a VPC, specify security group IDs.
|
895
909
|
# For more information, see [Security Groups for Your VPC][2] in the
|
@@ -904,27 +918,31 @@ module Aws::AutoScaling
|
|
904
918
|
# The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances
|
905
919
|
# to. This parameter is supported only if you are launching EC2-Classic
|
906
920
|
# instances. For more information, see [ClassicLink][1] in the *Amazon
|
907
|
-
#
|
921
|
+
# EC2 User Guide for Linux Instances* and [Linking EC2-Classic Instances
|
922
|
+
# to a VPC][2] in the *Amazon EC2 Auto Scaling User Guide*.
|
908
923
|
#
|
909
924
|
#
|
910
925
|
#
|
911
926
|
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html
|
927
|
+
# [2]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html#as-ClassicLink
|
912
928
|
#
|
913
929
|
# @option params [Array<String>] :classic_link_vpc_security_groups
|
914
930
|
# The IDs of one or more security groups for the specified
|
915
931
|
# ClassicLink-enabled VPC. This parameter is required if you specify a
|
916
932
|
# ClassicLink-enabled VPC, and is not supported otherwise. For more
|
917
|
-
# information, see [ClassicLink][1] in the *Amazon
|
918
|
-
#
|
933
|
+
# information, see [ClassicLink][1] in the *Amazon EC2 User Guide for
|
934
|
+
# Linux Instances* and [Linking EC2-Classic Instances to a VPC][2] in
|
935
|
+
# the *Amazon EC2 Auto Scaling User Guide*.
|
919
936
|
#
|
920
937
|
#
|
921
938
|
#
|
922
939
|
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html
|
940
|
+
# [2]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html#as-ClassicLink
|
923
941
|
#
|
924
942
|
# @option params [String] :user_data
|
925
943
|
# The user data to make available to the launched EC2 instances. For
|
926
944
|
# more information, see [Instance Metadata and User Data][1] in the
|
927
|
-
# *Amazon
|
945
|
+
# *Amazon EC2 User Guide for Linux Instances*.
|
928
946
|
#
|
929
947
|
#
|
930
948
|
#
|
@@ -955,7 +973,7 @@ module Aws::AutoScaling
|
|
955
973
|
# If you do not specify `InstanceId`, you must specify `InstanceType`.
|
956
974
|
#
|
957
975
|
# For information about available instance types, see [Available
|
958
|
-
# Instance Types][1] in the *Amazon
|
976
|
+
# Instance Types][1] in the *Amazon EC2 User Guide for Linux Instances.*
|
959
977
|
#
|
960
978
|
#
|
961
979
|
#
|
@@ -970,7 +988,7 @@ module Aws::AutoScaling
|
|
970
988
|
# @option params [Array<Types::BlockDeviceMapping>] :block_device_mappings
|
971
989
|
# One or more mappings that specify how block devices are exposed to the
|
972
990
|
# instance. For more information, see [Block Device Mapping][1] in the
|
973
|
-
# *Amazon
|
991
|
+
# *Amazon EC2 User Guide for Linux Instances*.
|
974
992
|
#
|
975
993
|
#
|
976
994
|
#
|
@@ -999,8 +1017,8 @@ module Aws::AutoScaling
|
|
999
1017
|
# security credentials available. You can use IAM roles with Amazon EC2
|
1000
1018
|
# Auto Scaling to automatically enable applications running on your EC2
|
1001
1019
|
# instances to securely access other AWS resources. For more
|
1002
|
-
# information, see [
|
1003
|
-
# in the *Amazon EC2 Auto Scaling User Guide*.
|
1020
|
+
# information, see [Use an IAM Role for Applications That Run on Amazon
|
1021
|
+
# EC2 Instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
1004
1022
|
#
|
1005
1023
|
#
|
1006
1024
|
#
|
@@ -1013,7 +1031,7 @@ module Aws::AutoScaling
|
|
1013
1031
|
# configuration stack to provide optimal I/O performance. This
|
1014
1032
|
# optimization is not available with all instance types. Additional
|
1015
1033
|
# usage charges apply. For more information, see [Amazon EBS-Optimized
|
1016
|
-
# Instances][1] in the *Amazon
|
1034
|
+
# Instances][1] in the *Amazon EC2 User Guide for Linux Instances*.
|
1017
1035
|
#
|
1018
1036
|
#
|
1019
1037
|
#
|
@@ -1487,7 +1505,8 @@ module Aws::AutoScaling
|
|
1487
1505
|
# account.
|
1488
1506
|
#
|
1489
1507
|
# For information about requesting an increase in these limits, see
|
1490
|
-
# [Auto Scaling Limits][1] in the *Amazon EC2 Auto Scaling
|
1508
|
+
# [Amazon EC2 Auto Scaling Limits][1] in the *Amazon EC2 Auto Scaling
|
1509
|
+
# User Guide*.
|
1491
1510
|
#
|
1492
1511
|
#
|
1493
1512
|
#
|
@@ -1578,9 +1597,11 @@ module Aws::AutoScaling
|
|
1578
1597
|
# Describes one or more Auto Scaling groups.
|
1579
1598
|
#
|
1580
1599
|
# @option params [Array<String>] :auto_scaling_group_names
|
1581
|
-
# The names of the Auto Scaling groups.
|
1582
|
-
#
|
1583
|
-
#
|
1600
|
+
# The names of the Auto Scaling groups. Each name can be a maximum of
|
1601
|
+
# 1600 characters. By default, you can only specify up to 50 names. You
|
1602
|
+
# can optionally increase this limit using the `MaxRecords` parameter.
|
1603
|
+
#
|
1604
|
+
# If you omit this parameter, all Auto Scaling groups are described.
|
1584
1605
|
#
|
1585
1606
|
# @option params [String] :next_token
|
1586
1607
|
# The token for the next set of items to return. (You received this
|
@@ -2127,8 +2148,8 @@ module Aws::AutoScaling
|
|
2127
2148
|
# Describes the load balancers for the specified Auto Scaling group.
|
2128
2149
|
#
|
2129
2150
|
# This operation describes only Classic Load Balancers. If you have
|
2130
|
-
# Application Load Balancers, use
|
2131
|
-
# instead.
|
2151
|
+
# Application Load Balancers or Network Load Balancers, use
|
2152
|
+
# DescribeLoadBalancerTargetGroups instead.
|
2132
2153
|
#
|
2133
2154
|
# @option params [required, String] :auto_scaling_group_name
|
2134
2155
|
# The name of the Auto Scaling group.
|
@@ -2969,8 +2990,8 @@ module Aws::AutoScaling
|
|
2969
2990
|
# Scaling group.
|
2970
2991
|
#
|
2971
2992
|
# This operation detaches only Classic Load Balancers. If you have
|
2972
|
-
# Application Load Balancers, use
|
2973
|
-
# instead.
|
2993
|
+
# Application Load Balancers or Network Load Balancers, use
|
2994
|
+
# DetachLoadBalancerTargetGroups instead.
|
2974
2995
|
#
|
2975
2996
|
# When you detach a load balancer, it enters the `Removing` state while
|
2976
2997
|
# deregistering the instances in the group. When all instances are
|
@@ -3393,18 +3414,15 @@ module Aws::AutoScaling
|
|
3393
3414
|
# 5. If you finish before the timeout period ends, complete the
|
3394
3415
|
# lifecycle action.
|
3395
3416
|
#
|
3396
|
-
# For more information, see [Auto Scaling Lifecycle Hooks][1]
|
3397
|
-
# *Amazon EC2 Auto Scaling User Guide*.
|
3417
|
+
# For more information, see [Amazon EC2 Auto Scaling Lifecycle Hooks][1]
|
3418
|
+
# in the *Amazon EC2 Auto Scaling User Guide*.
|
3398
3419
|
#
|
3399
3420
|
# If you exceed your maximum limit of lifecycle hooks, which by default
|
3400
|
-
# is 50 per Auto Scaling group, the call fails.
|
3401
|
-
# updating this limit, see [AWS Service Limits][2] in the *Amazon Web
|
3402
|
-
# Services General Reference*.
|
3421
|
+
# is 50 per Auto Scaling group, the call fails.
|
3403
3422
|
#
|
3404
3423
|
#
|
3405
3424
|
#
|
3406
3425
|
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html
|
3407
|
-
# [2]: http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html
|
3408
3426
|
#
|
3409
3427
|
# @option params [required, String] :lifecycle_hook_name
|
3410
3428
|
# The name of the lifecycle hook.
|
@@ -3507,8 +3525,9 @@ module Aws::AutoScaling
|
|
3507
3525
|
#
|
3508
3526
|
# This configuration overwrites any existing configuration.
|
3509
3527
|
#
|
3510
|
-
# For more information, see [Getting SNS Notifications When Your
|
3511
|
-
# Scaling Group Scales][1] in the *Auto Scaling User
|
3528
|
+
# For more information, see [Getting Amazon SNS Notifications When Your
|
3529
|
+
# Auto Scaling Group Scales][1] in the *Amazon EC2 Auto Scaling User
|
3530
|
+
# Guide*.
|
3512
3531
|
#
|
3513
3532
|
#
|
3514
3533
|
#
|
@@ -3563,15 +3582,6 @@ module Aws::AutoScaling
|
|
3563
3582
|
# to change. Any existing parameter not changed in an update to an
|
3564
3583
|
# existing policy is not changed in this update request.
|
3565
3584
|
#
|
3566
|
-
# If you exceed your maximum limit of step adjustments, which by default
|
3567
|
-
# is 20 per region, the call fails. For information about updating this
|
3568
|
-
# limit, see [AWS Service Limits][1] in the *Amazon Web Services General
|
3569
|
-
# Reference*.
|
3570
|
-
#
|
3571
|
-
#
|
3572
|
-
#
|
3573
|
-
# [1]: http://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html
|
3574
|
-
#
|
3575
3585
|
# @option params [required, String] :auto_scaling_group_name
|
3576
3586
|
# The name of the Auto Scaling group.
|
3577
3587
|
#
|
@@ -3777,7 +3787,10 @@ module Aws::AutoScaling
|
|
3777
3787
|
#
|
3778
3788
|
# @option params [String] :recurrence
|
3779
3789
|
# The recurring schedule for this action, in Unix cron syntax format.
|
3780
|
-
#
|
3790
|
+
# This format consists of five fields separated by white spaces:
|
3791
|
+
# \[Minute\] \[Hour\] \[Day\_of\_Month\] \[Month\_of\_Year\]
|
3792
|
+
# \[Day\_of\_Week\]. For more information about this format, see
|
3793
|
+
# [Crontab][1].
|
3781
3794
|
#
|
3782
3795
|
#
|
3783
3796
|
#
|
@@ -3980,7 +3993,7 @@ module Aws::AutoScaling
|
|
3980
3993
|
#
|
3981
3994
|
#
|
3982
3995
|
#
|
3983
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
3996
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/what-is-amazon-ec2-auto-scaling.html
|
3984
3997
|
#
|
3985
3998
|
# @option params [required, String] :auto_scaling_group_name
|
3986
3999
|
# The name of the Auto Scaling group.
|
@@ -4084,8 +4097,9 @@ module Aws::AutoScaling
|
|
4084
4097
|
|
4085
4098
|
# Updates the instance protection settings of the specified instances.
|
4086
4099
|
#
|
4087
|
-
# For more information
|
4088
|
-
# Auto Scaling
|
4100
|
+
# For more information about preventing instances that are part of an
|
4101
|
+
# Auto Scaling group from terminating on scale in, see [Instance
|
4102
|
+
# Protection][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
4089
4103
|
#
|
4090
4104
|
#
|
4091
4105
|
#
|
@@ -4357,7 +4371,7 @@ module Aws::AutoScaling
|
|
4357
4371
|
# @option params [String] :placement_group
|
4358
4372
|
# The name of the placement group into which to launch your instances,
|
4359
4373
|
# if any. For more information, see [Placement Groups][1] in the *Amazon
|
4360
|
-
#
|
4374
|
+
# EC2 User Guide for Linux Instances*.
|
4361
4375
|
#
|
4362
4376
|
#
|
4363
4377
|
#
|
@@ -4384,7 +4398,8 @@ module Aws::AutoScaling
|
|
4384
4398
|
# order that they are listed.
|
4385
4399
|
#
|
4386
4400
|
# For more information, see [Controlling Which Instances Auto Scaling
|
4387
|
-
# Terminates During Scale In][1] in the *Auto Scaling User
|
4401
|
+
# Terminates During Scale In][1] in the *Amazon EC2 Auto Scaling User
|
4402
|
+
# Guide*.
|
4388
4403
|
#
|
4389
4404
|
#
|
4390
4405
|
#
|
@@ -4394,6 +4409,14 @@ module Aws::AutoScaling
|
|
4394
4409
|
# Indicates whether newly launched instances are protected from
|
4395
4410
|
# termination by Auto Scaling when scaling in.
|
4396
4411
|
#
|
4412
|
+
# For more information about preventing instances from terminating on
|
4413
|
+
# scale in, see [Instance Protection][1] in the *Amazon EC2 Auto Scaling
|
4414
|
+
# User Guide*.
|
4415
|
+
#
|
4416
|
+
#
|
4417
|
+
#
|
4418
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection
|
4419
|
+
#
|
4397
4420
|
# @option params [String] :service_linked_role_arn
|
4398
4421
|
# The Amazon Resource Name (ARN) of the service-linked role that the
|
4399
4422
|
# Auto Scaling group uses to call other AWS services on your behalf.
|
@@ -4458,7 +4481,7 @@ module Aws::AutoScaling
|
|
4458
4481
|
# on_demand_percentage_above_base_capacity: 1,
|
4459
4482
|
# spot_allocation_strategy: "XmlString",
|
4460
4483
|
# spot_instance_pools: 1,
|
4461
|
-
# spot_max_price: "
|
4484
|
+
# spot_max_price: "MixedInstanceSpotPrice",
|
4462
4485
|
# },
|
4463
4486
|
# },
|
4464
4487
|
# min_size: 1,
|
@@ -4497,7 +4520,7 @@ module Aws::AutoScaling
|
|
4497
4520
|
params: params,
|
4498
4521
|
config: config)
|
4499
4522
|
context[:gem_name] = 'aws-sdk-autoscaling'
|
4500
|
-
context[:gem_version] = '1.
|
4523
|
+
context[:gem_version] = '1.14.0'
|
4501
4524
|
Seahorse::Client::Request.new(handlers, context)
|
4502
4525
|
end
|
4503
4526
|
|
@@ -166,6 +166,7 @@ module Aws::AutoScaling
|
|
166
166
|
Metrics = Shapes::ListShape.new(name: 'Metrics')
|
167
167
|
MinAdjustmentMagnitude = Shapes::IntegerShape.new(name: 'MinAdjustmentMagnitude')
|
168
168
|
MinAdjustmentStep = Shapes::IntegerShape.new(name: 'MinAdjustmentStep')
|
169
|
+
MixedInstanceSpotPrice = Shapes::StringShape.new(name: 'MixedInstanceSpotPrice')
|
169
170
|
MixedInstancesPolicy = Shapes::StructureShape.new(name: 'MixedInstancesPolicy')
|
170
171
|
MonitoringEnabled = Shapes::BooleanShape.new(name: 'MonitoringEnabled')
|
171
172
|
NoDevice = Shapes::BooleanShape.new(name: 'NoDevice')
|
@@ -657,7 +658,7 @@ module Aws::AutoScaling
|
|
657
658
|
InstancesDistribution.add_member(:on_demand_percentage_above_base_capacity, Shapes::ShapeRef.new(shape: OnDemandPercentageAboveBaseCapacity, location_name: "OnDemandPercentageAboveBaseCapacity"))
|
658
659
|
InstancesDistribution.add_member(:spot_allocation_strategy, Shapes::ShapeRef.new(shape: XmlString, location_name: "SpotAllocationStrategy"))
|
659
660
|
InstancesDistribution.add_member(:spot_instance_pools, Shapes::ShapeRef.new(shape: SpotInstancePools, location_name: "SpotInstancePools"))
|
660
|
-
InstancesDistribution.add_member(:spot_max_price, Shapes::ShapeRef.new(shape:
|
661
|
+
InstancesDistribution.add_member(:spot_max_price, Shapes::ShapeRef.new(shape: MixedInstanceSpotPrice, location_name: "SpotMaxPrice"))
|
661
662
|
InstancesDistribution.struct_class = Types::InstancesDistribution
|
662
663
|
|
663
664
|
LaunchConfiguration.add_member(:launch_configuration_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen255, required: true, location_name: "LaunchConfigurationName"))
|
@@ -81,6 +81,13 @@ module Aws::AutoScaling
|
|
81
81
|
|
82
82
|
# Indicates whether the instance is protected from termination by Amazon
|
83
83
|
# EC2 Auto Scaling when scaling in.
|
84
|
+
#
|
85
|
+
# For more information, see [Instance Protection][1] in the *Amazon EC2
|
86
|
+
# Auto Scaling User Guide*.
|
87
|
+
#
|
88
|
+
#
|
89
|
+
#
|
90
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection
|
84
91
|
# @return [Boolean]
|
85
92
|
def protected_from_scale_in
|
86
93
|
data[:protected_from_scale_in]
|
@@ -58,11 +58,13 @@ module Aws::AutoScaling
|
|
58
58
|
# The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances
|
59
59
|
# to. This parameter can only be used if you are launching EC2-Classic
|
60
60
|
# instances. For more information, see [ClassicLink][1] in the *Amazon
|
61
|
-
#
|
61
|
+
# EC2 User Guide for Linux Instances* and [Linking EC2-Classic Instances
|
62
|
+
# to a VPC][2] in the *Amazon EC2 Auto Scaling User Guide*.
|
62
63
|
#
|
63
64
|
#
|
64
65
|
#
|
65
66
|
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html
|
67
|
+
# [2]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html#as-ClassicLink
|
66
68
|
# @return [String]
|
67
69
|
def classic_link_vpc_id
|
68
70
|
data[:classic_link_vpc_id]
|
@@ -71,12 +73,14 @@ module Aws::AutoScaling
|
|
71
73
|
# The IDs of one or more security groups for the VPC specified in
|
72
74
|
# `ClassicLinkVPCId`. This parameter is required if you specify a
|
73
75
|
# ClassicLink-enabled VPC, and cannot be used otherwise. For more
|
74
|
-
# information, see [ClassicLink][1] in the *Amazon
|
75
|
-
#
|
76
|
+
# information, see [ClassicLink][1] in the *Amazon EC2 User Guide for
|
77
|
+
# Linux Instances* and [Linking EC2-Classic Instances to a VPC][2] in
|
78
|
+
# the *Amazon EC2 Auto Scaling User Guide*.
|
76
79
|
#
|
77
80
|
#
|
78
81
|
#
|
79
82
|
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html
|
83
|
+
# [2]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html#as-ClassicLink
|
80
84
|
# @return [Array<String>]
|
81
85
|
def classic_link_vpc_security_groups
|
82
86
|
data[:classic_link_vpc_security_groups]
|
@@ -50,7 +50,7 @@ module Aws::AutoScaling
|
|
50
50
|
# on_demand_percentage_above_base_capacity: 1,
|
51
51
|
# spot_allocation_strategy: "XmlString",
|
52
52
|
# spot_instance_pools: 1,
|
53
|
-
# spot_max_price: "
|
53
|
+
# spot_max_price: "MixedInstanceSpotPrice",
|
54
54
|
# },
|
55
55
|
# },
|
56
56
|
# instance_id: "XmlStringMaxLen19",
|
@@ -146,14 +146,14 @@ module Aws::AutoScaling
|
|
146
146
|
# optional if you specify one or more subnets.
|
147
147
|
# @option options [Array<String>] :load_balancer_names
|
148
148
|
# One or more Classic Load Balancers. To specify an Application Load
|
149
|
-
# Balancer, use `TargetGroupARNs` instead.
|
149
|
+
# Balancer or a Network Load Balancer, use `TargetGroupARNs` instead.
|
150
150
|
#
|
151
151
|
# For more information, see [Using a Load Balancer With an Auto Scaling
|
152
152
|
# Group][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
153
153
|
#
|
154
154
|
#
|
155
155
|
#
|
156
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
156
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html
|
157
157
|
# @option options [Array<String>] :target_group_arns
|
158
158
|
# The Amazon Resource Names (ARN) of the target groups.
|
159
159
|
# @option options [String] :health_check_type
|
@@ -184,7 +184,7 @@ module Aws::AutoScaling
|
|
184
184
|
# @option options [String] :placement_group
|
185
185
|
# The name of the placement group into which to launch your instances,
|
186
186
|
# if any. For more information, see [Placement Groups][1] in the *Amazon
|
187
|
-
#
|
187
|
+
# EC2 User Guide for Linux Instances*.
|
188
188
|
#
|
189
189
|
#
|
190
190
|
#
|
@@ -209,7 +209,8 @@ module Aws::AutoScaling
|
|
209
209
|
# listed.
|
210
210
|
#
|
211
211
|
# For more information, see [Controlling Which Instances Auto Scaling
|
212
|
-
# Terminates During Scale In][1] in the *Auto Scaling User
|
212
|
+
# Terminates During Scale In][1] in the *Amazon EC2 Auto Scaling User
|
213
|
+
# Guide*.
|
213
214
|
#
|
214
215
|
#
|
215
216
|
#
|
@@ -217,6 +218,14 @@ module Aws::AutoScaling
|
|
217
218
|
# @option options [Boolean] :new_instances_protected_from_scale_in
|
218
219
|
# Indicates whether newly launched instances are protected from
|
219
220
|
# termination by Auto Scaling when scaling in.
|
221
|
+
#
|
222
|
+
# For more information about preventing instances from terminating on
|
223
|
+
# scale in, see [Instance Protection][1] in the *Amazon EC2 Auto Scaling
|
224
|
+
# User Guide*.
|
225
|
+
#
|
226
|
+
#
|
227
|
+
#
|
228
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection
|
220
229
|
# @option options [Array<Types::LifecycleHookSpecification>] :lifecycle_hook_specification_list
|
221
230
|
# One or more lifecycle hooks.
|
222
231
|
# @option options [Array<Types::Tag>] :tags
|
@@ -290,15 +299,15 @@ module Aws::AutoScaling
|
|
290
299
|
#
|
291
300
|
# If you do not specify `InstanceId`, you must specify `ImageId`.
|
292
301
|
#
|
293
|
-
# For more information, see [Finding an AMI][1] in the *Amazon
|
294
|
-
#
|
302
|
+
# For more information, see [Finding an AMI][1] in the *Amazon EC2 User
|
303
|
+
# Guide for Linux Instances*.
|
295
304
|
#
|
296
305
|
#
|
297
306
|
#
|
298
307
|
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html
|
299
308
|
# @option options [String] :key_name
|
300
309
|
# The name of the key pair. For more information, see [Amazon EC2 Key
|
301
|
-
# Pairs][1] in the *Amazon
|
310
|
+
# Pairs][1] in the *Amazon EC2 User Guide for Linux Instances*.
|
302
311
|
#
|
303
312
|
#
|
304
313
|
#
|
@@ -308,8 +317,8 @@ module Aws::AutoScaling
|
|
308
317
|
#
|
309
318
|
# If your instances are launched in EC2-Classic, you can either specify
|
310
319
|
# security group names or the security group IDs. For more information,
|
311
|
-
# see [Amazon EC2 Security Groups][1] in the *Amazon
|
312
|
-
#
|
320
|
+
# see [Amazon EC2 Security Groups][1] in the *Amazon EC2 User Guide for
|
321
|
+
# Linux Instances*.
|
313
322
|
#
|
314
323
|
# If your instances are launched into a VPC, specify security group IDs.
|
315
324
|
# For more information, see [Security Groups for Your VPC][2] in the
|
@@ -323,25 +332,29 @@ module Aws::AutoScaling
|
|
323
332
|
# The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances
|
324
333
|
# to. This parameter is supported only if you are launching EC2-Classic
|
325
334
|
# instances. For more information, see [ClassicLink][1] in the *Amazon
|
326
|
-
#
|
335
|
+
# EC2 User Guide for Linux Instances* and [Linking EC2-Classic Instances
|
336
|
+
# to a VPC][2] in the *Amazon EC2 Auto Scaling User Guide*.
|
327
337
|
#
|
328
338
|
#
|
329
339
|
#
|
330
340
|
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html
|
341
|
+
# [2]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html#as-ClassicLink
|
331
342
|
# @option options [Array<String>] :classic_link_vpc_security_groups
|
332
343
|
# The IDs of one or more security groups for the specified
|
333
344
|
# ClassicLink-enabled VPC. This parameter is required if you specify a
|
334
345
|
# ClassicLink-enabled VPC, and is not supported otherwise. For more
|
335
|
-
# information, see [ClassicLink][1] in the *Amazon
|
336
|
-
#
|
346
|
+
# information, see [ClassicLink][1] in the *Amazon EC2 User Guide for
|
347
|
+
# Linux Instances* and [Linking EC2-Classic Instances to a VPC][2] in
|
348
|
+
# the *Amazon EC2 Auto Scaling User Guide*.
|
337
349
|
#
|
338
350
|
#
|
339
351
|
#
|
340
352
|
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html
|
353
|
+
# [2]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html#as-ClassicLink
|
341
354
|
# @option options [String] :user_data
|
342
355
|
# The user data to make available to the launched EC2 instances. For
|
343
356
|
# more information, see [Instance Metadata and User Data][1] in the
|
344
|
-
# *Amazon
|
357
|
+
# *Amazon EC2 User Guide for Linux Instances*.
|
345
358
|
#
|
346
359
|
#
|
347
360
|
#
|
@@ -370,7 +383,7 @@ module Aws::AutoScaling
|
|
370
383
|
# If you do not specify `InstanceId`, you must specify `InstanceType`.
|
371
384
|
#
|
372
385
|
# For information about available instance types, see [Available
|
373
|
-
# Instance Types][1] in the *Amazon
|
386
|
+
# Instance Types][1] in the *Amazon EC2 User Guide for Linux Instances.*
|
374
387
|
#
|
375
388
|
#
|
376
389
|
#
|
@@ -382,7 +395,7 @@ module Aws::AutoScaling
|
|
382
395
|
# @option options [Array<Types::BlockDeviceMapping>] :block_device_mappings
|
383
396
|
# One or more mappings that specify how block devices are exposed to the
|
384
397
|
# instance. For more information, see [Block Device Mapping][1] in the
|
385
|
-
# *Amazon
|
398
|
+
# *Amazon EC2 User Guide for Linux Instances*.
|
386
399
|
#
|
387
400
|
#
|
388
401
|
#
|
@@ -408,8 +421,8 @@ module Aws::AutoScaling
|
|
408
421
|
# security credentials available. You can use IAM roles with Amazon EC2
|
409
422
|
# Auto Scaling to automatically enable applications running on your EC2
|
410
423
|
# instances to securely access other AWS resources. For more
|
411
|
-
# information, see [
|
412
|
-
# in the *Amazon EC2 Auto Scaling User Guide*.
|
424
|
+
# information, see [Use an IAM Role for Applications That Run on Amazon
|
425
|
+
# EC2 Instances][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
413
426
|
#
|
414
427
|
#
|
415
428
|
#
|
@@ -421,7 +434,7 @@ module Aws::AutoScaling
|
|
421
434
|
# configuration stack to provide optimal I/O performance. This
|
422
435
|
# optimization is not available with all instance types. Additional
|
423
436
|
# usage charges apply. For more information, see [Amazon EBS-Optimized
|
424
|
-
# Instances][1] in the *Amazon
|
437
|
+
# Instances][1] in the *Amazon EC2 User Guide for Linux Instances*.
|
425
438
|
#
|
426
439
|
#
|
427
440
|
#
|
@@ -532,9 +545,11 @@ module Aws::AutoScaling
|
|
532
545
|
# })
|
533
546
|
# @param [Hash] options ({})
|
534
547
|
# @option options [Array<String>] :auto_scaling_group_names
|
535
|
-
# The names of the Auto Scaling groups.
|
536
|
-
#
|
537
|
-
#
|
548
|
+
# The names of the Auto Scaling groups. Each name can be a maximum of
|
549
|
+
# 1600 characters. By default, you can only specify up to 50 names. You
|
550
|
+
# can optionally increase this limit using the `MaxRecords` parameter.
|
551
|
+
#
|
552
|
+
# If you omit this parameter, all Auto Scaling groups are described.
|
538
553
|
# @return [AutoScalingGroup::Collection]
|
539
554
|
def groups(options = {})
|
540
555
|
batches = Enumerator.new do |y|
|
@@ -100,13 +100,6 @@ module Aws::AutoScaling
|
|
100
100
|
|
101
101
|
# Describes a policy adjustment type.
|
102
102
|
#
|
103
|
-
# For more information, see [Dynamic Scaling][1] in the *Amazon EC2 Auto
|
104
|
-
# Scaling User Guide*.
|
105
|
-
#
|
106
|
-
#
|
107
|
-
#
|
108
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scale-based-on-demand.html
|
109
|
-
#
|
110
103
|
# @!attribute [rw] adjustment_type
|
111
104
|
# The policy adjustment type. The valid values are `ChangeInCapacity`,
|
112
105
|
# `ExactCapacity`, and `PercentChangeInCapacity`.
|
@@ -297,7 +290,7 @@ module Aws::AutoScaling
|
|
297
290
|
# @!attribute [rw] placement_group
|
298
291
|
# The name of the placement group into which to launch your instances,
|
299
292
|
# if any. For more information, see [Placement Groups][1] in the
|
300
|
-
# *Amazon
|
293
|
+
# *Amazon EC2 User Guide for Linux Instances*.
|
301
294
|
#
|
302
295
|
#
|
303
296
|
#
|
@@ -332,6 +325,13 @@ module Aws::AutoScaling
|
|
332
325
|
# @!attribute [rw] new_instances_protected_from_scale_in
|
333
326
|
# Indicates whether newly launched instances are protected from
|
334
327
|
# termination by Auto Scaling when scaling in.
|
328
|
+
#
|
329
|
+
# For more information, see [Instance Protection][1] in the *Amazon
|
330
|
+
# EC2 Auto Scaling User Guide*.
|
331
|
+
#
|
332
|
+
#
|
333
|
+
#
|
334
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection
|
335
335
|
# @return [Boolean]
|
336
336
|
#
|
337
337
|
# @!attribute [rw] service_linked_role_arn
|
@@ -380,9 +380,12 @@ module Aws::AutoScaling
|
|
380
380
|
# }
|
381
381
|
#
|
382
382
|
# @!attribute [rw] auto_scaling_group_names
|
383
|
-
# The names of the Auto Scaling groups.
|
384
|
-
#
|
385
|
-
#
|
383
|
+
# The names of the Auto Scaling groups. Each name can be a maximum of
|
384
|
+
# 1600 characters. By default, you can only specify up to 50 names.
|
385
|
+
# You can optionally increase this limit using the `MaxRecords`
|
386
|
+
# parameter.
|
387
|
+
#
|
388
|
+
# If you omit this parameter, all Auto Scaling groups are described.
|
386
389
|
# @return [Array<String>]
|
387
390
|
#
|
388
391
|
# @!attribute [rw] next_token
|
@@ -465,6 +468,13 @@ module Aws::AutoScaling
|
|
465
468
|
# @!attribute [rw] protected_from_scale_in
|
466
469
|
# Indicates whether the instance is protected from termination by
|
467
470
|
# Amazon EC2 Auto Scaling when scaling in.
|
471
|
+
#
|
472
|
+
# For more information, see [Instance Protection][1] in the *Amazon
|
473
|
+
# EC2 Auto Scaling User Guide*.
|
474
|
+
#
|
475
|
+
#
|
476
|
+
#
|
477
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection
|
468
478
|
# @return [Boolean]
|
469
479
|
#
|
470
480
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AutoScalingInstanceDetails AWS API Documentation
|
@@ -711,7 +721,7 @@ module Aws::AutoScaling
|
|
711
721
|
# on_demand_percentage_above_base_capacity: 1,
|
712
722
|
# spot_allocation_strategy: "XmlString",
|
713
723
|
# spot_instance_pools: 1,
|
714
|
-
# spot_max_price: "
|
724
|
+
# spot_max_price: "MixedInstanceSpotPrice",
|
715
725
|
# },
|
716
726
|
# },
|
717
727
|
# instance_id: "XmlStringMaxLen19",
|
@@ -827,14 +837,14 @@ module Aws::AutoScaling
|
|
827
837
|
#
|
828
838
|
# @!attribute [rw] load_balancer_names
|
829
839
|
# One or more Classic Load Balancers. To specify an Application Load
|
830
|
-
# Balancer, use `TargetGroupARNs` instead.
|
840
|
+
# Balancer or a Network Load Balancer, use `TargetGroupARNs` instead.
|
831
841
|
#
|
832
842
|
# For more information, see [Using a Load Balancer With an Auto
|
833
843
|
# Scaling Group][1] in the *Amazon EC2 Auto Scaling User Guide*.
|
834
844
|
#
|
835
845
|
#
|
836
846
|
#
|
837
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/
|
847
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html
|
838
848
|
# @return [Array<String>]
|
839
849
|
#
|
840
850
|
# @!attribute [rw] target_group_arns
|
@@ -873,7 +883,7 @@ module Aws::AutoScaling
|
|
873
883
|
# @!attribute [rw] placement_group
|
874
884
|
# The name of the placement group into which to launch your instances,
|
875
885
|
# if any. For more information, see [Placement Groups][1] in the
|
876
|
-
# *Amazon
|
886
|
+
# *Amazon EC2 User Guide for Linux Instances*.
|
877
887
|
#
|
878
888
|
#
|
879
889
|
#
|
@@ -902,7 +912,8 @@ module Aws::AutoScaling
|
|
902
912
|
# listed.
|
903
913
|
#
|
904
914
|
# For more information, see [Controlling Which Instances Auto Scaling
|
905
|
-
# Terminates During Scale In][1] in the *Auto Scaling User
|
915
|
+
# Terminates During Scale In][1] in the *Amazon EC2 Auto Scaling User
|
916
|
+
# Guide*.
|
906
917
|
#
|
907
918
|
#
|
908
919
|
#
|
@@ -912,6 +923,14 @@ module Aws::AutoScaling
|
|
912
923
|
# @!attribute [rw] new_instances_protected_from_scale_in
|
913
924
|
# Indicates whether newly launched instances are protected from
|
914
925
|
# termination by Auto Scaling when scaling in.
|
926
|
+
#
|
927
|
+
# For more information about preventing instances from terminating on
|
928
|
+
# scale in, see [Instance Protection][1] in the *Amazon EC2 Auto
|
929
|
+
# Scaling User Guide*.
|
930
|
+
#
|
931
|
+
#
|
932
|
+
#
|
933
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection
|
915
934
|
# @return [Boolean]
|
916
935
|
#
|
917
936
|
# @!attribute [rw] lifecycle_hook_specification_list
|
@@ -1014,8 +1033,8 @@ module Aws::AutoScaling
|
|
1014
1033
|
#
|
1015
1034
|
# If you do not specify `InstanceId`, you must specify `ImageId`.
|
1016
1035
|
#
|
1017
|
-
# For more information, see [Finding an AMI][1] in the *Amazon
|
1018
|
-
#
|
1036
|
+
# For more information, see [Finding an AMI][1] in the *Amazon EC2
|
1037
|
+
# User Guide for Linux Instances*.
|
1019
1038
|
#
|
1020
1039
|
#
|
1021
1040
|
#
|
@@ -1024,7 +1043,7 @@ module Aws::AutoScaling
|
|
1024
1043
|
#
|
1025
1044
|
# @!attribute [rw] key_name
|
1026
1045
|
# The name of the key pair. For more information, see [Amazon EC2 Key
|
1027
|
-
# Pairs][1] in the *Amazon
|
1046
|
+
# Pairs][1] in the *Amazon EC2 User Guide for Linux Instances*.
|
1028
1047
|
#
|
1029
1048
|
#
|
1030
1049
|
#
|
@@ -1036,8 +1055,8 @@ module Aws::AutoScaling
|
|
1036
1055
|
#
|
1037
1056
|
# If your instances are launched in EC2-Classic, you can either
|
1038
1057
|
# specify security group names or the security group IDs. For more
|
1039
|
-
# information, see [Amazon EC2 Security Groups][1] in the *Amazon
|
1040
|
-
#
|
1058
|
+
# information, see [Amazon EC2 Security Groups][1] in the *Amazon EC2
|
1059
|
+
# User Guide for Linux Instances*.
|
1041
1060
|
#
|
1042
1061
|
# If your instances are launched into a VPC, specify security group
|
1043
1062
|
# IDs. For more information, see [Security Groups for Your VPC][2] in
|
@@ -1053,29 +1072,34 @@ module Aws::AutoScaling
|
|
1053
1072
|
# The ID of a ClassicLink-enabled VPC to link your EC2-Classic
|
1054
1073
|
# instances to. This parameter is supported only if you are launching
|
1055
1074
|
# EC2-Classic instances. For more information, see [ClassicLink][1] in
|
1056
|
-
# the *Amazon
|
1075
|
+
# the *Amazon EC2 User Guide for Linux Instances* and [Linking
|
1076
|
+
# EC2-Classic Instances to a VPC][2] in the *Amazon EC2 Auto Scaling
|
1077
|
+
# User Guide*.
|
1057
1078
|
#
|
1058
1079
|
#
|
1059
1080
|
#
|
1060
1081
|
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html
|
1082
|
+
# [2]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html#as-ClassicLink
|
1061
1083
|
# @return [String]
|
1062
1084
|
#
|
1063
1085
|
# @!attribute [rw] classic_link_vpc_security_groups
|
1064
1086
|
# The IDs of one or more security groups for the specified
|
1065
1087
|
# ClassicLink-enabled VPC. This parameter is required if you specify a
|
1066
1088
|
# ClassicLink-enabled VPC, and is not supported otherwise. For more
|
1067
|
-
# information, see [ClassicLink][1] in the *Amazon
|
1068
|
-
#
|
1089
|
+
# information, see [ClassicLink][1] in the *Amazon EC2 User Guide for
|
1090
|
+
# Linux Instances* and [Linking EC2-Classic Instances to a VPC][2] in
|
1091
|
+
# the *Amazon EC2 Auto Scaling User Guide*.
|
1069
1092
|
#
|
1070
1093
|
#
|
1071
1094
|
#
|
1072
1095
|
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html
|
1096
|
+
# [2]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html#as-ClassicLink
|
1073
1097
|
# @return [Array<String>]
|
1074
1098
|
#
|
1075
1099
|
# @!attribute [rw] user_data
|
1076
1100
|
# The user data to make available to the launched EC2 instances. For
|
1077
1101
|
# more information, see [Instance Metadata and User Data][1] in the
|
1078
|
-
# *Amazon
|
1102
|
+
# *Amazon EC2 User Guide for Linux Instances*.
|
1079
1103
|
#
|
1080
1104
|
#
|
1081
1105
|
#
|
@@ -1108,7 +1132,8 @@ module Aws::AutoScaling
|
|
1108
1132
|
# If you do not specify `InstanceId`, you must specify `InstanceType`.
|
1109
1133
|
#
|
1110
1134
|
# For information about available instance types, see [Available
|
1111
|
-
# Instance Types][1] in the *Amazon
|
1135
|
+
# Instance Types][1] in the *Amazon EC2 User Guide for Linux
|
1136
|
+
# Instances.*
|
1112
1137
|
#
|
1113
1138
|
#
|
1114
1139
|
#
|
@@ -1126,7 +1151,7 @@ module Aws::AutoScaling
|
|
1126
1151
|
# @!attribute [rw] block_device_mappings
|
1127
1152
|
# One or more mappings that specify how block devices are exposed to
|
1128
1153
|
# the instance. For more information, see [Block Device Mapping][1] in
|
1129
|
-
# the *Amazon
|
1154
|
+
# the *Amazon EC2 User Guide for Linux Instances*.
|
1130
1155
|
#
|
1131
1156
|
#
|
1132
1157
|
#
|
@@ -1158,8 +1183,9 @@ module Aws::AutoScaling
|
|
1158
1183
|
# security credentials available. You can use IAM roles with Amazon
|
1159
1184
|
# EC2 Auto Scaling to automatically enable applications running on
|
1160
1185
|
# your EC2 instances to securely access other AWS resources. For more
|
1161
|
-
# information, see [
|
1162
|
-
# in the *Amazon EC2 Auto Scaling User
|
1186
|
+
# information, see [Use an IAM Role for Applications That Run on
|
1187
|
+
# Amazon EC2 Instances][1] in the *Amazon EC2 Auto Scaling User
|
1188
|
+
# Guide*.
|
1163
1189
|
#
|
1164
1190
|
#
|
1165
1191
|
#
|
@@ -1173,7 +1199,7 @@ module Aws::AutoScaling
|
|
1173
1199
|
# configuration stack to provide optimal I/O performance. This
|
1174
1200
|
# optimization is not available with all instance types. Additional
|
1175
1201
|
# usage charges apply. For more information, see [Amazon EBS-Optimized
|
1176
|
-
# Instances][1] in the *Amazon
|
1202
|
+
# Instances][1] in the *Amazon EC2 User Guide for Linux Instances*.
|
1177
1203
|
#
|
1178
1204
|
#
|
1179
1205
|
#
|
@@ -1271,7 +1297,8 @@ module Aws::AutoScaling
|
|
1271
1297
|
include Aws::Structure
|
1272
1298
|
end
|
1273
1299
|
|
1274
|
-
# Configures a customized metric for a target tracking policy
|
1300
|
+
# Configures a customized metric for a target tracking policy to use
|
1301
|
+
# with Amazon EC2 Auto Scaling.
|
1275
1302
|
#
|
1276
1303
|
# @note When making an API call, you may pass CustomizedMetricSpecification
|
1277
1304
|
# data as a hash:
|
@@ -1476,12 +1503,12 @@ module Aws::AutoScaling
|
|
1476
1503
|
|
1477
1504
|
# @!attribute [rw] max_number_of_auto_scaling_groups
|
1478
1505
|
# The maximum number of groups allowed for your AWS account. The
|
1479
|
-
# default limit is
|
1506
|
+
# default limit is 200 per region.
|
1480
1507
|
# @return [Integer]
|
1481
1508
|
#
|
1482
1509
|
# @!attribute [rw] max_number_of_launch_configurations
|
1483
1510
|
# The maximum number of launch configurations allowed for your AWS
|
1484
|
-
# account. The default limit is
|
1511
|
+
# account. The default limit is 200 per region.
|
1485
1512
|
# @return [Integer]
|
1486
1513
|
#
|
1487
1514
|
# @!attribute [rw] number_of_auto_scaling_groups
|
@@ -2142,7 +2169,7 @@ module Aws::AutoScaling
|
|
2142
2169
|
#
|
2143
2170
|
# @!attribute [rw] volume_type
|
2144
2171
|
# The volume type. For more information, see [Amazon EBS Volume
|
2145
|
-
# Types][1] in the *Amazon
|
2172
|
+
# Types][1] in the *Amazon EC2 User Guide for Linux Instances*.
|
2146
2173
|
#
|
2147
2174
|
# Valid values: `standard` \| `io1` \| `gp2`
|
2148
2175
|
#
|
@@ -2170,7 +2197,7 @@ module Aws::AutoScaling
|
|
2170
2197
|
# automatically encrypted. There is no way to create an encrypted
|
2171
2198
|
# volume from an unencrypted snapshot or an unencrypted volume from an
|
2172
2199
|
# encrypted snapshot. For more information, see [Amazon EBS
|
2173
|
-
# Encryption][1] in the *Amazon
|
2200
|
+
# Encryption][1] in the *Amazon EC2 User Guide for Linux Instances*.
|
2174
2201
|
#
|
2175
2202
|
#
|
2176
2203
|
#
|
@@ -2498,6 +2525,13 @@ module Aws::AutoScaling
|
|
2498
2525
|
# @!attribute [rw] protected_from_scale_in
|
2499
2526
|
# Indicates whether the instance is protected from termination by
|
2500
2527
|
# Amazon EC2 Auto Scaling when scaling in.
|
2528
|
+
#
|
2529
|
+
# For more information, see [Instance Protection][1] in the *Amazon
|
2530
|
+
# EC2 Auto Scaling User Guide*.
|
2531
|
+
#
|
2532
|
+
#
|
2533
|
+
#
|
2534
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection
|
2501
2535
|
# @return [Boolean]
|
2502
2536
|
#
|
2503
2537
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/Instance AWS API Documentation
|
@@ -2551,7 +2585,7 @@ module Aws::AutoScaling
|
|
2551
2585
|
# on_demand_percentage_above_base_capacity: 1,
|
2552
2586
|
# spot_allocation_strategy: "XmlString",
|
2553
2587
|
# spot_instance_pools: 1,
|
2554
|
-
# spot_max_price: "
|
2588
|
+
# spot_max_price: "MixedInstanceSpotPrice",
|
2555
2589
|
# }
|
2556
2590
|
#
|
2557
2591
|
# @!attribute [rw] on_demand_allocation_strategy
|
@@ -2607,8 +2641,12 @@ module Aws::AutoScaling
|
|
2607
2641
|
#
|
2608
2642
|
# @!attribute [rw] spot_max_price
|
2609
2643
|
# The maximum price per unit hour that you are willing to pay for a
|
2610
|
-
# Spot Instance. If you leave
|
2611
|
-
# the maximum Spot price is set at the On-Demand
|
2644
|
+
# Spot Instance. If you leave the value of this parameter blank (which
|
2645
|
+
# is the default), the maximum Spot price is set at the On-Demand
|
2646
|
+
# price.
|
2647
|
+
#
|
2648
|
+
# To remove a value that you previously set, include the parameter but
|
2649
|
+
# leave the value blank.
|
2612
2650
|
# @return [String]
|
2613
2651
|
#
|
2614
2652
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/InstancesDistribution AWS API Documentation
|
@@ -2649,23 +2687,28 @@ module Aws::AutoScaling
|
|
2649
2687
|
# The ID of a ClassicLink-enabled VPC to link your EC2-Classic
|
2650
2688
|
# instances to. This parameter can only be used if you are launching
|
2651
2689
|
# EC2-Classic instances. For more information, see [ClassicLink][1] in
|
2652
|
-
# the *Amazon
|
2690
|
+
# the *Amazon EC2 User Guide for Linux Instances* and [Linking
|
2691
|
+
# EC2-Classic Instances to a VPC][2] in the *Amazon EC2 Auto Scaling
|
2692
|
+
# User Guide*.
|
2653
2693
|
#
|
2654
2694
|
#
|
2655
2695
|
#
|
2656
2696
|
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html
|
2697
|
+
# [2]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html#as-ClassicLink
|
2657
2698
|
# @return [String]
|
2658
2699
|
#
|
2659
2700
|
# @!attribute [rw] classic_link_vpc_security_groups
|
2660
2701
|
# The IDs of one or more security groups for the VPC specified in
|
2661
2702
|
# `ClassicLinkVPCId`. This parameter is required if you specify a
|
2662
2703
|
# ClassicLink-enabled VPC, and cannot be used otherwise. For more
|
2663
|
-
# information, see [ClassicLink][1] in the *Amazon
|
2664
|
-
#
|
2704
|
+
# information, see [ClassicLink][1] in the *Amazon EC2 User Guide for
|
2705
|
+
# Linux Instances* and [Linking EC2-Classic Instances to a VPC][2] in
|
2706
|
+
# the *Amazon EC2 Auto Scaling User Guide*.
|
2665
2707
|
#
|
2666
2708
|
#
|
2667
2709
|
#
|
2668
2710
|
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html
|
2711
|
+
# [2]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html#as-ClassicLink
|
2669
2712
|
# @return [Array<String>]
|
2670
2713
|
#
|
2671
2714
|
# @!attribute [rw] user_data
|
@@ -2938,8 +2981,8 @@ module Aws::AutoScaling
|
|
2938
2981
|
# you want to perform an action whenever it launches instances or
|
2939
2982
|
# whenever it terminates instances.
|
2940
2983
|
#
|
2941
|
-
# For more information, see [Lifecycle Hooks][1]
|
2942
|
-
# Scaling User Guide*.
|
2984
|
+
# For more information, see [Amazon EC2 Auto Scaling Lifecycle Hooks][1]
|
2985
|
+
# in the *Amazon EC2 Auto Scaling User Guide*.
|
2943
2986
|
#
|
2944
2987
|
#
|
2945
2988
|
#
|
@@ -3019,8 +3062,8 @@ module Aws::AutoScaling
|
|
3019
3062
|
# you want to perform an action whenever it launches instances or
|
3020
3063
|
# whenever it terminates instances.
|
3021
3064
|
#
|
3022
|
-
# For more information, see [Lifecycle Hooks][1]
|
3023
|
-
# Scaling User Guide*.
|
3065
|
+
# For more information, see [Amazon EC2 Auto Scaling Lifecycle Hooks][1]
|
3066
|
+
# in the *Amazon EC2 Auto Scaling User Guide*.
|
3024
3067
|
#
|
3025
3068
|
#
|
3026
3069
|
#
|
@@ -3289,7 +3332,7 @@ module Aws::AutoScaling
|
|
3289
3332
|
# on_demand_percentage_above_base_capacity: 1,
|
3290
3333
|
# spot_allocation_strategy: "XmlString",
|
3291
3334
|
# spot_instance_pools: 1,
|
3292
|
-
# spot_max_price: "
|
3335
|
+
# spot_max_price: "MixedInstanceSpotPrice",
|
3293
3336
|
# },
|
3294
3337
|
# }
|
3295
3338
|
#
|
@@ -3413,7 +3456,8 @@ module Aws::AutoScaling
|
|
3413
3456
|
# network interfaces by the Auto Scaling group.
|
3414
3457
|
#
|
3415
3458
|
# * `ALBRequestCountPerTarget` - Number of requests completed per
|
3416
|
-
# target in an Application Load Balancer
|
3459
|
+
# target in an Application Load Balancer or a Network Load Balancer
|
3460
|
+
# target group.
|
3417
3461
|
#
|
3418
3462
|
# For predefined metric types `ASGAverageCPUUtilization`,
|
3419
3463
|
# `ASGAverageNetworkIn`, and `ASGAverageNetworkOut`, the parameter
|
@@ -3823,7 +3867,10 @@ module Aws::AutoScaling
|
|
3823
3867
|
#
|
3824
3868
|
# @!attribute [rw] recurrence
|
3825
3869
|
# The recurring schedule for this action, in Unix cron syntax format.
|
3826
|
-
#
|
3870
|
+
# This format consists of five fields separated by white spaces:
|
3871
|
+
# \[Minute\] \[Hour\] \[Day\_of\_Month\] \[Month\_of\_Year\]
|
3872
|
+
# \[Day\_of\_Week\]. For more information about this format, see
|
3873
|
+
# [Crontab][1].
|
3827
3874
|
#
|
3828
3875
|
#
|
3829
3876
|
#
|
@@ -4155,7 +4202,10 @@ module Aws::AutoScaling
|
|
4155
4202
|
#
|
4156
4203
|
# @!attribute [rw] recurrence
|
4157
4204
|
# The recurring schedule for the action, in Unix cron syntax format.
|
4158
|
-
#
|
4205
|
+
# This format consists of five fields separated by white spaces:
|
4206
|
+
# \[Minute\] \[Hour\] \[Day\_of\_Month\] \[Month\_of\_Year\]
|
4207
|
+
# \[Day\_of\_Week\]. For more information about this format, see
|
4208
|
+
# [Crontab][1].
|
4159
4209
|
#
|
4160
4210
|
#
|
4161
4211
|
#
|
@@ -4487,7 +4537,8 @@ module Aws::AutoScaling
|
|
4487
4537
|
include Aws::Structure
|
4488
4538
|
end
|
4489
4539
|
|
4490
|
-
# Represents a target tracking policy configuration
|
4540
|
+
# Represents a target tracking policy configuration to use with Amazon
|
4541
|
+
# EC2 Auto Scaling.
|
4491
4542
|
#
|
4492
4543
|
# @note When making an API call, you may pass TargetTrackingConfiguration
|
4493
4544
|
# data as a hash:
|
@@ -4599,7 +4650,7 @@ module Aws::AutoScaling
|
|
4599
4650
|
# on_demand_percentage_above_base_capacity: 1,
|
4600
4651
|
# spot_allocation_strategy: "XmlString",
|
4601
4652
|
# spot_instance_pools: 1,
|
4602
|
-
# spot_max_price: "
|
4653
|
+
# spot_max_price: "MixedInstanceSpotPrice",
|
4603
4654
|
# },
|
4604
4655
|
# },
|
4605
4656
|
# min_size: 1,
|
@@ -4689,7 +4740,7 @@ module Aws::AutoScaling
|
|
4689
4740
|
# @!attribute [rw] placement_group
|
4690
4741
|
# The name of the placement group into which to launch your instances,
|
4691
4742
|
# if any. For more information, see [Placement Groups][1] in the
|
4692
|
-
# *Amazon
|
4743
|
+
# *Amazon EC2 User Guide for Linux Instances*.
|
4693
4744
|
#
|
4694
4745
|
#
|
4695
4746
|
#
|
@@ -4718,7 +4769,8 @@ module Aws::AutoScaling
|
|
4718
4769
|
# in the order that they are listed.
|
4719
4770
|
#
|
4720
4771
|
# For more information, see [Controlling Which Instances Auto Scaling
|
4721
|
-
# Terminates During Scale In][1] in the *Auto Scaling User
|
4772
|
+
# Terminates During Scale In][1] in the *Amazon EC2 Auto Scaling User
|
4773
|
+
# Guide*.
|
4722
4774
|
#
|
4723
4775
|
#
|
4724
4776
|
#
|
@@ -4728,6 +4780,14 @@ module Aws::AutoScaling
|
|
4728
4780
|
# @!attribute [rw] new_instances_protected_from_scale_in
|
4729
4781
|
# Indicates whether newly launched instances are protected from
|
4730
4782
|
# termination by Auto Scaling when scaling in.
|
4783
|
+
#
|
4784
|
+
# For more information about preventing instances from terminating on
|
4785
|
+
# scale in, see [Instance Protection][1] in the *Amazon EC2 Auto
|
4786
|
+
# Scaling User Guide*.
|
4787
|
+
#
|
4788
|
+
#
|
4789
|
+
#
|
4790
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/ec2/userguide/as-instance-termination.html#instance-protection
|
4731
4791
|
# @return [Boolean]
|
4732
4792
|
#
|
4733
4793
|
# @!attribute [rw] service_linked_role_arn
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-autoscaling
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.14.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-02-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|