aws-sdk-ec2 1.349.0 → 1.350.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +21 -9
- data/lib/aws-sdk-ec2/client_api.rb +1 -0
- data/lib/aws-sdk-ec2/resource.rb +5 -0
- data/lib/aws-sdk-ec2/types.rb +98 -138
- data/lib/aws-sdk-ec2.rb +1 -1
- 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: d3605da6fc357f9f71fd0729b458aaa70388bdca09615f4442832d83a2d6dc97
|
4
|
+
data.tar.gz: a9ca870782a8d2347b5be1570bc29f9fa1740cacde738901e11103fc6d4ddd39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5e9db5789689e2e25dc8931855abf3f3707b3278816b392fa8026cda8fc7ec6f2959fbb1ed0279c5fa14ee6f01cee54b2c8b5d6be584265320aae65fe254c1a
|
7
|
+
data.tar.gz: e418c48319224d85e342b63f13a366612755c15183c12ed6870a71f5167b5c63e9d8f5328a11ffccf930e476cf29419294721a8f448c112954b2bd1f94fae16c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.350.0 (2022-11-17)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds a new optional parameter "privateIpAddress" for the CreateNatGateway API. PrivateIPAddress will allow customers to select a custom Private IPv4 address instead of having it be auto-assigned.
|
8
|
+
|
4
9
|
1.349.0 (2022-11-10)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.350.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -6246,14 +6246,16 @@ module Aws::EC2
|
|
6246
6246
|
# The IDs of the resources to monitor. For example, if the resource type
|
6247
6247
|
# is `VPC`, specify the IDs of the VPCs.
|
6248
6248
|
#
|
6249
|
-
# Constraints: Maximum of
|
6249
|
+
# Constraints: Maximum of 25 for transit gateway resource types. Maximum
|
6250
|
+
# of 1000 for the other resource types.
|
6250
6251
|
#
|
6251
6252
|
# @option params [required, String] :resource_type
|
6252
6253
|
# The type of resource to monitor.
|
6253
6254
|
#
|
6254
6255
|
# @option params [String] :traffic_type
|
6255
6256
|
# The type of traffic to monitor (accepted traffic, rejected traffic, or
|
6256
|
-
# all traffic).
|
6257
|
+
# all traffic). This parameter is not supported for transit gateway
|
6258
|
+
# resource types. It is required for the other resource types.
|
6257
6259
|
#
|
6258
6260
|
# @option params [String] :log_destination_type
|
6259
6261
|
# The type of destination for the flow log data.
|
@@ -6286,10 +6288,12 @@ module Aws::EC2
|
|
6286
6288
|
#
|
6287
6289
|
# @option params [String] :log_format
|
6288
6290
|
# The fields to include in the flow log record. List the fields in the
|
6289
|
-
# order in which they should appear.
|
6290
|
-
#
|
6291
|
-
# parameter,
|
6292
|
-
#
|
6291
|
+
# order in which they should appear. If you omit this parameter, the
|
6292
|
+
# flow log is created using the default format. If you specify this
|
6293
|
+
# parameter, you must include at least one field. For more information
|
6294
|
+
# about the available fields, see [Flow log records][1] in the *Amazon
|
6295
|
+
# VPC User Guide* or [Transit Gateway Flow Log records][2] in the
|
6296
|
+
# *Amazon Web Services Transit Gateway Guide*.
|
6293
6297
|
#
|
6294
6298
|
# Specify the fields using the `$\{field-id\}` format, separated by
|
6295
6299
|
# spaces. For the CLI, surround this parameter value with single quotes
|
@@ -6298,14 +6302,16 @@ module Aws::EC2
|
|
6298
6302
|
#
|
6299
6303
|
#
|
6300
6304
|
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html#flow-log-records
|
6305
|
+
# [2]: https://docs.aws.amazon.com/vpc/latest/tgw/tgw-flow-logs.html#flow-log-records
|
6301
6306
|
#
|
6302
6307
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
6303
6308
|
# The tags to apply to the flow logs.
|
6304
6309
|
#
|
6305
6310
|
# @option params [Integer] :max_aggregation_interval
|
6306
6311
|
# The maximum interval of time during which a flow of packets is
|
6307
|
-
# captured and aggregated into a flow log record.
|
6308
|
-
# seconds (1 minute) or 600 seconds (10 minutes).
|
6312
|
+
# captured and aggregated into a flow log record. The possible values
|
6313
|
+
# are 60 seconds (1 minute) or 600 seconds (10 minutes). This parameter
|
6314
|
+
# must be 60 seconds for transit gateway resource types.
|
6309
6315
|
#
|
6310
6316
|
# When a network interface is attached to a [Nitro-based instance][1],
|
6311
6317
|
# the aggregation interval is always 60 seconds or less, regardless of
|
@@ -8718,6 +8724,11 @@ module Aws::EC2
|
|
8718
8724
|
# Indicates whether the NAT gateway supports public or private
|
8719
8725
|
# connectivity. The default is public connectivity.
|
8720
8726
|
#
|
8727
|
+
# @option params [String] :private_ip_address
|
8728
|
+
# The private IPv4 address to assign to the NAT gateway. If you don't
|
8729
|
+
# provide an address, a private IPv4 address will be automatically
|
8730
|
+
# assigned.
|
8731
|
+
#
|
8721
8732
|
# @return [Types::CreateNatGatewayResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
8722
8733
|
#
|
8723
8734
|
# * {Types::CreateNatGatewayResult#client_token #client_token} => String
|
@@ -8769,6 +8780,7 @@ module Aws::EC2
|
|
8769
8780
|
# },
|
8770
8781
|
# ],
|
8771
8782
|
# connectivity_type: "private", # accepts private, public
|
8783
|
+
# private_ip_address: "String",
|
8772
8784
|
# })
|
8773
8785
|
#
|
8774
8786
|
# @example Response structure
|
@@ -52578,7 +52590,7 @@ module Aws::EC2
|
|
52578
52590
|
params: params,
|
52579
52591
|
config: config)
|
52580
52592
|
context[:gem_name] = 'aws-sdk-ec2'
|
52581
|
-
context[:gem_version] = '1.
|
52593
|
+
context[:gem_version] = '1.350.0'
|
52582
52594
|
Seahorse::Client::Request.new(handlers, context)
|
52583
52595
|
end
|
52584
52596
|
|
@@ -4349,6 +4349,7 @@ module Aws::EC2
|
|
4349
4349
|
CreateNatGatewayRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "SubnetId"))
|
4350
4350
|
CreateNatGatewayRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
4351
4351
|
CreateNatGatewayRequest.add_member(:connectivity_type, Shapes::ShapeRef.new(shape: ConnectivityType, location_name: "ConnectivityType"))
|
4352
|
+
CreateNatGatewayRequest.add_member(:private_ip_address, Shapes::ShapeRef.new(shape: String, location_name: "PrivateIpAddress"))
|
4352
4353
|
CreateNatGatewayRequest.struct_class = Types::CreateNatGatewayRequest
|
4353
4354
|
|
4354
4355
|
CreateNatGatewayResult.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -705,6 +705,7 @@ module Aws::EC2
|
|
705
705
|
# },
|
706
706
|
# ],
|
707
707
|
# connectivity_type: "private", # accepts private, public
|
708
|
+
# private_ip_address: "String",
|
708
709
|
# })
|
709
710
|
# @param [Hash] options ({})
|
710
711
|
# @option options [String] :allocation_id
|
@@ -735,6 +736,10 @@ module Aws::EC2
|
|
735
736
|
# @option options [String] :connectivity_type
|
736
737
|
# Indicates whether the NAT gateway supports public or private
|
737
738
|
# connectivity. The default is public connectivity.
|
739
|
+
# @option options [String] :private_ip_address
|
740
|
+
# The private IPv4 address to assign to the NAT gateway. If you don't
|
741
|
+
# provide an address, a private IPv4 address will be automatically
|
742
|
+
# assigned.
|
738
743
|
# @return [NatGateway]
|
739
744
|
def create_nat_gateway(options = {})
|
740
745
|
resp = @client.create_nat_gateway(options)
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -8561,7 +8561,8 @@ module Aws::EC2
|
|
8561
8561
|
# The IDs of the resources to monitor. For example, if the resource
|
8562
8562
|
# type is `VPC`, specify the IDs of the VPCs.
|
8563
8563
|
#
|
8564
|
-
# Constraints: Maximum of
|
8564
|
+
# Constraints: Maximum of 25 for transit gateway resource types.
|
8565
|
+
# Maximum of 1000 for the other resource types.
|
8565
8566
|
# @return [Array<String>]
|
8566
8567
|
#
|
8567
8568
|
# @!attribute [rw] resource_type
|
@@ -8570,7 +8571,8 @@ module Aws::EC2
|
|
8570
8571
|
#
|
8571
8572
|
# @!attribute [rw] traffic_type
|
8572
8573
|
# The type of traffic to monitor (accepted traffic, rejected traffic,
|
8573
|
-
# or all traffic).
|
8574
|
+
# or all traffic). This parameter is not supported for transit gateway
|
8575
|
+
# resource types. It is required for the other resource types.
|
8574
8576
|
# @return [String]
|
8575
8577
|
#
|
8576
8578
|
# @!attribute [rw] log_destination_type
|
@@ -8606,10 +8608,12 @@ module Aws::EC2
|
|
8606
8608
|
#
|
8607
8609
|
# @!attribute [rw] log_format
|
8608
8610
|
# The fields to include in the flow log record. List the fields in the
|
8609
|
-
# order in which they should appear.
|
8610
|
-
#
|
8611
|
-
# parameter,
|
8612
|
-
#
|
8611
|
+
# order in which they should appear. If you omit this parameter, the
|
8612
|
+
# flow log is created using the default format. If you specify this
|
8613
|
+
# parameter, you must include at least one field. For more information
|
8614
|
+
# about the available fields, see [Flow log records][1] in the *Amazon
|
8615
|
+
# VPC User Guide* or [Transit Gateway Flow Log records][2] in the
|
8616
|
+
# *Amazon Web Services Transit Gateway Guide*.
|
8613
8617
|
#
|
8614
8618
|
# Specify the fields using the `$\{field-id\}` format, separated by
|
8615
8619
|
# spaces. For the CLI, surround this parameter value with single
|
@@ -8618,6 +8622,7 @@ module Aws::EC2
|
|
8618
8622
|
#
|
8619
8623
|
#
|
8620
8624
|
# [1]: https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html#flow-log-records
|
8625
|
+
# [2]: https://docs.aws.amazon.com/vpc/latest/tgw/tgw-flow-logs.html#flow-log-records
|
8621
8626
|
# @return [String]
|
8622
8627
|
#
|
8623
8628
|
# @!attribute [rw] tag_specifications
|
@@ -8626,8 +8631,9 @@ module Aws::EC2
|
|
8626
8631
|
#
|
8627
8632
|
# @!attribute [rw] max_aggregation_interval
|
8628
8633
|
# The maximum interval of time during which a flow of packets is
|
8629
|
-
# captured and aggregated into a flow log record.
|
8630
|
-
# seconds (1 minute) or 600 seconds (10 minutes).
|
8634
|
+
# captured and aggregated into a flow log record. The possible values
|
8635
|
+
# are 60 seconds (1 minute) or 600 seconds (10 minutes). This
|
8636
|
+
# parameter must be 60 seconds for transit gateway resource types.
|
8631
8637
|
#
|
8632
8638
|
# When a network interface is attached to a [Nitro-based instance][1],
|
8633
8639
|
# the aggregation interval is always 60 seconds or less, regardless of
|
@@ -10559,6 +10565,7 @@ module Aws::EC2
|
|
10559
10565
|
# },
|
10560
10566
|
# ],
|
10561
10567
|
# connectivity_type: "private", # accepts private, public
|
10568
|
+
# private_ip_address: "String",
|
10562
10569
|
# }
|
10563
10570
|
#
|
10564
10571
|
# @!attribute [rw] allocation_id
|
@@ -10604,6 +10611,12 @@ module Aws::EC2
|
|
10604
10611
|
# connectivity. The default is public connectivity.
|
10605
10612
|
# @return [String]
|
10606
10613
|
#
|
10614
|
+
# @!attribute [rw] private_ip_address
|
10615
|
+
# The private IPv4 address to assign to the NAT gateway. If you don't
|
10616
|
+
# provide an address, a private IPv4 address will be automatically
|
10617
|
+
# assigned.
|
10618
|
+
# @return [String]
|
10619
|
+
#
|
10607
10620
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateNatGatewayRequest AWS API Documentation
|
10608
10621
|
#
|
10609
10622
|
class CreateNatGatewayRequest < Struct.new(
|
@@ -10612,7 +10625,8 @@ module Aws::EC2
|
|
10612
10625
|
:dry_run,
|
10613
10626
|
:subnet_id,
|
10614
10627
|
:tag_specifications,
|
10615
|
-
:connectivity_type
|
10628
|
+
:connectivity_type,
|
10629
|
+
:private_ip_address)
|
10616
10630
|
SENSITIVE = []
|
10617
10631
|
include Aws::Structure
|
10618
10632
|
end
|
@@ -65712,49 +65726,31 @@ module Aws::EC2
|
|
65712
65726
|
# [Allocation strategies for Spot Instances][1] in the *Amazon EC2
|
65713
65727
|
# User Guide*.
|
65714
65728
|
#
|
65715
|
-
#
|
65716
|
-
#
|
65717
|
-
#
|
65718
|
-
#
|
65719
|
-
#
|
65720
|
-
#
|
65721
|
-
#
|
65722
|
-
#
|
65723
|
-
#
|
65724
|
-
#
|
65725
|
-
#
|
65726
|
-
#
|
65727
|
-
#
|
65728
|
-
#
|
65729
|
-
#
|
65730
|
-
#
|
65731
|
-
#
|
65732
|
-
#
|
65733
|
-
#
|
65734
|
-
#
|
65735
|
-
#
|
65736
|
-
#
|
65737
|
-
#
|
65738
|
-
#
|
65739
|
-
#
|
65740
|
-
#
|
65741
|
-
# diversified
|
65742
|
-
#
|
65743
|
-
# : Spot Fleet requests instances from all of the Spot Instance pools
|
65744
|
-
# that you specify.
|
65745
|
-
#
|
65746
|
-
# lowestPrice
|
65747
|
-
#
|
65748
|
-
# : Spot Fleet requests instances from the lowest priced Spot Instance
|
65749
|
-
# pool that has available capacity. If the lowest priced pool
|
65750
|
-
# doesn't have available capacity, the Spot Instances come from the
|
65751
|
-
# next lowest priced pool that has available capacity. If a pool
|
65752
|
-
# runs out of capacity before fulfilling your desired capacity, Spot
|
65753
|
-
# Fleet will continue to fulfill your request by drawing from the
|
65754
|
-
# next lowest priced pool. To ensure that your desired capacity is
|
65755
|
-
# met, you might receive Spot Instances from several pools. Because
|
65756
|
-
# this strategy only considers instance price and not capacity
|
65757
|
-
# availability, it might lead to high interruption rates.
|
65729
|
+
# `lowestPrice` - Spot Fleet launches instances from the lowest-price
|
65730
|
+
# Spot Instance pool that has available capacity. If the cheapest pool
|
65731
|
+
# doesn't have available capacity, the Spot Instances come from the
|
65732
|
+
# next cheapest pool that has available capacity. If a pool runs out
|
65733
|
+
# of capacity before fulfilling your desired capacity, Spot Fleet will
|
65734
|
+
# continue to fulfill your request by drawing from the next cheapest
|
65735
|
+
# pool. To ensure that your desired capacity is met, you might receive
|
65736
|
+
# Spot Instances from several pools.
|
65737
|
+
#
|
65738
|
+
# `diversified` - Spot Fleet launches instances from all of the Spot
|
65739
|
+
# Instance pools that you specify.
|
65740
|
+
#
|
65741
|
+
# `capacityOptimized` (recommended) - Spot Fleet launches instances
|
65742
|
+
# from Spot Instance pools with optimal capacity for the number of
|
65743
|
+
# instances that are launching. To give certain instance types a
|
65744
|
+
# higher chance of launching first, use
|
65745
|
+
# `capacityOptimizedPrioritized`. Set a priority for each instance
|
65746
|
+
# type by using the `Priority` parameter for
|
65747
|
+
# `LaunchTemplateOverrides`. You can assign the same priority to
|
65748
|
+
# different `LaunchTemplateOverrides`. EC2 implements the priorities
|
65749
|
+
# on a best-effort basis, but optimizes for capacity first.
|
65750
|
+
# `capacityOptimizedPrioritized` is supported only if your Spot Fleet
|
65751
|
+
# uses a launch template. Note that if the
|
65752
|
+
# `OnDemandAllocationStrategy` is set to `prioritized`, the same
|
65753
|
+
# priority is applied when fulfilling On-Demand capacity.
|
65758
65754
|
#
|
65759
65755
|
# Default: `lowestPrice`
|
65760
65756
|
#
|
@@ -66341,49 +66337,31 @@ module Aws::EC2
|
|
66341
66337
|
# [Allocation strategies for Spot Instances][1] in the *Amazon EC2
|
66342
66338
|
# User Guide*.
|
66343
66339
|
#
|
66344
|
-
# price-
|
66345
|
-
#
|
66346
|
-
#
|
66347
|
-
#
|
66348
|
-
#
|
66349
|
-
#
|
66350
|
-
#
|
66351
|
-
#
|
66352
|
-
#
|
66353
|
-
#
|
66354
|
-
#
|
66355
|
-
#
|
66356
|
-
#
|
66357
|
-
#
|
66358
|
-
#
|
66359
|
-
#
|
66360
|
-
#
|
66361
|
-
#
|
66362
|
-
#
|
66363
|
-
#
|
66364
|
-
#
|
66365
|
-
#
|
66366
|
-
#
|
66367
|
-
#
|
66368
|
-
#
|
66369
|
-
#
|
66370
|
-
# diversified
|
66371
|
-
#
|
66372
|
-
# : EC2 Fleet requests instances from all of the Spot Instance pools
|
66373
|
-
# that you specify.
|
66374
|
-
#
|
66375
|
-
# lowest-price
|
66376
|
-
#
|
66377
|
-
# : EC2 Fleet requests instances from the lowest priced Spot Instance
|
66378
|
-
# pool that has available capacity. If the lowest priced pool
|
66379
|
-
# doesn't have available capacity, the Spot Instances come from the
|
66380
|
-
# next lowest priced pool that has available capacity. If a pool
|
66381
|
-
# runs out of capacity before fulfilling your desired capacity, EC2
|
66382
|
-
# Fleet will continue to fulfill your request by drawing from the
|
66383
|
-
# next lowest priced pool. To ensure that your desired capacity is
|
66384
|
-
# met, you might receive Spot Instances from several pools. Because
|
66385
|
-
# this strategy only considers instance price and not capacity
|
66386
|
-
# availability, it might lead to high interruption rates.
|
66340
|
+
# `lowest-price` - EC2 Fleet launches instances from the lowest-price
|
66341
|
+
# Spot Instance pool that has available capacity. If the cheapest pool
|
66342
|
+
# doesn't have available capacity, the Spot Instances come from the
|
66343
|
+
# next cheapest pool that has available capacity. If a pool runs out
|
66344
|
+
# of capacity before fulfilling your desired capacity, EC2 Fleet will
|
66345
|
+
# continue to fulfill your request by drawing from the next cheapest
|
66346
|
+
# pool. To ensure that your desired capacity is met, you might receive
|
66347
|
+
# Spot Instances from several pools.
|
66348
|
+
#
|
66349
|
+
# `diversified` - EC2 Fleet launches instances from all of the Spot
|
66350
|
+
# Instance pools that you specify.
|
66351
|
+
#
|
66352
|
+
# `capacity-optimized` (recommended) - EC2 Fleet launches instances
|
66353
|
+
# from Spot Instance pools with optimal capacity for the number of
|
66354
|
+
# instances that are launching. To give certain instance types a
|
66355
|
+
# higher chance of launching first, use
|
66356
|
+
# `capacity-optimized-prioritized`. Set a priority for each instance
|
66357
|
+
# type by using the `Priority` parameter for
|
66358
|
+
# `LaunchTemplateOverrides`. You can assign the same priority to
|
66359
|
+
# different `LaunchTemplateOverrides`. EC2 implements the priorities
|
66360
|
+
# on a best-effort basis, but optimizes for capacity first.
|
66361
|
+
# `capacity-optimized-prioritized` is supported only if your fleet
|
66362
|
+
# uses a launch template. Note that if the On-Demand
|
66363
|
+
# `AllocationStrategy` is set to `prioritized`, the same priority is
|
66364
|
+
# applied when fulfilling On-Demand capacity.
|
66387
66365
|
#
|
66388
66366
|
# Default: `lowest-price`
|
66389
66367
|
#
|
@@ -66501,49 +66479,31 @@ module Aws::EC2
|
|
66501
66479
|
# [Allocation strategies for Spot Instances][1] in the *Amazon EC2
|
66502
66480
|
# User Guide*.
|
66503
66481
|
#
|
66504
|
-
# price-
|
66505
|
-
#
|
66506
|
-
#
|
66507
|
-
#
|
66508
|
-
#
|
66509
|
-
#
|
66510
|
-
#
|
66511
|
-
#
|
66512
|
-
#
|
66513
|
-
#
|
66514
|
-
#
|
66515
|
-
#
|
66516
|
-
#
|
66517
|
-
#
|
66518
|
-
#
|
66519
|
-
#
|
66520
|
-
#
|
66521
|
-
#
|
66522
|
-
#
|
66523
|
-
#
|
66524
|
-
#
|
66525
|
-
#
|
66526
|
-
#
|
66527
|
-
#
|
66528
|
-
#
|
66529
|
-
#
|
66530
|
-
# diversified
|
66531
|
-
#
|
66532
|
-
# : EC2 Fleet requests instances from all of the Spot Instance pools
|
66533
|
-
# that you specify.
|
66534
|
-
#
|
66535
|
-
# lowest-price
|
66536
|
-
#
|
66537
|
-
# : EC2 Fleet requests instances from the lowest priced Spot Instance
|
66538
|
-
# pool that has available capacity. If the lowest priced pool
|
66539
|
-
# doesn't have available capacity, the Spot Instances come from the
|
66540
|
-
# next lowest priced pool that has available capacity. If a pool
|
66541
|
-
# runs out of capacity before fulfilling your desired capacity, EC2
|
66542
|
-
# Fleet will continue to fulfill your request by drawing from the
|
66543
|
-
# next lowest priced pool. To ensure that your desired capacity is
|
66544
|
-
# met, you might receive Spot Instances from several pools. Because
|
66545
|
-
# this strategy only considers instance price and not capacity
|
66546
|
-
# availability, it might lead to high interruption rates.
|
66482
|
+
# `lowest-price` - EC2 Fleet launches instances from the lowest-price
|
66483
|
+
# Spot Instance pool that has available capacity. If the cheapest pool
|
66484
|
+
# doesn't have available capacity, the Spot Instances come from the
|
66485
|
+
# next cheapest pool that has available capacity. If a pool runs out
|
66486
|
+
# of capacity before fulfilling your desired capacity, EC2 Fleet will
|
66487
|
+
# continue to fulfill your request by drawing from the next cheapest
|
66488
|
+
# pool. To ensure that your desired capacity is met, you might receive
|
66489
|
+
# Spot Instances from several pools.
|
66490
|
+
#
|
66491
|
+
# `diversified` - EC2 Fleet launches instances from all of the Spot
|
66492
|
+
# Instance pools that you specify.
|
66493
|
+
#
|
66494
|
+
# `capacity-optimized` (recommended) - EC2 Fleet launches instances
|
66495
|
+
# from Spot Instance pools with optimal capacity for the number of
|
66496
|
+
# instances that are launching. To give certain instance types a
|
66497
|
+
# higher chance of launching first, use
|
66498
|
+
# `capacity-optimized-prioritized`. Set a priority for each instance
|
66499
|
+
# type by using the `Priority` parameter for
|
66500
|
+
# `LaunchTemplateOverrides`. You can assign the same priority to
|
66501
|
+
# different `LaunchTemplateOverrides`. EC2 implements the priorities
|
66502
|
+
# on a best-effort basis, but optimizes for capacity first.
|
66503
|
+
# `capacity-optimized-prioritized` is supported only if your fleet
|
66504
|
+
# uses a launch template. Note that if the On-Demand
|
66505
|
+
# `AllocationStrategy` is set to `prioritized`, the same priority is
|
66506
|
+
# applied when fulfilling On-Demand capacity.
|
66547
66507
|
#
|
66548
66508
|
# Default: `lowest-price`
|
66549
66509
|
#
|
data/lib/aws-sdk-ec2.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ec2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.350.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: 2022-11-
|
11
|
+
date: 2022-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|