aws-sdk-autoscaling 1.1.0 → 1.2.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 +1 -1
- data/lib/aws-sdk-autoscaling/client.rb +62 -34
- data/lib/aws-sdk-autoscaling/client_api.rb +14 -0
- data/lib/aws-sdk-autoscaling/lifecycle_hook.rb +12 -26
- data/lib/aws-sdk-autoscaling/resource.rb +34 -10
- data/lib/aws-sdk-autoscaling/scaling_policy.rb +1 -1
- data/lib/aws-sdk-autoscaling/types.rb +160 -216
- 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: 4b343191eabd9f2d7ba70613a565a16bc1f1839a
|
4
|
+
data.tar.gz: 669591f0e61fddd337987ac4158986338766b8b2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a70e3e249324c03ea9e2a5963eb023ecddc068ca2e42665f67465e2e47317b9a689432877328a597c0927b0b1978da7ca4982917aa599c32f34d6ff1a38b9022
|
7
|
+
data.tar.gz: 1e3645ead5a3987fbc866942dc0acb2e1c5711bb409e6f02d06f898271de77c674d85ff70e168a8c0b87b44721dc59d292dcea39f8ceec9aca55a72d01cb5714
|
data/lib/aws-sdk-autoscaling.rb
CHANGED
@@ -503,7 +503,7 @@ module Aws::AutoScaling
|
|
503
503
|
# This parameter is supported if the policy type is `StepScaling` or
|
504
504
|
# `TargetTrackingScaling`.
|
505
505
|
# @option options [Types::TargetTrackingConfiguration] :target_tracking_configuration
|
506
|
-
#
|
506
|
+
# A target tracking policy.
|
507
507
|
#
|
508
508
|
# This parameter is required if the policy type is
|
509
509
|
# `TargetTrackingScaling` and not supported otherwise.
|
@@ -359,7 +359,8 @@ module Aws::AutoScaling
|
|
359
359
|
#
|
360
360
|
# @example Example: To complete the lifecycle action
|
361
361
|
#
|
362
|
-
# # This example notifies Auto Scaling that the specified lifecycle action is complete so that it can finish launching or
|
362
|
+
# # This example notifies Auto Scaling that the specified lifecycle action is complete so that it can finish launching or
|
363
|
+
# # terminating the instance.
|
363
364
|
#
|
364
365
|
# resp = client.complete_lifecycle_action({
|
365
366
|
# auto_scaling_group_name: "my-auto-scaling-group",
|
@@ -434,7 +435,9 @@ module Aws::AutoScaling
|
|
434
435
|
# @option params [Integer] :desired_capacity
|
435
436
|
# The number of EC2 instances that should be running in the group. This
|
436
437
|
# number must be greater than or equal to the minimum size of the group
|
437
|
-
# and less than or equal to the maximum size of the group.
|
438
|
+
# and less than or equal to the maximum size of the group. If you do not
|
439
|
+
# specify a desired capacity, the default is the minimum size of the
|
440
|
+
# group.
|
438
441
|
#
|
439
442
|
# @option params [Integer] :default_cooldown
|
440
443
|
# The amount of time, in seconds, after a scaling activity completes
|
@@ -532,6 +535,9 @@ module Aws::AutoScaling
|
|
532
535
|
# Indicates whether newly launched instances are protected from
|
533
536
|
# termination by Auto Scaling when scaling in.
|
534
537
|
#
|
538
|
+
# @option params [Array<Types::LifecycleHookSpecification>] :lifecycle_hook_specification_list
|
539
|
+
# One or more lifecycle hooks.
|
540
|
+
#
|
535
541
|
# @option params [Array<Types::Tag>] :tags
|
536
542
|
# One or more tags.
|
537
543
|
#
|
@@ -612,6 +618,17 @@ module Aws::AutoScaling
|
|
612
618
|
# vpc_zone_identifier: "XmlStringMaxLen2047",
|
613
619
|
# termination_policies: ["XmlStringMaxLen1600"],
|
614
620
|
# new_instances_protected_from_scale_in: false,
|
621
|
+
# lifecycle_hook_specification_list: [
|
622
|
+
# {
|
623
|
+
# lifecycle_hook_name: "AsciiStringMaxLen255", # required
|
624
|
+
# lifecycle_transition: "LifecycleTransition",
|
625
|
+
# notification_metadata: "XmlStringMaxLen1023",
|
626
|
+
# heartbeat_timeout: 1,
|
627
|
+
# default_result: "LifecycleActionResult",
|
628
|
+
# notification_target_arn: "NotificationTargetResourceName",
|
629
|
+
# role_arn: "ResourceName",
|
630
|
+
# },
|
631
|
+
# ],
|
615
632
|
# tags: [
|
616
633
|
# {
|
617
634
|
# resource_id: "XmlString",
|
@@ -651,8 +668,12 @@ module Aws::AutoScaling
|
|
651
668
|
#
|
652
669
|
# @option params [String] :image_id
|
653
670
|
# The ID of the Amazon Machine Image (AMI) to use to launch your EC2
|
654
|
-
# instances.
|
655
|
-
#
|
671
|
+
# instances.
|
672
|
+
#
|
673
|
+
# If you do not specify `InstanceId`, you must specify `ImageId`.
|
674
|
+
#
|
675
|
+
# For more information, see [Finding an AMI][1] in the *Amazon Elastic
|
676
|
+
# Compute Cloud User Guide*.
|
656
677
|
#
|
657
678
|
#
|
658
679
|
#
|
@@ -714,10 +735,12 @@ module Aws::AutoScaling
|
|
714
735
|
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
|
715
736
|
#
|
716
737
|
# @option params [String] :instance_id
|
717
|
-
# The ID of the instance to use to create the launch configuration.
|
738
|
+
# The ID of the instance to use to create the launch configuration. The
|
739
|
+
# new launch configuration derives attributes from the instance, with
|
740
|
+
# the exception of the block device mapping.
|
718
741
|
#
|
719
|
-
#
|
720
|
-
#
|
742
|
+
# If you do not specify `InstanceId`, you must specify both `ImageId`
|
743
|
+
# and `InstanceType`.
|
721
744
|
#
|
722
745
|
# To create a launch configuration with a block device mapping or
|
723
746
|
# override any other instance attributes, specify them as part of the
|
@@ -731,9 +754,12 @@ module Aws::AutoScaling
|
|
731
754
|
# [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/create-lc-with-instanceID.html
|
732
755
|
#
|
733
756
|
# @option params [String] :instance_type
|
734
|
-
# The instance type of the EC2 instance.
|
735
|
-
#
|
736
|
-
#
|
757
|
+
# The instance type of the EC2 instance.
|
758
|
+
#
|
759
|
+
# If you do not specify `InstanceId`, you must specify `InstanceType`.
|
760
|
+
#
|
761
|
+
# For information about available instance types, see [Available
|
762
|
+
# Instance Types][1] in the *Amazon Elastic Compute Cloud User Guide.*
|
737
763
|
#
|
738
764
|
#
|
739
765
|
#
|
@@ -756,7 +782,7 @@ module Aws::AutoScaling
|
|
756
782
|
#
|
757
783
|
# @option params [Types::InstanceMonitoring] :instance_monitoring
|
758
784
|
# Enables detailed monitoring (`true`) or basic monitoring (`false`) for
|
759
|
-
# the Auto Scaling instances.
|
785
|
+
# the Auto Scaling instances. The default is `true`.
|
760
786
|
#
|
761
787
|
# @option params [String] :spot_price
|
762
788
|
# The maximum hourly price to be paid for any Spot Instance launched to
|
@@ -2575,8 +2601,8 @@ module Aws::AutoScaling
|
|
2575
2601
|
|
2576
2602
|
# Removes one or more instances from the specified Auto Scaling group.
|
2577
2603
|
#
|
2578
|
-
# After the instances are detached, you can manage them
|
2579
|
-
#
|
2604
|
+
# After the instances are detached, you can manage them independent of
|
2605
|
+
# the Auto Scaling group.
|
2580
2606
|
#
|
2581
2607
|
# If you do not specify the option to decrement the desired capacity,
|
2582
2608
|
# Auto Scaling launches instances to replace the ones that are detached.
|
@@ -2873,14 +2899,14 @@ module Aws::AutoScaling
|
|
2873
2899
|
req.send_request(options)
|
2874
2900
|
end
|
2875
2901
|
|
2876
|
-
# Moves the specified instances into
|
2902
|
+
# Moves the specified instances into the standby state.
|
2877
2903
|
#
|
2878
|
-
# For more information, see [
|
2879
|
-
# Scaling User Guide*.
|
2904
|
+
# For more information, see [Temporarily Removing Instances from Your
|
2905
|
+
# Auto Scaling Group][1] in the *Auto Scaling User Guide*.
|
2880
2906
|
#
|
2881
2907
|
#
|
2882
2908
|
#
|
2883
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/
|
2909
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/as-enter-exit-standby.html
|
2884
2910
|
#
|
2885
2911
|
# @option params [Array<String>] :instance_ids
|
2886
2912
|
# One or more instances to move into `Standby` mode. You must specify at
|
@@ -3033,14 +3059,14 @@ module Aws::AutoScaling
|
|
3033
3059
|
req.send_request(options)
|
3034
3060
|
end
|
3035
3061
|
|
3036
|
-
# Moves the specified instances out of
|
3062
|
+
# Moves the specified instances out of the standby state.
|
3037
3063
|
#
|
3038
|
-
# For more information, see [
|
3039
|
-
# Scaling User Guide*.
|
3064
|
+
# For more information, see [Temporarily Removing Instances from Your
|
3065
|
+
# Auto Scaling Group][1] in the *Auto Scaling User Guide*.
|
3040
3066
|
#
|
3041
3067
|
#
|
3042
3068
|
#
|
3043
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/
|
3069
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/as-enter-exit-standby.html
|
3044
3070
|
#
|
3045
3071
|
# @option params [Array<String>] :instance_ids
|
3046
3072
|
# One or more instance IDs. You must specify at least one instance ID.
|
@@ -3191,12 +3217,14 @@ module Aws::AutoScaling
|
|
3191
3217
|
# Scaling sends a message to the notification target.
|
3192
3218
|
#
|
3193
3219
|
# @option params [Integer] :heartbeat_timeout
|
3194
|
-
# The
|
3195
|
-
# hook times out.
|
3196
|
-
# performs the default action. You can prevent the lifecycle hook from
|
3197
|
-
# timing out by calling RecordLifecycleActionHeartbeat. The default is
|
3220
|
+
# The maximum time, in seconds, that can elapse before the lifecycle
|
3221
|
+
# hook times out. The range is from 30 to 7200 seconds. The default is
|
3198
3222
|
# 3600 seconds (1 hour).
|
3199
3223
|
#
|
3224
|
+
# If the lifecycle hook times out, Auto Scaling performs the default
|
3225
|
+
# action. You can prevent the lifecycle hook from timing out by calling
|
3226
|
+
# RecordLifecycleActionHeartbeat.
|
3227
|
+
#
|
3200
3228
|
# @option params [String] :default_result
|
3201
3229
|
# Defines the action the Auto Scaling group should take when the
|
3202
3230
|
# lifecycle hook timeout elapses or if an unexpected failure occurs.
|
@@ -3395,7 +3423,7 @@ module Aws::AutoScaling
|
|
3395
3423
|
# `TargetTrackingScaling`.
|
3396
3424
|
#
|
3397
3425
|
# @option params [Types::TargetTrackingConfiguration] :target_tracking_configuration
|
3398
|
-
#
|
3426
|
+
# A target tracking policy.
|
3399
3427
|
#
|
3400
3428
|
# This parameter is required if the policy type is
|
3401
3429
|
# `TargetTrackingScaling` and not supported otherwise.
|
@@ -3972,7 +4000,8 @@ module Aws::AutoScaling
|
|
3972
4000
|
#
|
3973
4001
|
# @example Example: To terminate an instance in an Auto Scaling group
|
3974
4002
|
#
|
3975
|
-
# # This example terminates the specified instance from the specified Auto Scaling group without updating the size of the
|
4003
|
+
# # This example terminates the specified instance from the specified Auto Scaling group without updating the size of the
|
4004
|
+
# # group. Auto Scaling launches a replacement instance after the specified instance terminates.
|
3976
4005
|
#
|
3977
4006
|
# resp = client.terminate_instance_in_auto_scaling_group({
|
3978
4007
|
# instance_id: "i-93633f9b",
|
@@ -4010,17 +4039,16 @@ module Aws::AutoScaling
|
|
4010
4039
|
|
4011
4040
|
# Updates the configuration for the specified Auto Scaling group.
|
4012
4041
|
#
|
4042
|
+
# The new settings take effect on any scaling activities after this call
|
4043
|
+
# returns. Scaling activities that are currently in progress aren't
|
4044
|
+
# affected.
|
4045
|
+
#
|
4013
4046
|
# To update an Auto Scaling group with a launch configuration with
|
4014
|
-
# `InstanceMonitoring` set to `
|
4047
|
+
# `InstanceMonitoring` set to `false`, you must first disable the
|
4015
4048
|
# collection of group metrics. Otherwise, you will get an error. If you
|
4016
4049
|
# have previously enabled the collection of group metrics, you can
|
4017
4050
|
# disable it using DisableMetricsCollection.
|
4018
4051
|
#
|
4019
|
-
# The new settings are registered upon the completion of this call. Any
|
4020
|
-
# launch configuration settings take effect on any triggers after this
|
4021
|
-
# call returns. Scaling activities that are currently in progress
|
4022
|
-
# aren't affected.
|
4023
|
-
#
|
4024
4052
|
# Note the following:
|
4025
4053
|
#
|
4026
4054
|
# * If you specify a new value for `MinSize` without specifying a value
|
@@ -4193,7 +4221,7 @@ module Aws::AutoScaling
|
|
4193
4221
|
params: params,
|
4194
4222
|
config: config)
|
4195
4223
|
context[:gem_name] = 'aws-sdk-autoscaling'
|
4196
|
-
context[:gem_version] = '1.
|
4224
|
+
context[:gem_version] = '1.2.0'
|
4197
4225
|
Seahorse::Client::Request.new(handlers, context)
|
4198
4226
|
end
|
4199
4227
|
|
@@ -124,6 +124,8 @@ module Aws::AutoScaling
|
|
124
124
|
LifecycleActionToken = Shapes::StringShape.new(name: 'LifecycleActionToken')
|
125
125
|
LifecycleHook = Shapes::StructureShape.new(name: 'LifecycleHook')
|
126
126
|
LifecycleHookNames = Shapes::ListShape.new(name: 'LifecycleHookNames')
|
127
|
+
LifecycleHookSpecification = Shapes::StructureShape.new(name: 'LifecycleHookSpecification')
|
128
|
+
LifecycleHookSpecifications = Shapes::ListShape.new(name: 'LifecycleHookSpecifications')
|
127
129
|
LifecycleHooks = Shapes::ListShape.new(name: 'LifecycleHooks')
|
128
130
|
LifecycleState = Shapes::StringShape.new(name: 'LifecycleState')
|
129
131
|
LifecycleTransition = Shapes::StringShape.new(name: 'LifecycleTransition')
|
@@ -370,6 +372,7 @@ module Aws::AutoScaling
|
|
370
372
|
CreateAutoScalingGroupType.add_member(:vpc_zone_identifier, Shapes::ShapeRef.new(shape: XmlStringMaxLen2047, location_name: "VPCZoneIdentifier"))
|
371
373
|
CreateAutoScalingGroupType.add_member(:termination_policies, Shapes::ShapeRef.new(shape: TerminationPolicies, location_name: "TerminationPolicies"))
|
372
374
|
CreateAutoScalingGroupType.add_member(:new_instances_protected_from_scale_in, Shapes::ShapeRef.new(shape: InstanceProtected, location_name: "NewInstancesProtectedFromScaleIn"))
|
375
|
+
CreateAutoScalingGroupType.add_member(:lifecycle_hook_specification_list, Shapes::ShapeRef.new(shape: LifecycleHookSpecifications, location_name: "LifecycleHookSpecificationList"))
|
373
376
|
CreateAutoScalingGroupType.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
374
377
|
CreateAutoScalingGroupType.struct_class = Types::CreateAutoScalingGroupType
|
375
378
|
|
@@ -651,6 +654,17 @@ module Aws::AutoScaling
|
|
651
654
|
|
652
655
|
LifecycleHookNames.member = Shapes::ShapeRef.new(shape: AsciiStringMaxLen255)
|
653
656
|
|
657
|
+
LifecycleHookSpecification.add_member(:lifecycle_hook_name, Shapes::ShapeRef.new(shape: AsciiStringMaxLen255, required: true, location_name: "LifecycleHookName"))
|
658
|
+
LifecycleHookSpecification.add_member(:lifecycle_transition, Shapes::ShapeRef.new(shape: LifecycleTransition, location_name: "LifecycleTransition"))
|
659
|
+
LifecycleHookSpecification.add_member(:notification_metadata, Shapes::ShapeRef.new(shape: XmlStringMaxLen1023, location_name: "NotificationMetadata"))
|
660
|
+
LifecycleHookSpecification.add_member(:heartbeat_timeout, Shapes::ShapeRef.new(shape: HeartbeatTimeout, location_name: "HeartbeatTimeout"))
|
661
|
+
LifecycleHookSpecification.add_member(:default_result, Shapes::ShapeRef.new(shape: LifecycleActionResult, location_name: "DefaultResult"))
|
662
|
+
LifecycleHookSpecification.add_member(:notification_target_arn, Shapes::ShapeRef.new(shape: NotificationTargetResourceName, location_name: "NotificationTargetARN"))
|
663
|
+
LifecycleHookSpecification.add_member(:role_arn, Shapes::ShapeRef.new(shape: ResourceName, location_name: "RoleARN"))
|
664
|
+
LifecycleHookSpecification.struct_class = Types::LifecycleHookSpecification
|
665
|
+
|
666
|
+
LifecycleHookSpecifications.member = Shapes::ShapeRef.new(shape: LifecycleHookSpecification)
|
667
|
+
|
654
668
|
LifecycleHooks.member = Shapes::ShapeRef.new(shape: LifecycleHook)
|
655
669
|
|
656
670
|
LoadBalancerNames.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen255)
|
@@ -48,24 +48,9 @@ module Aws::AutoScaling
|
|
48
48
|
data.lifecycle_transition
|
49
49
|
end
|
50
50
|
|
51
|
-
# The ARN of the
|
52
|
-
#
|
53
|
-
#
|
54
|
-
# notification message sent to the target includes the following:
|
55
|
-
#
|
56
|
-
# * Lifecycle action token
|
57
|
-
#
|
58
|
-
# * User account ID
|
59
|
-
#
|
60
|
-
# * Name of the Auto Scaling group
|
61
|
-
#
|
62
|
-
# * Lifecycle hook name
|
63
|
-
#
|
64
|
-
# * EC2 instance ID
|
65
|
-
#
|
66
|
-
# * Lifecycle transition
|
67
|
-
#
|
68
|
-
# * Notification metadata
|
51
|
+
# The ARN of the target that Auto Scaling sends notifications to when an
|
52
|
+
# instance is in the transition state for the lifecycle hook. The
|
53
|
+
# notification target can be either an SQS queue or an SNS topic.
|
69
54
|
# @return [String]
|
70
55
|
def notification_target_arn
|
71
56
|
data.notification_target_arn
|
@@ -86,10 +71,9 @@ module Aws::AutoScaling
|
|
86
71
|
end
|
87
72
|
|
88
73
|
# The maximum time, in seconds, that can elapse before the lifecycle
|
89
|
-
# hook times out.
|
90
|
-
#
|
91
|
-
#
|
92
|
-
# RecordLifecycleActionHeartbeat.
|
74
|
+
# hook times out. If the lifecycle hook times out, Auto Scaling performs
|
75
|
+
# the default action. You can prevent the lifecycle hook from timing out
|
76
|
+
# by calling RecordLifecycleActionHeartbeat.
|
93
77
|
# @return [Integer]
|
94
78
|
def heartbeat_timeout
|
95
79
|
data.heartbeat_timeout
|
@@ -235,11 +219,13 @@ module Aws::AutoScaling
|
|
235
219
|
# Contains additional information that you want to include any time Auto
|
236
220
|
# Scaling sends a message to the notification target.
|
237
221
|
# @option options [Integer] :heartbeat_timeout
|
238
|
-
# The
|
239
|
-
# hook times out.
|
240
|
-
# performs the default action. You can prevent the lifecycle hook from
|
241
|
-
# timing out by calling RecordLifecycleActionHeartbeat. The default is
|
222
|
+
# The maximum time, in seconds, that can elapse before the lifecycle
|
223
|
+
# hook times out. The range is from 30 to 7200 seconds. The default is
|
242
224
|
# 3600 seconds (1 hour).
|
225
|
+
#
|
226
|
+
# If the lifecycle hook times out, Auto Scaling performs the default
|
227
|
+
# action. You can prevent the lifecycle hook from timing out by calling
|
228
|
+
# RecordLifecycleActionHeartbeat.
|
243
229
|
# @option options [String] :default_result
|
244
230
|
# Defines the action the Auto Scaling group should take when the
|
245
231
|
# lifecycle hook timeout elapses or if an unexpected failure occurs.
|
@@ -40,6 +40,17 @@ module Aws::AutoScaling
|
|
40
40
|
# vpc_zone_identifier: "XmlStringMaxLen2047",
|
41
41
|
# termination_policies: ["XmlStringMaxLen1600"],
|
42
42
|
# new_instances_protected_from_scale_in: false,
|
43
|
+
# lifecycle_hook_specification_list: [
|
44
|
+
# {
|
45
|
+
# lifecycle_hook_name: "AsciiStringMaxLen255", # required
|
46
|
+
# lifecycle_transition: "LifecycleTransition",
|
47
|
+
# notification_metadata: "XmlStringMaxLen1023",
|
48
|
+
# heartbeat_timeout: 1,
|
49
|
+
# default_result: "LifecycleActionResult",
|
50
|
+
# notification_target_arn: "NotificationTargetResourceName",
|
51
|
+
# role_arn: "ResourceName",
|
52
|
+
# },
|
53
|
+
# ],
|
43
54
|
# tags: [
|
44
55
|
# {
|
45
56
|
# resource_id: "XmlString",
|
@@ -80,7 +91,9 @@ module Aws::AutoScaling
|
|
80
91
|
# @option options [Integer] :desired_capacity
|
81
92
|
# The number of EC2 instances that should be running in the group. This
|
82
93
|
# number must be greater than or equal to the minimum size of the group
|
83
|
-
# and less than or equal to the maximum size of the group.
|
94
|
+
# and less than or equal to the maximum size of the group. If you do not
|
95
|
+
# specify a desired capacity, the default is the minimum size of the
|
96
|
+
# group.
|
84
97
|
# @option options [Integer] :default_cooldown
|
85
98
|
# The amount of time, in seconds, after a scaling activity completes
|
86
99
|
# before another scaling activity can start. The default is 300.
|
@@ -167,6 +180,8 @@ module Aws::AutoScaling
|
|
167
180
|
# @option options [Boolean] :new_instances_protected_from_scale_in
|
168
181
|
# Indicates whether newly launched instances are protected from
|
169
182
|
# termination by Auto Scaling when scaling in.
|
183
|
+
# @option options [Array<Types::LifecycleHookSpecification>] :lifecycle_hook_specification_list
|
184
|
+
# One or more lifecycle hooks.
|
170
185
|
# @option options [Array<Types::Tag>] :tags
|
171
186
|
# One or more tags.
|
172
187
|
#
|
@@ -229,8 +244,12 @@ module Aws::AutoScaling
|
|
229
244
|
# the scope of your AWS account.
|
230
245
|
# @option options [String] :image_id
|
231
246
|
# The ID of the Amazon Machine Image (AMI) to use to launch your EC2
|
232
|
-
# instances.
|
233
|
-
#
|
247
|
+
# instances.
|
248
|
+
#
|
249
|
+
# If you do not specify `InstanceId`, you must specify `ImageId`.
|
250
|
+
#
|
251
|
+
# For more information, see [Finding an AMI][1] in the *Amazon Elastic
|
252
|
+
# Compute Cloud User Guide*.
|
234
253
|
#
|
235
254
|
#
|
236
255
|
#
|
@@ -286,10 +305,12 @@ module Aws::AutoScaling
|
|
286
305
|
#
|
287
306
|
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
|
288
307
|
# @option options [String] :instance_id
|
289
|
-
# The ID of the instance to use to create the launch configuration.
|
308
|
+
# The ID of the instance to use to create the launch configuration. The
|
309
|
+
# new launch configuration derives attributes from the instance, with
|
310
|
+
# the exception of the block device mapping.
|
290
311
|
#
|
291
|
-
#
|
292
|
-
#
|
312
|
+
# If you do not specify `InstanceId`, you must specify both `ImageId`
|
313
|
+
# and `InstanceType`.
|
293
314
|
#
|
294
315
|
# To create a launch configuration with a block device mapping or
|
295
316
|
# override any other instance attributes, specify them as part of the
|
@@ -302,9 +323,12 @@ module Aws::AutoScaling
|
|
302
323
|
#
|
303
324
|
# [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/create-lc-with-instanceID.html
|
304
325
|
# @option options [String] :instance_type
|
305
|
-
# The instance type of the EC2 instance.
|
306
|
-
#
|
307
|
-
#
|
326
|
+
# The instance type of the EC2 instance.
|
327
|
+
#
|
328
|
+
# If you do not specify `InstanceId`, you must specify `InstanceType`.
|
329
|
+
#
|
330
|
+
# For information about available instance types, see [Available
|
331
|
+
# Instance Types][1] in the *Amazon Elastic Compute Cloud User Guide.*
|
308
332
|
#
|
309
333
|
#
|
310
334
|
#
|
@@ -323,7 +347,7 @@ module Aws::AutoScaling
|
|
323
347
|
# [1]: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html
|
324
348
|
# @option options [Types::InstanceMonitoring] :instance_monitoring
|
325
349
|
# Enables detailed monitoring (`true`) or basic monitoring (`false`) for
|
326
|
-
# the Auto Scaling instances.
|
350
|
+
# the Auto Scaling instances. The default is `true`.
|
327
351
|
# @option options [String] :spot_price
|
328
352
|
# The maximum hourly price to be paid for any Spot Instance launched to
|
329
353
|
# fulfill the request. Spot Instances are launched when the price you
|
@@ -83,7 +83,7 @@ module Aws::AutoScaling
|
|
83
83
|
end
|
84
84
|
|
85
85
|
# The amount of time, in seconds, after a scaling activity completes
|
86
|
-
# before any further
|
86
|
+
# before any further dynamic scaling activities can start.
|
87
87
|
# @return [Integer]
|
88
88
|
def cooldown
|
89
89
|
data.cooldown
|
@@ -8,8 +8,6 @@
|
|
8
8
|
module Aws::AutoScaling
|
9
9
|
module Types
|
10
10
|
|
11
|
-
# Contains the output of DescribeScalingActivities.
|
12
|
-
#
|
13
11
|
# @!attribute [rw] activities
|
14
12
|
# The scaling activities. Activities are sorted by start time.
|
15
13
|
# Activities still in progress are described first.
|
@@ -89,8 +87,6 @@ module Aws::AutoScaling
|
|
89
87
|
include Aws::Structure
|
90
88
|
end
|
91
89
|
|
92
|
-
# Contains the output of TerminateInstancesInAutoScalingGroup.
|
93
|
-
#
|
94
90
|
# @!attribute [rw] activity
|
95
91
|
# A scaling activity.
|
96
92
|
# @return [Types::Activity]
|
@@ -141,8 +137,6 @@ module Aws::AutoScaling
|
|
141
137
|
include Aws::Structure
|
142
138
|
end
|
143
139
|
|
144
|
-
# Contains the parameters for AttachInstances.
|
145
|
-
#
|
146
140
|
# @note When making an API call, you may pass AttachInstancesQuery
|
147
141
|
# data as a hash:
|
148
142
|
#
|
@@ -171,8 +165,6 @@ module Aws::AutoScaling
|
|
171
165
|
#
|
172
166
|
class AttachLoadBalancerTargetGroupsResultType < Aws::EmptyStructure; end
|
173
167
|
|
174
|
-
# Contains the parameters for AttachLoadBalancerTargetGroups.
|
175
|
-
#
|
176
168
|
# @note When making an API call, you may pass AttachLoadBalancerTargetGroupsType
|
177
169
|
# data as a hash:
|
178
170
|
#
|
@@ -197,14 +189,10 @@ module Aws::AutoScaling
|
|
197
189
|
include Aws::Structure
|
198
190
|
end
|
199
191
|
|
200
|
-
# Contains the output of AttachLoadBalancers.
|
201
|
-
#
|
202
192
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/AttachLoadBalancersResultType AWS API Documentation
|
203
193
|
#
|
204
194
|
class AttachLoadBalancersResultType < Aws::EmptyStructure; end
|
205
195
|
|
206
|
-
# Contains the parameters for AttachLoadBalancers.
|
207
|
-
#
|
208
196
|
# @note When making an API call, you may pass AttachLoadBalancersType
|
209
197
|
# data as a hash:
|
210
198
|
#
|
@@ -364,8 +352,6 @@ module Aws::AutoScaling
|
|
364
352
|
include Aws::Structure
|
365
353
|
end
|
366
354
|
|
367
|
-
# Contains the parameters for DescribeAutoScalingGroups.
|
368
|
-
#
|
369
355
|
# @note When making an API call, you may pass AutoScalingGroupNamesType
|
370
356
|
# data as a hash:
|
371
357
|
#
|
@@ -399,8 +385,6 @@ module Aws::AutoScaling
|
|
399
385
|
include Aws::Structure
|
400
386
|
end
|
401
387
|
|
402
|
-
# Contains the output for DescribeAutoScalingGroups.
|
403
|
-
#
|
404
388
|
# @!attribute [rw] auto_scaling_groups
|
405
389
|
# The groups.
|
406
390
|
# @return [Array<Types::AutoScalingGroup>]
|
@@ -472,8 +456,6 @@ module Aws::AutoScaling
|
|
472
456
|
include Aws::Structure
|
473
457
|
end
|
474
458
|
|
475
|
-
# Contains the output of DescribeAutoScalingInstances.
|
476
|
-
#
|
477
459
|
# @!attribute [rw] auto_scaling_instances
|
478
460
|
# The instances.
|
479
461
|
# @return [Array<Types::AutoScalingInstanceDetails>]
|
@@ -541,14 +523,10 @@ module Aws::AutoScaling
|
|
541
523
|
include Aws::Structure
|
542
524
|
end
|
543
525
|
|
544
|
-
# Contains the output of CompleteLifecycleAction.
|
545
|
-
#
|
546
526
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CompleteLifecycleActionAnswer AWS API Documentation
|
547
527
|
#
|
548
528
|
class CompleteLifecycleActionAnswer < Aws::EmptyStructure; end
|
549
529
|
|
550
|
-
# Contains the parameters for CompleteLifecycleAction.
|
551
|
-
#
|
552
530
|
# @note When making an API call, you may pass CompleteLifecycleActionType
|
553
531
|
# data as a hash:
|
554
532
|
#
|
@@ -595,8 +573,6 @@ module Aws::AutoScaling
|
|
595
573
|
include Aws::Structure
|
596
574
|
end
|
597
575
|
|
598
|
-
# Contains the parameters for CreateAutoScalingGroup.
|
599
|
-
#
|
600
576
|
# @note When making an API call, you may pass CreateAutoScalingGroupType
|
601
577
|
# data as a hash:
|
602
578
|
#
|
@@ -617,6 +593,17 @@ module Aws::AutoScaling
|
|
617
593
|
# vpc_zone_identifier: "XmlStringMaxLen2047",
|
618
594
|
# termination_policies: ["XmlStringMaxLen1600"],
|
619
595
|
# new_instances_protected_from_scale_in: false,
|
596
|
+
# lifecycle_hook_specification_list: [
|
597
|
+
# {
|
598
|
+
# lifecycle_hook_name: "AsciiStringMaxLen255", # required
|
599
|
+
# lifecycle_transition: "LifecycleTransition",
|
600
|
+
# notification_metadata: "XmlStringMaxLen1023",
|
601
|
+
# heartbeat_timeout: 1,
|
602
|
+
# default_result: "LifecycleActionResult",
|
603
|
+
# notification_target_arn: "NotificationTargetResourceName",
|
604
|
+
# role_arn: "ResourceName",
|
605
|
+
# },
|
606
|
+
# ],
|
620
607
|
# tags: [
|
621
608
|
# {
|
622
609
|
# resource_id: "XmlString",
|
@@ -667,7 +654,9 @@ module Aws::AutoScaling
|
|
667
654
|
# @!attribute [rw] desired_capacity
|
668
655
|
# The number of EC2 instances that should be running in the group.
|
669
656
|
# This number must be greater than or equal to the minimum size of the
|
670
|
-
# group and less than or equal to the maximum size of the group.
|
657
|
+
# group and less than or equal to the maximum size of the group. If
|
658
|
+
# you do not specify a desired capacity, the default is the minimum
|
659
|
+
# size of the group.
|
671
660
|
# @return [Integer]
|
672
661
|
#
|
673
662
|
# @!attribute [rw] default_cooldown
|
@@ -776,6 +765,10 @@ module Aws::AutoScaling
|
|
776
765
|
# termination by Auto Scaling when scaling in.
|
777
766
|
# @return [Boolean]
|
778
767
|
#
|
768
|
+
# @!attribute [rw] lifecycle_hook_specification_list
|
769
|
+
# One or more lifecycle hooks.
|
770
|
+
# @return [Array<Types::LifecycleHookSpecification>]
|
771
|
+
#
|
779
772
|
# @!attribute [rw] tags
|
780
773
|
# One or more tags.
|
781
774
|
#
|
@@ -806,12 +799,11 @@ module Aws::AutoScaling
|
|
806
799
|
:vpc_zone_identifier,
|
807
800
|
:termination_policies,
|
808
801
|
:new_instances_protected_from_scale_in,
|
802
|
+
:lifecycle_hook_specification_list,
|
809
803
|
:tags)
|
810
804
|
include Aws::Structure
|
811
805
|
end
|
812
806
|
|
813
|
-
# Contains the parameters for CreateLaunchConfiguration.
|
814
|
-
#
|
815
807
|
# @note When making an API call, you may pass CreateLaunchConfigurationType
|
816
808
|
# data as a hash:
|
817
809
|
#
|
@@ -859,8 +851,12 @@ module Aws::AutoScaling
|
|
859
851
|
#
|
860
852
|
# @!attribute [rw] image_id
|
861
853
|
# The ID of the Amazon Machine Image (AMI) to use to launch your EC2
|
862
|
-
# instances.
|
863
|
-
#
|
854
|
+
# instances.
|
855
|
+
#
|
856
|
+
# If you do not specify `InstanceId`, you must specify `ImageId`.
|
857
|
+
#
|
858
|
+
# For more information, see [Finding an AMI][1] in the *Amazon Elastic
|
859
|
+
# Compute Cloud User Guide*.
|
864
860
|
#
|
865
861
|
#
|
866
862
|
#
|
@@ -930,10 +926,12 @@ module Aws::AutoScaling
|
|
930
926
|
#
|
931
927
|
# @!attribute [rw] instance_id
|
932
928
|
# The ID of the instance to use to create the launch configuration.
|
933
|
-
#
|
934
929
|
# The new launch configuration derives attributes from the instance,
|
935
930
|
# with the exception of the block device mapping.
|
936
931
|
#
|
932
|
+
# If you do not specify `InstanceId`, you must specify both `ImageId`
|
933
|
+
# and `InstanceType`.
|
934
|
+
#
|
937
935
|
# To create a launch configuration with a block device mapping or
|
938
936
|
# override any other instance attributes, specify them as part of the
|
939
937
|
# same request.
|
@@ -947,9 +945,12 @@ module Aws::AutoScaling
|
|
947
945
|
# @return [String]
|
948
946
|
#
|
949
947
|
# @!attribute [rw] instance_type
|
950
|
-
# The instance type of the EC2 instance.
|
951
|
-
#
|
952
|
-
#
|
948
|
+
# The instance type of the EC2 instance.
|
949
|
+
#
|
950
|
+
# If you do not specify `InstanceId`, you must specify `InstanceType`.
|
951
|
+
#
|
952
|
+
# For information about available instance types, see [Available
|
953
|
+
# Instance Types][1] in the *Amazon Elastic Compute Cloud User Guide.*
|
953
954
|
#
|
954
955
|
#
|
955
956
|
#
|
@@ -976,7 +977,7 @@ module Aws::AutoScaling
|
|
976
977
|
#
|
977
978
|
# @!attribute [rw] instance_monitoring
|
978
979
|
# Enables detailed monitoring (`true`) or basic monitoring (`false`)
|
979
|
-
# for the Auto Scaling instances.
|
980
|
+
# for the Auto Scaling instances. The default is `true`.
|
980
981
|
# @return [Types::InstanceMonitoring]
|
981
982
|
#
|
982
983
|
# @!attribute [rw] spot_price
|
@@ -1087,8 +1088,6 @@ module Aws::AutoScaling
|
|
1087
1088
|
include Aws::Structure
|
1088
1089
|
end
|
1089
1090
|
|
1090
|
-
# Contains the parameters for CreateOrUpdateTags.
|
1091
|
-
#
|
1092
1091
|
# @note When making an API call, you may pass CreateOrUpdateTagsType
|
1093
1092
|
# data as a hash:
|
1094
1093
|
#
|
@@ -1164,8 +1163,6 @@ module Aws::AutoScaling
|
|
1164
1163
|
include Aws::Structure
|
1165
1164
|
end
|
1166
1165
|
|
1167
|
-
# Contains the parameters for DeleteAutoScalingGroup.
|
1168
|
-
#
|
1169
1166
|
# @note When making an API call, you may pass DeleteAutoScalingGroupType
|
1170
1167
|
# data as a hash:
|
1171
1168
|
#
|
@@ -1193,14 +1190,10 @@ module Aws::AutoScaling
|
|
1193
1190
|
include Aws::Structure
|
1194
1191
|
end
|
1195
1192
|
|
1196
|
-
# Contains the output of DeleteLifecycleHook.
|
1197
|
-
#
|
1198
1193
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DeleteLifecycleHookAnswer AWS API Documentation
|
1199
1194
|
#
|
1200
1195
|
class DeleteLifecycleHookAnswer < Aws::EmptyStructure; end
|
1201
1196
|
|
1202
|
-
# Contains the parameters for DeleteLifecycleHook.
|
1203
|
-
#
|
1204
1197
|
# @note When making an API call, you may pass DeleteLifecycleHookType
|
1205
1198
|
# data as a hash:
|
1206
1199
|
#
|
@@ -1225,8 +1218,6 @@ module Aws::AutoScaling
|
|
1225
1218
|
include Aws::Structure
|
1226
1219
|
end
|
1227
1220
|
|
1228
|
-
# Contains the parameters for DeleteNotificationConfiguration.
|
1229
|
-
#
|
1230
1221
|
# @note When making an API call, you may pass DeleteNotificationConfigurationType
|
1231
1222
|
# data as a hash:
|
1232
1223
|
#
|
@@ -1252,8 +1243,6 @@ module Aws::AutoScaling
|
|
1252
1243
|
include Aws::Structure
|
1253
1244
|
end
|
1254
1245
|
|
1255
|
-
# Contains the parameters for DeletePolicy.
|
1256
|
-
#
|
1257
1246
|
# @note When making an API call, you may pass DeletePolicyType
|
1258
1247
|
# data as a hash:
|
1259
1248
|
#
|
@@ -1278,8 +1267,6 @@ module Aws::AutoScaling
|
|
1278
1267
|
include Aws::Structure
|
1279
1268
|
end
|
1280
1269
|
|
1281
|
-
# Contains the parameters for DeleteScheduledAction.
|
1282
|
-
#
|
1283
1270
|
# @note When making an API call, you may pass DeleteScheduledActionType
|
1284
1271
|
# data as a hash:
|
1285
1272
|
#
|
@@ -1304,8 +1291,6 @@ module Aws::AutoScaling
|
|
1304
1291
|
include Aws::Structure
|
1305
1292
|
end
|
1306
1293
|
|
1307
|
-
# Contains the parameters for DeleteTags.
|
1308
|
-
#
|
1309
1294
|
# @note When making an API call, you may pass DeleteTagsType
|
1310
1295
|
# data as a hash:
|
1311
1296
|
#
|
@@ -1332,8 +1317,6 @@ module Aws::AutoScaling
|
|
1332
1317
|
include Aws::Structure
|
1333
1318
|
end
|
1334
1319
|
|
1335
|
-
# Contains the parameters for DescribeAccountLimits.
|
1336
|
-
#
|
1337
1320
|
# @!attribute [rw] max_number_of_auto_scaling_groups
|
1338
1321
|
# The maximum number of groups allowed for your AWS account. The
|
1339
1322
|
# default limit is 20 per region.
|
@@ -1362,8 +1345,6 @@ module Aws::AutoScaling
|
|
1362
1345
|
include Aws::Structure
|
1363
1346
|
end
|
1364
1347
|
|
1365
|
-
# Contains the parameters for DescribeAdjustmentTypes.
|
1366
|
-
#
|
1367
1348
|
# @!attribute [rw] adjustment_types
|
1368
1349
|
# The policy adjustment types.
|
1369
1350
|
# @return [Array<Types::AdjustmentType>]
|
@@ -1375,8 +1356,6 @@ module Aws::AutoScaling
|
|
1375
1356
|
include Aws::Structure
|
1376
1357
|
end
|
1377
1358
|
|
1378
|
-
# Contains the parameters for DescribeAutoScalingInstances.
|
1379
|
-
#
|
1380
1359
|
# @note When making an API call, you may pass DescribeAutoScalingInstancesType
|
1381
1360
|
# data as a hash:
|
1382
1361
|
#
|
@@ -1411,8 +1390,6 @@ module Aws::AutoScaling
|
|
1411
1390
|
include Aws::Structure
|
1412
1391
|
end
|
1413
1392
|
|
1414
|
-
# Contains the output of DescribeAutoScalingNotificationTypes.
|
1415
|
-
#
|
1416
1393
|
# @!attribute [rw] auto_scaling_notification_types
|
1417
1394
|
# The notification types.
|
1418
1395
|
# @return [Array<String>]
|
@@ -1424,8 +1401,6 @@ module Aws::AutoScaling
|
|
1424
1401
|
include Aws::Structure
|
1425
1402
|
end
|
1426
1403
|
|
1427
|
-
# Contains the output of DescribeLifecycleHookTypes.
|
1428
|
-
#
|
1429
1404
|
# @!attribute [rw] lifecycle_hook_types
|
1430
1405
|
# The lifecycle hook types.
|
1431
1406
|
# @return [Array<String>]
|
@@ -1437,8 +1412,6 @@ module Aws::AutoScaling
|
|
1437
1412
|
include Aws::Structure
|
1438
1413
|
end
|
1439
1414
|
|
1440
|
-
# Contains the output of DescribeLifecycleHooks.
|
1441
|
-
#
|
1442
1415
|
# @!attribute [rw] lifecycle_hooks
|
1443
1416
|
# The lifecycle hooks for the specified group.
|
1444
1417
|
# @return [Array<Types::LifecycleHook>]
|
@@ -1450,8 +1423,6 @@ module Aws::AutoScaling
|
|
1450
1423
|
include Aws::Structure
|
1451
1424
|
end
|
1452
1425
|
|
1453
|
-
# Contains the parameters for DescribeLifecycleHooks.
|
1454
|
-
#
|
1455
1426
|
# @note When making an API call, you may pass DescribeLifecycleHooksType
|
1456
1427
|
# data as a hash:
|
1457
1428
|
#
|
@@ -1477,8 +1448,6 @@ module Aws::AutoScaling
|
|
1477
1448
|
include Aws::Structure
|
1478
1449
|
end
|
1479
1450
|
|
1480
|
-
# Contains the parameters for DescribeLoadBalancerTargetGroups.
|
1481
|
-
#
|
1482
1451
|
# @note When making an API call, you may pass DescribeLoadBalancerTargetGroupsRequest
|
1483
1452
|
# data as a hash:
|
1484
1453
|
#
|
@@ -1511,8 +1480,6 @@ module Aws::AutoScaling
|
|
1511
1480
|
include Aws::Structure
|
1512
1481
|
end
|
1513
1482
|
|
1514
|
-
# Contains the output of DescribeLoadBalancerTargetGroups.
|
1515
|
-
#
|
1516
1483
|
# @!attribute [rw] load_balancer_target_groups
|
1517
1484
|
# Information about the target groups.
|
1518
1485
|
# @return [Array<Types::LoadBalancerTargetGroupState>]
|
@@ -1530,8 +1497,6 @@ module Aws::AutoScaling
|
|
1530
1497
|
include Aws::Structure
|
1531
1498
|
end
|
1532
1499
|
|
1533
|
-
# Contains the parameters for DescribeLoadBalancers.
|
1534
|
-
#
|
1535
1500
|
# @note When making an API call, you may pass DescribeLoadBalancersRequest
|
1536
1501
|
# data as a hash:
|
1537
1502
|
#
|
@@ -1564,8 +1529,6 @@ module Aws::AutoScaling
|
|
1564
1529
|
include Aws::Structure
|
1565
1530
|
end
|
1566
1531
|
|
1567
|
-
# Contains the output of DescribeLoadBalancers.
|
1568
|
-
#
|
1569
1532
|
# @!attribute [rw] load_balancers
|
1570
1533
|
# The load balancers.
|
1571
1534
|
# @return [Array<Types::LoadBalancerState>]
|
@@ -1583,8 +1546,6 @@ module Aws::AutoScaling
|
|
1583
1546
|
include Aws::Structure
|
1584
1547
|
end
|
1585
1548
|
|
1586
|
-
# Contains the output of DescribeMetricsCollectionTypes.
|
1587
|
-
#
|
1588
1549
|
# @!attribute [rw] metrics
|
1589
1550
|
# One or more metrics.
|
1590
1551
|
# @return [Array<Types::MetricCollectionType>]
|
@@ -1601,8 +1562,6 @@ module Aws::AutoScaling
|
|
1601
1562
|
include Aws::Structure
|
1602
1563
|
end
|
1603
1564
|
|
1604
|
-
# Contains the output from DescribeNotificationConfigurations.
|
1605
|
-
#
|
1606
1565
|
# @!attribute [rw] notification_configurations
|
1607
1566
|
# The notification configurations.
|
1608
1567
|
# @return [Array<Types::NotificationConfiguration>]
|
@@ -1620,8 +1579,6 @@ module Aws::AutoScaling
|
|
1620
1579
|
include Aws::Structure
|
1621
1580
|
end
|
1622
1581
|
|
1623
|
-
# Contains the parameters for DescribeNotificationConfigurations.
|
1624
|
-
#
|
1625
1582
|
# @note When making an API call, you may pass DescribeNotificationConfigurationsType
|
1626
1583
|
# data as a hash:
|
1627
1584
|
#
|
@@ -1654,8 +1611,6 @@ module Aws::AutoScaling
|
|
1654
1611
|
include Aws::Structure
|
1655
1612
|
end
|
1656
1613
|
|
1657
|
-
# Contains the parameters for DescribePolicies.
|
1658
|
-
#
|
1659
1614
|
# @note When making an API call, you may pass DescribePoliciesType
|
1660
1615
|
# data as a hash:
|
1661
1616
|
#
|
@@ -1705,8 +1660,6 @@ module Aws::AutoScaling
|
|
1705
1660
|
include Aws::Structure
|
1706
1661
|
end
|
1707
1662
|
|
1708
|
-
# Contains the parameters for DescribeScalingActivities.
|
1709
|
-
#
|
1710
1663
|
# @note When making an API call, you may pass DescribeScalingActivitiesType
|
1711
1664
|
# data as a hash:
|
1712
1665
|
#
|
@@ -1750,8 +1703,6 @@ module Aws::AutoScaling
|
|
1750
1703
|
include Aws::Structure
|
1751
1704
|
end
|
1752
1705
|
|
1753
|
-
# Contains the parameters for DescribeScheduledActions.
|
1754
|
-
#
|
1755
1706
|
# @note When making an API call, you may pass DescribeScheduledActionsType
|
1756
1707
|
# data as a hash:
|
1757
1708
|
#
|
@@ -1810,8 +1761,6 @@ module Aws::AutoScaling
|
|
1810
1761
|
include Aws::Structure
|
1811
1762
|
end
|
1812
1763
|
|
1813
|
-
# Contains the parameters for DescribeTags.
|
1814
|
-
#
|
1815
1764
|
# @note When making an API call, you may pass DescribeTagsType
|
1816
1765
|
# data as a hash:
|
1817
1766
|
#
|
@@ -1849,8 +1798,6 @@ module Aws::AutoScaling
|
|
1849
1798
|
include Aws::Structure
|
1850
1799
|
end
|
1851
1800
|
|
1852
|
-
# Contains the output of DescribeTerminationPolicyTypes.
|
1853
|
-
#
|
1854
1801
|
# @!attribute [rw] termination_policy_types
|
1855
1802
|
# The termination policies supported by Auto Scaling
|
1856
1803
|
# (`OldestInstance`, `OldestLaunchConfiguration`, `NewestInstance`,
|
@@ -1864,8 +1811,6 @@ module Aws::AutoScaling
|
|
1864
1811
|
include Aws::Structure
|
1865
1812
|
end
|
1866
1813
|
|
1867
|
-
# Contains the output of DetachInstances.
|
1868
|
-
#
|
1869
1814
|
# @!attribute [rw] activities
|
1870
1815
|
# The activities related to detaching the instances from the Auto
|
1871
1816
|
# Scaling group.
|
@@ -1878,8 +1823,6 @@ module Aws::AutoScaling
|
|
1878
1823
|
include Aws::Structure
|
1879
1824
|
end
|
1880
1825
|
|
1881
|
-
# Contains the parameters for DetachInstances.
|
1882
|
-
#
|
1883
1826
|
# @note When making an API call, you may pass DetachInstancesQuery
|
1884
1827
|
# data as a hash:
|
1885
1828
|
#
|
@@ -1939,14 +1882,10 @@ module Aws::AutoScaling
|
|
1939
1882
|
include Aws::Structure
|
1940
1883
|
end
|
1941
1884
|
|
1942
|
-
# Contains the output for DetachLoadBalancers.
|
1943
|
-
#
|
1944
1885
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DetachLoadBalancersResultType AWS API Documentation
|
1945
1886
|
#
|
1946
1887
|
class DetachLoadBalancersResultType < Aws::EmptyStructure; end
|
1947
1888
|
|
1948
|
-
# Contains the parameters for DetachLoadBalancers.
|
1949
|
-
#
|
1950
1889
|
# @note When making an API call, you may pass DetachLoadBalancersType
|
1951
1890
|
# data as a hash:
|
1952
1891
|
#
|
@@ -1971,8 +1910,6 @@ module Aws::AutoScaling
|
|
1971
1910
|
include Aws::Structure
|
1972
1911
|
end
|
1973
1912
|
|
1974
|
-
# Contains the parameters for DisableMetricsCollection.
|
1975
|
-
#
|
1976
1913
|
# @note When making an API call, you may pass DisableMetricsCollectionQuery
|
1977
1914
|
# data as a hash:
|
1978
1915
|
#
|
@@ -2095,8 +2032,6 @@ module Aws::AutoScaling
|
|
2095
2032
|
include Aws::Structure
|
2096
2033
|
end
|
2097
2034
|
|
2098
|
-
# Contains the parameters for EnableMetricsCollection.
|
2099
|
-
#
|
2100
2035
|
# @note When making an API call, you may pass EnableMetricsCollectionQuery
|
2101
2036
|
# data as a hash:
|
2102
2037
|
#
|
@@ -2179,8 +2114,6 @@ module Aws::AutoScaling
|
|
2179
2114
|
include Aws::Structure
|
2180
2115
|
end
|
2181
2116
|
|
2182
|
-
# Contains the output of EnterStandby.
|
2183
|
-
#
|
2184
2117
|
# @!attribute [rw] activities
|
2185
2118
|
# The activities related to moving instances into `Standby` mode.
|
2186
2119
|
# @return [Array<Types::Activity>]
|
@@ -2192,8 +2125,6 @@ module Aws::AutoScaling
|
|
2192
2125
|
include Aws::Structure
|
2193
2126
|
end
|
2194
2127
|
|
2195
|
-
# Contains the parameters for EnteStandby.
|
2196
|
-
#
|
2197
2128
|
# @note When making an API call, you may pass EnterStandbyQuery
|
2198
2129
|
# data as a hash:
|
2199
2130
|
#
|
@@ -2228,8 +2159,6 @@ module Aws::AutoScaling
|
|
2228
2159
|
include Aws::Structure
|
2229
2160
|
end
|
2230
2161
|
|
2231
|
-
# Contains the parameters for ExecutePolicy.
|
2232
|
-
#
|
2233
2162
|
# @note When making an API call, you may pass ExecutePolicyType
|
2234
2163
|
# data as a hash:
|
2235
2164
|
#
|
@@ -2297,8 +2226,6 @@ module Aws::AutoScaling
|
|
2297
2226
|
include Aws::Structure
|
2298
2227
|
end
|
2299
2228
|
|
2300
|
-
# Contains the parameters for ExitStandby.
|
2301
|
-
#
|
2302
2229
|
# @!attribute [rw] activities
|
2303
2230
|
# The activities related to moving instances out of `Standby` mode.
|
2304
2231
|
# @return [Array<Types::Activity>]
|
@@ -2310,8 +2237,6 @@ module Aws::AutoScaling
|
|
2310
2237
|
include Aws::Structure
|
2311
2238
|
end
|
2312
2239
|
|
2313
|
-
# Contains the parameters for ExitStandby.
|
2314
|
-
#
|
2315
2240
|
# @note When making an API call, you may pass ExitStandbyQuery
|
2316
2241
|
# data as a hash:
|
2317
2242
|
#
|
@@ -2407,7 +2332,8 @@ module Aws::AutoScaling
|
|
2407
2332
|
include Aws::Structure
|
2408
2333
|
end
|
2409
2334
|
|
2410
|
-
# Describes whether
|
2335
|
+
# Describes whether detailed monitoring is enabled for the Auto Scaling
|
2336
|
+
# instances.
|
2411
2337
|
#
|
2412
2338
|
# @note When making an API call, you may pass InstanceMonitoring
|
2413
2339
|
# data as a hash:
|
@@ -2417,7 +2343,8 @@ module Aws::AutoScaling
|
|
2417
2343
|
# }
|
2418
2344
|
#
|
2419
2345
|
# @!attribute [rw] enabled
|
2420
|
-
# If `
|
2346
|
+
# If `true`, detailed monitoring is enabled. Otherwise, basic
|
2347
|
+
# monitoring is enabled.
|
2421
2348
|
# @return [Boolean]
|
2422
2349
|
#
|
2423
2350
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/InstanceMonitoring AWS API Documentation
|
@@ -2552,8 +2479,6 @@ module Aws::AutoScaling
|
|
2552
2479
|
include Aws::Structure
|
2553
2480
|
end
|
2554
2481
|
|
2555
|
-
# Contains the parameters for DeleteLaunchConfiguration.
|
2556
|
-
#
|
2557
2482
|
# @note When making an API call, you may pass LaunchConfigurationNameType
|
2558
2483
|
# data as a hash:
|
2559
2484
|
#
|
@@ -2572,8 +2497,6 @@ module Aws::AutoScaling
|
|
2572
2497
|
include Aws::Structure
|
2573
2498
|
end
|
2574
2499
|
|
2575
|
-
# Contains the parameters for DescribeLaunchConfigurations.
|
2576
|
-
#
|
2577
2500
|
# @note When making an API call, you may pass LaunchConfigurationNamesType
|
2578
2501
|
# data as a hash:
|
2579
2502
|
#
|
@@ -2607,8 +2530,6 @@ module Aws::AutoScaling
|
|
2607
2530
|
include Aws::Structure
|
2608
2531
|
end
|
2609
2532
|
|
2610
|
-
# Contains the output of DescribeLaunchConfigurations.
|
2611
|
-
#
|
2612
2533
|
# @!attribute [rw] launch_configurations
|
2613
2534
|
# The launch configurations.
|
2614
2535
|
# @return [Array<Types::LaunchConfiguration>]
|
@@ -2627,21 +2548,15 @@ module Aws::AutoScaling
|
|
2627
2548
|
end
|
2628
2549
|
|
2629
2550
|
# Describes a lifecycle hook, which tells Auto Scaling that you want to
|
2630
|
-
# perform an action
|
2631
|
-
#
|
2632
|
-
#
|
2633
|
-
# * Pause the instance after it launches, but before it is put into
|
2634
|
-
# service
|
2635
|
-
#
|
2636
|
-
# * Pause the instance as it terminates, but before it is fully
|
2637
|
-
# terminated
|
2551
|
+
# perform an action whenever it launches instances or whenever it
|
2552
|
+
# terminates instances.
|
2638
2553
|
#
|
2639
|
-
# For more information, see [Auto Scaling Lifecycle][1] in the
|
2640
|
-
# Scaling User Guide*.
|
2554
|
+
# For more information, see [Auto Scaling Lifecycle Hooks][1] in the
|
2555
|
+
# *Auto Scaling User Guide*.
|
2641
2556
|
#
|
2642
2557
|
#
|
2643
2558
|
#
|
2644
|
-
# [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/
|
2559
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/lifecycle-hooks.html
|
2645
2560
|
#
|
2646
2561
|
# @!attribute [rw] lifecycle_hook_name
|
2647
2562
|
# The name of the lifecycle hook.
|
@@ -2658,24 +2573,9 @@ module Aws::AutoScaling
|
|
2658
2573
|
# @return [String]
|
2659
2574
|
#
|
2660
2575
|
# @!attribute [rw] notification_target_arn
|
2661
|
-
# The ARN of the
|
2662
|
-
#
|
2663
|
-
#
|
2664
|
-
# The notification message sent to the target includes the following:
|
2665
|
-
#
|
2666
|
-
# * Lifecycle action token
|
2667
|
-
#
|
2668
|
-
# * User account ID
|
2669
|
-
#
|
2670
|
-
# * Name of the Auto Scaling group
|
2671
|
-
#
|
2672
|
-
# * Lifecycle hook name
|
2673
|
-
#
|
2674
|
-
# * EC2 instance ID
|
2675
|
-
#
|
2676
|
-
# * Lifecycle transition
|
2677
|
-
#
|
2678
|
-
# * Notification metadata
|
2576
|
+
# The ARN of the target that Auto Scaling sends notifications to when
|
2577
|
+
# an instance is in the transition state for the lifecycle hook. The
|
2578
|
+
# notification target can be either an SQS queue or an SNS topic.
|
2679
2579
|
# @return [String]
|
2680
2580
|
#
|
2681
2581
|
# @!attribute [rw] role_arn
|
@@ -2690,10 +2590,9 @@ module Aws::AutoScaling
|
|
2690
2590
|
#
|
2691
2591
|
# @!attribute [rw] heartbeat_timeout
|
2692
2592
|
# The maximum time, in seconds, that can elapse before the lifecycle
|
2693
|
-
# hook times out.
|
2694
|
-
#
|
2695
|
-
#
|
2696
|
-
# RecordLifecycleActionHeartbeat.
|
2593
|
+
# hook times out. If the lifecycle hook times out, Auto Scaling
|
2594
|
+
# performs the default action. You can prevent the lifecycle hook from
|
2595
|
+
# timing out by calling RecordLifecycleActionHeartbeat.
|
2697
2596
|
# @return [Integer]
|
2698
2597
|
#
|
2699
2598
|
# @!attribute [rw] global_timeout
|
@@ -2725,6 +2624,83 @@ module Aws::AutoScaling
|
|
2725
2624
|
include Aws::Structure
|
2726
2625
|
end
|
2727
2626
|
|
2627
|
+
# Describes a lifecycle hook, which tells Auto Scaling that you want to
|
2628
|
+
# perform an action whenever it launches instances or whenever it
|
2629
|
+
# terminates instances.
|
2630
|
+
#
|
2631
|
+
# For more information, see [Auto Scaling Lifecycle Hooks][1] in the
|
2632
|
+
# *Auto Scaling User Guide*.
|
2633
|
+
#
|
2634
|
+
#
|
2635
|
+
#
|
2636
|
+
# [1]: http://docs.aws.amazon.com/autoscaling/latest/userguide/lifecycle-hooks.html
|
2637
|
+
#
|
2638
|
+
# @note When making an API call, you may pass LifecycleHookSpecification
|
2639
|
+
# data as a hash:
|
2640
|
+
#
|
2641
|
+
# {
|
2642
|
+
# lifecycle_hook_name: "AsciiStringMaxLen255", # required
|
2643
|
+
# lifecycle_transition: "LifecycleTransition",
|
2644
|
+
# notification_metadata: "XmlStringMaxLen1023",
|
2645
|
+
# heartbeat_timeout: 1,
|
2646
|
+
# default_result: "LifecycleActionResult",
|
2647
|
+
# notification_target_arn: "NotificationTargetResourceName",
|
2648
|
+
# role_arn: "ResourceName",
|
2649
|
+
# }
|
2650
|
+
#
|
2651
|
+
# @!attribute [rw] lifecycle_hook_name
|
2652
|
+
# The name of the lifecycle hook.
|
2653
|
+
# @return [String]
|
2654
|
+
#
|
2655
|
+
# @!attribute [rw] lifecycle_transition
|
2656
|
+
# The state of the EC2 instance to which you want to attach the
|
2657
|
+
# lifecycle hook. For a list of lifecycle hook types, see
|
2658
|
+
# DescribeLifecycleHookTypes.
|
2659
|
+
# @return [String]
|
2660
|
+
#
|
2661
|
+
# @!attribute [rw] notification_metadata
|
2662
|
+
# Additional information that you want to include any time Auto
|
2663
|
+
# Scaling sends a message to the notification target.
|
2664
|
+
# @return [String]
|
2665
|
+
#
|
2666
|
+
# @!attribute [rw] heartbeat_timeout
|
2667
|
+
# The maximum time, in seconds, that can elapse before the lifecycle
|
2668
|
+
# hook times out. If the lifecycle hook times out, Auto Scaling
|
2669
|
+
# performs the default action. You can prevent the lifecycle hook from
|
2670
|
+
# timing out by calling RecordLifecycleActionHeartbeat.
|
2671
|
+
# @return [Integer]
|
2672
|
+
#
|
2673
|
+
# @!attribute [rw] default_result
|
2674
|
+
# Defines the action the Auto Scaling group should take when the
|
2675
|
+
# lifecycle hook timeout elapses or if an unexpected failure occurs.
|
2676
|
+
# The valid values are `CONTINUE` and `ABANDON`. The default value is
|
2677
|
+
# `CONTINUE`.
|
2678
|
+
# @return [String]
|
2679
|
+
#
|
2680
|
+
# @!attribute [rw] notification_target_arn
|
2681
|
+
# The ARN of the target that Auto Scaling sends notifications to when
|
2682
|
+
# an instance is in the transition state for the lifecycle hook. The
|
2683
|
+
# notification target can be either an SQS queue or an SNS topic.
|
2684
|
+
# @return [String]
|
2685
|
+
#
|
2686
|
+
# @!attribute [rw] role_arn
|
2687
|
+
# The ARN of the IAM role that allows the Auto Scaling group to
|
2688
|
+
# publish to the specified notification target.
|
2689
|
+
# @return [String]
|
2690
|
+
#
|
2691
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LifecycleHookSpecification AWS API Documentation
|
2692
|
+
#
|
2693
|
+
class LifecycleHookSpecification < Struct.new(
|
2694
|
+
:lifecycle_hook_name,
|
2695
|
+
:lifecycle_transition,
|
2696
|
+
:notification_metadata,
|
2697
|
+
:heartbeat_timeout,
|
2698
|
+
:default_result,
|
2699
|
+
:notification_target_arn,
|
2700
|
+
:role_arn)
|
2701
|
+
include Aws::Structure
|
2702
|
+
end
|
2703
|
+
|
2728
2704
|
# Describes the state of a Classic Load Balancer.
|
2729
2705
|
#
|
2730
2706
|
# If you specify a load balancer when creating the Auto Scaling group,
|
@@ -2916,8 +2892,6 @@ module Aws::AutoScaling
|
|
2916
2892
|
include Aws::Structure
|
2917
2893
|
end
|
2918
2894
|
|
2919
|
-
# Contains the output of DescribePolicies.
|
2920
|
-
#
|
2921
2895
|
# @!attribute [rw] scaling_policies
|
2922
2896
|
# The scaling policies.
|
2923
2897
|
# @return [Array<Types::ScalingPolicy>]
|
@@ -2942,9 +2916,7 @@ module Aws::AutoScaling
|
|
2942
2916
|
# @return [String]
|
2943
2917
|
#
|
2944
2918
|
# @!attribute [rw] alarms
|
2945
|
-
# The CloudWatch alarms created for the target tracking policy.
|
2946
|
-
# parameter will be empty if the policy type is anything other than
|
2947
|
-
# `TargetTrackingScaling`.
|
2919
|
+
# The CloudWatch alarms created for the target tracking policy.
|
2948
2920
|
# @return [Array<Types::Alarm>]
|
2949
2921
|
#
|
2950
2922
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PolicyARNType AWS API Documentation
|
@@ -2955,20 +2927,7 @@ module Aws::AutoScaling
|
|
2955
2927
|
include Aws::Structure
|
2956
2928
|
end
|
2957
2929
|
|
2958
|
-
# Configures a predefined metric for a target tracking policy.
|
2959
|
-
# following predefined metrics are available:
|
2960
|
-
#
|
2961
|
-
# * `ASGAverageCPUUtilization` - average CPU utilization of the Auto
|
2962
|
-
# Scaling group
|
2963
|
-
#
|
2964
|
-
# * `ASGAverageNetworkIn` - average number of bytes received on all
|
2965
|
-
# network interfaces by the Auto Scaling group
|
2966
|
-
#
|
2967
|
-
# * `ASGAverageNetworkOut` - average number of bytes sent out on all
|
2968
|
-
# network interfaces by the Auto Scaling group
|
2969
|
-
#
|
2970
|
-
# * `ALBRequestCountPerTarget` - number of requests completed per target
|
2971
|
-
# in an Application Load Balancer target group
|
2930
|
+
# Configures a predefined metric for a target tracking policy.
|
2972
2931
|
#
|
2973
2932
|
# @note When making an API call, you may pass PredefinedMetricSpecification
|
2974
2933
|
# data as a hash:
|
@@ -2983,13 +2942,27 @@ module Aws::AutoScaling
|
|
2983
2942
|
# @return [String]
|
2984
2943
|
#
|
2985
2944
|
# @!attribute [rw] resource_label
|
2986
|
-
# Identifies the resource associated with the metric type.
|
2987
|
-
# predefined
|
2945
|
+
# Identifies the resource associated with the metric type. The
|
2946
|
+
# following predefined metrics are available:
|
2947
|
+
#
|
2948
|
+
# * `ASGAverageCPUUtilization` - average CPU utilization of the Auto
|
2949
|
+
# Scaling group
|
2950
|
+
#
|
2951
|
+
# * `ASGAverageNetworkIn` - average number of bytes received on all
|
2952
|
+
# network interfaces by the Auto Scaling group
|
2953
|
+
#
|
2954
|
+
# * `ASGAverageNetworkOut` - average number of bytes sent out on all
|
2955
|
+
# network interfaces by the Auto Scaling group
|
2956
|
+
#
|
2957
|
+
# * `ALBRequestCountPerTarget` - number of requests completed per
|
2958
|
+
# target in an Application Load Balancer target group
|
2959
|
+
#
|
2960
|
+
# For predefined metric types `ASGAverageCPUUtilization`,
|
2988
2961
|
# `ASGAverageNetworkIn` and `ASGAverageNetworkOut`, the parameter must
|
2989
2962
|
# not be specified as the resource associated with the metric type is
|
2990
2963
|
# the Auto Scaling group. For predefined metric type
|
2991
2964
|
# `ALBRequestCountPerTarget`, the parameter must be specified in the
|
2992
|
-
# format
|
2965
|
+
# format:
|
2993
2966
|
# `app/load-balancer-name/load-balancer-id/targetgroup/target-group-name/target-group-id
|
2994
2967
|
# `, where `app/load-balancer-name/load-balancer-id ` is the final
|
2995
2968
|
# portion of the load balancer ARN, and
|
@@ -3042,8 +3015,6 @@ module Aws::AutoScaling
|
|
3042
3015
|
include Aws::Structure
|
3043
3016
|
end
|
3044
3017
|
|
3045
|
-
# Contains the output of DescribeScalingProcessTypes.
|
3046
|
-
#
|
3047
3018
|
# @!attribute [rw] processes
|
3048
3019
|
# The names of the process types.
|
3049
3020
|
# @return [Array<Types::ProcessType>]
|
@@ -3055,14 +3026,10 @@ module Aws::AutoScaling
|
|
3055
3026
|
include Aws::Structure
|
3056
3027
|
end
|
3057
3028
|
|
3058
|
-
# Contains the output of PutLifecycleHook.
|
3059
|
-
#
|
3060
3029
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/PutLifecycleHookAnswer AWS API Documentation
|
3061
3030
|
#
|
3062
3031
|
class PutLifecycleHookAnswer < Aws::EmptyStructure; end
|
3063
3032
|
|
3064
|
-
# Contains the parameters for PutLifecycleHook.
|
3065
|
-
#
|
3066
3033
|
# @note When making an API call, you may pass PutLifecycleHookType
|
3067
3034
|
# data as a hash:
|
3068
3035
|
#
|
@@ -3124,11 +3091,13 @@ module Aws::AutoScaling
|
|
3124
3091
|
# @return [String]
|
3125
3092
|
#
|
3126
3093
|
# @!attribute [rw] heartbeat_timeout
|
3127
|
-
# The
|
3128
|
-
# hook times out.
|
3129
|
-
# performs the default action. You can prevent the lifecycle hook from
|
3130
|
-
# timing out by calling RecordLifecycleActionHeartbeat. The default is
|
3094
|
+
# The maximum time, in seconds, that can elapse before the lifecycle
|
3095
|
+
# hook times out. The range is from 30 to 7200 seconds. The default is
|
3131
3096
|
# 3600 seconds (1 hour).
|
3097
|
+
#
|
3098
|
+
# If the lifecycle hook times out, Auto Scaling performs the default
|
3099
|
+
# action. You can prevent the lifecycle hook from timing out by
|
3100
|
+
# calling RecordLifecycleActionHeartbeat.
|
3132
3101
|
# @return [Integer]
|
3133
3102
|
#
|
3134
3103
|
# @!attribute [rw] default_result
|
@@ -3152,8 +3121,6 @@ module Aws::AutoScaling
|
|
3152
3121
|
include Aws::Structure
|
3153
3122
|
end
|
3154
3123
|
|
3155
|
-
# Contains the parameters for PutNotificationConfiguration.
|
3156
|
-
#
|
3157
3124
|
# @note When making an API call, you may pass PutNotificationConfigurationType
|
3158
3125
|
# data as a hash:
|
3159
3126
|
#
|
@@ -3187,8 +3154,6 @@ module Aws::AutoScaling
|
|
3187
3154
|
include Aws::Structure
|
3188
3155
|
end
|
3189
3156
|
|
3190
|
-
# Contains the parameters for PutScalingPolicy.
|
3191
|
-
#
|
3192
3157
|
# @note When making an API call, you may pass PutScalingPolicyType
|
3193
3158
|
# data as a hash:
|
3194
3159
|
#
|
@@ -3326,7 +3291,7 @@ module Aws::AutoScaling
|
|
3326
3291
|
# @return [Integer]
|
3327
3292
|
#
|
3328
3293
|
# @!attribute [rw] target_tracking_configuration
|
3329
|
-
#
|
3294
|
+
# A target tracking policy.
|
3330
3295
|
#
|
3331
3296
|
# This parameter is required if the policy type is
|
3332
3297
|
# `TargetTrackingScaling` and not supported otherwise.
|
@@ -3350,8 +3315,6 @@ module Aws::AutoScaling
|
|
3350
3315
|
include Aws::Structure
|
3351
3316
|
end
|
3352
3317
|
|
3353
|
-
# Contains the parameters for PutScheduledUpdateGroupAction.
|
3354
|
-
#
|
3355
3318
|
# @note When making an API call, you may pass PutScheduledUpdateGroupActionType
|
3356
3319
|
# data as a hash:
|
3357
3320
|
#
|
@@ -3432,14 +3395,10 @@ module Aws::AutoScaling
|
|
3432
3395
|
include Aws::Structure
|
3433
3396
|
end
|
3434
3397
|
|
3435
|
-
# Contains the output of RecordLifecycleActionHeartBeat.
|
3436
|
-
#
|
3437
3398
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/RecordLifecycleActionHeartbeatAnswer AWS API Documentation
|
3438
3399
|
#
|
3439
3400
|
class RecordLifecycleActionHeartbeatAnswer < Aws::EmptyStructure; end
|
3440
3401
|
|
3441
|
-
# Contains the parameters for RecordLifecycleActionHeartbeat.
|
3442
|
-
#
|
3443
3402
|
# @note When making an API call, you may pass RecordLifecycleActionHeartbeatType
|
3444
3403
|
# data as a hash:
|
3445
3404
|
#
|
@@ -3524,7 +3483,7 @@ module Aws::AutoScaling
|
|
3524
3483
|
#
|
3525
3484
|
# @!attribute [rw] cooldown
|
3526
3485
|
# The amount of time, in seconds, after a scaling activity completes
|
3527
|
-
# before any further
|
3486
|
+
# before any further dynamic scaling activities can start.
|
3528
3487
|
# @return [Integer]
|
3529
3488
|
#
|
3530
3489
|
# @!attribute [rw] step_adjustments
|
@@ -3570,8 +3529,6 @@ module Aws::AutoScaling
|
|
3570
3529
|
include Aws::Structure
|
3571
3530
|
end
|
3572
3531
|
|
3573
|
-
# Contains the parameters for SuspendProcesses and ResumeProcesses.
|
3574
|
-
#
|
3575
3532
|
# @note When making an API call, you may pass ScalingProcessQuery
|
3576
3533
|
# data as a hash:
|
3577
3534
|
#
|
@@ -3613,8 +3570,6 @@ module Aws::AutoScaling
|
|
3613
3570
|
include Aws::Structure
|
3614
3571
|
end
|
3615
3572
|
|
3616
|
-
# Contains the output of DescribeScheduledActions.
|
3617
|
-
#
|
3618
3573
|
# @!attribute [rw] scheduled_update_group_actions
|
3619
3574
|
# The scheduled actions.
|
3620
3575
|
# @return [Array<Types::ScheduledUpdateGroupAction>]
|
@@ -3696,8 +3651,6 @@ module Aws::AutoScaling
|
|
3696
3651
|
include Aws::Structure
|
3697
3652
|
end
|
3698
3653
|
|
3699
|
-
# Contains the parameters for SetDesiredCapacity.
|
3700
|
-
#
|
3701
3654
|
# @note When making an API call, you may pass SetDesiredCapacityType
|
3702
3655
|
# data as a hash:
|
3703
3656
|
#
|
@@ -3733,8 +3686,6 @@ module Aws::AutoScaling
|
|
3733
3686
|
include Aws::Structure
|
3734
3687
|
end
|
3735
3688
|
|
3736
|
-
# Contains the parameters for SetInstanceHealth.
|
3737
|
-
#
|
3738
3689
|
# @note When making an API call, you may pass SetInstanceHealthQuery
|
3739
3690
|
# data as a hash:
|
3740
3691
|
#
|
@@ -3775,14 +3726,10 @@ module Aws::AutoScaling
|
|
3775
3726
|
include Aws::Structure
|
3776
3727
|
end
|
3777
3728
|
|
3778
|
-
# Contains the output of SetInstanceProtection.
|
3779
|
-
#
|
3780
3729
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/SetInstanceProtectionAnswer AWS API Documentation
|
3781
3730
|
#
|
3782
3731
|
class SetInstanceProtectionAnswer < Aws::EmptyStructure; end
|
3783
3732
|
|
3784
|
-
# Contains the parameters for SetInstanceProtection.
|
3785
|
-
#
|
3786
3733
|
# @note When making an API call, you may pass SetInstanceProtectionQuery
|
3787
3734
|
# data as a hash:
|
3788
3735
|
#
|
@@ -3988,8 +3935,6 @@ module Aws::AutoScaling
|
|
3988
3935
|
include Aws::Structure
|
3989
3936
|
end
|
3990
3937
|
|
3991
|
-
# Contains the output of DescribeTags.
|
3992
|
-
#
|
3993
3938
|
# @!attribute [rw] tags
|
3994
3939
|
# One or more tags.
|
3995
3940
|
# @return [Array<Types::TagDescription>]
|
@@ -4047,9 +3992,12 @@ module Aws::AutoScaling
|
|
4047
3992
|
# @return [Float]
|
4048
3993
|
#
|
4049
3994
|
# @!attribute [rw] disable_scale_in
|
4050
|
-
#
|
4051
|
-
#
|
4052
|
-
#
|
3995
|
+
# Indicates whether scale in by the target tracking policy is
|
3996
|
+
# disabled. If the value is `true`, scale in is disabled and the
|
3997
|
+
# target tracking policy won't remove instances from the Auto Scaling
|
3998
|
+
# group. Otherwise, scale in is enabled and the target tracking policy
|
3999
|
+
# can remove instances from the Auto Scaling group. The default value
|
4000
|
+
# is `false`.
|
4053
4001
|
# @return [Boolean]
|
4054
4002
|
#
|
4055
4003
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/TargetTrackingConfiguration AWS API Documentation
|
@@ -4062,8 +4010,6 @@ module Aws::AutoScaling
|
|
4062
4010
|
include Aws::Structure
|
4063
4011
|
end
|
4064
4012
|
|
4065
|
-
# Contains the parameters for TerminateInstanceInAutoScalingGroup.
|
4066
|
-
#
|
4067
4013
|
# @note When making an API call, you may pass TerminateInstanceInAutoScalingGroupType
|
4068
4014
|
# data as a hash:
|
4069
4015
|
#
|
@@ -4089,8 +4035,6 @@ module Aws::AutoScaling
|
|
4089
4035
|
include Aws::Structure
|
4090
4036
|
end
|
4091
4037
|
|
4092
|
-
# Contains the parameters for UpdateAutoScalingGroup.
|
4093
|
-
#
|
4094
4038
|
# @note When making an API call, you may pass UpdateAutoScalingGroupType
|
4095
4039
|
# data as a hash:
|
4096
4040
|
#
|