aws-sdk-ec2 1.540.0 → 1.545.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 +25 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +162 -152
- data/lib/aws-sdk-ec2/client_api.rb +6 -2
- data/lib/aws-sdk-ec2/image.rb +2 -24
- data/lib/aws-sdk-ec2/instance.rb +49 -3
- data/lib/aws-sdk-ec2/resource.rb +19 -25
- data/lib/aws-sdk-ec2/route.rb +7 -0
- data/lib/aws-sdk-ec2/snapshot.rb +2 -2
- data/lib/aws-sdk-ec2/subnet.rb +19 -25
- data/lib/aws-sdk-ec2/types.rb +87 -70
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +3 -0
- data/sig/instance.rbs +6 -0
- data/sig/route.rbs +3 -0
- data/sig/types.rbs +15 -11
- metadata +3 -3
@@ -10007,7 +10007,7 @@ module Aws::EC2
|
|
10007
10007
|
FleetLaunchTemplateOverrides.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, location_name: "instanceType"))
|
10008
10008
|
FleetLaunchTemplateOverrides.add_member(:max_price, Shapes::ShapeRef.new(shape: String, location_name: "maxPrice"))
|
10009
10009
|
FleetLaunchTemplateOverrides.add_member(:subnet_id, Shapes::ShapeRef.new(shape: String, location_name: "subnetId"))
|
10010
|
-
FleetLaunchTemplateOverrides.add_member(:availability_zone, Shapes::ShapeRef.new(shape:
|
10010
|
+
FleetLaunchTemplateOverrides.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZoneName, location_name: "availabilityZone"))
|
10011
10011
|
FleetLaunchTemplateOverrides.add_member(:weighted_capacity, Shapes::ShapeRef.new(shape: Double, location_name: "weightedCapacity"))
|
10012
10012
|
FleetLaunchTemplateOverrides.add_member(:priority, Shapes::ShapeRef.new(shape: Double, location_name: "priority"))
|
10013
10013
|
FleetLaunchTemplateOverrides.add_member(:placement, Shapes::ShapeRef.new(shape: PlacementResponse, location_name: "placement"))
|
@@ -10023,7 +10023,7 @@ module Aws::EC2
|
|
10023
10023
|
FleetLaunchTemplateOverridesRequest.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceType, location_name: "InstanceType"))
|
10024
10024
|
FleetLaunchTemplateOverridesRequest.add_member(:max_price, Shapes::ShapeRef.new(shape: String, location_name: "MaxPrice"))
|
10025
10025
|
FleetLaunchTemplateOverridesRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, location_name: "SubnetId"))
|
10026
|
-
FleetLaunchTemplateOverridesRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape:
|
10026
|
+
FleetLaunchTemplateOverridesRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: AvailabilityZoneName, location_name: "AvailabilityZone"))
|
10027
10027
|
FleetLaunchTemplateOverridesRequest.add_member(:weighted_capacity, Shapes::ShapeRef.new(shape: Double, location_name: "WeightedCapacity"))
|
10028
10028
|
FleetLaunchTemplateOverridesRequest.add_member(:priority, Shapes::ShapeRef.new(shape: Double, location_name: "Priority"))
|
10029
10029
|
FleetLaunchTemplateOverridesRequest.add_member(:placement, Shapes::ShapeRef.new(shape: Placement, location_name: "Placement"))
|
@@ -15233,6 +15233,7 @@ module Aws::EC2
|
|
15233
15233
|
Route.add_member(:vpc_peering_connection_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcPeeringConnectionId"))
|
15234
15234
|
Route.add_member(:core_network_arn, Shapes::ShapeRef.new(shape: CoreNetworkArn, location_name: "coreNetworkArn"))
|
15235
15235
|
Route.add_member(:odb_network_arn, Shapes::ShapeRef.new(shape: OdbNetworkArn, location_name: "odbNetworkArn"))
|
15236
|
+
Route.add_member(:ip_address, Shapes::ShapeRef.new(shape: String, location_name: "ipAddress"))
|
15236
15237
|
Route.struct_class = Types::Route
|
15237
15238
|
|
15238
15239
|
RouteList.member = Shapes::ShapeRef.new(shape: Route, location_name: "item")
|
@@ -16116,6 +16117,7 @@ module Aws::EC2
|
|
16116
16117
|
|
16117
16118
|
StopInstancesRequest.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIdStringList, required: true, location_name: "InstanceId"))
|
16118
16119
|
StopInstancesRequest.add_member(:hibernate, Shapes::ShapeRef.new(shape: Boolean, location_name: "Hibernate"))
|
16120
|
+
StopInstancesRequest.add_member(:skip_os_shutdown, Shapes::ShapeRef.new(shape: Boolean, location_name: "SkipOsShutdown"))
|
16119
16121
|
StopInstancesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
16120
16122
|
StopInstancesRequest.add_member(:force, Shapes::ShapeRef.new(shape: Boolean, location_name: "force"))
|
16121
16123
|
StopInstancesRequest.struct_class = Types::StopInstancesRequest
|
@@ -16333,6 +16335,8 @@ module Aws::EC2
|
|
16333
16335
|
TerminateConnectionStatusSet.member = Shapes::ShapeRef.new(shape: TerminateConnectionStatus, location_name: "item")
|
16334
16336
|
|
16335
16337
|
TerminateInstancesRequest.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIdStringList, required: true, location_name: "InstanceId"))
|
16338
|
+
TerminateInstancesRequest.add_member(:force, Shapes::ShapeRef.new(shape: Boolean, location_name: "Force"))
|
16339
|
+
TerminateInstancesRequest.add_member(:skip_os_shutdown, Shapes::ShapeRef.new(shape: Boolean, location_name: "SkipOsShutdown"))
|
16336
16340
|
TerminateInstancesRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: Boolean, location_name: "dryRun"))
|
16337
16341
|
TerminateInstancesRequest.struct_class = Types::TerminateInstancesRequest
|
16338
16342
|
|
data/lib/aws-sdk-ec2/image.rb
CHANGED
@@ -241,34 +241,12 @@ module Aws::EC2
|
|
241
241
|
end
|
242
242
|
|
243
243
|
# The ID of the source AMI from which the AMI was created.
|
244
|
-
#
|
245
|
-
# The ID only appears if the AMI was created using CreateImage,
|
246
|
-
# CopyImage, or CreateRestoreImageTask. The ID does not appear if the
|
247
|
-
# AMI was created using any other API. For some older AMIs, the ID might
|
248
|
-
# not be available. For more information, see [Identify the source AMI
|
249
|
-
# used to create a new Amazon EC2 AMI][1] in the *Amazon EC2 User
|
250
|
-
# Guide*.
|
251
|
-
#
|
252
|
-
#
|
253
|
-
#
|
254
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/identify-source-ami-used-to-create-new-ami.html
|
255
244
|
# @return [String]
|
256
245
|
def source_image_id
|
257
246
|
data[:source_image_id]
|
258
247
|
end
|
259
248
|
|
260
249
|
# The Region of the source AMI.
|
261
|
-
#
|
262
|
-
# The Region only appears if the AMI was created using CreateImage,
|
263
|
-
# CopyImage, or CreateRestoreImageTask. The Region does not appear if
|
264
|
-
# the AMI was created using any other API. For some older AMIs, the
|
265
|
-
# Region might not be available. For more information, see [Identify the
|
266
|
-
# source AMI used to create a new Amazon EC2 AMI][1] in the *Amazon EC2
|
267
|
-
# User Guide*.
|
268
|
-
#
|
269
|
-
#
|
270
|
-
#
|
271
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/identify-source-ami-used-to-create-new-ami.html
|
272
250
|
# @return [String]
|
273
251
|
def source_image_region
|
274
252
|
data[:source_image_region]
|
@@ -659,8 +637,8 @@ module Aws::EC2
|
|
659
637
|
#
|
660
638
|
# **Note**: The `blockDeviceMapping` attribute is deprecated. Using this
|
661
639
|
# attribute returns the `Client.AuthFailure` error. To get information
|
662
|
-
# about the block device mappings for an AMI,
|
663
|
-
#
|
640
|
+
# about the block device mappings for an AMI, describe the image
|
641
|
+
# instead.
|
664
642
|
# @option options [Boolean] :dry_run
|
665
643
|
# Checks whether you have the required permissions for the action,
|
666
644
|
# without actually making the request, and provides an error response.
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -897,7 +897,7 @@ module Aws::EC2
|
|
897
897
|
# snapshots. To create an AMI with volumes or snapshots that have a
|
898
898
|
# different encryption status (for example, where the source volume
|
899
899
|
# and snapshots are unencrypted, and you want to create an AMI with
|
900
|
-
# encrypted volumes or snapshots),
|
900
|
+
# encrypted volumes or snapshots), copy the image instead.
|
901
901
|
#
|
902
902
|
# * The only option that can be changed for existing mappings or
|
903
903
|
# snapshots is `DeleteOnTermination`.
|
@@ -1502,6 +1502,7 @@ module Aws::EC2
|
|
1502
1502
|
#
|
1503
1503
|
# instance.stop({
|
1504
1504
|
# hibernate: false,
|
1505
|
+
# skip_os_shutdown: false,
|
1505
1506
|
# dry_run: false,
|
1506
1507
|
# force: false,
|
1507
1508
|
# })
|
@@ -1509,7 +1510,7 @@ module Aws::EC2
|
|
1509
1510
|
# @option options [Boolean] :hibernate
|
1510
1511
|
# Hibernates the instance if the instance was enabled for hibernation at
|
1511
1512
|
# launch. If the instance cannot hibernate successfully, a normal
|
1512
|
-
# shutdown occurs. For more information, see [Hibernate your
|
1513
|
+
# shutdown occurs. For more information, see [Hibernate your Amazon EC2
|
1513
1514
|
# instance][1] in the *Amazon EC2 User Guide*.
|
1514
1515
|
#
|
1515
1516
|
# Default: `false`
|
@@ -1517,6 +1518,15 @@ module Aws::EC2
|
|
1517
1518
|
#
|
1518
1519
|
#
|
1519
1520
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
|
1521
|
+
# @option options [Boolean] :skip_os_shutdown
|
1522
|
+
# Specifies whether to bypass the graceful OS shutdown process when the
|
1523
|
+
# instance is stopped.
|
1524
|
+
#
|
1525
|
+
# Bypassing the graceful OS shutdown might result in data loss or
|
1526
|
+
# corruption (for example, memory contents not flushed to disk or loss
|
1527
|
+
# of in-flight IOs) or skipped shutdown scripts.
|
1528
|
+
#
|
1529
|
+
# Default: `false`
|
1520
1530
|
# @option options [Boolean] :dry_run
|
1521
1531
|
# Checks whether you have the required permissions for the operation,
|
1522
1532
|
# without actually making the request, and provides an error response.
|
@@ -1551,9 +1561,22 @@ module Aws::EC2
|
|
1551
1561
|
# @example Request syntax with placeholder values
|
1552
1562
|
#
|
1553
1563
|
# instance.terminate({
|
1564
|
+
# force: false,
|
1565
|
+
# skip_os_shutdown: false,
|
1554
1566
|
# dry_run: false,
|
1555
1567
|
# })
|
1556
1568
|
# @param [Hash] options ({})
|
1569
|
+
# @option options [Boolean] :force
|
1570
|
+
# Forces the instances to terminate. The instance will first attempt a
|
1571
|
+
# graceful shutdown, which includes flushing file system caches and
|
1572
|
+
# metadata. If the graceful shutdown fails to complete within the
|
1573
|
+
# timeout period, the instance shuts down forcibly without flushing the
|
1574
|
+
# file system caches and metadata.
|
1575
|
+
# @option options [Boolean] :skip_os_shutdown
|
1576
|
+
# Specifies whether to bypass the graceful OS shutdown process when the
|
1577
|
+
# instance is terminated.
|
1578
|
+
#
|
1579
|
+
# Default: `false`
|
1557
1580
|
# @option options [Boolean] :dry_run
|
1558
1581
|
# Checks whether you have the required permissions for the operation,
|
1559
1582
|
# without actually making the request, and provides an error response.
|
@@ -2079,6 +2102,7 @@ module Aws::EC2
|
|
2079
2102
|
#
|
2080
2103
|
# instance.batch_stop({
|
2081
2104
|
# hibernate: false,
|
2105
|
+
# skip_os_shutdown: false,
|
2082
2106
|
# dry_run: false,
|
2083
2107
|
# force: false,
|
2084
2108
|
# })
|
@@ -2086,7 +2110,7 @@ module Aws::EC2
|
|
2086
2110
|
# @option options [Boolean] :hibernate
|
2087
2111
|
# Hibernates the instance if the instance was enabled for hibernation at
|
2088
2112
|
# launch. If the instance cannot hibernate successfully, a normal
|
2089
|
-
# shutdown occurs. For more information, see [Hibernate your
|
2113
|
+
# shutdown occurs. For more information, see [Hibernate your Amazon EC2
|
2090
2114
|
# instance][1] in the *Amazon EC2 User Guide*.
|
2091
2115
|
#
|
2092
2116
|
# Default: `false`
|
@@ -2094,6 +2118,15 @@ module Aws::EC2
|
|
2094
2118
|
#
|
2095
2119
|
#
|
2096
2120
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Hibernate.html
|
2121
|
+
# @option options [Boolean] :skip_os_shutdown
|
2122
|
+
# Specifies whether to bypass the graceful OS shutdown process when the
|
2123
|
+
# instance is stopped.
|
2124
|
+
#
|
2125
|
+
# Bypassing the graceful OS shutdown might result in data loss or
|
2126
|
+
# corruption (for example, memory contents not flushed to disk or loss
|
2127
|
+
# of in-flight IOs) or skipped shutdown scripts.
|
2128
|
+
#
|
2129
|
+
# Default: `false`
|
2097
2130
|
# @option options [Boolean] :dry_run
|
2098
2131
|
# Checks whether you have the required permissions for the operation,
|
2099
2132
|
# without actually making the request, and provides an error response.
|
@@ -2134,9 +2167,22 @@ module Aws::EC2
|
|
2134
2167
|
# @example Request syntax with placeholder values
|
2135
2168
|
#
|
2136
2169
|
# instance.batch_terminate!({
|
2170
|
+
# force: false,
|
2171
|
+
# skip_os_shutdown: false,
|
2137
2172
|
# dry_run: false,
|
2138
2173
|
# })
|
2139
2174
|
# @param options ({})
|
2175
|
+
# @option options [Boolean] :force
|
2176
|
+
# Forces the instances to terminate. The instance will first attempt a
|
2177
|
+
# graceful shutdown, which includes flushing file system caches and
|
2178
|
+
# metadata. If the graceful shutdown fails to complete within the
|
2179
|
+
# timeout period, the instance shuts down forcibly without flushing the
|
2180
|
+
# file system caches and metadata.
|
2181
|
+
# @option options [Boolean] :skip_os_shutdown
|
2182
|
+
# Specifies whether to bypass the graceful OS shutdown process when the
|
2183
|
+
# instance is terminated.
|
2184
|
+
#
|
2185
|
+
# Default: `false`
|
2140
2186
|
# @option options [Boolean] :dry_run
|
2141
2187
|
# Checks whether you have the required permissions for the operation,
|
2142
2188
|
# without actually making the request, and provides an error response.
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -301,12 +301,12 @@ module Aws::EC2
|
|
301
301
|
# The ID of the AMI. An AMI ID is required to launch an instance and
|
302
302
|
# must be specified here or in a launch template.
|
303
303
|
# @option options [String] :instance_type
|
304
|
-
# The instance type. For more information, see [Amazon EC2
|
305
|
-
#
|
304
|
+
# The instance type. For more information, see [Amazon EC2 Instance
|
305
|
+
# Types Guide][1].
|
306
306
|
#
|
307
307
|
#
|
308
308
|
#
|
309
|
-
# [1]: https://docs.aws.amazon.com/
|
309
|
+
# [1]: https://docs.aws.amazon.com/ec2/latest/instancetypes/instance-types.html
|
310
310
|
# @option options [Integer] :ipv_6_address_count
|
311
311
|
# The number of IPv6 addresses to associate with the primary network
|
312
312
|
# interface. Amazon EC2 chooses the IPv6 addresses from the range of
|
@@ -335,8 +335,8 @@ module Aws::EC2
|
|
335
335
|
#
|
336
336
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html
|
337
337
|
# @option options [String] :key_name
|
338
|
-
# The name of the key pair.
|
339
|
-
#
|
338
|
+
# The name of the key pair. For more information, see [Create a key pair
|
339
|
+
# for your EC2 instance][1].
|
340
340
|
#
|
341
341
|
# If you do not specify a key pair, you can't connect to the instance
|
342
342
|
# unless you choose an AMI that is configured to allow users another way
|
@@ -344,8 +344,7 @@ module Aws::EC2
|
|
344
344
|
#
|
345
345
|
#
|
346
346
|
#
|
347
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/
|
348
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportKeyPair.html
|
347
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-key-pairs.html
|
349
348
|
# @option options [required, Integer] :max_count
|
350
349
|
# The maximum number of instances to launch. If you specify a value that
|
351
350
|
# is more capacity than Amazon EC2 can launch in the target Availability
|
@@ -389,16 +388,11 @@ module Aws::EC2
|
|
389
388
|
#
|
390
389
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html
|
391
390
|
# @option options [Array<String>] :security_group_ids
|
392
|
-
# The IDs of the security groups.
|
393
|
-
# [CreateSecurityGroup][1].
|
391
|
+
# The IDs of the security groups.
|
394
392
|
#
|
395
393
|
# If you specify a network interface, you must specify any security
|
396
394
|
# groups as part of the network interface instead of using this
|
397
395
|
# parameter.
|
398
|
-
#
|
399
|
-
#
|
400
|
-
#
|
401
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateSecurityGroup.html
|
402
396
|
# @option options [Array<String>] :security_groups
|
403
397
|
# \[Default VPC\] The names of the security groups.
|
404
398
|
#
|
@@ -416,11 +410,11 @@ module Aws::EC2
|
|
416
410
|
# The user data to make available to the instance. User data must be
|
417
411
|
# base64-encoded. Depending on the tool or SDK that you're using, the
|
418
412
|
# base64-encoding might be performed for you. For more information, see
|
419
|
-
# [
|
413
|
+
# [Run commands at launch using instance user data][1].
|
420
414
|
#
|
421
415
|
#
|
422
416
|
#
|
423
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
417
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html
|
424
418
|
# @option options [Array<Types::ElasticGpuSpecification>] :elastic_gpu_specification
|
425
419
|
# An elastic GPU to associate with the instance.
|
426
420
|
#
|
@@ -508,23 +502,22 @@ module Aws::EC2
|
|
508
502
|
# The license configurations.
|
509
503
|
# @option options [Types::InstanceMetadataOptionsRequest] :metadata_options
|
510
504
|
# The metadata options for the instance. For more information, see
|
511
|
-
# [Instance
|
505
|
+
# [Configure the Instance Metadata Service options][1].
|
512
506
|
#
|
513
507
|
#
|
514
508
|
#
|
515
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
509
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html
|
516
510
|
# @option options [Types::EnclaveOptionsRequest] :enclave_options
|
517
511
|
# Indicates whether the instance is enabled for Amazon Web Services
|
518
|
-
# Nitro Enclaves. For more information, see [
|
519
|
-
#
|
520
|
-
# Guide*.
|
512
|
+
# Nitro Enclaves. For more information, see [Amazon Web Services Nitro
|
513
|
+
# Enclaves User Guide][1].
|
521
514
|
#
|
522
515
|
# You can't enable Amazon Web Services Nitro Enclaves and hibernation
|
523
516
|
# on the same instance.
|
524
517
|
#
|
525
518
|
#
|
526
519
|
#
|
527
|
-
# [1]: https://docs.aws.amazon.com/enclaves/latest/user/
|
520
|
+
# [1]: https://docs.aws.amazon.com/enclaves/latest/user/
|
528
521
|
# @option options [Types::PrivateDnsNameOptionsRequest] :private_dns_name_options
|
529
522
|
# The options for the instance hostname. The default values are
|
530
523
|
# inherited from the subnet. Applies only if creating a network
|
@@ -533,11 +526,11 @@ module Aws::EC2
|
|
533
526
|
# The maintenance and recovery options for the instance.
|
534
527
|
# @option options [Boolean] :disable_api_stop
|
535
528
|
# Indicates whether an instance is enabled for stop protection. For more
|
536
|
-
# information, see [
|
529
|
+
# information, see [Enable stop protection for your EC2 instances][1].
|
537
530
|
#
|
538
531
|
#
|
539
532
|
#
|
540
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
533
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html
|
541
534
|
# @option options [Boolean] :enable_primary_ipv_6
|
542
535
|
# If you’re launching an instance into a dual-stack or IPv6-only subnet,
|
543
536
|
# you can enable assigning a primary IPv6 address. A primary IPv6
|
@@ -594,13 +587,14 @@ module Aws::EC2
|
|
594
587
|
# randomly generated token is used for the request to ensure
|
595
588
|
# idempotency.
|
596
589
|
#
|
597
|
-
# For more information, see [Ensuring
|
590
|
+
# For more information, see [Ensuring idempotency in Amazon EC2 API
|
591
|
+
# requests][1].
|
598
592
|
#
|
599
593
|
# Constraints: Maximum 64 ASCII characters
|
600
594
|
#
|
601
595
|
#
|
602
596
|
#
|
603
|
-
# [1]: https://docs.aws.amazon.com/
|
597
|
+
# [1]: https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html
|
604
598
|
# @option options [String] :additional_info
|
605
599
|
# Reserved.
|
606
600
|
# @option options [Array<Types::InstanceNetworkInterfaceSpecification>] :network_interfaces
|
data/lib/aws-sdk-ec2/route.rb
CHANGED
@@ -149,6 +149,13 @@ module Aws::EC2
|
|
149
149
|
data[:odb_network_arn]
|
150
150
|
end
|
151
151
|
|
152
|
+
# The next hop IP address for routes propagated by VPC Route Server into
|
153
|
+
# VPC route tables.
|
154
|
+
# @return [String]
|
155
|
+
def ip_address
|
156
|
+
data[:ip_address]
|
157
|
+
end
|
158
|
+
|
152
159
|
# @!endgroup
|
153
160
|
|
154
161
|
# @return [Client]
|
data/lib/aws-sdk-ec2/snapshot.rb
CHANGED
@@ -140,8 +140,8 @@ module Aws::EC2
|
|
140
140
|
end
|
141
141
|
|
142
142
|
# The ID of the volume that was used to create the snapshot. Snapshots
|
143
|
-
# created by
|
144
|
-
# should not
|
143
|
+
# created by a copy snapshot operation have an arbitrary volume ID that
|
144
|
+
# you should not use for any purpose.
|
145
145
|
# @return [String]
|
146
146
|
def volume_id
|
147
147
|
data[:volume_id]
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -562,12 +562,12 @@ module Aws::EC2
|
|
562
562
|
# The ID of the AMI. An AMI ID is required to launch an instance and
|
563
563
|
# must be specified here or in a launch template.
|
564
564
|
# @option options [String] :instance_type
|
565
|
-
# The instance type. For more information, see [Amazon EC2
|
566
|
-
#
|
565
|
+
# The instance type. For more information, see [Amazon EC2 Instance
|
566
|
+
# Types Guide][1].
|
567
567
|
#
|
568
568
|
#
|
569
569
|
#
|
570
|
-
# [1]: https://docs.aws.amazon.com/
|
570
|
+
# [1]: https://docs.aws.amazon.com/ec2/latest/instancetypes/instance-types.html
|
571
571
|
# @option options [Integer] :ipv_6_address_count
|
572
572
|
# The number of IPv6 addresses to associate with the primary network
|
573
573
|
# interface. Amazon EC2 chooses the IPv6 addresses from the range of
|
@@ -596,8 +596,8 @@ module Aws::EC2
|
|
596
596
|
#
|
597
597
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html
|
598
598
|
# @option options [String] :key_name
|
599
|
-
# The name of the key pair.
|
600
|
-
#
|
599
|
+
# The name of the key pair. For more information, see [Create a key pair
|
600
|
+
# for your EC2 instance][1].
|
601
601
|
#
|
602
602
|
# If you do not specify a key pair, you can't connect to the instance
|
603
603
|
# unless you choose an AMI that is configured to allow users another way
|
@@ -605,8 +605,7 @@ module Aws::EC2
|
|
605
605
|
#
|
606
606
|
#
|
607
607
|
#
|
608
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/
|
609
|
-
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_ImportKeyPair.html
|
608
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-key-pairs.html
|
610
609
|
# @option options [required, Integer] :max_count
|
611
610
|
# The maximum number of instances to launch. If you specify a value that
|
612
611
|
# is more capacity than Amazon EC2 can launch in the target Availability
|
@@ -650,16 +649,11 @@ module Aws::EC2
|
|
650
649
|
#
|
651
650
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html
|
652
651
|
# @option options [Array<String>] :security_group_ids
|
653
|
-
# The IDs of the security groups.
|
654
|
-
# [CreateSecurityGroup][1].
|
652
|
+
# The IDs of the security groups.
|
655
653
|
#
|
656
654
|
# If you specify a network interface, you must specify any security
|
657
655
|
# groups as part of the network interface instead of using this
|
658
656
|
# parameter.
|
659
|
-
#
|
660
|
-
#
|
661
|
-
#
|
662
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateSecurityGroup.html
|
663
657
|
# @option options [Array<String>] :security_groups
|
664
658
|
# \[Default VPC\] The names of the security groups.
|
665
659
|
#
|
@@ -672,11 +666,11 @@ module Aws::EC2
|
|
672
666
|
# The user data to make available to the instance. User data must be
|
673
667
|
# base64-encoded. Depending on the tool or SDK that you're using, the
|
674
668
|
# base64-encoding might be performed for you. For more information, see
|
675
|
-
# [
|
669
|
+
# [Run commands at launch using instance user data][1].
|
676
670
|
#
|
677
671
|
#
|
678
672
|
#
|
679
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
673
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html
|
680
674
|
# @option options [Array<Types::ElasticGpuSpecification>] :elastic_gpu_specification
|
681
675
|
# An elastic GPU to associate with the instance.
|
682
676
|
#
|
@@ -764,23 +758,22 @@ module Aws::EC2
|
|
764
758
|
# The license configurations.
|
765
759
|
# @option options [Types::InstanceMetadataOptionsRequest] :metadata_options
|
766
760
|
# The metadata options for the instance. For more information, see
|
767
|
-
# [Instance
|
761
|
+
# [Configure the Instance Metadata Service options][1].
|
768
762
|
#
|
769
763
|
#
|
770
764
|
#
|
771
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
765
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/configuring-instance-metadata-options.html
|
772
766
|
# @option options [Types::EnclaveOptionsRequest] :enclave_options
|
773
767
|
# Indicates whether the instance is enabled for Amazon Web Services
|
774
|
-
# Nitro Enclaves. For more information, see [
|
775
|
-
#
|
776
|
-
# Guide*.
|
768
|
+
# Nitro Enclaves. For more information, see [Amazon Web Services Nitro
|
769
|
+
# Enclaves User Guide][1].
|
777
770
|
#
|
778
771
|
# You can't enable Amazon Web Services Nitro Enclaves and hibernation
|
779
772
|
# on the same instance.
|
780
773
|
#
|
781
774
|
#
|
782
775
|
#
|
783
|
-
# [1]: https://docs.aws.amazon.com/enclaves/latest/user/
|
776
|
+
# [1]: https://docs.aws.amazon.com/enclaves/latest/user/
|
784
777
|
# @option options [Types::PrivateDnsNameOptionsRequest] :private_dns_name_options
|
785
778
|
# The options for the instance hostname. The default values are
|
786
779
|
# inherited from the subnet. Applies only if creating a network
|
@@ -789,11 +782,11 @@ module Aws::EC2
|
|
789
782
|
# The maintenance and recovery options for the instance.
|
790
783
|
# @option options [Boolean] :disable_api_stop
|
791
784
|
# Indicates whether an instance is enabled for stop protection. For more
|
792
|
-
# information, see [
|
785
|
+
# information, see [Enable stop protection for your EC2 instances][1].
|
793
786
|
#
|
794
787
|
#
|
795
788
|
#
|
796
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/
|
789
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-stop-protection.html
|
797
790
|
# @option options [Boolean] :enable_primary_ipv_6
|
798
791
|
# If you’re launching an instance into a dual-stack or IPv6-only subnet,
|
799
792
|
# you can enable assigning a primary IPv6 address. A primary IPv6
|
@@ -850,13 +843,14 @@ module Aws::EC2
|
|
850
843
|
# randomly generated token is used for the request to ensure
|
851
844
|
# idempotency.
|
852
845
|
#
|
853
|
-
# For more information, see [Ensuring
|
846
|
+
# For more information, see [Ensuring idempotency in Amazon EC2 API
|
847
|
+
# requests][1].
|
854
848
|
#
|
855
849
|
# Constraints: Maximum 64 ASCII characters
|
856
850
|
#
|
857
851
|
#
|
858
852
|
#
|
859
|
-
# [1]: https://docs.aws.amazon.com/
|
853
|
+
# [1]: https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html
|
860
854
|
# @option options [String] :additional_info
|
861
855
|
# Reserved.
|
862
856
|
# @option options [Array<Types::InstanceNetworkInterfaceSpecification>] :network_interfaces
|