aws-sdk-ec2 1.376.0 → 1.378.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +70 -125
- data/lib/aws-sdk-ec2/client_api.rb +16 -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/types.rb
CHANGED
@@ -4061,7 +4061,7 @@ module Aws::EC2
|
|
4061
4061
|
# @return [Boolean]
|
4062
4062
|
#
|
4063
4063
|
# @!attribute [rw] spot_instance_request_ids
|
4064
|
-
#
|
4064
|
+
# The IDs of the Spot Instance requests.
|
4065
4065
|
# @return [Array<String>]
|
4066
4066
|
#
|
4067
4067
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelSpotInstanceRequestsRequest AWS API Documentation
|
@@ -4076,7 +4076,7 @@ module Aws::EC2
|
|
4076
4076
|
# Contains the output of CancelSpotInstanceRequests.
|
4077
4077
|
#
|
4078
4078
|
# @!attribute [rw] cancelled_spot_instance_requests
|
4079
|
-
#
|
4079
|
+
# The Spot Instance requests.
|
4080
4080
|
# @return [Array<Types::CancelledSpotInstanceRequest>]
|
4081
4081
|
#
|
4082
4082
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelSpotInstanceRequestsResult AWS API Documentation
|
@@ -6207,11 +6207,16 @@ module Aws::EC2
|
|
6207
6207
|
# The number of threads per CPU core.
|
6208
6208
|
# @return [Integer]
|
6209
6209
|
#
|
6210
|
+
# @!attribute [rw] amd_sev_snp
|
6211
|
+
# Indicates whether the instance is enabled for AMD SEV-SNP.
|
6212
|
+
# @return [String]
|
6213
|
+
#
|
6210
6214
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CpuOptions AWS API Documentation
|
6211
6215
|
#
|
6212
6216
|
class CpuOptions < Struct.new(
|
6213
6217
|
:core_count,
|
6214
|
-
:threads_per_core
|
6218
|
+
:threads_per_core,
|
6219
|
+
:amd_sev_snp)
|
6215
6220
|
SENSITIVE = []
|
6216
6221
|
include Aws::Structure
|
6217
6222
|
end
|
@@ -6229,11 +6234,17 @@ module Aws::EC2
|
|
6229
6234
|
# value of `2`.
|
6230
6235
|
# @return [Integer]
|
6231
6236
|
#
|
6237
|
+
# @!attribute [rw] amd_sev_snp
|
6238
|
+
# Indicates whether to enable the instance for AMD SEV-SNP. AMD
|
6239
|
+
# SEV-SNP is supported with M6a, R6a, and C6a instance types only.
|
6240
|
+
# @return [String]
|
6241
|
+
#
|
6232
6242
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CpuOptionsRequest AWS API Documentation
|
6233
6243
|
#
|
6234
6244
|
class CpuOptionsRequest < Struct.new(
|
6235
6245
|
:core_count,
|
6236
|
-
:threads_per_core
|
6246
|
+
:threads_per_core,
|
6247
|
+
:amd_sev_snp)
|
6237
6248
|
SENSITIVE = []
|
6238
6249
|
include Aws::Structure
|
6239
6250
|
end
|
@@ -19064,8 +19075,8 @@ module Aws::EC2
|
|
19064
19075
|
# @!attribute [rw] filters
|
19065
19076
|
# One or more filters. Filter names and values are case-sensitive.
|
19066
19077
|
#
|
19067
|
-
# * `auto-recovery-supported` - Indicates whether
|
19068
|
-
# supported (`true` \| `false`).
|
19078
|
+
# * `auto-recovery-supported` - Indicates whether Amazon CloudWatch
|
19079
|
+
# action based recovery is supported (`true` \| `false`).
|
19069
19080
|
#
|
19070
19081
|
# * `bare-metal` - Indicates whether it is a bare metal instance type
|
19071
19082
|
# (`true` \| `false`).
|
@@ -19298,12 +19309,6 @@ module Aws::EC2
|
|
19298
19309
|
#
|
19299
19310
|
# * `dns-name` - The public DNS name of the instance.
|
19300
19311
|
#
|
19301
|
-
# * `group-id` - The ID of the security group for the instance.
|
19302
|
-
# EC2-Classic only.
|
19303
|
-
#
|
19304
|
-
# * `group-name` - The name of the security group for the instance.
|
19305
|
-
# EC2-Classic only.
|
19306
|
-
#
|
19307
19312
|
# * `hibernation-options.configured` - A Boolean that indicates
|
19308
19313
|
# whether the instance is enabled for hibernation. A value of `true`
|
19309
19314
|
# means that the instance is enabled for hibernation.
|
@@ -22137,10 +22142,6 @@ module Aws::EC2
|
|
22137
22142
|
# * `modification-result.target-configuration.instance-type` - The
|
22138
22143
|
# instance type of the new Reserved Instances.
|
22139
22144
|
#
|
22140
|
-
# * `modification-result.target-configuration.platform` - The network
|
22141
|
-
# platform of the new Reserved Instances (`EC2-Classic` \|
|
22142
|
-
# `EC2-VPC`).
|
22143
|
-
#
|
22144
22145
|
# * `reserved-instances-id` - The ID of the Reserved Instances
|
22145
22146
|
# modified.
|
22146
22147
|
#
|
@@ -22221,17 +22222,12 @@ module Aws::EC2
|
|
22221
22222
|
# the Reserved Instance Marketplace are listed.
|
22222
22223
|
#
|
22223
22224
|
# * `product-description` - The Reserved Instance product platform
|
22224
|
-
# description
|
22225
|
-
#
|
22226
|
-
#
|
22227
|
-
#
|
22228
|
-
#
|
22229
|
-
#
|
22230
|
-
# \| `Windows` \| `Windows (Amazon VPC)` \| `Windows with SQL Server
|
22231
|
-
# Standard` \| `Windows with SQL Server Standard (Amazon VPC)` \|
|
22232
|
-
# `Windows with SQL Server Web` \| ` Windows with SQL Server Web
|
22233
|
-
# (Amazon VPC)` \| `Windows with SQL Server Enterprise` \| `Windows
|
22234
|
-
# with SQL Server Enterprise (Amazon VPC)`)
|
22225
|
+
# description (`Linux/UNIX` \| `Linux with SQL Server Standard` \|
|
22226
|
+
# `Linux with SQL Server Web` \| `Linux with SQL Server Enterprise`
|
22227
|
+
# \| `SUSE Linux` \| `Red Hat Enterprise Linux` \| `Red Hat
|
22228
|
+
# Enterprise Linux with HA` \| `Windows` \| `Windows with SQL Server
|
22229
|
+
# Standard` \| `Windows with SQL Server Web` \| `Windows with SQL
|
22230
|
+
# Server Enterprise`).
|
22235
22231
|
#
|
22236
22232
|
# * `reserved-instances-offering-id` - The Reserved Instances offering
|
22237
22233
|
# ID.
|
@@ -22396,17 +22392,12 @@ module Aws::EC2
|
|
22396
22392
|
# `Availability Zone`).
|
22397
22393
|
#
|
22398
22394
|
# * `product-description` - The Reserved Instance product platform
|
22399
|
-
# description
|
22400
|
-
#
|
22401
|
-
#
|
22402
|
-
#
|
22403
|
-
#
|
22404
|
-
#
|
22405
|
-
# \| `Windows` \| `Windows (Amazon VPC)` \| `Windows with SQL Server
|
22406
|
-
# Standard` \| `Windows with SQL Server Standard (Amazon VPC)` \|
|
22407
|
-
# `Windows with SQL Server Web` \| `Windows with SQL Server Web
|
22408
|
-
# (Amazon VPC)` \| `Windows with SQL Server Enterprise` \| `Windows
|
22409
|
-
# with SQL Server Enterprise (Amazon VPC)`).
|
22395
|
+
# description (`Linux/UNIX` \| `Linux with SQL Server Standard` \|
|
22396
|
+
# `Linux with SQL Server Web` \| `Linux with SQL Server Enterprise`
|
22397
|
+
# \| `SUSE Linux` \| `Red Hat Enterprise Linux` \| `Red Hat
|
22398
|
+
# Enterprise Linux with HA` \| `Windows` \| `Windows with SQL Server
|
22399
|
+
# Standard` \| `Windows with SQL Server Web` \| `Windows with SQL
|
22400
|
+
# Server Enterprise`).
|
22410
22401
|
#
|
22411
22402
|
# * `reserved-instances-id` - The ID of the Reserved Instance.
|
22412
22403
|
#
|
@@ -22630,9 +22621,6 @@ module Aws::EC2
|
|
22630
22621
|
#
|
22631
22622
|
# * `instance-type` - The instance type (for example, `c4.large`).
|
22632
22623
|
#
|
22633
|
-
# * `network-platform` - The network platform (`EC2-Classic` or
|
22634
|
-
# `EC2-VPC`).
|
22635
|
-
#
|
22636
22624
|
# * `platform` - The platform (`Linux/UNIX` or `Windows`).
|
22637
22625
|
# @return [Array<Types::Filter>]
|
22638
22626
|
#
|
@@ -22719,9 +22707,6 @@ module Aws::EC2
|
|
22719
22707
|
#
|
22720
22708
|
# * `instance-type` - The instance type (for example, `c4.large`).
|
22721
22709
|
#
|
22722
|
-
# * `network-platform` - The network platform (`EC2-Classic` or
|
22723
|
-
# `EC2-VPC`).
|
22724
|
-
#
|
22725
22710
|
# * `platform` - The platform (`Linux/UNIX` or `Windows`).
|
22726
22711
|
# @return [Array<Types::Filter>]
|
22727
22712
|
#
|
@@ -23528,7 +23513,7 @@ module Aws::EC2
|
|
23528
23513
|
# Contains the parameters for DescribeSpotInstanceRequests.
|
23529
23514
|
#
|
23530
23515
|
# @!attribute [rw] filters
|
23531
|
-
#
|
23516
|
+
# The filters.
|
23532
23517
|
#
|
23533
23518
|
# * `availability-zone-group` - The Availability Zone group.
|
23534
23519
|
#
|
@@ -23658,7 +23643,7 @@ module Aws::EC2
|
|
23658
23643
|
# @return [Boolean]
|
23659
23644
|
#
|
23660
23645
|
# @!attribute [rw] spot_instance_request_ids
|
23661
|
-
#
|
23646
|
+
# The IDs of the Spot Instance requests.
|
23662
23647
|
# @return [Array<String>]
|
23663
23648
|
#
|
23664
23649
|
# @!attribute [rw] next_token
|
@@ -23692,7 +23677,7 @@ module Aws::EC2
|
|
23692
23677
|
# Contains the output of DescribeSpotInstanceRequests.
|
23693
23678
|
#
|
23694
23679
|
# @!attribute [rw] spot_instance_requests
|
23695
|
-
#
|
23680
|
+
# The Spot Instance requests.
|
23696
23681
|
# @return [Array<Types::SpotInstanceRequest>]
|
23697
23682
|
#
|
23698
23683
|
# @!attribute [rw] next_token
|
@@ -23712,7 +23697,7 @@ module Aws::EC2
|
|
23712
23697
|
# Contains the parameters for DescribeSpotPriceHistory.
|
23713
23698
|
#
|
23714
23699
|
# @!attribute [rw] filters
|
23715
|
-
#
|
23700
|
+
# The filters.
|
23716
23701
|
#
|
23717
23702
|
# * `availability-zone` - The Availability Zone for which prices
|
23718
23703
|
# should be returned.
|
@@ -36421,16 +36406,16 @@ module Aws::EC2
|
|
36421
36406
|
# @return [String]
|
36422
36407
|
#
|
36423
36408
|
# @!attribute [rw] private_dns_name
|
36424
|
-
#
|
36425
|
-
# This DNS hostname can only be used inside the Amazon EC2
|
36426
|
-
# This name is not available until the instance enters the
|
36427
|
-
# state.
|
36409
|
+
# \[IPv4 only\] The private DNS hostname name assigned to the
|
36410
|
+
# instance. This DNS hostname can only be used inside the Amazon EC2
|
36411
|
+
# network. This name is not available until the instance enters the
|
36412
|
+
# `running` state.
|
36428
36413
|
#
|
36429
|
-
#
|
36430
|
-
#
|
36431
|
-
#
|
36432
|
-
#
|
36433
|
-
#
|
36414
|
+
# The Amazon-provided DNS server resolves Amazon-provided private DNS
|
36415
|
+
# hostnames if you've enabled DNS resolution and DNS hostnames in
|
36416
|
+
# your VPC. If you are not using the Amazon-provided DNS server in
|
36417
|
+
# your VPC, your custom domain name servers must resolve the hostname
|
36418
|
+
# as appropriate.
|
36434
36419
|
# @return [String]
|
36435
36420
|
#
|
36436
36421
|
# @!attribute [rw] private_ip_address
|
@@ -36442,10 +36427,10 @@ module Aws::EC2
|
|
36442
36427
|
# @return [Array<Types::ProductCode>]
|
36443
36428
|
#
|
36444
36429
|
# @!attribute [rw] public_dns_name
|
36445
|
-
#
|
36446
|
-
# is not available until the instance enters the `running` state.
|
36447
|
-
#
|
36448
|
-
#
|
36430
|
+
# \[IPv4 only\] The public DNS name assigned to the instance. This
|
36431
|
+
# name is not available until the instance enters the `running` state.
|
36432
|
+
# This name is only available if you've enabled DNS hostnames for
|
36433
|
+
# your VPC.
|
36449
36434
|
# @return [String]
|
36450
36435
|
#
|
36451
36436
|
# @!attribute [rw] public_ip_address
|
@@ -36470,11 +36455,11 @@ module Aws::EC2
|
|
36470
36455
|
# @return [String]
|
36471
36456
|
#
|
36472
36457
|
# @!attribute [rw] subnet_id
|
36473
|
-
#
|
36458
|
+
# The ID of the subnet in which the instance is running.
|
36474
36459
|
# @return [String]
|
36475
36460
|
#
|
36476
36461
|
# @!attribute [rw] vpc_id
|
36477
|
-
#
|
36462
|
+
# The ID of the VPC in which the instance is running.
|
36478
36463
|
# @return [String]
|
36479
36464
|
#
|
36480
36465
|
# @!attribute [rw] architecture
|
@@ -36525,7 +36510,7 @@ module Aws::EC2
|
|
36525
36510
|
# @return [Array<Types::ElasticInferenceAcceleratorAssociation>]
|
36526
36511
|
#
|
36527
36512
|
# @!attribute [rw] network_interfaces
|
36528
|
-
#
|
36513
|
+
# The network interfaces for the instance.
|
36529
36514
|
# @return [Array<Types::InstanceNetworkInterface>]
|
36530
36515
|
#
|
36531
36516
|
# @!attribute [rw] outpost_arn
|
@@ -39127,7 +39112,8 @@ module Aws::EC2
|
|
39127
39112
|
# @return [Boolean]
|
39128
39113
|
#
|
39129
39114
|
# @!attribute [rw] auto_recovery_supported
|
39130
|
-
# Indicates whether
|
39115
|
+
# Indicates whether Amazon CloudWatch action based recovery is
|
39116
|
+
# supported.
|
39131
39117
|
# @return [Boolean]
|
39132
39118
|
#
|
39133
39119
|
# @!attribute [rw] supported_boot_modes
|
@@ -40888,10 +40874,7 @@ module Aws::EC2
|
|
40888
40874
|
# @return [String]
|
40889
40875
|
#
|
40890
40876
|
# @!attribute [rw] security_groups
|
40891
|
-
#
|
40892
|
-
# must specify the IDs of the security groups. When requesting
|
40893
|
-
# instances in EC2-Classic, you can specify the names or the IDs of
|
40894
|
-
# the security groups.
|
40877
|
+
# The IDs of the security groups.
|
40895
40878
|
# @return [Array<Types::GroupIdentifier>]
|
40896
40879
|
#
|
40897
40880
|
# @!attribute [rw] addressing_type
|
@@ -40899,7 +40882,7 @@ module Aws::EC2
|
|
40899
40882
|
# @return [String]
|
40900
40883
|
#
|
40901
40884
|
# @!attribute [rw] block_device_mappings
|
40902
|
-
#
|
40885
|
+
# The block device mapping entries.
|
40903
40886
|
# @return [Array<Types::BlockDeviceMapping>]
|
40904
40887
|
#
|
40905
40888
|
# @!attribute [rw] ebs_optimized
|
@@ -40934,8 +40917,8 @@ module Aws::EC2
|
|
40934
40917
|
# @return [String]
|
40935
40918
|
#
|
40936
40919
|
# @!attribute [rw] network_interfaces
|
40937
|
-
#
|
40938
|
-
#
|
40920
|
+
# The network interfaces. If you specify a network interface, you must
|
40921
|
+
# specify subnet IDs and security group IDs using the network
|
40939
40922
|
# interface.
|
40940
40923
|
# @return [Array<Types::InstanceNetworkInterfaceSpecification>]
|
40941
40924
|
#
|
@@ -41200,11 +41183,16 @@ module Aws::EC2
|
|
41200
41183
|
# The number of threads per CPU core.
|
41201
41184
|
# @return [Integer]
|
41202
41185
|
#
|
41186
|
+
# @!attribute [rw] amd_sev_snp
|
41187
|
+
# Indicates whether the instance is enabled for AMD SEV-SNP.
|
41188
|
+
# @return [String]
|
41189
|
+
#
|
41203
41190
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateCpuOptions AWS API Documentation
|
41204
41191
|
#
|
41205
41192
|
class LaunchTemplateCpuOptions < Struct.new(
|
41206
41193
|
:core_count,
|
41207
|
-
:threads_per_core
|
41194
|
+
:threads_per_core,
|
41195
|
+
:amd_sev_snp)
|
41208
41196
|
SENSITIVE = []
|
41209
41197
|
include Aws::Structure
|
41210
41198
|
end
|
@@ -41222,11 +41210,17 @@ module Aws::EC2
|
|
41222
41210
|
# value of `2`.
|
41223
41211
|
# @return [Integer]
|
41224
41212
|
#
|
41213
|
+
# @!attribute [rw] amd_sev_snp
|
41214
|
+
# Indicates whether to enable the instance for AMD SEV-SNP. AMD
|
41215
|
+
# SEV-SNP is supported with M6a, R6a, and C6a instance types only.
|
41216
|
+
# @return [String]
|
41217
|
+
#
|
41225
41218
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateCpuOptionsRequest AWS API Documentation
|
41226
41219
|
#
|
41227
41220
|
class LaunchTemplateCpuOptionsRequest < Struct.new(
|
41228
41221
|
:core_count,
|
41229
|
-
:threads_per_core
|
41222
|
+
:threads_per_core,
|
41223
|
+
:amd_sev_snp)
|
41230
41224
|
SENSITIVE = []
|
41231
41225
|
include Aws::Structure
|
41232
41226
|
end
|
@@ -42160,9 +42154,8 @@ module Aws::EC2
|
|
42160
42154
|
# @return [String]
|
42161
42155
|
#
|
42162
42156
|
# @!attribute [rw] tenancy
|
42163
|
-
# The tenancy of the instance
|
42164
|
-
#
|
42165
|
-
# hardware.
|
42157
|
+
# The tenancy of the instance. An instance with a tenancy of
|
42158
|
+
# `dedicated` runs on single-tenant hardware.
|
42166
42159
|
# @return [String]
|
42167
42160
|
#
|
42168
42161
|
# @!attribute [rw] spread_domain
|
@@ -42219,9 +42212,8 @@ module Aws::EC2
|
|
42219
42212
|
# @return [String]
|
42220
42213
|
#
|
42221
42214
|
# @!attribute [rw] tenancy
|
42222
|
-
# The tenancy of the instance
|
42223
|
-
#
|
42224
|
-
# hardware.
|
42215
|
+
# The tenancy of the instance. An instance with a tenancy of dedicated
|
42216
|
+
# runs on single-tenant hardware.
|
42225
42217
|
# @return [String]
|
42226
42218
|
#
|
42227
42219
|
# @!attribute [rw] spread_domain
|
@@ -44282,10 +44274,9 @@ module Aws::EC2
|
|
44282
44274
|
# @return [Types::AttributeBooleanValue]
|
44283
44275
|
#
|
44284
44276
|
# @!attribute [rw] groups
|
44285
|
-
#
|
44286
|
-
#
|
44277
|
+
# Replaces the security groups of the instance with the specified
|
44278
|
+
# security groups. You must specify the ID of at least one security
|
44287
44279
|
# group, even if it's just the default security group for the VPC.
|
44288
|
-
# You must specify the security group ID, not the security group name.
|
44289
44280
|
# @return [Array<String>]
|
44290
44281
|
#
|
44291
44282
|
# @!attribute [rw] instance_id
|
@@ -49866,9 +49857,8 @@ module Aws::EC2
|
|
49866
49857
|
# @return [String]
|
49867
49858
|
#
|
49868
49859
|
# @!attribute [rw] tenancy
|
49869
|
-
# The tenancy of the instance
|
49870
|
-
#
|
49871
|
-
# hardware.
|
49860
|
+
# The tenancy of the instance. An instance with a tenancy of
|
49861
|
+
# `dedicated` runs on single-tenant hardware.
|
49872
49862
|
#
|
49873
49863
|
# This parameter is not supported for [CreateFleet][1]. The `host`
|
49874
49864
|
# tenancy is not supported for [ImportInstance][2] or for T3 instances
|
@@ -50386,11 +50376,18 @@ module Aws::EC2
|
|
50386
50376
|
# The speed of the processor, in GHz.
|
50387
50377
|
# @return [Float]
|
50388
50378
|
#
|
50379
|
+
# @!attribute [rw] supported_features
|
50380
|
+
# Indicates whether the instance type supports AMD SEV-SNP. If the
|
50381
|
+
# request returns `amd-sev-snp`, AMD SEV-SNP is supported. Otherwise,
|
50382
|
+
# it is not supported.
|
50383
|
+
# @return [Array<String>]
|
50384
|
+
#
|
50389
50385
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/ProcessorInfo AWS API Documentation
|
50390
50386
|
#
|
50391
50387
|
class ProcessorInfo < Struct.new(
|
50392
50388
|
:supported_architectures,
|
50393
|
-
:sustained_clock_speed_in_ghz
|
50389
|
+
:sustained_clock_speed_in_ghz,
|
50390
|
+
:supported_features)
|
50394
50391
|
SENSITIVE = []
|
50395
50392
|
include Aws::Structure
|
50396
50393
|
end
|
@@ -52448,12 +52445,20 @@ module Aws::EC2
|
|
52448
52445
|
#
|
52449
52446
|
# * `resolve:ssm:parameter-name:label`
|
52450
52447
|
#
|
52451
|
-
#
|
52452
|
-
# an AMI][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
52448
|
+
# * `resolve:ssm:public-parameter`
|
52453
52449
|
#
|
52450
|
+
# <note markdown="1"> Currently, EC2 Fleet and Spot Fleet do not support specifying a
|
52451
|
+
# Systems Manager parameter. If the launch template will be used by an
|
52452
|
+
# EC2 Fleet or Spot Fleet, you must specify the AMI ID.
|
52454
52453
|
#
|
52454
|
+
# </note>
|
52455
52455
|
#
|
52456
|
-
# [
|
52456
|
+
# For more information, see [Use a Systems Manager parameter instead
|
52457
|
+
# of an AMI ID][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
52458
|
+
#
|
52459
|
+
#
|
52460
|
+
#
|
52461
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-launch-template.html#use-an-ssm-parameter-instead-of-an-ami-id
|
52457
52462
|
# @return [String]
|
52458
52463
|
#
|
52459
52464
|
# @!attribute [rw] instance_type
|
@@ -52914,7 +52919,7 @@ module Aws::EC2
|
|
52914
52919
|
# Contains the output of RequestSpotInstances.
|
52915
52920
|
#
|
52916
52921
|
# @!attribute [rw] spot_instance_requests
|
52917
|
-
#
|
52922
|
+
# The Spot Instance requests.
|
52918
52923
|
# @return [Array<Types::SpotInstanceRequest>]
|
52919
52924
|
#
|
52920
52925
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/RequestSpotInstancesResult AWS API Documentation
|
@@ -52928,14 +52933,11 @@ module Aws::EC2
|
|
52928
52933
|
# Describes the launch specification for an instance.
|
52929
52934
|
#
|
52930
52935
|
# @!attribute [rw] security_group_ids
|
52931
|
-
#
|
52936
|
+
# The IDs of the security groups.
|
52932
52937
|
# @return [Array<String>]
|
52933
52938
|
#
|
52934
52939
|
# @!attribute [rw] security_groups
|
52935
|
-
#
|
52936
|
-
# must specify the IDs of the security groups. When requesting
|
52937
|
-
# instances in EC2-Classic, you can specify the names or the IDs of
|
52938
|
-
# the security groups.
|
52940
|
+
# Not supported.
|
52939
52941
|
# @return [Array<String>]
|
52940
52942
|
#
|
52941
52943
|
# @!attribute [rw] addressing_type
|
@@ -52943,11 +52945,11 @@ module Aws::EC2
|
|
52943
52945
|
# @return [String]
|
52944
52946
|
#
|
52945
52947
|
# @!attribute [rw] block_device_mappings
|
52946
|
-
#
|
52947
|
-
#
|
52948
|
-
#
|
52949
|
-
#
|
52950
|
-
#
|
52948
|
+
# The block device mapping entries. You can't specify both a snapshot
|
52949
|
+
# ID and an encryption value. This is because only blank volumes can
|
52950
|
+
# be encrypted on creation. If a snapshot is the basis for a volume,
|
52951
|
+
# it is not blank and its encryption status is used for the volume
|
52952
|
+
# encryption status.
|
52951
52953
|
# @return [Array<Types::BlockDeviceMapping>]
|
52952
52954
|
#
|
52953
52955
|
# @!attribute [rw] ebs_optimized
|
@@ -52989,8 +52991,8 @@ module Aws::EC2
|
|
52989
52991
|
# @return [Types::RunInstancesMonitoringEnabled]
|
52990
52992
|
#
|
52991
52993
|
# @!attribute [rw] network_interfaces
|
52992
|
-
#
|
52993
|
-
#
|
52994
|
+
# The network interfaces. If you specify a network interface, you must
|
52995
|
+
# specify subnet IDs and security group IDs using the network
|
52994
52996
|
# interface.
|
52995
52997
|
# @return [Array<Types::InstanceNetworkInterfaceSpecification>]
|
52996
52998
|
#
|
@@ -53039,7 +53041,7 @@ module Aws::EC2
|
|
53039
53041
|
# instances in the launch request.
|
53040
53042
|
#
|
53041
53043
|
# @!attribute [rw] groups
|
53042
|
-
#
|
53044
|
+
# Not supported.
|
53043
53045
|
# @return [Array<Types::GroupIdentifier>]
|
53044
53046
|
#
|
53045
53047
|
# @!attribute [rw] instances
|
@@ -53334,8 +53336,7 @@ module Aws::EC2
|
|
53334
53336
|
# @return [String]
|
53335
53337
|
#
|
53336
53338
|
# @!attribute [rw] platform
|
53337
|
-
# The network platform of the modified Reserved Instances
|
53338
|
-
# either EC2-Classic or EC2-VPC.
|
53339
|
+
# The network platform of the modified Reserved Instances.
|
53339
53340
|
# @return [String]
|
53340
53341
|
#
|
53341
53342
|
# @!attribute [rw] scope
|
@@ -54918,23 +54919,22 @@ module Aws::EC2
|
|
54918
54919
|
# @return [String]
|
54919
54920
|
#
|
54920
54921
|
# @!attribute [rw] ipv_6_address_count
|
54921
|
-
#
|
54922
|
-
#
|
54923
|
-
#
|
54924
|
-
#
|
54925
|
-
#
|
54926
|
-
# instances to launch.
|
54922
|
+
# The number of IPv6 addresses to associate with the primary network
|
54923
|
+
# interface. Amazon EC2 chooses the IPv6 addresses from the range of
|
54924
|
+
# your subnet. You cannot specify this option and the option to assign
|
54925
|
+
# specific IPv6 addresses in the same request. You can specify this
|
54926
|
+
# option if you've specified a minimum number of instances to launch.
|
54927
54927
|
#
|
54928
54928
|
# You cannot specify this option and the network interfaces option in
|
54929
54929
|
# the same request.
|
54930
54930
|
# @return [Integer]
|
54931
54931
|
#
|
54932
54932
|
# @!attribute [rw] ipv_6_addresses
|
54933
|
-
#
|
54934
|
-
#
|
54935
|
-
#
|
54936
|
-
#
|
54937
|
-
#
|
54933
|
+
# The IPv6 addresses from the range of the subnet to associate with
|
54934
|
+
# the primary network interface. You cannot specify this option and
|
54935
|
+
# the option to assign a number of IPv6 addresses in the same request.
|
54936
|
+
# You cannot specify this option if you've specified a minimum number
|
54937
|
+
# of instances to launch.
|
54938
54938
|
#
|
54939
54939
|
# You cannot specify this option and the network interfaces option in
|
54940
54940
|
# the same request.
|
@@ -55034,7 +55034,7 @@ module Aws::EC2
|
|
55034
55034
|
# @return [Array<String>]
|
55035
55035
|
#
|
55036
55036
|
# @!attribute [rw] security_groups
|
55037
|
-
# \[
|
55037
|
+
# \[Default VPC\] The names of the security groups.
|
55038
55038
|
#
|
55039
55039
|
# If you specify a network interface, you must specify any security
|
55040
55040
|
# groups as part of the network interface.
|
@@ -55043,7 +55043,7 @@ module Aws::EC2
|
|
55043
55043
|
# @return [Array<String>]
|
55044
55044
|
#
|
55045
55045
|
# @!attribute [rw] subnet_id
|
55046
|
-
#
|
55046
|
+
# The ID of the subnet to launch the instance into.
|
55047
55047
|
#
|
55048
55048
|
# If you specify a network interface, you must specify any subnets as
|
55049
55049
|
# part of the network interface.
|
@@ -55138,8 +55138,8 @@ module Aws::EC2
|
|
55138
55138
|
# @return [Array<Types::InstanceNetworkInterfaceSpecification>]
|
55139
55139
|
#
|
55140
55140
|
# @!attribute [rw] private_ip_address
|
55141
|
-
#
|
55142
|
-
#
|
55141
|
+
# The primary IPv4 address. You must specify a value from the IPv4
|
55142
|
+
# address range of the subnet.
|
55143
55143
|
#
|
55144
55144
|
# Only one private IP address can be designated as primary. You can't
|
55145
55145
|
# specify this option if you've specified the option to designate a
|
@@ -55526,7 +55526,7 @@ module Aws::EC2
|
|
55526
55526
|
# @return [String]
|
55527
55527
|
#
|
55528
55528
|
# @!attribute [rw] network_platform
|
55529
|
-
# The network platform
|
55529
|
+
# The network platform.
|
55530
55530
|
# @return [String]
|
55531
55531
|
#
|
55532
55532
|
# @!attribute [rw] next_slot_start_time
|
@@ -55619,7 +55619,7 @@ module Aws::EC2
|
|
55619
55619
|
# @return [Integer]
|
55620
55620
|
#
|
55621
55621
|
# @!attribute [rw] network_platform
|
55622
|
-
# The network platform
|
55622
|
+
# The network platform.
|
55623
55623
|
# @return [String]
|
55624
55624
|
#
|
55625
55625
|
# @!attribute [rw] platform
|
@@ -57456,10 +57456,7 @@ module Aws::EC2
|
|
57456
57456
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_LaunchTemplateConfig.html
|
57457
57457
|
#
|
57458
57458
|
# @!attribute [rw] security_groups
|
57459
|
-
#
|
57460
|
-
# must specify the IDs of the security groups. When requesting
|
57461
|
-
# instances in EC2-Classic, you can specify the names or the IDs of
|
57462
|
-
# the security groups.
|
57459
|
+
# The security groups.
|
57463
57460
|
# @return [Array<Types::GroupIdentifier>]
|
57464
57461
|
#
|
57465
57462
|
# @!attribute [rw] addressing_type
|
data/lib/aws-sdk-ec2/vpc.rb
CHANGED
@@ -980,12 +980,6 @@ module Aws::EC2
|
|
980
980
|
#
|
981
981
|
# * `dns-name` - The public DNS name of the instance.
|
982
982
|
#
|
983
|
-
# * `group-id` - The ID of the security group for the instance.
|
984
|
-
# EC2-Classic only.
|
985
|
-
#
|
986
|
-
# * `group-name` - The name of the security group for the instance.
|
987
|
-
# EC2-Classic only.
|
988
|
-
#
|
989
983
|
# * `hibernation-options.configured` - A Boolean that indicates whether
|
990
984
|
# the instance is enabled for hibernation. A value of `true` means
|
991
985
|
# that the instance is enabled for hibernation.
|
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.378.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: 2023-
|
11
|
+
date: 2023-05-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|