aws-sdk-ec2 1.599.0 → 1.600.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 +22 -6
- data/lib/aws-sdk-ec2/client_api.rb +9 -2
- data/lib/aws-sdk-ec2/resource.rb +1 -0
- data/lib/aws-sdk-ec2/subnet.rb +1 -0
- data/lib/aws-sdk-ec2/types.rb +46 -5
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +10 -5
- data/sig/resource.rbs +2 -1
- data/sig/subnet.rbs +2 -1
- data/sig/types.rbs +7 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: afa060c956f490d52f4933d756fe5fa86158411e6848ccbee9f07d42efc82a7f
|
|
4
|
+
data.tar.gz: 81a6b6841289ca2ccd3c0cdf2c9a1b485e3e6866f3217ceed5a90b7b4d99f9e3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 603e253e33f1cafe37891da0841c5f39dba5d270c38b9ce68bf4c7f05e14950cc7e5e5b170fc00d52224187043a97a22f1181bb3ef15cf68eb29f9b00d1f8d66
|
|
7
|
+
data.tar.gz: 18043beb14c6849a40435d3c9152d1c2195644e51ba189bbe17d5939f86c8a76b6ade9097ff9739571cb1cbe9c8d3bdbb96323a85912e4ad378c3da6468aa076
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.600.0 (2026-02-12)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Launching nested virtualization. This feature allows you to run nested VMs inside virtual (non-bare metal) EC2 instances.
|
|
8
|
+
|
|
4
9
|
1.599.0 (2026-02-11)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.600.0
|
data/lib/aws-sdk-ec2/client.rb
CHANGED
|
@@ -10413,6 +10413,7 @@ module Aws::EC2
|
|
|
10413
10413
|
# core_count: 1,
|
|
10414
10414
|
# threads_per_core: 1,
|
|
10415
10415
|
# amd_sev_snp: "enabled", # accepts enabled, disabled
|
|
10416
|
+
# nested_virtualization: "enabled", # accepts enabled, disabled
|
|
10416
10417
|
# },
|
|
10417
10418
|
# capacity_reservation_specification: {
|
|
10418
10419
|
# capacity_reservation_preference: "capacity-reservations-only", # accepts capacity-reservations-only, open, none
|
|
@@ -10860,6 +10861,7 @@ module Aws::EC2
|
|
|
10860
10861
|
# core_count: 1,
|
|
10861
10862
|
# threads_per_core: 1,
|
|
10862
10863
|
# amd_sev_snp: "enabled", # accepts enabled, disabled
|
|
10864
|
+
# nested_virtualization: "enabled", # accepts enabled, disabled
|
|
10863
10865
|
# },
|
|
10864
10866
|
# capacity_reservation_specification: {
|
|
10865
10867
|
# capacity_reservation_preference: "capacity-reservations-only", # accepts capacity-reservations-only, open, none
|
|
@@ -11086,6 +11088,7 @@ module Aws::EC2
|
|
|
11086
11088
|
# resp.launch_template_version.launch_template_data.cpu_options.core_count #=> Integer
|
|
11087
11089
|
# resp.launch_template_version.launch_template_data.cpu_options.threads_per_core #=> Integer
|
|
11088
11090
|
# resp.launch_template_version.launch_template_data.cpu_options.amd_sev_snp #=> String, one of "enabled", "disabled"
|
|
11091
|
+
# resp.launch_template_version.launch_template_data.cpu_options.nested_virtualization #=> String, one of "enabled", "disabled"
|
|
11089
11092
|
# resp.launch_template_version.launch_template_data.capacity_reservation_specification.capacity_reservation_preference #=> String, one of "capacity-reservations-only", "open", "none"
|
|
11090
11093
|
# resp.launch_template_version.launch_template_data.capacity_reservation_specification.capacity_reservation_target.capacity_reservation_id #=> String
|
|
11091
11094
|
# resp.launch_template_version.launch_template_data.capacity_reservation_specification.capacity_reservation_target.capacity_reservation_resource_group_arn #=> String
|
|
@@ -31805,7 +31808,7 @@ module Aws::EC2
|
|
|
31805
31808
|
# resp.instance_types[0].processor_info.supported_architectures[0] #=> String, one of "i386", "x86_64", "arm64", "x86_64_mac", "arm64_mac"
|
|
31806
31809
|
# resp.instance_types[0].processor_info.sustained_clock_speed_in_ghz #=> Float
|
|
31807
31810
|
# resp.instance_types[0].processor_info.supported_features #=> Array
|
|
31808
|
-
# resp.instance_types[0].processor_info.supported_features[0] #=> String, one of "amd-sev-snp"
|
|
31811
|
+
# resp.instance_types[0].processor_info.supported_features[0] #=> String, one of "amd-sev-snp", "nested-virtualization"
|
|
31809
31812
|
# resp.instance_types[0].processor_info.manufacturer #=> String
|
|
31810
31813
|
# resp.instance_types[0].v_cpu_info.default_v_cpus #=> Integer
|
|
31811
31814
|
# resp.instance_types[0].v_cpu_info.default_cores #=> Integer
|
|
@@ -32646,6 +32649,7 @@ module Aws::EC2
|
|
|
32646
32649
|
# resp.reservations[0].instances[0].cpu_options.core_count #=> Integer
|
|
32647
32650
|
# resp.reservations[0].instances[0].cpu_options.threads_per_core #=> Integer
|
|
32648
32651
|
# resp.reservations[0].instances[0].cpu_options.amd_sev_snp #=> String, one of "enabled", "disabled"
|
|
32652
|
+
# resp.reservations[0].instances[0].cpu_options.nested_virtualization #=> String, one of "enabled", "disabled"
|
|
32649
32653
|
# resp.reservations[0].instances[0].capacity_block_id #=> String
|
|
32650
32654
|
# resp.reservations[0].instances[0].capacity_reservation_id #=> String
|
|
32651
32655
|
# resp.reservations[0].instances[0].capacity_reservation_specification.capacity_reservation_preference #=> String, one of "capacity-reservations-only", "open", "none"
|
|
@@ -34161,6 +34165,7 @@ module Aws::EC2
|
|
|
34161
34165
|
# resp.launch_template_versions[0].launch_template_data.cpu_options.core_count #=> Integer
|
|
34162
34166
|
# resp.launch_template_versions[0].launch_template_data.cpu_options.threads_per_core #=> Integer
|
|
34163
34167
|
# resp.launch_template_versions[0].launch_template_data.cpu_options.amd_sev_snp #=> String, one of "enabled", "disabled"
|
|
34168
|
+
# resp.launch_template_versions[0].launch_template_data.cpu_options.nested_virtualization #=> String, one of "enabled", "disabled"
|
|
34164
34169
|
# resp.launch_template_versions[0].launch_template_data.capacity_reservation_specification.capacity_reservation_preference #=> String, one of "capacity-reservations-only", "open", "none"
|
|
34165
34170
|
# resp.launch_template_versions[0].launch_template_data.capacity_reservation_specification.capacity_reservation_target.capacity_reservation_id #=> String
|
|
34166
34171
|
# resp.launch_template_versions[0].launch_template_data.capacity_reservation_specification.capacity_reservation_target.capacity_reservation_resource_group_arn #=> String
|
|
@@ -53778,6 +53783,7 @@ module Aws::EC2
|
|
|
53778
53783
|
# resp.launch_template_data.cpu_options.core_count #=> Integer
|
|
53779
53784
|
# resp.launch_template_data.cpu_options.threads_per_core #=> Integer
|
|
53780
53785
|
# resp.launch_template_data.cpu_options.amd_sev_snp #=> String, one of "enabled", "disabled"
|
|
53786
|
+
# resp.launch_template_data.cpu_options.nested_virtualization #=> String, one of "enabled", "disabled"
|
|
53781
53787
|
# resp.launch_template_data.capacity_reservation_specification.capacity_reservation_preference #=> String, one of "capacity-reservations-only", "open", "none"
|
|
53782
53788
|
# resp.launch_template_data.capacity_reservation_specification.capacity_reservation_target.capacity_reservation_id #=> String
|
|
53783
53789
|
# resp.launch_template_data.capacity_reservation_specification.capacity_reservation_target.capacity_reservation_resource_group_arn #=> String
|
|
@@ -58998,12 +59004,17 @@ module Aws::EC2
|
|
|
58998
59004
|
# @option params [required, String] :instance_id
|
|
58999
59005
|
# The ID of the instance to update.
|
|
59000
59006
|
#
|
|
59001
|
-
# @option params [
|
|
59007
|
+
# @option params [Integer] :core_count
|
|
59002
59008
|
# The number of CPU cores to activate for the specified instance.
|
|
59003
59009
|
#
|
|
59004
|
-
# @option params [
|
|
59010
|
+
# @option params [Integer] :threads_per_core
|
|
59005
59011
|
# The number of threads to run for each CPU core.
|
|
59006
59012
|
#
|
|
59013
|
+
# @option params [String] :nested_virtualization
|
|
59014
|
+
# Indicates whether to enable or disable nested virtualization for the
|
|
59015
|
+
# instance. When nested virtualization is enabled, Virtual Secure Mode
|
|
59016
|
+
# (VSM) is automatically disabled for the instance.
|
|
59017
|
+
#
|
|
59007
59018
|
# @option params [Boolean] :dry_run
|
|
59008
59019
|
# Checks whether you have the required permissions for the operation,
|
|
59009
59020
|
# without actually making the request, and provides an error response.
|
|
@@ -59015,13 +59026,15 @@ module Aws::EC2
|
|
|
59015
59026
|
# * {Types::ModifyInstanceCpuOptionsResult#instance_id #instance_id} => String
|
|
59016
59027
|
# * {Types::ModifyInstanceCpuOptionsResult#core_count #core_count} => Integer
|
|
59017
59028
|
# * {Types::ModifyInstanceCpuOptionsResult#threads_per_core #threads_per_core} => Integer
|
|
59029
|
+
# * {Types::ModifyInstanceCpuOptionsResult#nested_virtualization #nested_virtualization} => String
|
|
59018
59030
|
#
|
|
59019
59031
|
# @example Request syntax with placeholder values
|
|
59020
59032
|
#
|
|
59021
59033
|
# resp = client.modify_instance_cpu_options({
|
|
59022
59034
|
# instance_id: "InstanceId", # required
|
|
59023
|
-
# core_count: 1,
|
|
59024
|
-
# threads_per_core: 1,
|
|
59035
|
+
# core_count: 1,
|
|
59036
|
+
# threads_per_core: 1,
|
|
59037
|
+
# nested_virtualization: "enabled", # accepts enabled, disabled
|
|
59025
59038
|
# dry_run: false,
|
|
59026
59039
|
# })
|
|
59027
59040
|
#
|
|
@@ -59030,6 +59043,7 @@ module Aws::EC2
|
|
|
59030
59043
|
# resp.instance_id #=> String
|
|
59031
59044
|
# resp.core_count #=> Integer
|
|
59032
59045
|
# resp.threads_per_core #=> Integer
|
|
59046
|
+
# resp.nested_virtualization #=> String, one of "enabled", "disabled"
|
|
59033
59047
|
#
|
|
59034
59048
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceCpuOptions AWS API Documentation
|
|
59035
59049
|
#
|
|
@@ -69893,6 +69907,7 @@ module Aws::EC2
|
|
|
69893
69907
|
# core_count: 1,
|
|
69894
69908
|
# threads_per_core: 1,
|
|
69895
69909
|
# amd_sev_snp: "enabled", # accepts enabled, disabled
|
|
69910
|
+
# nested_virtualization: "enabled", # accepts enabled, disabled
|
|
69896
69911
|
# },
|
|
69897
69912
|
# capacity_reservation_specification: {
|
|
69898
69913
|
# capacity_reservation_preference: "capacity-reservations-only", # accepts capacity-reservations-only, open, none
|
|
@@ -70123,6 +70138,7 @@ module Aws::EC2
|
|
|
70123
70138
|
# resp.instances[0].cpu_options.core_count #=> Integer
|
|
70124
70139
|
# resp.instances[0].cpu_options.threads_per_core #=> Integer
|
|
70125
70140
|
# resp.instances[0].cpu_options.amd_sev_snp #=> String, one of "enabled", "disabled"
|
|
70141
|
+
# resp.instances[0].cpu_options.nested_virtualization #=> String, one of "enabled", "disabled"
|
|
70126
70142
|
# resp.instances[0].capacity_block_id #=> String
|
|
70127
70143
|
# resp.instances[0].capacity_reservation_id #=> String
|
|
70128
70144
|
# resp.instances[0].capacity_reservation_specification.capacity_reservation_preference #=> String, one of "capacity-reservations-only", "open", "none"
|
|
@@ -72997,7 +73013,7 @@ module Aws::EC2
|
|
|
72997
73013
|
tracer: tracer
|
|
72998
73014
|
)
|
|
72999
73015
|
context[:gem_name] = 'aws-sdk-ec2'
|
|
73000
|
-
context[:gem_version] = '1.
|
|
73016
|
+
context[:gem_version] = '1.600.0'
|
|
73001
73017
|
Seahorse::Client::Request.new(handlers, context)
|
|
73002
73018
|
end
|
|
73003
73019
|
|
|
@@ -2789,6 +2789,7 @@ module Aws::EC2
|
|
|
2789
2789
|
NatGatewayList = Shapes::ListShape.new(name: 'NatGatewayList')
|
|
2790
2790
|
NatGatewayState = Shapes::StringShape.new(name: 'NatGatewayState')
|
|
2791
2791
|
NativeApplicationOidcOptions = Shapes::StructureShape.new(name: 'NativeApplicationOidcOptions')
|
|
2792
|
+
NestedVirtualizationSpecification = Shapes::StringShape.new(name: 'NestedVirtualizationSpecification')
|
|
2792
2793
|
NetmaskLength = Shapes::IntegerShape.new(name: 'NetmaskLength')
|
|
2793
2794
|
NetworkAcl = Shapes::StructureShape.new(name: 'NetworkAcl')
|
|
2794
2795
|
NetworkAclAssociation = Shapes::StructureShape.new(name: 'NetworkAclAssociation')
|
|
@@ -5566,11 +5567,13 @@ module Aws::EC2
|
|
|
5566
5567
|
CpuOptions.add_member(:core_count, Shapes::ShapeRef.new(shape: Integer, location_name: "coreCount"))
|
|
5567
5568
|
CpuOptions.add_member(:threads_per_core, Shapes::ShapeRef.new(shape: Integer, location_name: "threadsPerCore"))
|
|
5568
5569
|
CpuOptions.add_member(:amd_sev_snp, Shapes::ShapeRef.new(shape: AmdSevSnpSpecification, location_name: "amdSevSnp"))
|
|
5570
|
+
CpuOptions.add_member(:nested_virtualization, Shapes::ShapeRef.new(shape: NestedVirtualizationSpecification, location_name: "nestedVirtualization"))
|
|
5569
5571
|
CpuOptions.struct_class = Types::CpuOptions
|
|
5570
5572
|
|
|
5571
5573
|
CpuOptionsRequest.add_member(:core_count, Shapes::ShapeRef.new(shape: Integer, location_name: "CoreCount"))
|
|
5572
5574
|
CpuOptionsRequest.add_member(:threads_per_core, Shapes::ShapeRef.new(shape: Integer, location_name: "ThreadsPerCore"))
|
|
5573
5575
|
CpuOptionsRequest.add_member(:amd_sev_snp, Shapes::ShapeRef.new(shape: AmdSevSnpSpecification, location_name: "AmdSevSnp"))
|
|
5576
|
+
CpuOptionsRequest.add_member(:nested_virtualization, Shapes::ShapeRef.new(shape: NestedVirtualizationSpecification, location_name: "NestedVirtualization"))
|
|
5574
5577
|
CpuOptionsRequest.struct_class = Types::CpuOptionsRequest
|
|
5575
5578
|
|
|
5576
5579
|
CpuPerformanceFactor.add_member(:references, Shapes::ShapeRef.new(shape: PerformanceFactorReferenceSet, location_name: "referenceSet"))
|
|
@@ -13610,11 +13613,13 @@ module Aws::EC2
|
|
|
13610
13613
|
LaunchTemplateCpuOptions.add_member(:core_count, Shapes::ShapeRef.new(shape: Integer, location_name: "coreCount"))
|
|
13611
13614
|
LaunchTemplateCpuOptions.add_member(:threads_per_core, Shapes::ShapeRef.new(shape: Integer, location_name: "threadsPerCore"))
|
|
13612
13615
|
LaunchTemplateCpuOptions.add_member(:amd_sev_snp, Shapes::ShapeRef.new(shape: AmdSevSnpSpecification, location_name: "amdSevSnp"))
|
|
13616
|
+
LaunchTemplateCpuOptions.add_member(:nested_virtualization, Shapes::ShapeRef.new(shape: NestedVirtualizationSpecification, location_name: "nestedVirtualization"))
|
|
13613
13617
|
LaunchTemplateCpuOptions.struct_class = Types::LaunchTemplateCpuOptions
|
|
13614
13618
|
|
|
13615
13619
|
LaunchTemplateCpuOptionsRequest.add_member(:core_count, Shapes::ShapeRef.new(shape: Integer, location_name: "CoreCount"))
|
|
13616
13620
|
LaunchTemplateCpuOptionsRequest.add_member(:threads_per_core, Shapes::ShapeRef.new(shape: Integer, location_name: "ThreadsPerCore"))
|
|
13617
13621
|
LaunchTemplateCpuOptionsRequest.add_member(:amd_sev_snp, Shapes::ShapeRef.new(shape: AmdSevSnpSpecification, location_name: "AmdSevSnp"))
|
|
13622
|
+
LaunchTemplateCpuOptionsRequest.add_member(:nested_virtualization, Shapes::ShapeRef.new(shape: NestedVirtualizationSpecification, location_name: "NestedVirtualization"))
|
|
13618
13623
|
LaunchTemplateCpuOptionsRequest.struct_class = Types::LaunchTemplateCpuOptionsRequest
|
|
13619
13624
|
|
|
13620
13625
|
LaunchTemplateEbsBlockDevice.add_member(:encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "encrypted"))
|
|
@@ -14399,14 +14404,16 @@ module Aws::EC2
|
|
|
14399
14404
|
ModifyInstanceConnectEndpointResult.struct_class = Types::ModifyInstanceConnectEndpointResult
|
|
14400
14405
|
|
|
14401
14406
|
ModifyInstanceCpuOptionsRequest.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, required: true, location_name: "InstanceId"))
|
|
14402
|
-
ModifyInstanceCpuOptionsRequest.add_member(:core_count, Shapes::ShapeRef.new(shape: Integer,
|
|
14403
|
-
ModifyInstanceCpuOptionsRequest.add_member(:threads_per_core, Shapes::ShapeRef.new(shape: Integer,
|
|
14407
|
+
ModifyInstanceCpuOptionsRequest.add_member(:core_count, Shapes::ShapeRef.new(shape: Integer, location_name: "CoreCount"))
|
|
14408
|
+
ModifyInstanceCpuOptionsRequest.add_member(:threads_per_core, Shapes::ShapeRef.new(shape: Integer, location_name: "ThreadsPerCore"))
|
|
14409
|
+
ModifyInstanceCpuOptionsRequest.add_member(:nested_virtualization, Shapes::ShapeRef.new(shape: NestedVirtualizationSpecification, location_name: "NestedVirtualization"))
|
|
14404
14410
|
ModifyInstanceCpuOptionsRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
|
14405
14411
|
ModifyInstanceCpuOptionsRequest.struct_class = Types::ModifyInstanceCpuOptionsRequest
|
|
14406
14412
|
|
|
14407
14413
|
ModifyInstanceCpuOptionsResult.add_member(:instance_id, Shapes::ShapeRef.new(shape: InstanceId, location_name: "instanceId"))
|
|
14408
14414
|
ModifyInstanceCpuOptionsResult.add_member(:core_count, Shapes::ShapeRef.new(shape: Integer, location_name: "coreCount"))
|
|
14409
14415
|
ModifyInstanceCpuOptionsResult.add_member(:threads_per_core, Shapes::ShapeRef.new(shape: Integer, location_name: "threadsPerCore"))
|
|
14416
|
+
ModifyInstanceCpuOptionsResult.add_member(:nested_virtualization, Shapes::ShapeRef.new(shape: NestedVirtualizationSpecification, location_name: "nestedVirtualization"))
|
|
14410
14417
|
ModifyInstanceCpuOptionsResult.struct_class = Types::ModifyInstanceCpuOptionsResult
|
|
14411
14418
|
|
|
14412
14419
|
ModifyInstanceCreditSpecificationRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "DryRun"))
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
|
@@ -181,6 +181,7 @@ module Aws::EC2
|
|
|
181
181
|
# core_count: 1,
|
|
182
182
|
# threads_per_core: 1,
|
|
183
183
|
# amd_sev_snp: "enabled", # accepts enabled, disabled
|
|
184
|
+
# nested_virtualization: "enabled", # accepts enabled, disabled
|
|
184
185
|
# },
|
|
185
186
|
# capacity_reservation_specification: {
|
|
186
187
|
# capacity_reservation_preference: "capacity-reservations-only", # accepts capacity-reservations-only, open, none
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
|
@@ -442,6 +442,7 @@ module Aws::EC2
|
|
|
442
442
|
# core_count: 1,
|
|
443
443
|
# threads_per_core: 1,
|
|
444
444
|
# amd_sev_snp: "enabled", # accepts enabled, disabled
|
|
445
|
+
# nested_virtualization: "enabled", # accepts enabled, disabled
|
|
445
446
|
# },
|
|
446
447
|
# capacity_reservation_specification: {
|
|
447
448
|
# capacity_reservation_preference: "capacity-reservations-only", # accepts capacity-reservations-only, open, none
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
|
@@ -8428,12 +8428,17 @@ module Aws::EC2
|
|
|
8428
8428
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html
|
|
8429
8429
|
# @return [String]
|
|
8430
8430
|
#
|
|
8431
|
+
# @!attribute [rw] nested_virtualization
|
|
8432
|
+
# Indicates whether the instance is enabled for nested virtualization.
|
|
8433
|
+
# @return [String]
|
|
8434
|
+
#
|
|
8431
8435
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CpuOptions AWS API Documentation
|
|
8432
8436
|
#
|
|
8433
8437
|
class CpuOptions < Struct.new(
|
|
8434
8438
|
:core_count,
|
|
8435
8439
|
:threads_per_core,
|
|
8436
|
-
:amd_sev_snp
|
|
8440
|
+
:amd_sev_snp,
|
|
8441
|
+
:nested_virtualization)
|
|
8437
8442
|
SENSITIVE = []
|
|
8438
8443
|
include Aws::Structure
|
|
8439
8444
|
end
|
|
@@ -8461,12 +8466,21 @@ module Aws::EC2
|
|
|
8461
8466
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html
|
|
8462
8467
|
# @return [String]
|
|
8463
8468
|
#
|
|
8469
|
+
# @!attribute [rw] nested_virtualization
|
|
8470
|
+
# Indicates whether to enable the instance for nested virtualization.
|
|
8471
|
+
# Nested virtualization is supported only on 8th generation
|
|
8472
|
+
# Intel-based instance types (c8i, m8i, r8i, and their flex variants).
|
|
8473
|
+
# When nested virtualization is enabled, Virtual Secure Mode (VSM) is
|
|
8474
|
+
# automatically disabled for the instance.
|
|
8475
|
+
# @return [String]
|
|
8476
|
+
#
|
|
8464
8477
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CpuOptionsRequest AWS API Documentation
|
|
8465
8478
|
#
|
|
8466
8479
|
class CpuOptionsRequest < Struct.new(
|
|
8467
8480
|
:core_count,
|
|
8468
8481
|
:threads_per_core,
|
|
8469
|
-
:amd_sev_snp
|
|
8482
|
+
:amd_sev_snp,
|
|
8483
|
+
:nested_virtualization)
|
|
8470
8484
|
SENSITIVE = []
|
|
8471
8485
|
include Aws::Structure
|
|
8472
8486
|
end
|
|
@@ -56601,12 +56615,17 @@ module Aws::EC2
|
|
|
56601
56615
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html
|
|
56602
56616
|
# @return [String]
|
|
56603
56617
|
#
|
|
56618
|
+
# @!attribute [rw] nested_virtualization
|
|
56619
|
+
# Indicates whether the instance is enabled for nested virtualization.
|
|
56620
|
+
# @return [String]
|
|
56621
|
+
#
|
|
56604
56622
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateCpuOptions AWS API Documentation
|
|
56605
56623
|
#
|
|
56606
56624
|
class LaunchTemplateCpuOptions < Struct.new(
|
|
56607
56625
|
:core_count,
|
|
56608
56626
|
:threads_per_core,
|
|
56609
|
-
:amd_sev_snp
|
|
56627
|
+
:amd_sev_snp,
|
|
56628
|
+
:nested_virtualization)
|
|
56610
56629
|
SENSITIVE = []
|
|
56611
56630
|
include Aws::Structure
|
|
56612
56631
|
end
|
|
@@ -56634,12 +56653,21 @@ module Aws::EC2
|
|
|
56634
56653
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sev-snp.html
|
|
56635
56654
|
# @return [String]
|
|
56636
56655
|
#
|
|
56656
|
+
# @!attribute [rw] nested_virtualization
|
|
56657
|
+
# Indicates whether to enable the instance for nested virtualization.
|
|
56658
|
+
# Nested virtualization is supported only on 8th generation
|
|
56659
|
+
# Intel-based instance types (c8i, m8i, r8i, and their flex variants).
|
|
56660
|
+
# When nested virtualization is enabled, Virtual Secure Mode (VSM) is
|
|
56661
|
+
# automatically disabled for the instance.
|
|
56662
|
+
# @return [String]
|
|
56663
|
+
#
|
|
56637
56664
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateCpuOptionsRequest AWS API Documentation
|
|
56638
56665
|
#
|
|
56639
56666
|
class LaunchTemplateCpuOptionsRequest < Struct.new(
|
|
56640
56667
|
:core_count,
|
|
56641
56668
|
:threads_per_core,
|
|
56642
|
-
:amd_sev_snp
|
|
56669
|
+
:amd_sev_snp,
|
|
56670
|
+
:nested_virtualization)
|
|
56643
56671
|
SENSITIVE = []
|
|
56644
56672
|
include Aws::Structure
|
|
56645
56673
|
end
|
|
@@ -61030,6 +61058,12 @@ module Aws::EC2
|
|
|
61030
61058
|
# The number of threads to run for each CPU core.
|
|
61031
61059
|
# @return [Integer]
|
|
61032
61060
|
#
|
|
61061
|
+
# @!attribute [rw] nested_virtualization
|
|
61062
|
+
# Indicates whether to enable or disable nested virtualization for the
|
|
61063
|
+
# instance. When nested virtualization is enabled, Virtual Secure Mode
|
|
61064
|
+
# (VSM) is automatically disabled for the instance.
|
|
61065
|
+
# @return [String]
|
|
61066
|
+
#
|
|
61033
61067
|
# @!attribute [rw] dry_run
|
|
61034
61068
|
# Checks whether you have the required permissions for the operation,
|
|
61035
61069
|
# without actually making the request, and provides an error response.
|
|
@@ -61043,6 +61077,7 @@ module Aws::EC2
|
|
|
61043
61077
|
:instance_id,
|
|
61044
61078
|
:core_count,
|
|
61045
61079
|
:threads_per_core,
|
|
61080
|
+
:nested_virtualization,
|
|
61046
61081
|
:dry_run)
|
|
61047
61082
|
SENSITIVE = []
|
|
61048
61083
|
include Aws::Structure
|
|
@@ -61062,12 +61097,18 @@ module Aws::EC2
|
|
|
61062
61097
|
# specified instance after the update.
|
|
61063
61098
|
# @return [Integer]
|
|
61064
61099
|
#
|
|
61100
|
+
# @!attribute [rw] nested_virtualization
|
|
61101
|
+
# Indicates whether nested virtualization has been enabled or
|
|
61102
|
+
# disabled.
|
|
61103
|
+
# @return [String]
|
|
61104
|
+
#
|
|
61065
61105
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ModifyInstanceCpuOptionsResult AWS API Documentation
|
|
61066
61106
|
#
|
|
61067
61107
|
class ModifyInstanceCpuOptionsResult < Struct.new(
|
|
61068
61108
|
:instance_id,
|
|
61069
61109
|
:core_count,
|
|
61070
|
-
:threads_per_core
|
|
61110
|
+
:threads_per_core,
|
|
61111
|
+
:nested_virtualization)
|
|
61071
61112
|
SENSITIVE = []
|
|
61072
61113
|
include Aws::Structure
|
|
61073
61114
|
end
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -2421,7 +2421,8 @@ module Aws
|
|
|
2421
2421
|
cpu_options: {
|
|
2422
2422
|
core_count: ::Integer?,
|
|
2423
2423
|
threads_per_core: ::Integer?,
|
|
2424
|
-
amd_sev_snp: ("enabled" | "disabled")
|
|
2424
|
+
amd_sev_snp: ("enabled" | "disabled")?,
|
|
2425
|
+
nested_virtualization: ("enabled" | "disabled")?
|
|
2425
2426
|
}?,
|
|
2426
2427
|
capacity_reservation_specification: {
|
|
2427
2428
|
capacity_reservation_preference: ("capacity-reservations-only" | "open" | "none")?,
|
|
@@ -2713,7 +2714,8 @@ module Aws
|
|
|
2713
2714
|
cpu_options: {
|
|
2714
2715
|
core_count: ::Integer?,
|
|
2715
2716
|
threads_per_core: ::Integer?,
|
|
2716
|
-
amd_sev_snp: ("enabled" | "disabled")
|
|
2717
|
+
amd_sev_snp: ("enabled" | "disabled")?,
|
|
2718
|
+
nested_virtualization: ("enabled" | "disabled")?
|
|
2717
2719
|
}?,
|
|
2718
2720
|
capacity_reservation_specification: {
|
|
2719
2721
|
capacity_reservation_preference: ("capacity-reservations-only" | "open" | "none")?,
|
|
@@ -12429,12 +12431,14 @@ module Aws
|
|
|
12429
12431
|
def instance_id: () -> ::String
|
|
12430
12432
|
def core_count: () -> ::Integer
|
|
12431
12433
|
def threads_per_core: () -> ::Integer
|
|
12434
|
+
def nested_virtualization: () -> ("enabled" | "disabled")
|
|
12432
12435
|
end
|
|
12433
12436
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Client.html#modify_instance_cpu_options-instance_method
|
|
12434
12437
|
def modify_instance_cpu_options: (
|
|
12435
12438
|
instance_id: ::String,
|
|
12436
|
-
core_count: ::Integer,
|
|
12437
|
-
threads_per_core: ::Integer,
|
|
12439
|
+
?core_count: ::Integer,
|
|
12440
|
+
?threads_per_core: ::Integer,
|
|
12441
|
+
?nested_virtualization: ("enabled" | "disabled"),
|
|
12438
12442
|
?dry_run: bool
|
|
12439
12443
|
) -> _ModifyInstanceCpuOptionsResponseSuccess
|
|
12440
12444
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ModifyInstanceCpuOptionsResponseSuccess
|
|
@@ -15168,7 +15172,8 @@ module Aws
|
|
|
15168
15172
|
?cpu_options: {
|
|
15169
15173
|
core_count: ::Integer?,
|
|
15170
15174
|
threads_per_core: ::Integer?,
|
|
15171
|
-
amd_sev_snp: ("enabled" | "disabled")
|
|
15175
|
+
amd_sev_snp: ("enabled" | "disabled")?,
|
|
15176
|
+
nested_virtualization: ("enabled" | "disabled")?
|
|
15172
15177
|
},
|
|
15173
15178
|
?capacity_reservation_specification: {
|
|
15174
15179
|
capacity_reservation_preference: ("capacity-reservations-only" | "open" | "none")?,
|
data/sig/resource.rbs
CHANGED
|
@@ -203,7 +203,8 @@ module Aws
|
|
|
203
203
|
?cpu_options: {
|
|
204
204
|
core_count: ::Integer?,
|
|
205
205
|
threads_per_core: ::Integer?,
|
|
206
|
-
amd_sev_snp: ("enabled" | "disabled")
|
|
206
|
+
amd_sev_snp: ("enabled" | "disabled")?,
|
|
207
|
+
nested_virtualization: ("enabled" | "disabled")?
|
|
207
208
|
},
|
|
208
209
|
?capacity_reservation_specification: {
|
|
209
210
|
capacity_reservation_preference: ("capacity-reservations-only" | "open" | "none")?,
|
data/sig/subnet.rbs
CHANGED
|
@@ -196,7 +196,8 @@ module Aws
|
|
|
196
196
|
?cpu_options: {
|
|
197
197
|
core_count: ::Integer?,
|
|
198
198
|
threads_per_core: ::Integer?,
|
|
199
|
-
amd_sev_snp: ("enabled" | "disabled")
|
|
199
|
+
amd_sev_snp: ("enabled" | "disabled")?,
|
|
200
|
+
nested_virtualization: ("enabled" | "disabled")?
|
|
200
201
|
},
|
|
201
202
|
?capacity_reservation_specification: {
|
|
202
203
|
capacity_reservation_preference: ("capacity-reservations-only" | "open" | "none")?,
|
data/sig/types.rbs
CHANGED
|
@@ -1900,6 +1900,7 @@ module Aws::EC2
|
|
|
1900
1900
|
attr_accessor core_count: ::Integer
|
|
1901
1901
|
attr_accessor threads_per_core: ::Integer
|
|
1902
1902
|
attr_accessor amd_sev_snp: ("enabled" | "disabled")
|
|
1903
|
+
attr_accessor nested_virtualization: ("enabled" | "disabled")
|
|
1903
1904
|
SENSITIVE: []
|
|
1904
1905
|
end
|
|
1905
1906
|
|
|
@@ -1907,6 +1908,7 @@ module Aws::EC2
|
|
|
1907
1908
|
attr_accessor core_count: ::Integer
|
|
1908
1909
|
attr_accessor threads_per_core: ::Integer
|
|
1909
1910
|
attr_accessor amd_sev_snp: ("enabled" | "disabled")
|
|
1911
|
+
attr_accessor nested_virtualization: ("enabled" | "disabled")
|
|
1910
1912
|
SENSITIVE: []
|
|
1911
1913
|
end
|
|
1912
1914
|
|
|
@@ -12170,6 +12172,7 @@ module Aws::EC2
|
|
|
12170
12172
|
attr_accessor core_count: ::Integer
|
|
12171
12173
|
attr_accessor threads_per_core: ::Integer
|
|
12172
12174
|
attr_accessor amd_sev_snp: ("enabled" | "disabled")
|
|
12175
|
+
attr_accessor nested_virtualization: ("enabled" | "disabled")
|
|
12173
12176
|
SENSITIVE: []
|
|
12174
12177
|
end
|
|
12175
12178
|
|
|
@@ -12177,6 +12180,7 @@ module Aws::EC2
|
|
|
12177
12180
|
attr_accessor core_count: ::Integer
|
|
12178
12181
|
attr_accessor threads_per_core: ::Integer
|
|
12179
12182
|
attr_accessor amd_sev_snp: ("enabled" | "disabled")
|
|
12183
|
+
attr_accessor nested_virtualization: ("enabled" | "disabled")
|
|
12180
12184
|
SENSITIVE: []
|
|
12181
12185
|
end
|
|
12182
12186
|
|
|
@@ -13083,6 +13087,7 @@ module Aws::EC2
|
|
|
13083
13087
|
attr_accessor instance_id: ::String
|
|
13084
13088
|
attr_accessor core_count: ::Integer
|
|
13085
13089
|
attr_accessor threads_per_core: ::Integer
|
|
13090
|
+
attr_accessor nested_virtualization: ("enabled" | "disabled")
|
|
13086
13091
|
attr_accessor dry_run: bool
|
|
13087
13092
|
SENSITIVE: []
|
|
13088
13093
|
end
|
|
@@ -13091,6 +13096,7 @@ module Aws::EC2
|
|
|
13091
13096
|
attr_accessor instance_id: ::String
|
|
13092
13097
|
attr_accessor core_count: ::Integer
|
|
13093
13098
|
attr_accessor threads_per_core: ::Integer
|
|
13099
|
+
attr_accessor nested_virtualization: ("enabled" | "disabled")
|
|
13094
13100
|
SENSITIVE: []
|
|
13095
13101
|
end
|
|
13096
13102
|
|
|
@@ -14868,7 +14874,7 @@ module Aws::EC2
|
|
|
14868
14874
|
class ProcessorInfo
|
|
14869
14875
|
attr_accessor supported_architectures: ::Array[("i386" | "x86_64" | "arm64" | "x86_64_mac" | "arm64_mac")]
|
|
14870
14876
|
attr_accessor sustained_clock_speed_in_ghz: ::Float
|
|
14871
|
-
attr_accessor supported_features: ::Array[("amd-sev-snp")]
|
|
14877
|
+
attr_accessor supported_features: ::Array[("amd-sev-snp" | "nested-virtualization")]
|
|
14872
14878
|
attr_accessor manufacturer: ::String
|
|
14873
14879
|
SENSITIVE: []
|
|
14874
14880
|
end
|