aws-sdk-autoscaling 1.43.0 → 1.44.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 +3 -3
- data/lib/aws-sdk-autoscaling/client.rb +30 -6
- data/lib/aws-sdk-autoscaling/client_api.rb +11 -0
- data/lib/aws-sdk-autoscaling/launch_configuration.rb +12 -0
- data/lib/aws-sdk-autoscaling/resource.rb +15 -2
- data/lib/aws-sdk-autoscaling/scaling_policy.rb +1 -1
- data/lib/aws-sdk-autoscaling/types.rb +113 -10
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9338aef7407ed1a6a177b908711fdb67c437ebb2f6665583ba9ad4e1b47b77b
|
4
|
+
data.tar.gz: 822b50f1ae3f3c8a26e10516402a1d415c48c45acee361af5ec7169bea64d2f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d8d5844e9c901ddacc8a8fdef0d4d38c7db11e387e381c13b22b1a58dc6ca428fee5e46d49a56cd50bc1b3d87632627ba32be52d0681aa4441c73ccce73f52b
|
7
|
+
data.tar.gz: 7a10202d63836e53c5aea8474401f123bfe717bbc8bfa45161957fc0f8f6a94f2f1048d209c9f17f09d51ae3513528c675191b047cd786dc449cc39a5ae932f6
|
data/lib/aws-sdk-autoscaling.rb
CHANGED
@@ -592,7 +592,7 @@ module Aws::AutoScaling
|
|
592
592
|
#
|
593
593
|
# * `SimpleScaling` (default)
|
594
594
|
# @option options [String] :adjustment_type
|
595
|
-
# Specifies how the scaling adjustment is interpreted (
|
595
|
+
# Specifies how the scaling adjustment is interpreted (for example, an
|
596
596
|
# absolute number or a percentage). The valid values are
|
597
597
|
# `ChangeInCapacity`, `ExactCapacity`, and `PercentChangeInCapacity`.
|
598
598
|
#
|
@@ -956,8 +956,8 @@ module Aws::AutoScaling
|
|
956
956
|
# <note markdown="1"> With a mixed instances policy that uses instance weighting, Amazon EC2
|
957
957
|
# Auto Scaling may need to go above `MaxSize` to meet your capacity
|
958
958
|
# requirements. In this event, Amazon EC2 Auto Scaling will never go
|
959
|
-
# above `MaxSize` by more than your
|
960
|
-
# that define how many
|
959
|
+
# above `MaxSize` by more than your largest instance weight (weights
|
960
|
+
# that define how many units each instance contributes to the desired
|
961
961
|
# capacity of the group).
|
962
962
|
#
|
963
963
|
# </note>
|
@@ -712,6 +712,13 @@ module Aws::AutoScaling
|
|
712
712
|
# Scaling User Guide*. For more information, see [Auto Scaling
|
713
713
|
# Groups][4] in the *Amazon EC2 Auto Scaling User Guide*.
|
714
714
|
#
|
715
|
+
# Every Auto Scaling group has three size parameters (`DesiredCapacity`,
|
716
|
+
# `MaxSize`, and `MinSize`). Usually, you set these sizes based on a
|
717
|
+
# specific number of instances. However, if you configure a mixed
|
718
|
+
# instances policy that defines weights for the instance types, you must
|
719
|
+
# specify these sizes with the same units that you use for weighting
|
720
|
+
# instances.
|
721
|
+
#
|
715
722
|
#
|
716
723
|
#
|
717
724
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-account-limits.html
|
@@ -804,8 +811,8 @@ module Aws::AutoScaling
|
|
804
811
|
# <note markdown="1"> With a mixed instances policy that uses instance weighting, Amazon EC2
|
805
812
|
# Auto Scaling may need to go above `MaxSize` to meet your capacity
|
806
813
|
# requirements. In this event, Amazon EC2 Auto Scaling will never go
|
807
|
-
# above `MaxSize` by more than your
|
808
|
-
# that define how many
|
814
|
+
# above `MaxSize` by more than your largest instance weight (weights
|
815
|
+
# that define how many units each instance contributes to the desired
|
809
816
|
# capacity of the group).
|
810
817
|
#
|
811
818
|
# </note>
|
@@ -1374,6 +1381,15 @@ module Aws::AutoScaling
|
|
1374
1381
|
#
|
1375
1382
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html#as-vpc-tenancy
|
1376
1383
|
#
|
1384
|
+
# @option params [Types::InstanceMetadataOptions] :metadata_options
|
1385
|
+
# The metadata options for the instances. For more information, see
|
1386
|
+
# [Instance Metadata and User Data][1] in the *Amazon EC2 User Guide for
|
1387
|
+
# Linux Instances*.
|
1388
|
+
#
|
1389
|
+
#
|
1390
|
+
#
|
1391
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
|
1392
|
+
#
|
1377
1393
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1378
1394
|
#
|
1379
1395
|
#
|
@@ -1428,6 +1444,11 @@ module Aws::AutoScaling
|
|
1428
1444
|
# ebs_optimized: false,
|
1429
1445
|
# associate_public_ip_address: false,
|
1430
1446
|
# placement_tenancy: "XmlStringMaxLen64",
|
1447
|
+
# metadata_options: {
|
1448
|
+
# http_tokens: "optional", # accepts optional, required
|
1449
|
+
# http_put_response_hop_limit: 1,
|
1450
|
+
# http_endpoint: "disabled", # accepts disabled, enabled
|
1451
|
+
# },
|
1431
1452
|
# })
|
1432
1453
|
#
|
1433
1454
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateLaunchConfiguration AWS API Documentation
|
@@ -2411,6 +2432,9 @@ module Aws::AutoScaling
|
|
2411
2432
|
# resp.launch_configurations[0].ebs_optimized #=> Boolean
|
2412
2433
|
# resp.launch_configurations[0].associate_public_ip_address #=> Boolean
|
2413
2434
|
# resp.launch_configurations[0].placement_tenancy #=> String
|
2435
|
+
# resp.launch_configurations[0].metadata_options.http_tokens #=> String, one of "optional", "required"
|
2436
|
+
# resp.launch_configurations[0].metadata_options.http_put_response_hop_limit #=> Integer
|
2437
|
+
# resp.launch_configurations[0].metadata_options.http_endpoint #=> String, one of "disabled", "enabled"
|
2414
2438
|
# resp.next_token #=> String
|
2415
2439
|
#
|
2416
2440
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/DescribeLaunchConfigurations AWS API Documentation
|
@@ -4119,7 +4143,7 @@ module Aws::AutoScaling
|
|
4119
4143
|
# * `SimpleScaling` (default)
|
4120
4144
|
#
|
4121
4145
|
# @option params [String] :adjustment_type
|
4122
|
-
# Specifies how the scaling adjustment is interpreted (
|
4146
|
+
# Specifies how the scaling adjustment is interpreted (for example, an
|
4123
4147
|
# absolute number or a percentage). The valid values are
|
4124
4148
|
# `ChangeInCapacity`, `ExactCapacity`, and `PercentChangeInCapacity`.
|
4125
4149
|
#
|
@@ -5097,8 +5121,8 @@ module Aws::AutoScaling
|
|
5097
5121
|
# <note markdown="1"> With a mixed instances policy that uses instance weighting, Amazon EC2
|
5098
5122
|
# Auto Scaling may need to go above `MaxSize` to meet your capacity
|
5099
5123
|
# requirements. In this event, Amazon EC2 Auto Scaling will never go
|
5100
|
-
# above `MaxSize` by more than your
|
5101
|
-
# that define how many
|
5124
|
+
# above `MaxSize` by more than your largest instance weight (weights
|
5125
|
+
# that define how many units each instance contributes to the desired
|
5102
5126
|
# capacity of the group).
|
5103
5127
|
#
|
5104
5128
|
# </note>
|
@@ -5319,7 +5343,7 @@ module Aws::AutoScaling
|
|
5319
5343
|
params: params,
|
5320
5344
|
config: config)
|
5321
5345
|
context[:gem_name] = 'aws-sdk-autoscaling'
|
5322
|
-
context[:gem_version] = '1.
|
5346
|
+
context[:gem_version] = '1.44.0'
|
5323
5347
|
Seahorse::Client::Request.new(handlers, context)
|
5324
5348
|
end
|
5325
5349
|
|
@@ -123,6 +123,10 @@ module Aws::AutoScaling
|
|
123
123
|
HonorCooldown = Shapes::BooleanShape.new(name: 'HonorCooldown')
|
124
124
|
Instance = Shapes::StructureShape.new(name: 'Instance')
|
125
125
|
InstanceIds = Shapes::ListShape.new(name: 'InstanceIds')
|
126
|
+
InstanceMetadataEndpointState = Shapes::StringShape.new(name: 'InstanceMetadataEndpointState')
|
127
|
+
InstanceMetadataHttpPutResponseHopLimit = Shapes::IntegerShape.new(name: 'InstanceMetadataHttpPutResponseHopLimit')
|
128
|
+
InstanceMetadataHttpTokensState = Shapes::StringShape.new(name: 'InstanceMetadataHttpTokensState')
|
129
|
+
InstanceMetadataOptions = Shapes::StructureShape.new(name: 'InstanceMetadataOptions')
|
126
130
|
InstanceMonitoring = Shapes::StructureShape.new(name: 'InstanceMonitoring')
|
127
131
|
InstanceProtected = Shapes::BooleanShape.new(name: 'InstanceProtected')
|
128
132
|
InstanceRefresh = Shapes::StructureShape.new(name: 'InstanceRefresh')
|
@@ -472,6 +476,7 @@ module Aws::AutoScaling
|
|
472
476
|
CreateLaunchConfigurationType.add_member(:ebs_optimized, Shapes::ShapeRef.new(shape: EbsOptimized, location_name: "EbsOptimized"))
|
473
477
|
CreateLaunchConfigurationType.add_member(:associate_public_ip_address, Shapes::ShapeRef.new(shape: AssociatePublicIpAddress, location_name: "AssociatePublicIpAddress"))
|
474
478
|
CreateLaunchConfigurationType.add_member(:placement_tenancy, Shapes::ShapeRef.new(shape: XmlStringMaxLen64, location_name: "PlacementTenancy"))
|
479
|
+
CreateLaunchConfigurationType.add_member(:metadata_options, Shapes::ShapeRef.new(shape: InstanceMetadataOptions, location_name: "MetadataOptions"))
|
475
480
|
CreateLaunchConfigurationType.struct_class = Types::CreateLaunchConfigurationType
|
476
481
|
|
477
482
|
CreateOrUpdateTagsType.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "Tags"))
|
@@ -697,6 +702,11 @@ module Aws::AutoScaling
|
|
697
702
|
|
698
703
|
InstanceIds.member = Shapes::ShapeRef.new(shape: XmlStringMaxLen19)
|
699
704
|
|
705
|
+
InstanceMetadataOptions.add_member(:http_tokens, Shapes::ShapeRef.new(shape: InstanceMetadataHttpTokensState, location_name: "HttpTokens"))
|
706
|
+
InstanceMetadataOptions.add_member(:http_put_response_hop_limit, Shapes::ShapeRef.new(shape: InstanceMetadataHttpPutResponseHopLimit, location_name: "HttpPutResponseHopLimit"))
|
707
|
+
InstanceMetadataOptions.add_member(:http_endpoint, Shapes::ShapeRef.new(shape: InstanceMetadataEndpointState, location_name: "HttpEndpoint"))
|
708
|
+
InstanceMetadataOptions.struct_class = Types::InstanceMetadataOptions
|
709
|
+
|
700
710
|
InstanceMonitoring.add_member(:enabled, Shapes::ShapeRef.new(shape: MonitoringEnabled, location_name: "Enabled"))
|
701
711
|
InstanceMonitoring.struct_class = Types::InstanceMonitoring
|
702
712
|
|
@@ -749,6 +759,7 @@ module Aws::AutoScaling
|
|
749
759
|
LaunchConfiguration.add_member(:ebs_optimized, Shapes::ShapeRef.new(shape: EbsOptimized, location_name: "EbsOptimized"))
|
750
760
|
LaunchConfiguration.add_member(:associate_public_ip_address, Shapes::ShapeRef.new(shape: AssociatePublicIpAddress, location_name: "AssociatePublicIpAddress"))
|
751
761
|
LaunchConfiguration.add_member(:placement_tenancy, Shapes::ShapeRef.new(shape: XmlStringMaxLen64, location_name: "PlacementTenancy"))
|
762
|
+
LaunchConfiguration.add_member(:metadata_options, Shapes::ShapeRef.new(shape: InstanceMetadataOptions, location_name: "MetadataOptions"))
|
752
763
|
LaunchConfiguration.struct_class = Types::LaunchConfiguration
|
753
764
|
|
754
765
|
LaunchConfigurationNameType.add_member(:launch_configuration_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "LaunchConfigurationName"))
|
@@ -260,6 +260,18 @@ module Aws::AutoScaling
|
|
260
260
|
data[:placement_tenancy]
|
261
261
|
end
|
262
262
|
|
263
|
+
# The metadata options for the instances. For more information, see
|
264
|
+
# [Instance Metadata and User Data][1] in the *Amazon EC2 User Guide for
|
265
|
+
# Linux Instances*.
|
266
|
+
#
|
267
|
+
#
|
268
|
+
#
|
269
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
|
270
|
+
# @return [Types::InstanceMetadataOptions]
|
271
|
+
def metadata_options
|
272
|
+
data[:metadata_options]
|
273
|
+
end
|
274
|
+
|
263
275
|
# @!endgroup
|
264
276
|
|
265
277
|
# @return [Client]
|
@@ -185,8 +185,8 @@ module Aws::AutoScaling
|
|
185
185
|
# <note markdown="1"> With a mixed instances policy that uses instance weighting, Amazon EC2
|
186
186
|
# Auto Scaling may need to go above `MaxSize` to meet your capacity
|
187
187
|
# requirements. In this event, Amazon EC2 Auto Scaling will never go
|
188
|
-
# above `MaxSize` by more than your
|
189
|
-
# that define how many
|
188
|
+
# above `MaxSize` by more than your largest instance weight (weights
|
189
|
+
# that define how many units each instance contributes to the desired
|
190
190
|
# capacity of the group).
|
191
191
|
#
|
192
192
|
# </note>
|
@@ -403,6 +403,11 @@ module Aws::AutoScaling
|
|
403
403
|
# ebs_optimized: false,
|
404
404
|
# associate_public_ip_address: false,
|
405
405
|
# placement_tenancy: "XmlStringMaxLen64",
|
406
|
+
# metadata_options: {
|
407
|
+
# http_tokens: "optional", # accepts optional, required
|
408
|
+
# http_put_response_hop_limit: 1,
|
409
|
+
# http_endpoint: "disabled", # accepts disabled, enabled
|
410
|
+
# },
|
406
411
|
# })
|
407
412
|
# @param [Hash] options ({})
|
408
413
|
# @option options [required, String] :launch_configuration_name
|
@@ -619,6 +624,14 @@ module Aws::AutoScaling
|
|
619
624
|
#
|
620
625
|
#
|
621
626
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html#as-vpc-tenancy
|
627
|
+
# @option options [Types::InstanceMetadataOptions] :metadata_options
|
628
|
+
# The metadata options for the instances. For more information, see
|
629
|
+
# [Instance Metadata and User Data][1] in the *Amazon EC2 User Guide for
|
630
|
+
# Linux Instances*.
|
631
|
+
#
|
632
|
+
#
|
633
|
+
#
|
634
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
|
622
635
|
# @return [LaunchConfiguration]
|
623
636
|
def create_launch_configuration(options = {})
|
624
637
|
@client.create_launch_configuration(options)
|
@@ -68,7 +68,7 @@ module Aws::AutoScaling
|
|
68
68
|
data[:policy_type]
|
69
69
|
end
|
70
70
|
|
71
|
-
# Specifies how the scaling adjustment is interpreted (
|
71
|
+
# Specifies how the scaling adjustment is interpreted (for example, an
|
72
72
|
# absolute number or a percentage). The valid values are
|
73
73
|
# `ChangeInCapacity`, `ExactCapacity`, and `PercentChangeInCapacity`.
|
74
74
|
# @return [String]
|
@@ -950,9 +950,9 @@ module Aws::AutoScaling
|
|
950
950
|
# <note markdown="1"> With a mixed instances policy that uses instance weighting, Amazon
|
951
951
|
# EC2 Auto Scaling may need to go above `MaxSize` to meet your
|
952
952
|
# capacity requirements. In this event, Amazon EC2 Auto Scaling will
|
953
|
-
# never go above `MaxSize` by more than your
|
954
|
-
# (weights that define how many
|
955
|
-
#
|
953
|
+
# never go above `MaxSize` by more than your largest instance weight
|
954
|
+
# (weights that define how many units each instance contributes to the
|
955
|
+
# desired capacity of the group).
|
956
956
|
#
|
957
957
|
# </note>
|
958
958
|
# @return [Integer]
|
@@ -1223,6 +1223,11 @@ module Aws::AutoScaling
|
|
1223
1223
|
# ebs_optimized: false,
|
1224
1224
|
# associate_public_ip_address: false,
|
1225
1225
|
# placement_tenancy: "XmlStringMaxLen64",
|
1226
|
+
# metadata_options: {
|
1227
|
+
# http_tokens: "optional", # accepts optional, required
|
1228
|
+
# http_put_response_hop_limit: 1,
|
1229
|
+
# http_endpoint: "disabled", # accepts disabled, enabled
|
1230
|
+
# },
|
1226
1231
|
# }
|
1227
1232
|
#
|
1228
1233
|
# @!attribute [rw] launch_configuration_name
|
@@ -1478,6 +1483,16 @@ module Aws::AutoScaling
|
|
1478
1483
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html#as-vpc-tenancy
|
1479
1484
|
# @return [String]
|
1480
1485
|
#
|
1486
|
+
# @!attribute [rw] metadata_options
|
1487
|
+
# The metadata options for the instances. For more information, see
|
1488
|
+
# [Instance Metadata and User Data][1] in the *Amazon EC2 User Guide
|
1489
|
+
# for Linux Instances*.
|
1490
|
+
#
|
1491
|
+
#
|
1492
|
+
#
|
1493
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
|
1494
|
+
# @return [Types::InstanceMetadataOptions]
|
1495
|
+
#
|
1481
1496
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateLaunchConfigurationType AWS API Documentation
|
1482
1497
|
#
|
1483
1498
|
class CreateLaunchConfigurationType < Struct.new(
|
@@ -1498,7 +1513,8 @@ module Aws::AutoScaling
|
|
1498
1513
|
:iam_instance_profile,
|
1499
1514
|
:ebs_optimized,
|
1500
1515
|
:associate_public_ip_address,
|
1501
|
-
:placement_tenancy
|
1516
|
+
:placement_tenancy,
|
1517
|
+
:metadata_options)
|
1502
1518
|
SENSITIVE = []
|
1503
1519
|
include Aws::Structure
|
1504
1520
|
end
|
@@ -3002,6 +3018,72 @@ module Aws::AutoScaling
|
|
3002
3018
|
include Aws::Structure
|
3003
3019
|
end
|
3004
3020
|
|
3021
|
+
# The metadata options for the instances. For more information, see
|
3022
|
+
# [Instance Metadata and User Data][1] in the *Amazon EC2 User Guide for
|
3023
|
+
# Linux Instances*.
|
3024
|
+
#
|
3025
|
+
#
|
3026
|
+
#
|
3027
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
|
3028
|
+
#
|
3029
|
+
# @note When making an API call, you may pass InstanceMetadataOptions
|
3030
|
+
# data as a hash:
|
3031
|
+
#
|
3032
|
+
# {
|
3033
|
+
# http_tokens: "optional", # accepts optional, required
|
3034
|
+
# http_put_response_hop_limit: 1,
|
3035
|
+
# http_endpoint: "disabled", # accepts disabled, enabled
|
3036
|
+
# }
|
3037
|
+
#
|
3038
|
+
# @!attribute [rw] http_tokens
|
3039
|
+
# The state of token usage for your instance metadata requests. If the
|
3040
|
+
# parameter is not specified in the request, the default state is
|
3041
|
+
# `optional`.
|
3042
|
+
#
|
3043
|
+
# If the state is `optional`, you can choose to retrieve instance
|
3044
|
+
# metadata with or without a signed token header on your request. If
|
3045
|
+
# you retrieve the IAM role credentials without a token, the version
|
3046
|
+
# 1.0 role credentials are returned. If you retrieve the IAM role
|
3047
|
+
# credentials using a valid signed token, the version 2.0 role
|
3048
|
+
# credentials are returned.
|
3049
|
+
#
|
3050
|
+
# If the state is `required`, you must send a signed token header with
|
3051
|
+
# any instance metadata retrieval requests. In this state, retrieving
|
3052
|
+
# the IAM role credentials always returns the version 2.0 credentials;
|
3053
|
+
# the version 1.0 credentials are not available.
|
3054
|
+
# @return [String]
|
3055
|
+
#
|
3056
|
+
# @!attribute [rw] http_put_response_hop_limit
|
3057
|
+
# The desired HTTP PUT response hop limit for instance metadata
|
3058
|
+
# requests. The larger the number, the further instance metadata
|
3059
|
+
# requests can travel.
|
3060
|
+
#
|
3061
|
+
# Default: 1
|
3062
|
+
#
|
3063
|
+
# Possible values: Integers from 1 to 64
|
3064
|
+
# @return [Integer]
|
3065
|
+
#
|
3066
|
+
# @!attribute [rw] http_endpoint
|
3067
|
+
# This parameter enables or disables the HTTP metadata endpoint on
|
3068
|
+
# your instances. If the parameter is not specified, the default state
|
3069
|
+
# is `enabled`.
|
3070
|
+
#
|
3071
|
+
# <note markdown="1"> If you specify a value of `disabled`, you will not be able to access
|
3072
|
+
# your instance metadata.
|
3073
|
+
#
|
3074
|
+
# </note>
|
3075
|
+
# @return [String]
|
3076
|
+
#
|
3077
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/InstanceMetadataOptions AWS API Documentation
|
3078
|
+
#
|
3079
|
+
class InstanceMetadataOptions < Struct.new(
|
3080
|
+
:http_tokens,
|
3081
|
+
:http_put_response_hop_limit,
|
3082
|
+
:http_endpoint)
|
3083
|
+
SENSITIVE = []
|
3084
|
+
include Aws::Structure
|
3085
|
+
end
|
3086
|
+
|
3005
3087
|
# Describes whether detailed monitoring is enabled for the Auto Scaling
|
3006
3088
|
# instances.
|
3007
3089
|
#
|
@@ -3453,6 +3535,16 @@ module Aws::AutoScaling
|
|
3453
3535
|
# [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-in-vpc.html#as-vpc-tenancy
|
3454
3536
|
# @return [String]
|
3455
3537
|
#
|
3538
|
+
# @!attribute [rw] metadata_options
|
3539
|
+
# The metadata options for the instances. For more information, see
|
3540
|
+
# [Instance Metadata and User Data][1] in the *Amazon EC2 User Guide
|
3541
|
+
# for Linux Instances*.
|
3542
|
+
#
|
3543
|
+
#
|
3544
|
+
#
|
3545
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
|
3546
|
+
# @return [Types::InstanceMetadataOptions]
|
3547
|
+
#
|
3456
3548
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/LaunchConfiguration AWS API Documentation
|
3457
3549
|
#
|
3458
3550
|
class LaunchConfiguration < Struct.new(
|
@@ -3474,7 +3566,8 @@ module Aws::AutoScaling
|
|
3474
3566
|
:created_time,
|
3475
3567
|
:ebs_optimized,
|
3476
3568
|
:associate_public_ip_address,
|
3477
|
-
:placement_tenancy
|
3569
|
+
:placement_tenancy,
|
3570
|
+
:metadata_options)
|
3478
3571
|
SENSITIVE = []
|
3479
3572
|
include Aws::Structure
|
3480
3573
|
end
|
@@ -4051,6 +4144,16 @@ module Aws::AutoScaling
|
|
4051
4144
|
# * `GroupTerminatingInstances`
|
4052
4145
|
#
|
4053
4146
|
# * `GroupTotalInstances`
|
4147
|
+
#
|
4148
|
+
# * `GroupInServiceCapacity`
|
4149
|
+
#
|
4150
|
+
# * `GroupPendingCapacity`
|
4151
|
+
#
|
4152
|
+
# * `GroupStandbyCapacity`
|
4153
|
+
#
|
4154
|
+
# * `GroupTerminatingCapacity`
|
4155
|
+
#
|
4156
|
+
# * `GroupTotalCapacity`
|
4054
4157
|
# @return [String]
|
4055
4158
|
#
|
4056
4159
|
# @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/MetricCollectionType AWS API Documentation
|
@@ -4559,7 +4662,7 @@ module Aws::AutoScaling
|
|
4559
4662
|
# @return [String]
|
4560
4663
|
#
|
4561
4664
|
# @!attribute [rw] adjustment_type
|
4562
|
-
# Specifies how the scaling adjustment is interpreted (
|
4665
|
+
# Specifies how the scaling adjustment is interpreted (for example, an
|
4563
4666
|
# absolute number or a percentage). The valid values are
|
4564
4667
|
# `ChangeInCapacity`, `ExactCapacity`, and `PercentChangeInCapacity`.
|
4565
4668
|
#
|
@@ -4956,7 +5059,7 @@ module Aws::AutoScaling
|
|
4956
5059
|
# @return [String]
|
4957
5060
|
#
|
4958
5061
|
# @!attribute [rw] adjustment_type
|
4959
|
-
# Specifies how the scaling adjustment is interpreted (
|
5062
|
+
# Specifies how the scaling adjustment is interpreted (for example, an
|
4960
5063
|
# absolute number or a percentage). The valid values are
|
4961
5064
|
# `ChangeInCapacity`, `ExactCapacity`, and `PercentChangeInCapacity`.
|
4962
5065
|
# @return [String]
|
@@ -5842,9 +5945,9 @@ module Aws::AutoScaling
|
|
5842
5945
|
# <note markdown="1"> With a mixed instances policy that uses instance weighting, Amazon
|
5843
5946
|
# EC2 Auto Scaling may need to go above `MaxSize` to meet your
|
5844
5947
|
# capacity requirements. In this event, Amazon EC2 Auto Scaling will
|
5845
|
-
# never go above `MaxSize` by more than your
|
5846
|
-
# (weights that define how many
|
5847
|
-
#
|
5948
|
+
# never go above `MaxSize` by more than your largest instance weight
|
5949
|
+
# (weights that define how many units each instance contributes to the
|
5950
|
+
# desired capacity of the group).
|
5848
5951
|
#
|
5849
5952
|
# </note>
|
5850
5953
|
# @return [Integer]
|
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.44.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: 2020-07-
|
11
|
+
date: 2020-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|