aws-sdk-ec2 1.376.0 → 1.377.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +68 -125
- data/lib/aws-sdk-ec2/client_api.rb +10 -0
- data/lib/aws-sdk-ec2/instance.rb +14 -16
- data/lib/aws-sdk-ec2/placement_group.rb +0 -6
- data/lib/aws-sdk-ec2/resource.rb +15 -21
- data/lib/aws-sdk-ec2/subnet.rb +14 -20
- data/lib/aws-sdk-ec2/types.rb +124 -127
- data/lib/aws-sdk-ec2/vpc.rb +0 -6
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +2 -2
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -223,6 +223,7 @@ module Aws::EC2
|
|
223
223
|
# cpu_options: {
|
224
224
|
# core_count: 1,
|
225
225
|
# threads_per_core: 1,
|
226
|
+
# amd_sev_snp: "enabled", # accepts enabled, disabled
|
226
227
|
# },
|
227
228
|
# capacity_reservation_specification: {
|
228
229
|
# capacity_reservation_preference: "open", # accepts open, none
|
@@ -282,21 +283,20 @@ module Aws::EC2
|
|
282
283
|
#
|
283
284
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html
|
284
285
|
# @option options [Integer] :ipv_6_address_count
|
285
|
-
#
|
286
|
-
#
|
287
|
-
#
|
288
|
-
#
|
289
|
-
#
|
290
|
-
# launch.
|
286
|
+
# The number of IPv6 addresses to associate with the primary network
|
287
|
+
# interface. Amazon EC2 chooses the IPv6 addresses from the range of
|
288
|
+
# your subnet. You cannot specify this option and the option to assign
|
289
|
+
# specific IPv6 addresses in the same request. You can specify this
|
290
|
+
# option if you've specified a minimum number of instances to launch.
|
291
291
|
#
|
292
292
|
# You cannot specify this option and the network interfaces option in
|
293
293
|
# the same request.
|
294
294
|
# @option options [Array<Types::InstanceIpv6Address>] :ipv_6_addresses
|
295
|
-
#
|
296
|
-
#
|
297
|
-
# option
|
298
|
-
#
|
299
|
-
#
|
295
|
+
# The IPv6 addresses from the range of the subnet to associate with the
|
296
|
+
# primary network interface. You cannot specify this option and the
|
297
|
+
# option to assign a number of IPv6 addresses in the same request. You
|
298
|
+
# cannot specify this option if you've specified a minimum number of
|
299
|
+
# instances to launch.
|
300
300
|
#
|
301
301
|
# You cannot specify this option and the network interfaces option in
|
302
302
|
# the same request.
|
@@ -376,14 +376,14 @@ module Aws::EC2
|
|
376
376
|
#
|
377
377
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateSecurityGroup.html
|
378
378
|
# @option options [Array<String>] :security_groups
|
379
|
-
# \[
|
379
|
+
# \[Default VPC\] The names of the security groups.
|
380
380
|
#
|
381
381
|
# If you specify a network interface, you must specify any security
|
382
382
|
# groups as part of the network interface.
|
383
383
|
#
|
384
384
|
# Default: Amazon EC2 uses the default security group.
|
385
385
|
# @option options [String] :subnet_id
|
386
|
-
#
|
386
|
+
# The ID of the subnet to launch the instance into.
|
387
387
|
#
|
388
388
|
# If you specify a network interface, you must specify any subnets as
|
389
389
|
# part of the network interface.
|
@@ -454,8 +454,8 @@ module Aws::EC2
|
|
454
454
|
# a network interface, you must specify any security groups and subnets
|
455
455
|
# as part of the network interface.
|
456
456
|
# @option options [String] :private_ip_address
|
457
|
-
#
|
458
|
-
#
|
457
|
+
# The primary IPv4 address. You must specify a value from the IPv4
|
458
|
+
# address range of the subnet.
|
459
459
|
#
|
460
460
|
# Only one private IP address can be designated as primary. You can't
|
461
461
|
# specify this option if you've specified the option to designate a
|
@@ -2321,12 +2321,6 @@ module Aws::EC2
|
|
2321
2321
|
#
|
2322
2322
|
# * `dns-name` - The public DNS name of the instance.
|
2323
2323
|
#
|
2324
|
-
# * `group-id` - The ID of the security group for the instance.
|
2325
|
-
# EC2-Classic only.
|
2326
|
-
#
|
2327
|
-
# * `group-name` - The name of the security group for the instance.
|
2328
|
-
# EC2-Classic only.
|
2329
|
-
#
|
2330
2324
|
# * `hibernation-options.configured` - A Boolean that indicates whether
|
2331
2325
|
# the instance is enabled for hibernation. A value of `true` means
|
2332
2326
|
# that the instance is enabled for hibernation.
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -447,6 +447,7 @@ module Aws::EC2
|
|
447
447
|
# cpu_options: {
|
448
448
|
# core_count: 1,
|
449
449
|
# threads_per_core: 1,
|
450
|
+
# amd_sev_snp: "enabled", # accepts enabled, disabled
|
450
451
|
# },
|
451
452
|
# capacity_reservation_specification: {
|
452
453
|
# capacity_reservation_preference: "open", # accepts open, none
|
@@ -506,21 +507,20 @@ module Aws::EC2
|
|
506
507
|
#
|
507
508
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html
|
508
509
|
# @option options [Integer] :ipv_6_address_count
|
509
|
-
#
|
510
|
-
#
|
511
|
-
#
|
512
|
-
#
|
513
|
-
#
|
514
|
-
# launch.
|
510
|
+
# The number of IPv6 addresses to associate with the primary network
|
511
|
+
# interface. Amazon EC2 chooses the IPv6 addresses from the range of
|
512
|
+
# your subnet. You cannot specify this option and the option to assign
|
513
|
+
# specific IPv6 addresses in the same request. You can specify this
|
514
|
+
# option if you've specified a minimum number of instances to launch.
|
515
515
|
#
|
516
516
|
# You cannot specify this option and the network interfaces option in
|
517
517
|
# the same request.
|
518
518
|
# @option options [Array<Types::InstanceIpv6Address>] :ipv_6_addresses
|
519
|
-
#
|
520
|
-
#
|
521
|
-
# option
|
522
|
-
#
|
523
|
-
#
|
519
|
+
# The IPv6 addresses from the range of the subnet to associate with the
|
520
|
+
# primary network interface. You cannot specify this option and the
|
521
|
+
# option to assign a number of IPv6 addresses in the same request. You
|
522
|
+
# cannot specify this option if you've specified a minimum number of
|
523
|
+
# instances to launch.
|
524
524
|
#
|
525
525
|
# You cannot specify this option and the network interfaces option in
|
526
526
|
# the same request.
|
@@ -600,7 +600,7 @@ module Aws::EC2
|
|
600
600
|
#
|
601
601
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateSecurityGroup.html
|
602
602
|
# @option options [Array<String>] :security_groups
|
603
|
-
# \[
|
603
|
+
# \[Default VPC\] The names of the security groups.
|
604
604
|
#
|
605
605
|
# If you specify a network interface, you must specify any security
|
606
606
|
# groups as part of the network interface.
|
@@ -673,8 +673,8 @@ module Aws::EC2
|
|
673
673
|
# a network interface, you must specify any security groups and subnets
|
674
674
|
# as part of the network interface.
|
675
675
|
# @option options [String] :private_ip_address
|
676
|
-
#
|
677
|
-
#
|
676
|
+
# The primary IPv4 address. You must specify a value from the IPv4
|
677
|
+
# address range of the subnet.
|
678
678
|
#
|
679
679
|
# Only one private IP address can be designated as primary. You can't
|
680
680
|
# specify this option if you've specified the option to designate a
|
@@ -1127,12 +1127,6 @@ module Aws::EC2
|
|
1127
1127
|
#
|
1128
1128
|
# * `dns-name` - The public DNS name of the instance.
|
1129
1129
|
#
|
1130
|
-
# * `group-id` - The ID of the security group for the instance.
|
1131
|
-
# EC2-Classic only.
|
1132
|
-
#
|
1133
|
-
# * `group-name` - The name of the security group for the instance.
|
1134
|
-
# EC2-Classic only.
|
1135
|
-
#
|
1136
1130
|
# * `hibernation-options.configured` - A Boolean that indicates whether
|
1137
1131
|
# the instance is enabled for hibernation. A value of `true` means
|
1138
1132
|
# that the instance is enabled for hibernation.
|