aws-sdk-ec2 1.319.0 → 1.320.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 +47 -15
- data/lib/aws-sdk-ec2/client_api.rb +3 -0
- data/lib/aws-sdk-ec2/placement_group.rb +7 -0
- data/lib/aws-sdk-ec2/resource.rb +13 -0
- data/lib/aws-sdk-ec2/types.rb +95 -37
- data/lib/aws-sdk-ec2/vpc.rb +3 -0
- 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: 0c48529eb8484a61aba7af93999de4bea093cf8ffa3b94b2bd9f5b84fd3d366f
|
4
|
+
data.tar.gz: 47228792e5b8c8963d69d5cbd781ddfbd0ce0a86c1e785e3d067d2d98be02147
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30327b8eba350f26ccf79cb2c5be153d4b032a37185a87d5313f449f482c16ecef675eaf3b10bb0cd6454a489454b578148e9ceff24abc9f8fca5dc9967cfb76
|
7
|
+
data.tar.gz: 9d011b8cd4120a0fc6ecce7f271d72521778cfb58d8907e1752050c223d3b0f8b78a008f103d03866a83d691e483d052a9deb72c848da9dac55249ccd453c9ba
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.320.0 (2022-06-28)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds a new spread placement group to EC2 Placement Groups: host level spread, which spread instances between physical hosts, available to Outpost customers only. CreatePlacementGroup and DescribePlacementGroups APIs were updated with a new parameter: SpreadLevel to support this feature.
|
8
|
+
|
4
9
|
1.319.0 (2022-06-21)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.320.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -4294,8 +4294,7 @@ module Aws::EC2
|
|
4294
4294
|
# instance.
|
4295
4295
|
#
|
4296
4296
|
# @option params [Boolean] :ephemeral_storage
|
4297
|
-
#
|
4298
|
-
# temporary, block-level storage.
|
4297
|
+
# *Deprecated.*
|
4299
4298
|
#
|
4300
4299
|
# @option params [Time,DateTime,Date,Integer,String] :end_date
|
4301
4300
|
# The date and time at which the Capacity Reservation expires. When a
|
@@ -7118,7 +7117,18 @@ module Aws::EC2
|
|
7118
7117
|
# The information for the launch template.
|
7119
7118
|
#
|
7120
7119
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
7121
|
-
# The tags to apply to the launch template
|
7120
|
+
# The tags to apply to the launch template on creation. To tag the
|
7121
|
+
# launch template, the resource type must be `launch-template`.
|
7122
|
+
#
|
7123
|
+
# <note markdown="1"> To specify the tags for the resources that are created when an
|
7124
|
+
# instance is launched, you must use the `TagSpecifications` parameter
|
7125
|
+
# in the [launch template data][1] structure.
|
7126
|
+
#
|
7127
|
+
# </note>
|
7128
|
+
#
|
7129
|
+
#
|
7130
|
+
#
|
7131
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestLaunchTemplateData.html
|
7122
7132
|
#
|
7123
7133
|
# @return [Types::CreateLaunchTemplateResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7124
7134
|
#
|
@@ -9224,6 +9234,13 @@ module Aws::EC2
|
|
9224
9234
|
# @option params [Array<Types::TagSpecification>] :tag_specifications
|
9225
9235
|
# The tags to apply to the new placement group.
|
9226
9236
|
#
|
9237
|
+
# @option params [String] :spread_level
|
9238
|
+
# Determines how placement groups spread instances.
|
9239
|
+
#
|
9240
|
+
# * Host – You can use `host` only with Outpost placement groups.
|
9241
|
+
#
|
9242
|
+
# * Rack – No usage restrictions.
|
9243
|
+
#
|
9227
9244
|
# @return [Types::CreatePlacementGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
9228
9245
|
#
|
9229
9246
|
# * {Types::CreatePlacementGroupResult#placement_group #placement_group} => Types::PlacementGroup
|
@@ -9260,6 +9277,7 @@ module Aws::EC2
|
|
9260
9277
|
# ],
|
9261
9278
|
# },
|
9262
9279
|
# ],
|
9280
|
+
# spread_level: "host", # accepts host, rack
|
9263
9281
|
# })
|
9264
9282
|
#
|
9265
9283
|
# @example Response structure
|
@@ -9273,6 +9291,7 @@ module Aws::EC2
|
|
9273
9291
|
# resp.placement_group.tags[0].key #=> String
|
9274
9292
|
# resp.placement_group.tags[0].value #=> String
|
9275
9293
|
# resp.placement_group.group_arn #=> String
|
9294
|
+
# resp.placement_group.spread_level #=> String, one of "host", "rack"
|
9276
9295
|
#
|
9277
9296
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreatePlacementGroup AWS API Documentation
|
9278
9297
|
#
|
@@ -9612,10 +9631,9 @@ module Aws::EC2
|
|
9612
9631
|
|
9613
9632
|
# Creates a route in a route table within a VPC.
|
9614
9633
|
#
|
9615
|
-
# You must specify
|
9616
|
-
#
|
9617
|
-
#
|
9618
|
-
# transit gateway.
|
9634
|
+
# You must specify either a destination CIDR block or a prefix list ID.
|
9635
|
+
# You must also specify exactly one of the resources from the parameter
|
9636
|
+
# list.
|
9619
9637
|
#
|
9620
9638
|
# When determining how to route traffic, we use the route with the most
|
9621
9639
|
# specific match. For example, traffic is destined for the IPv4 address
|
@@ -11584,9 +11602,8 @@ module Aws::EC2
|
|
11584
11602
|
|
11585
11603
|
# Requests a transit gateway peering attachment between the specified
|
11586
11604
|
# transit gateway (requester) and a peer transit gateway (accepter). The
|
11587
|
-
# transit
|
11588
|
-
#
|
11589
|
-
# account.
|
11605
|
+
# peer transit gateway can be in your account or a different Amazon Web
|
11606
|
+
# Services account.
|
11590
11607
|
#
|
11591
11608
|
# After you create the peering attachment, the owner of the accepter
|
11592
11609
|
# transit gateway must accept the attachment request.
|
@@ -24113,6 +24130,9 @@ module Aws::EC2
|
|
24113
24130
|
# * `entry.rule-action` - Allows or denies the matching traffic (`allow`
|
24114
24131
|
# \| `deny`).
|
24115
24132
|
#
|
24133
|
+
# * `entry.egress` - A Boolean that indicates the type of rule. Specify
|
24134
|
+
# `true` for egress rules, or `false` for ingress rules.
|
24135
|
+
#
|
24116
24136
|
# * `entry.rule-number` - The number of an entry (in other words, rule)
|
24117
24137
|
# in the set of ACL entries.
|
24118
24138
|
#
|
@@ -25414,6 +25434,9 @@ module Aws::EC2
|
|
25414
25434
|
#
|
25415
25435
|
# * `group-arn` - The Amazon Resource Name (ARN) of the placement group.
|
25416
25436
|
#
|
25437
|
+
# * `spread-level` - The spread level for the placement group (`host` \|
|
25438
|
+
# `rack`).
|
25439
|
+
#
|
25417
25440
|
# * `state` - The state of the placement group (`pending` \| `available`
|
25418
25441
|
# \| `deleting` \| `deleted`).
|
25419
25442
|
#
|
@@ -25475,6 +25498,7 @@ module Aws::EC2
|
|
25475
25498
|
# resp.placement_groups[0].tags[0].key #=> String
|
25476
25499
|
# resp.placement_groups[0].tags[0].value #=> String
|
25477
25500
|
# resp.placement_groups[0].group_arn #=> String
|
25501
|
+
# resp.placement_groups[0].spread_level #=> String, one of "host", "rack"
|
25478
25502
|
#
|
25479
25503
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DescribePlacementGroups AWS API Documentation
|
25480
25504
|
#
|
@@ -44459,6 +44483,13 @@ module Aws::EC2
|
|
44459
44483
|
# you might be able to recover it. For more information, see
|
44460
44484
|
# AllocateAddress.
|
44461
44485
|
#
|
44486
|
+
# For more information, see [Elastic IP Addresses][1] in the *Amazon
|
44487
|
+
# Elastic Compute Cloud User Guide*.
|
44488
|
+
#
|
44489
|
+
#
|
44490
|
+
#
|
44491
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html
|
44492
|
+
#
|
44462
44493
|
# @option params [String] :allocation_id
|
44463
44494
|
# \[EC2-VPC\] The allocation ID. Required for EC2-VPC.
|
44464
44495
|
#
|
@@ -44832,10 +44863,11 @@ module Aws::EC2
|
|
44832
44863
|
req.send_request(options)
|
44833
44864
|
end
|
44834
44865
|
|
44835
|
-
# Replaces an existing route within a route table in a VPC.
|
44836
|
-
#
|
44837
|
-
#
|
44838
|
-
#
|
44866
|
+
# Replaces an existing route within a route table in a VPC.
|
44867
|
+
#
|
44868
|
+
# You must specify either a destination CIDR block or a prefix list ID.
|
44869
|
+
# You must also specify exactly one of the resources from the parameter
|
44870
|
+
# list, or reset the local route to its default target.
|
44839
44871
|
#
|
44840
44872
|
# For more information, see [Route tables][1] in the *Amazon Virtual
|
44841
44873
|
# Private Cloud User Guide*.
|
@@ -49714,7 +49746,7 @@ module Aws::EC2
|
|
49714
49746
|
params: params,
|
49715
49747
|
config: config)
|
49716
49748
|
context[:gem_name] = 'aws-sdk-ec2'
|
49717
|
-
context[:gem_version] = '1.
|
49749
|
+
context[:gem_version] = '1.320.0'
|
49718
49750
|
Seahorse::Client::Request.new(handlers, context)
|
49719
49751
|
end
|
49720
49752
|
|
@@ -2350,6 +2350,7 @@ module Aws::EC2
|
|
2350
2350
|
SpotPlacementScoresTargetCapacity = Shapes::IntegerShape.new(name: 'SpotPlacementScoresTargetCapacity')
|
2351
2351
|
SpotPrice = Shapes::StructureShape.new(name: 'SpotPrice')
|
2352
2352
|
SpotPriceHistoryList = Shapes::ListShape.new(name: 'SpotPriceHistoryList')
|
2353
|
+
SpreadLevel = Shapes::StringShape.new(name: 'SpreadLevel')
|
2353
2354
|
StaleIpPermission = Shapes::StructureShape.new(name: 'StaleIpPermission')
|
2354
2355
|
StaleIpPermissionSet = Shapes::ListShape.new(name: 'StaleIpPermissionSet')
|
2355
2356
|
StaleSecurityGroup = Shapes::StructureShape.new(name: 'StaleSecurityGroup')
|
@@ -4240,6 +4241,7 @@ module Aws::EC2
|
|
4240
4241
|
CreatePlacementGroupRequest.add_member(:strategy, Shapes::ShapeRef.new(shape: PlacementStrategy, location_name: "strategy"))
|
4241
4242
|
CreatePlacementGroupRequest.add_member(:partition_count, Shapes::ShapeRef.new(shape: Integer, location_name: "PartitionCount"))
|
4242
4243
|
CreatePlacementGroupRequest.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: TagSpecificationList, location_name: "TagSpecification"))
|
4244
|
+
CreatePlacementGroupRequest.add_member(:spread_level, Shapes::ShapeRef.new(shape: SpreadLevel, location_name: "SpreadLevel"))
|
4243
4245
|
CreatePlacementGroupRequest.struct_class = Types::CreatePlacementGroupRequest
|
4244
4246
|
|
4245
4247
|
CreatePlacementGroupResult.add_member(:placement_group, Shapes::ShapeRef.new(shape: PlacementGroup, location_name: "placementGroup"))
|
@@ -10568,6 +10570,7 @@ module Aws::EC2
|
|
10568
10570
|
PlacementGroup.add_member(:group_id, Shapes::ShapeRef.new(shape: String, location_name: "groupId"))
|
10569
10571
|
PlacementGroup.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tagSet"))
|
10570
10572
|
PlacementGroup.add_member(:group_arn, Shapes::ShapeRef.new(shape: String, location_name: "groupArn"))
|
10573
|
+
PlacementGroup.add_member(:spread_level, Shapes::ShapeRef.new(shape: SpreadLevel, location_name: "spreadLevel"))
|
10571
10574
|
PlacementGroup.struct_class = Types::PlacementGroup
|
10572
10575
|
|
10573
10576
|
PlacementGroupIdStringList.member = Shapes::ShapeRef.new(shape: PlacementGroupId, location_name: "GroupId")
|
@@ -72,6 +72,13 @@ module Aws::EC2
|
|
72
72
|
data[:group_arn]
|
73
73
|
end
|
74
74
|
|
75
|
+
# The spread level for the placement group. *Only* Outpost placement
|
76
|
+
# groups can be spread across hosts.
|
77
|
+
# @return [String]
|
78
|
+
def spread_level
|
79
|
+
data[:spread_level]
|
80
|
+
end
|
81
|
+
|
75
82
|
# @!endgroup
|
76
83
|
|
77
84
|
# @return [Client]
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -916,6 +916,7 @@ module Aws::EC2
|
|
916
916
|
# ],
|
917
917
|
# },
|
918
918
|
# ],
|
919
|
+
# spread_level: "host", # accepts host, rack
|
919
920
|
# })
|
920
921
|
# @param [Hash] options ({})
|
921
922
|
# @option options [Boolean] :dry_run
|
@@ -935,6 +936,12 @@ module Aws::EC2
|
|
935
936
|
# `partition`.
|
936
937
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
937
938
|
# The tags to apply to the new placement group.
|
939
|
+
# @option options [String] :spread_level
|
940
|
+
# Determines how placement groups spread instances.
|
941
|
+
#
|
942
|
+
# * Host – You can use `host` only with Outpost placement groups.
|
943
|
+
#
|
944
|
+
# * Rack – No usage restrictions.
|
938
945
|
# @return [PlacementGroup]
|
939
946
|
def create_placement_group(options = {})
|
940
947
|
@client.create_placement_group(options)
|
@@ -2742,6 +2749,9 @@ module Aws::EC2
|
|
2742
2749
|
# * `entry.rule-action` - Allows or denies the matching traffic (`allow`
|
2743
2750
|
# \| `deny`).
|
2744
2751
|
#
|
2752
|
+
# * `entry.egress` - A Boolean that indicates the type of rule. Specify
|
2753
|
+
# `true` for egress rules, or `false` for ingress rules.
|
2754
|
+
#
|
2745
2755
|
# * `entry.rule-number` - The number of an entry (in other words, rule)
|
2746
2756
|
# in the set of ACL entries.
|
2747
2757
|
#
|
@@ -2986,6 +2996,9 @@ module Aws::EC2
|
|
2986
2996
|
#
|
2987
2997
|
# * `group-arn` - The Amazon Resource Name (ARN) of the placement group.
|
2988
2998
|
#
|
2999
|
+
# * `spread-level` - The spread level for the placement group (`host` \|
|
3000
|
+
# `rack`).
|
3001
|
+
#
|
2989
3002
|
# * `state` - The state of the placement group (`pending` \| `available`
|
2990
3003
|
# \| `deleting` \| `deleted`).
|
2991
3004
|
#
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -4348,8 +4348,7 @@ module Aws::EC2
|
|
4348
4348
|
# @return [Boolean]
|
4349
4349
|
#
|
4350
4350
|
# @!attribute [rw] ephemeral_storage
|
4351
|
-
#
|
4352
|
-
# temporary, block-level storage.
|
4351
|
+
# *Deprecated.*
|
4353
4352
|
# @return [Boolean]
|
4354
4353
|
#
|
4355
4354
|
# @!attribute [rw] state
|
@@ -6766,8 +6765,7 @@ module Aws::EC2
|
|
6766
6765
|
# @return [Boolean]
|
6767
6766
|
#
|
6768
6767
|
# @!attribute [rw] ephemeral_storage
|
6769
|
-
#
|
6770
|
-
# temporary, block-level storage.
|
6768
|
+
# *Deprecated.*
|
6771
6769
|
# @return [Boolean]
|
6772
6770
|
#
|
6773
6771
|
# @!attribute [rw] end_date
|
@@ -9317,7 +9315,18 @@ module Aws::EC2
|
|
9317
9315
|
# @return [Types::RequestLaunchTemplateData]
|
9318
9316
|
#
|
9319
9317
|
# @!attribute [rw] tag_specifications
|
9320
|
-
# The tags to apply to the launch template
|
9318
|
+
# The tags to apply to the launch template on creation. To tag the
|
9319
|
+
# launch template, the resource type must be `launch-template`.
|
9320
|
+
#
|
9321
|
+
# <note markdown="1"> To specify the tags for the resources that are created when an
|
9322
|
+
# instance is launched, you must use the `TagSpecifications` parameter
|
9323
|
+
# in the [launch template data][1] structure.
|
9324
|
+
#
|
9325
|
+
# </note>
|
9326
|
+
#
|
9327
|
+
#
|
9328
|
+
#
|
9329
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RequestLaunchTemplateData.html
|
9321
9330
|
# @return [Array<Types::TagSpecification>]
|
9322
9331
|
#
|
9323
9332
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateLaunchTemplateRequest AWS API Documentation
|
@@ -10672,6 +10681,7 @@ module Aws::EC2
|
|
10672
10681
|
# ],
|
10673
10682
|
# },
|
10674
10683
|
# ],
|
10684
|
+
# spread_level: "host", # accepts host, rack
|
10675
10685
|
# }
|
10676
10686
|
#
|
10677
10687
|
# @!attribute [rw] dry_run
|
@@ -10701,6 +10711,14 @@ module Aws::EC2
|
|
10701
10711
|
# The tags to apply to the new placement group.
|
10702
10712
|
# @return [Array<Types::TagSpecification>]
|
10703
10713
|
#
|
10714
|
+
# @!attribute [rw] spread_level
|
10715
|
+
# Determines how placement groups spread instances.
|
10716
|
+
#
|
10717
|
+
# * Host – You can use `host` only with Outpost placement groups.
|
10718
|
+
#
|
10719
|
+
# * Rack – No usage restrictions.
|
10720
|
+
# @return [String]
|
10721
|
+
#
|
10704
10722
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreatePlacementGroupRequest AWS API Documentation
|
10705
10723
|
#
|
10706
10724
|
class CreatePlacementGroupRequest < Struct.new(
|
@@ -10708,7 +10726,8 @@ module Aws::EC2
|
|
10708
10726
|
:group_name,
|
10709
10727
|
:strategy,
|
10710
10728
|
:partition_count,
|
10711
|
-
:tag_specifications
|
10729
|
+
:tag_specifications,
|
10730
|
+
:spread_level)
|
10712
10731
|
SENSITIVE = []
|
10713
10732
|
include Aws::Structure
|
10714
10733
|
end
|
@@ -23314,6 +23333,9 @@ module Aws::EC2
|
|
23314
23333
|
# * `entry.rule-action` - Allows or denies the matching traffic
|
23315
23334
|
# (`allow` \| `deny`).
|
23316
23335
|
#
|
23336
|
+
# * `entry.egress` - A Boolean that indicates the type of rule.
|
23337
|
+
# Specify `true` for egress rules, or `false` for ingress rules.
|
23338
|
+
#
|
23317
23339
|
# * `entry.rule-number` - The number of an entry (in other words,
|
23318
23340
|
# rule) in the set of ACL entries.
|
23319
23341
|
#
|
@@ -24096,6 +24118,9 @@ module Aws::EC2
|
|
24096
24118
|
# * `group-arn` - The Amazon Resource Name (ARN) of the placement
|
24097
24119
|
# group.
|
24098
24120
|
#
|
24121
|
+
# * `spread-level` - The spread level for the placement group (`host`
|
24122
|
+
# \| `rack`).
|
24123
|
+
#
|
24099
24124
|
# * `state` - The state of the placement group (`pending` \|
|
24100
24125
|
# `available` \| `deleting` \| `deleted`).
|
24101
24126
|
#
|
@@ -32449,17 +32474,20 @@ module Aws::EC2
|
|
32449
32474
|
# and Amazon EC2 is attempting to maintain the target number of
|
32450
32475
|
# running instances.
|
32451
32476
|
#
|
32452
|
-
# * `
|
32453
|
-
#
|
32454
|
-
#
|
32477
|
+
# * `deleted` (EC2 Fleet) / `cancelled` (Spot Fleet) - The EC2 Fleet
|
32478
|
+
# is deleted or the Spot Fleet request is canceled and has no
|
32479
|
+
# running instances. The EC2 Fleet or Spot Fleet will be deleted two
|
32480
|
+
# days after its instances are terminated.
|
32455
32481
|
#
|
32456
|
-
# * `
|
32457
|
-
#
|
32458
|
-
#
|
32459
|
-
#
|
32460
|
-
# are interrupted
|
32482
|
+
# * `deleted_running` (EC2 Fleet) / `cancelled_running` (Spot Fleet) -
|
32483
|
+
# The EC2 Fleet is deleted or the Spot Fleet request is canceled and
|
32484
|
+
# does not launch additional instances. Its existing instances
|
32485
|
+
# continue to run until they are interrupted or terminated. The
|
32486
|
+
# request remains in this state until all instances are interrupted
|
32487
|
+
# or terminated.
|
32461
32488
|
#
|
32462
|
-
# * `
|
32489
|
+
# * `deleted_terminating` (EC2 Fleet) / `cancelled_terminating` (Spot
|
32490
|
+
# Fleet) - The EC2 Fleet is deleted or the Spot Fleet request is
|
32463
32491
|
# canceled and its instances are terminating. The request remains in
|
32464
32492
|
# this state until all instances are terminated.
|
32465
32493
|
#
|
@@ -41361,10 +41389,10 @@ module Aws::EC2
|
|
41361
41389
|
# * For instance types with hard disk drive (HDD) storage, specify
|
41362
41390
|
# `hdd`.
|
41363
41391
|
#
|
41364
|
-
# * For instance types with solid state drive (
|
41365
|
-
# `
|
41392
|
+
# * For instance types with solid state drive (SSD) storage, specify
|
41393
|
+
# `ssd`.
|
41366
41394
|
#
|
41367
|
-
# Default: `hdd` and `
|
41395
|
+
# Default: `hdd` and `ssd`
|
41368
41396
|
# @return [Array<String>]
|
41369
41397
|
#
|
41370
41398
|
# @!attribute [rw] total_local_storage_gb
|
@@ -41761,10 +41789,10 @@ module Aws::EC2
|
|
41761
41789
|
# * For instance types with hard disk drive (HDD) storage, specify
|
41762
41790
|
# `hdd`.
|
41763
41791
|
#
|
41764
|
-
# * For instance types with solid state drive (
|
41765
|
-
# `
|
41792
|
+
# * For instance types with solid state drive (SSD) storage, specify
|
41793
|
+
# `ssd`.
|
41766
41794
|
#
|
41767
|
-
# Default: `hdd` and `
|
41795
|
+
# Default: `hdd` and `ssd`
|
41768
41796
|
# @return [Array<String>]
|
41769
41797
|
#
|
41770
41798
|
# @!attribute [rw] total_local_storage_gb
|
@@ -45630,10 +45658,10 @@ module Aws::EC2
|
|
45630
45658
|
include Aws::Structure
|
45631
45659
|
end
|
45632
45660
|
|
45633
|
-
# The
|
45661
|
+
# The tags specification for the launch template.
|
45634
45662
|
#
|
45635
45663
|
# @!attribute [rw] resource_type
|
45636
|
-
# The type of resource.
|
45664
|
+
# The type of resource to tag.
|
45637
45665
|
# @return [String]
|
45638
45666
|
#
|
45639
45667
|
# @!attribute [rw] tags
|
@@ -45649,7 +45677,8 @@ module Aws::EC2
|
|
45649
45677
|
include Aws::Structure
|
45650
45678
|
end
|
45651
45679
|
|
45652
|
-
# The tags specification for the
|
45680
|
+
# The tags specification for the resources that are created during
|
45681
|
+
# instance launch.
|
45653
45682
|
#
|
45654
45683
|
# @note When making an API call, you may pass LaunchTemplateTagSpecificationRequest
|
45655
45684
|
# data as a hash:
|
@@ -45665,10 +45694,14 @@ module Aws::EC2
|
|
45665
45694
|
# }
|
45666
45695
|
#
|
45667
45696
|
# @!attribute [rw] resource_type
|
45668
|
-
# The type of resource to tag.
|
45669
|
-
#
|
45670
|
-
# `
|
45671
|
-
#
|
45697
|
+
# The type of resource to tag.
|
45698
|
+
#
|
45699
|
+
# The `Valid Values` are all the resource types that can be tagged.
|
45700
|
+
# However, when creating a launch template, you can specify tags for
|
45701
|
+
# the following resource types only: `instance` \| `volume` \|
|
45702
|
+
# `elastic-gpu` \| `network-interface` \| `spot-instances-request`
|
45703
|
+
#
|
45704
|
+
# To tag a resource after it has been created, see [CreateTags][1].
|
45672
45705
|
#
|
45673
45706
|
#
|
45674
45707
|
#
|
@@ -52832,7 +52865,7 @@ module Aws::EC2
|
|
52832
52865
|
# @return [Array<Types::AdditionalDetail>]
|
52833
52866
|
#
|
52834
52867
|
# @!attribute [rw] transit_gateway
|
52835
|
-
#
|
52868
|
+
# The transit gateway.
|
52836
52869
|
# @return [Types::AnalysisComponent]
|
52837
52870
|
#
|
52838
52871
|
# @!attribute [rw] transit_gateway_route_table_route
|
@@ -53429,6 +53462,11 @@ module Aws::EC2
|
|
53429
53462
|
# The Amazon Resource Name (ARN) of the placement group.
|
53430
53463
|
# @return [String]
|
53431
53464
|
#
|
53465
|
+
# @!attribute [rw] spread_level
|
53466
|
+
# The spread level for the placement group. *Only* Outpost placement
|
53467
|
+
# groups can be spread across hosts.
|
53468
|
+
# @return [String]
|
53469
|
+
#
|
53432
53470
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/PlacementGroup AWS API Documentation
|
53433
53471
|
#
|
53434
53472
|
class PlacementGroup < Struct.new(
|
@@ -53438,7 +53476,8 @@ module Aws::EC2
|
|
53438
53476
|
:partition_count,
|
53439
53477
|
:group_id,
|
53440
53478
|
:tags,
|
53441
|
-
:group_arn
|
53479
|
+
:group_arn,
|
53480
|
+
:spread_level)
|
53442
53481
|
SENSITIVE = []
|
53443
53482
|
include Aws::Structure
|
53444
53483
|
end
|
@@ -56494,14 +56533,32 @@ module Aws::EC2
|
|
56494
56533
|
# @return [String]
|
56495
56534
|
#
|
56496
56535
|
# @!attribute [rw] tag_specifications
|
56497
|
-
# The tags to apply to the resources
|
56498
|
-
#
|
56499
|
-
#
|
56500
|
-
#
|
56536
|
+
# The tags to apply to the resources that are created during instance
|
56537
|
+
# launch.
|
56538
|
+
#
|
56539
|
+
# You can specify tags for the following resources only:
|
56540
|
+
#
|
56541
|
+
# * Instances
|
56542
|
+
#
|
56543
|
+
# * Volumes
|
56544
|
+
#
|
56545
|
+
# * Elastic graphics
|
56546
|
+
#
|
56547
|
+
# * Spot Instance requests
|
56548
|
+
#
|
56549
|
+
# * Network interfaces
|
56550
|
+
#
|
56551
|
+
# To tag a resource after it has been created, see [CreateTags][1].
|
56552
|
+
#
|
56553
|
+
# <note markdown="1"> To tag the launch template itself, you must use the
|
56554
|
+
# [TagSpecification][2] parameter.
|
56555
|
+
#
|
56556
|
+
# </note>
|
56501
56557
|
#
|
56502
56558
|
#
|
56503
56559
|
#
|
56504
56560
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html
|
56561
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateLaunchTemplate.html
|
56505
56562
|
# @return [Array<Types::LaunchTemplateTagSpecificationRequest>]
|
56506
56563
|
#
|
56507
56564
|
# @!attribute [rw] elastic_gpu_specifications
|
@@ -56534,8 +56591,8 @@ module Aws::EC2
|
|
56534
56591
|
# @return [Types::LaunchTemplateInstanceMarketOptionsRequest]
|
56535
56592
|
#
|
56536
56593
|
# @!attribute [rw] credit_specification
|
56537
|
-
# The credit option for CPU usage of the instance. Valid for
|
56538
|
-
#
|
56594
|
+
# The credit option for CPU usage of the instance. Valid only for T
|
56595
|
+
# instances.
|
56539
56596
|
# @return [Types::CreditSpecificationRequest]
|
56540
56597
|
#
|
56541
56598
|
# @!attribute [rw] cpu_options
|
@@ -58446,7 +58503,8 @@ module Aws::EC2
|
|
58446
58503
|
# @return [String]
|
58447
58504
|
#
|
58448
58505
|
# @!attribute [rw] tag_specifications
|
58449
|
-
# The tags
|
58506
|
+
# The tags that are applied to the resources that are created during
|
58507
|
+
# instance launch.
|
58450
58508
|
# @return [Array<Types::LaunchTemplateTagSpecification>]
|
58451
58509
|
#
|
58452
58510
|
# @!attribute [rw] elastic_gpu_specifications
|
data/lib/aws-sdk-ec2/vpc.rb
CHANGED
@@ -1373,6 +1373,9 @@ module Aws::EC2
|
|
1373
1373
|
# * `entry.rule-action` - Allows or denies the matching traffic (`allow`
|
1374
1374
|
# \| `deny`).
|
1375
1375
|
#
|
1376
|
+
# * `entry.egress` - A Boolean that indicates the type of rule. Specify
|
1377
|
+
# `true` for egress rules, or `false` for ingress rules.
|
1378
|
+
#
|
1376
1379
|
# * `entry.rule-number` - The number of an entry (in other words, rule)
|
1377
1380
|
# in the set of ACL entries.
|
1378
1381
|
#
|
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.320.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-06-
|
11
|
+
date: 2022-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|