aws-sdk-ec2 1.9.0 → 1.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +89 -81
- data/lib/aws-sdk-ec2/client_api.rb +11 -1
- data/lib/aws-sdk-ec2/instance.rb +21 -21
- data/lib/aws-sdk-ec2/placement_group.rb +13 -13
- data/lib/aws-sdk-ec2/resource.rb +20 -19
- data/lib/aws-sdk-ec2/subnet.rb +20 -19
- data/lib/aws-sdk-ec2/types.rb +145 -71
- data/lib/aws-sdk-ec2/vpc.rb +13 -13
- data/lib/aws-sdk-ec2/waiters.rb +6 -0
- metadata +2 -2
@@ -379,9 +379,9 @@ module Aws::EC2
|
|
379
379
|
#
|
380
380
|
# * `network-interface.source-dest-check` - Whether the network
|
381
381
|
# interface performs source/destination checking. A value of `true`
|
382
|
-
# means checking is enabled, and `false` means checking is
|
383
|
-
# The value must be `false` for the network interface to
|
384
|
-
# network address translation (NAT) in your VPC.
|
382
|
+
# means that checking is enabled, and `false` means that checking is
|
383
|
+
# disabled. The value must be `false` for the network interface to
|
384
|
+
# perform network address translation (NAT) in your VPC.
|
385
385
|
#
|
386
386
|
# * `network-interface.subnet-id` - The ID of the subnet for the network
|
387
387
|
# interface.
|
@@ -422,9 +422,9 @@ module Aws::EC2
|
|
422
422
|
# reservation ID has a one-to-one relationship with an instance launch
|
423
423
|
# request, but can be associated with more than one instance if you
|
424
424
|
# launch multiple instances using the same launch request. For
|
425
|
-
# example, if you launch one instance, you
|
426
|
-
#
|
427
|
-
#
|
425
|
+
# example, if you launch one instance, you get one reservation ID. If
|
426
|
+
# you launch ten instances using the same launch request, you also get
|
427
|
+
# one reservation ID.
|
428
428
|
#
|
429
429
|
# * `root-device-name` - The name of the root device for the instance
|
430
430
|
# (for example, `/dev/sda1` or `/dev/xvda`).
|
@@ -434,11 +434,11 @@ module Aws::EC2
|
|
434
434
|
#
|
435
435
|
# * `source-dest-check` - Indicates whether the instance performs
|
436
436
|
# source/destination checking. A value of `true` means that checking
|
437
|
-
# is enabled, and `false` means checking is disabled. The value
|
438
|
-
# be `false` for the instance to perform network address
|
439
|
-
# (NAT) in your VPC.
|
437
|
+
# is enabled, and `false` means that checking is disabled. The value
|
438
|
+
# must be `false` for the instance to perform network address
|
439
|
+
# translation (NAT) in your VPC.
|
440
440
|
#
|
441
|
-
# * `spot-instance-request-id` - The ID of the Spot
|
441
|
+
# * `spot-instance-request-id` - The ID of the Spot Instance request.
|
442
442
|
#
|
443
443
|
# * `state-reason-code` - The reason code for the state change.
|
444
444
|
#
|
@@ -456,9 +456,9 @@ module Aws::EC2
|
|
456
456
|
# is independent of the `tag-value` filter. For example, if you use
|
457
457
|
# both the filter "tag-key=Purpose" and the filter "tag-value=X",
|
458
458
|
# you get any resources assigned both the tag key Purpose (regardless
|
459
|
-
# of what the tag's value is), and the tag value X (regardless of
|
460
|
-
#
|
461
|
-
#
|
459
|
+
# of what the tag's value is), and the tag value X (regardless of the
|
460
|
+
# tag's key). If you want to list only resources where Purpose is X,
|
461
|
+
# see the `tag`\:*key*=*value* filter.
|
462
462
|
#
|
463
463
|
# * `tag-value` - The value of a tag assigned to the resource. This
|
464
464
|
# filter is independent of the `tag-key` filter.
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -257,8 +257,8 @@ module Aws::EC2
|
|
257
257
|
# The user data to make available to the instance. For more information,
|
258
258
|
# see [Running Commands on Your Linux Instance at Launch][1] (Linux) and
|
259
259
|
# [Adding User Data][2] (Windows). If you are using an AWS SDK or
|
260
|
-
# command line tool,
|
261
|
-
# load the text from a file. Otherwise, you must provide
|
260
|
+
# command line tool, base64-encoding is performed for you, and you can
|
261
|
+
# load the text from a file. Otherwise, you must provide base64-encoded
|
262
262
|
# text.
|
263
263
|
#
|
264
264
|
#
|
@@ -292,11 +292,12 @@ module Aws::EC2
|
|
292
292
|
# If you have the required permissions, the error response is
|
293
293
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
294
294
|
# @option options [Boolean] :ebs_optimized
|
295
|
-
# Indicates whether the instance is optimized for EBS I/O. This
|
295
|
+
# Indicates whether the instance is optimized for Amazon EBS I/O. This
|
296
296
|
# optimization provides dedicated throughput to Amazon EBS and an
|
297
|
-
# optimized configuration stack to provide optimal EBS I/O
|
298
|
-
# This optimization isn't available with all instance
|
299
|
-
# usage charges apply when using an EBS-optimized
|
297
|
+
# optimized configuration stack to provide optimal Amazon EBS I/O
|
298
|
+
# performance. This optimization isn't available with all instance
|
299
|
+
# types. Additional usage charges apply when using an EBS-optimized
|
300
|
+
# instance.
|
300
301
|
#
|
301
302
|
# Default: `false`
|
302
303
|
# @option options [Types::IamInstanceProfileSpecification] :iam_instance_profile
|
@@ -1474,9 +1475,9 @@ module Aws::EC2
|
|
1474
1475
|
#
|
1475
1476
|
# * `network-interface.source-dest-check` - Whether the network
|
1476
1477
|
# interface performs source/destination checking. A value of `true`
|
1477
|
-
# means checking is enabled, and `false` means checking is
|
1478
|
-
# The value must be `false` for the network interface to
|
1479
|
-
# network address translation (NAT) in your VPC.
|
1478
|
+
# means that checking is enabled, and `false` means that checking is
|
1479
|
+
# disabled. The value must be `false` for the network interface to
|
1480
|
+
# perform network address translation (NAT) in your VPC.
|
1480
1481
|
#
|
1481
1482
|
# * `network-interface.subnet-id` - The ID of the subnet for the network
|
1482
1483
|
# interface.
|
@@ -1517,9 +1518,9 @@ module Aws::EC2
|
|
1517
1518
|
# reservation ID has a one-to-one relationship with an instance launch
|
1518
1519
|
# request, but can be associated with more than one instance if you
|
1519
1520
|
# launch multiple instances using the same launch request. For
|
1520
|
-
# example, if you launch one instance, you
|
1521
|
-
#
|
1522
|
-
#
|
1521
|
+
# example, if you launch one instance, you get one reservation ID. If
|
1522
|
+
# you launch ten instances using the same launch request, you also get
|
1523
|
+
# one reservation ID.
|
1523
1524
|
#
|
1524
1525
|
# * `root-device-name` - The name of the root device for the instance
|
1525
1526
|
# (for example, `/dev/sda1` or `/dev/xvda`).
|
@@ -1529,11 +1530,11 @@ module Aws::EC2
|
|
1529
1530
|
#
|
1530
1531
|
# * `source-dest-check` - Indicates whether the instance performs
|
1531
1532
|
# source/destination checking. A value of `true` means that checking
|
1532
|
-
# is enabled, and `false` means checking is disabled. The value
|
1533
|
-
# be `false` for the instance to perform network address
|
1534
|
-
# (NAT) in your VPC.
|
1533
|
+
# is enabled, and `false` means that checking is disabled. The value
|
1534
|
+
# must be `false` for the instance to perform network address
|
1535
|
+
# translation (NAT) in your VPC.
|
1535
1536
|
#
|
1536
|
-
# * `spot-instance-request-id` - The ID of the Spot
|
1537
|
+
# * `spot-instance-request-id` - The ID of the Spot Instance request.
|
1537
1538
|
#
|
1538
1539
|
# * `state-reason-code` - The reason code for the state change.
|
1539
1540
|
#
|
@@ -1551,9 +1552,9 @@ module Aws::EC2
|
|
1551
1552
|
# is independent of the `tag-value` filter. For example, if you use
|
1552
1553
|
# both the filter "tag-key=Purpose" and the filter "tag-value=X",
|
1553
1554
|
# you get any resources assigned both the tag key Purpose (regardless
|
1554
|
-
# of what the tag's value is), and the tag value X (regardless of
|
1555
|
-
#
|
1556
|
-
#
|
1555
|
+
# of what the tag's value is), and the tag value X (regardless of the
|
1556
|
+
# tag's key). If you want to list only resources where Purpose is X,
|
1557
|
+
# see the `tag`\:*key*=*value* filter.
|
1557
1558
|
#
|
1558
1559
|
# * `tag-value` - The value of a tag assigned to the resource. This
|
1559
1560
|
# filter is independent of the `tag-key` filter.
|
data/lib/aws-sdk-ec2/subnet.rb
CHANGED
@@ -433,8 +433,8 @@ module Aws::EC2
|
|
433
433
|
# The user data to make available to the instance. For more information,
|
434
434
|
# see [Running Commands on Your Linux Instance at Launch][1] (Linux) and
|
435
435
|
# [Adding User Data][2] (Windows). If you are using an AWS SDK or
|
436
|
-
# command line tool,
|
437
|
-
# load the text from a file. Otherwise, you must provide
|
436
|
+
# command line tool, base64-encoding is performed for you, and you can
|
437
|
+
# load the text from a file. Otherwise, you must provide base64-encoded
|
438
438
|
# text.
|
439
439
|
#
|
440
440
|
#
|
@@ -468,11 +468,12 @@ module Aws::EC2
|
|
468
468
|
# If you have the required permissions, the error response is
|
469
469
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
470
470
|
# @option options [Boolean] :ebs_optimized
|
471
|
-
# Indicates whether the instance is optimized for EBS I/O. This
|
471
|
+
# Indicates whether the instance is optimized for Amazon EBS I/O. This
|
472
472
|
# optimization provides dedicated throughput to Amazon EBS and an
|
473
|
-
# optimized configuration stack to provide optimal EBS I/O
|
474
|
-
# This optimization isn't available with all instance
|
475
|
-
# usage charges apply when using an EBS-optimized
|
473
|
+
# optimized configuration stack to provide optimal Amazon EBS I/O
|
474
|
+
# performance. This optimization isn't available with all instance
|
475
|
+
# types. Additional usage charges apply when using an EBS-optimized
|
476
|
+
# instance.
|
476
477
|
#
|
477
478
|
# Default: `false`
|
478
479
|
# @option options [Types::IamInstanceProfileSpecification] :iam_instance_profile
|
@@ -831,9 +832,9 @@ module Aws::EC2
|
|
831
832
|
#
|
832
833
|
# * `network-interface.source-dest-check` - Whether the network
|
833
834
|
# interface performs source/destination checking. A value of `true`
|
834
|
-
# means checking is enabled, and `false` means checking is
|
835
|
-
# The value must be `false` for the network interface to
|
836
|
-
# network address translation (NAT) in your VPC.
|
835
|
+
# means that checking is enabled, and `false` means that checking is
|
836
|
+
# disabled. The value must be `false` for the network interface to
|
837
|
+
# perform network address translation (NAT) in your VPC.
|
837
838
|
#
|
838
839
|
# * `network-interface.subnet-id` - The ID of the subnet for the network
|
839
840
|
# interface.
|
@@ -874,9 +875,9 @@ module Aws::EC2
|
|
874
875
|
# reservation ID has a one-to-one relationship with an instance launch
|
875
876
|
# request, but can be associated with more than one instance if you
|
876
877
|
# launch multiple instances using the same launch request. For
|
877
|
-
# example, if you launch one instance, you
|
878
|
-
#
|
879
|
-
#
|
878
|
+
# example, if you launch one instance, you get one reservation ID. If
|
879
|
+
# you launch ten instances using the same launch request, you also get
|
880
|
+
# one reservation ID.
|
880
881
|
#
|
881
882
|
# * `root-device-name` - The name of the root device for the instance
|
882
883
|
# (for example, `/dev/sda1` or `/dev/xvda`).
|
@@ -886,11 +887,11 @@ module Aws::EC2
|
|
886
887
|
#
|
887
888
|
# * `source-dest-check` - Indicates whether the instance performs
|
888
889
|
# source/destination checking. A value of `true` means that checking
|
889
|
-
# is enabled, and `false` means checking is disabled. The value
|
890
|
-
# be `false` for the instance to perform network address
|
891
|
-
# (NAT) in your VPC.
|
890
|
+
# is enabled, and `false` means that checking is disabled. The value
|
891
|
+
# must be `false` for the instance to perform network address
|
892
|
+
# translation (NAT) in your VPC.
|
892
893
|
#
|
893
|
-
# * `spot-instance-request-id` - The ID of the Spot
|
894
|
+
# * `spot-instance-request-id` - The ID of the Spot Instance request.
|
894
895
|
#
|
895
896
|
# * `state-reason-code` - The reason code for the state change.
|
896
897
|
#
|
@@ -908,9 +909,9 @@ module Aws::EC2
|
|
908
909
|
# is independent of the `tag-value` filter. For example, if you use
|
909
910
|
# both the filter "tag-key=Purpose" and the filter "tag-value=X",
|
910
911
|
# you get any resources assigned both the tag key Purpose (regardless
|
911
|
-
# of what the tag's value is), and the tag value X (regardless of
|
912
|
-
#
|
913
|
-
#
|
912
|
+
# of what the tag's value is), and the tag value X (regardless of the
|
913
|
+
# tag's key). If you want to list only resources where Purpose is X,
|
914
|
+
# see the `tag`\:*key*=*value* filter.
|
914
915
|
#
|
915
916
|
# * `tag-value` - The value of a tag assigned to the resource. This
|
916
917
|
# filter is independent of the `tag-key` filter.
|
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -4281,6 +4281,12 @@ module Aws::EC2
|
|
4281
4281
|
# dry_run: false,
|
4282
4282
|
# options: {
|
4283
4283
|
# static_routes_only: false,
|
4284
|
+
# tunnel_options: [
|
4285
|
+
# {
|
4286
|
+
# tunnel_inside_cidr: "String",
|
4287
|
+
# pre_shared_key: "String",
|
4288
|
+
# },
|
4289
|
+
# ],
|
4284
4290
|
# },
|
4285
4291
|
# }
|
4286
4292
|
#
|
@@ -4304,11 +4310,7 @@ module Aws::EC2
|
|
4304
4310
|
# @return [Boolean]
|
4305
4311
|
#
|
4306
4312
|
# @!attribute [rw] options
|
4307
|
-
#
|
4308
|
-
# are creating a VPN connection for a device that does not support
|
4309
|
-
# BGP, you must specify `true`.
|
4310
|
-
#
|
4311
|
-
# Default: `false`
|
4313
|
+
# The options for the VPN connection.
|
4312
4314
|
# @return [Types::VpnConnectionOptionsSpecification]
|
4313
4315
|
#
|
4314
4316
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CreateVpnConnectionRequest AWS API Documentation
|
@@ -7478,9 +7480,9 @@ module Aws::EC2
|
|
7478
7480
|
#
|
7479
7481
|
# * `network-interface.source-dest-check` - Whether the network
|
7480
7482
|
# interface performs source/destination checking. A value of `true`
|
7481
|
-
# means checking is enabled, and `false` means checking is
|
7482
|
-
# The value must be `false` for the network interface to
|
7483
|
-
# network address translation (NAT) in your VPC.
|
7483
|
+
# means that checking is enabled, and `false` means that checking is
|
7484
|
+
# disabled. The value must be `false` for the network interface to
|
7485
|
+
# perform network address translation (NAT) in your VPC.
|
7484
7486
|
#
|
7485
7487
|
# * `network-interface.subnet-id` - The ID of the subnet for the
|
7486
7488
|
# network interface.
|
@@ -7521,9 +7523,9 @@ module Aws::EC2
|
|
7521
7523
|
# reservation ID has a one-to-one relationship with an instance
|
7522
7524
|
# launch request, but can be associated with more than one instance
|
7523
7525
|
# if you launch multiple instances using the same launch request.
|
7524
|
-
# For example, if you launch one instance, you
|
7525
|
-
#
|
7526
|
-
#
|
7526
|
+
# For example, if you launch one instance, you get one reservation
|
7527
|
+
# ID. If you launch ten instances using the same launch request, you
|
7528
|
+
# also get one reservation ID.
|
7527
7529
|
#
|
7528
7530
|
# * `root-device-name` - The name of the root device for the instance
|
7529
7531
|
# (for example, `/dev/sda1` or `/dev/xvda`).
|
@@ -7533,11 +7535,11 @@ module Aws::EC2
|
|
7533
7535
|
#
|
7534
7536
|
# * `source-dest-check` - Indicates whether the instance performs
|
7535
7537
|
# source/destination checking. A value of `true` means that checking
|
7536
|
-
# is enabled, and `false` means checking is disabled. The value
|
7537
|
-
# be `false` for the instance to perform network address
|
7538
|
-
# (NAT) in your VPC.
|
7538
|
+
# is enabled, and `false` means that checking is disabled. The value
|
7539
|
+
# must be `false` for the instance to perform network address
|
7540
|
+
# translation (NAT) in your VPC.
|
7539
7541
|
#
|
7540
|
-
# * `spot-instance-request-id` - The ID of the Spot
|
7542
|
+
# * `spot-instance-request-id` - The ID of the Spot Instance request.
|
7541
7543
|
#
|
7542
7544
|
# * `state-reason-code` - The reason code for the state change.
|
7543
7545
|
#
|
@@ -7557,9 +7559,8 @@ module Aws::EC2
|
|
7557
7559
|
# both the filter "tag-key=Purpose" and the filter
|
7558
7560
|
# "tag-value=X", you get any resources assigned both the tag key
|
7559
7561
|
# Purpose (regardless of what the tag's value is), and the tag
|
7560
|
-
# value X (regardless of
|
7561
|
-
#
|
7562
|
-
# `tag`\:*key*=*value* filter.
|
7562
|
+
# value X (regardless of the tag's key). If you want to list only
|
7563
|
+
# resources where Purpose is X, see the `tag`\:*key*=*value* filter.
|
7563
7564
|
#
|
7564
7565
|
# * `tag-value` - The value of a tag assigned to the resource. This
|
7565
7566
|
# filter is independent of the `tag-key` filter.
|
@@ -10085,37 +10086,37 @@ module Aws::EC2
|
|
10085
10086
|
# * `launch.key-name` - The name of the key pair the instance launched
|
10086
10087
|
# with.
|
10087
10088
|
#
|
10088
|
-
# * `launch.monitoring-enabled` - Whether monitoring is
|
10089
|
-
# the Spot instance.
|
10089
|
+
# * `launch.monitoring-enabled` - Whether detailed monitoring is
|
10090
|
+
# enabled for the Spot instance.
|
10090
10091
|
#
|
10091
10092
|
# * `launch.ramdisk-id` - The RAM disk ID.
|
10092
10093
|
#
|
10093
|
-
# * `
|
10094
|
-
#
|
10094
|
+
# * `launched-availability-zone` - The Availability Zone in which the
|
10095
|
+
# bid is launched.
|
10095
10096
|
#
|
10096
|
-
# * `network-interface.
|
10097
|
-
#
|
10097
|
+
# * `network-interface.addresses.primary` - Indicates whether the IP
|
10098
|
+
# address is the primary private IP address.
|
10098
10099
|
#
|
10099
|
-
# * `network-interface.
|
10100
|
-
# instance.
|
10100
|
+
# * `network-interface.delete-on-termination` - Indicates whether the
|
10101
|
+
# network interface is deleted when the instance is terminated.
|
10101
10102
|
#
|
10102
10103
|
# * `network-interface.description` - A description of the network
|
10103
10104
|
# interface.
|
10104
10105
|
#
|
10105
|
-
# * `network-interface.
|
10106
|
-
#
|
10107
|
-
#
|
10108
|
-
# * `network-interface.delete-on-termination` - Indicates whether the
|
10109
|
-
# network interface is deleted when the instance is terminated.
|
10106
|
+
# * `network-interface.device-index` - The index of the device for the
|
10107
|
+
# network interface attachment on the instance.
|
10110
10108
|
#
|
10111
10109
|
# * `network-interface.group-id` - The ID of the security group
|
10112
10110
|
# associated with the network interface.
|
10113
10111
|
#
|
10114
|
-
# * `network-interface.
|
10115
|
-
#
|
10112
|
+
# * `network-interface.network-interface-id` - The ID of the network
|
10113
|
+
# interface.
|
10116
10114
|
#
|
10117
|
-
# * `network-interface.
|
10118
|
-
# address
|
10115
|
+
# * `network-interface.private-ip-address` - The primary private IP
|
10116
|
+
# address of the network interface.
|
10117
|
+
#
|
10118
|
+
# * `network-interface.subnet-id` - The ID of the subnet for the
|
10119
|
+
# instance.
|
10119
10120
|
#
|
10120
10121
|
# * `product-description` - The product description associated with
|
10121
10122
|
# the instance (`Linux/UNIX` \| `Windows`).
|
@@ -10158,9 +10159,6 @@ module Aws::EC2
|
|
10158
10159
|
# * `type` - The type of Spot instance request (`one-time` \|
|
10159
10160
|
# `persistent`).
|
10160
10161
|
#
|
10161
|
-
# * `launched-availability-zone` - The Availability Zone in which the
|
10162
|
-
# bid is launched.
|
10163
|
-
#
|
10164
10162
|
# * `valid-from` - The start date of the request.
|
10165
10163
|
#
|
10166
10164
|
# * `valid-until` - The end date of the request.
|
@@ -14950,11 +14948,11 @@ module Aws::EC2
|
|
14950
14948
|
# This name is not available until the instance enters the `running`
|
14951
14949
|
# state.
|
14952
14950
|
#
|
14953
|
-
# \[EC2-VPC\] The Amazon-provided DNS server
|
14954
|
-
#
|
14955
|
-
#
|
14956
|
-
#
|
14957
|
-
#
|
14951
|
+
# \[EC2-VPC\] The Amazon-provided DNS server resolves Amazon-provided
|
14952
|
+
# private DNS hostnames if you've enabled DNS resolution and DNS
|
14953
|
+
# hostnames in your VPC. If you are not using the Amazon-provided DNS
|
14954
|
+
# server in your VPC, your custom domain name servers must resolve the
|
14955
|
+
# hostname as appropriate.
|
14958
14956
|
# @return [String]
|
14959
14957
|
#
|
14960
14958
|
# @!attribute [rw] private_ip_address
|
@@ -15011,7 +15009,7 @@ module Aws::EC2
|
|
15011
15009
|
# @return [String]
|
15012
15010
|
#
|
15013
15011
|
# @!attribute [rw] ebs_optimized
|
15014
|
-
# Indicates whether the instance is optimized for EBS I/O. This
|
15012
|
+
# Indicates whether the instance is optimized for Amazon EBS I/O. This
|
15015
15013
|
# optimization provides dedicated throughput to Amazon EBS and an
|
15016
15014
|
# optimized configuration stack to provide optimal I/O performance.
|
15017
15015
|
# This optimization isn't available with all instance types.
|
@@ -15032,7 +15030,7 @@ module Aws::EC2
|
|
15032
15030
|
# @return [Types::IamInstanceProfile]
|
15033
15031
|
#
|
15034
15032
|
# @!attribute [rw] instance_lifecycle
|
15035
|
-
# Indicates whether this is a Spot
|
15033
|
+
# Indicates whether this is a Spot Instance or a Scheduled Instance.
|
15036
15034
|
# @return [String]
|
15037
15035
|
#
|
15038
15036
|
# @!attribute [rw] elastic_gpu_associations
|
@@ -15059,9 +15057,9 @@ module Aws::EC2
|
|
15059
15057
|
# @!attribute [rw] source_dest_check
|
15060
15058
|
# Specifies whether to enable an instance launched in a VPC to perform
|
15061
15059
|
# NAT. This controls whether source/destination checking is enabled on
|
15062
|
-
# the instance. A value of `true` means checking is enabled, and
|
15063
|
-
# `false` means checking is disabled. The value must be `false`
|
15064
|
-
# the instance to perform NAT. For more information, see [NAT
|
15060
|
+
# the instance. A value of `true` means that checking is enabled, and
|
15061
|
+
# `false` means that checking is disabled. The value must be `false`
|
15062
|
+
# for the instance to perform NAT. For more information, see [NAT
|
15065
15063
|
# Instances][1] in the *Amazon Virtual Private Cloud User Guide*.
|
15066
15064
|
#
|
15067
15065
|
#
|
@@ -15070,7 +15068,7 @@ module Aws::EC2
|
|
15070
15068
|
# @return [Boolean]
|
15071
15069
|
#
|
15072
15070
|
# @!attribute [rw] spot_instance_request_id
|
15073
|
-
# If the request is a Spot
|
15071
|
+
# If the request is a Spot Instance request, the ID of the request.
|
15074
15072
|
# @return [String]
|
15075
15073
|
#
|
15076
15074
|
# @!attribute [rw] sriov_net_support
|
@@ -15155,7 +15153,7 @@ module Aws::EC2
|
|
15155
15153
|
# @return [Types::AttributeBooleanValue]
|
15156
15154
|
#
|
15157
15155
|
# @!attribute [rw] ebs_optimized
|
15158
|
-
# Indicates whether the instance is optimized for EBS I/O.
|
15156
|
+
# Indicates whether the instance is optimized for Amazon EBS I/O.
|
15159
15157
|
# @return [Types::AttributeBooleanValue]
|
15160
15158
|
#
|
15161
15159
|
# @!attribute [rw] instance_id
|
@@ -15191,9 +15189,9 @@ module Aws::EC2
|
|
15191
15189
|
#
|
15192
15190
|
# @!attribute [rw] source_dest_check
|
15193
15191
|
# Indicates whether source/destination checking is enabled. A value of
|
15194
|
-
# `true` means checking is enabled, and `false` means
|
15195
|
-
# disabled. This value must be `false` for a NAT instance
|
15196
|
-
# NAT.
|
15192
|
+
# `true` means that checking is enabled, and `false` means that
|
15193
|
+
# checking is disabled. This value must be `false` for a NAT instance
|
15194
|
+
# to perform NAT.
|
15197
15195
|
# @return [Types::AttributeBooleanValue]
|
15198
15196
|
#
|
15199
15197
|
# @!attribute [rw] sriov_net_support
|
@@ -16724,9 +16722,9 @@ module Aws::EC2
|
|
16724
16722
|
#
|
16725
16723
|
# @!attribute [rw] source_dest_check
|
16726
16724
|
# Specifies whether source/destination checking is enabled. A value of
|
16727
|
-
# `true` means that checking is enabled, and `false` means
|
16728
|
-
# disabled. This value must be `false` for a NAT instance
|
16729
|
-
# NAT.
|
16725
|
+
# `true` means that checking is enabled, and `false` means that
|
16726
|
+
# checking is disabled. This value must be `false` for a NAT instance
|
16727
|
+
# to perform NAT.
|
16730
16728
|
# @return [Types::AttributeBooleanValue]
|
16731
16729
|
#
|
16732
16730
|
# @!attribute [rw] attribute
|
@@ -16763,7 +16761,7 @@ module Aws::EC2
|
|
16763
16761
|
# @return [Boolean]
|
16764
16762
|
#
|
16765
16763
|
# @!attribute [rw] ebs_optimized
|
16766
|
-
# Specifies whether the instance is optimized for EBS I/O. This
|
16764
|
+
# Specifies whether the instance is optimized for Amazon EBS I/O. This
|
16767
16765
|
# optimization provides dedicated throughput to Amazon EBS and an
|
16768
16766
|
# optimized configuration stack to provide optimal EBS I/O
|
16769
16767
|
# performance. This optimization isn't available with all instance
|
@@ -16839,9 +16837,9 @@ module Aws::EC2
|
|
16839
16837
|
#
|
16840
16838
|
# @!attribute [rw] user_data
|
16841
16839
|
# Changes the instance's user data to the specified value. If you are
|
16842
|
-
# using an AWS SDK or command line tool,
|
16840
|
+
# using an AWS SDK or command line tool, base64-encoding is performed
|
16843
16841
|
# for you, and you can load the text from a file. Otherwise, you must
|
16844
|
-
# provide
|
16842
|
+
# provide base64-encoded text.
|
16845
16843
|
# @return [Types::BlobAttributeValue]
|
16846
16844
|
#
|
16847
16845
|
# @!attribute [rw] value
|
@@ -19682,7 +19680,7 @@ module Aws::EC2
|
|
19682
19680
|
# @return [Array<String>]
|
19683
19681
|
#
|
19684
19682
|
# @!attribute [rw] reason_codes
|
19685
|
-
# One or more reason codes that
|
19683
|
+
# One or more reason codes that describe the health state of your
|
19686
19684
|
# instance.
|
19687
19685
|
#
|
19688
19686
|
# * `instance-stuck-in-state`\: My instance is stuck in a state.
|
@@ -19696,14 +19694,14 @@ module Aws::EC2
|
|
19696
19694
|
# instance.
|
19697
19695
|
#
|
19698
19696
|
# * `performance-network`\: My instance is experiencing performance
|
19699
|
-
# problems
|
19697
|
+
# problems that I believe are network related.
|
19700
19698
|
#
|
19701
19699
|
# * `performance-instance-store`\: My instance is experiencing
|
19702
|
-
# performance problems
|
19700
|
+
# performance problems that I believe are related to the instance
|
19703
19701
|
# stores.
|
19704
19702
|
#
|
19705
19703
|
# * `performance-ebs-volume`\: My instance is experiencing performance
|
19706
|
-
# problems
|
19704
|
+
# problems that I believe are related to an EBS volume.
|
19707
19705
|
#
|
19708
19706
|
# * `performance-other`\: My instance is experiencing performance
|
19709
19707
|
# problems.
|
@@ -21676,9 +21674,9 @@ module Aws::EC2
|
|
21676
21674
|
# The user data to make available to the instance. For more
|
21677
21675
|
# information, see [Running Commands on Your Linux Instance at
|
21678
21676
|
# Launch][1] (Linux) and [Adding User Data][2] (Windows). If you are
|
21679
|
-
# using an AWS SDK or command line tool,
|
21677
|
+
# using an AWS SDK or command line tool, base64-encoding is performed
|
21680
21678
|
# for you, and you can load the text from a file. Otherwise, you must
|
21681
|
-
# provide
|
21679
|
+
# provide base64-encoded text.
|
21682
21680
|
#
|
21683
21681
|
#
|
21684
21682
|
#
|
@@ -21722,9 +21720,9 @@ module Aws::EC2
|
|
21722
21720
|
# @return [Boolean]
|
21723
21721
|
#
|
21724
21722
|
# @!attribute [rw] ebs_optimized
|
21725
|
-
# Indicates whether the instance is optimized for EBS I/O. This
|
21723
|
+
# Indicates whether the instance is optimized for Amazon EBS I/O. This
|
21726
21724
|
# optimization provides dedicated throughput to Amazon EBS and an
|
21727
|
-
# optimized configuration stack to provide optimal EBS I/O
|
21725
|
+
# optimized configuration stack to provide optimal Amazon EBS I/O
|
21728
21726
|
# performance. This optimization isn't available with all instance
|
21729
21727
|
# types. Additional usage charges apply when using an EBS-optimized
|
21730
21728
|
# instance.
|
@@ -24083,7 +24081,7 @@ module Aws::EC2
|
|
24083
24081
|
# * `Server.ScheduledStop`\: The instance was stopped due to a
|
24084
24082
|
# scheduled retirement.
|
24085
24083
|
#
|
24086
|
-
# * `Server.SpotInstanceTermination`\: A Spot
|
24084
|
+
# * `Server.SpotInstanceTermination`\: A Spot Instance was terminated
|
24087
24085
|
# due to an increase in the market price.
|
24088
24086
|
#
|
24089
24087
|
# * `Client.InternalError`\: A client error caused the instance to
|
@@ -25731,6 +25729,17 @@ module Aws::EC2
|
|
25731
25729
|
# The ID of the customer gateway at your end of the VPN connection.
|
25732
25730
|
# @return [String]
|
25733
25731
|
#
|
25732
|
+
# @!attribute [rw] category
|
25733
|
+
# The category of the VPN connection. A value of `VPN` indicates an
|
25734
|
+
# AWS VPN connection. A value of `VPN-Classic` indicates an AWS
|
25735
|
+
# Classic VPN connection. For more information, see [AWS Managed VPN
|
25736
|
+
# Categories][1] in the *Amazon Virtual Private Cloud User Guide*.
|
25737
|
+
#
|
25738
|
+
#
|
25739
|
+
#
|
25740
|
+
# [1]: http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_VPN.html#vpn-categories
|
25741
|
+
# @return [String]
|
25742
|
+
#
|
25734
25743
|
# @!attribute [rw] state
|
25735
25744
|
# The current state of the VPN connection.
|
25736
25745
|
# @return [String]
|
@@ -25769,6 +25778,7 @@ module Aws::EC2
|
|
25769
25778
|
class VpnConnection < Struct.new(
|
25770
25779
|
:customer_gateway_configuration,
|
25771
25780
|
:customer_gateway_id,
|
25781
|
+
:category,
|
25772
25782
|
:state,
|
25773
25783
|
:type,
|
25774
25784
|
:vpn_connection_id,
|
@@ -25801,17 +25811,31 @@ module Aws::EC2
|
|
25801
25811
|
#
|
25802
25812
|
# {
|
25803
25813
|
# static_routes_only: false,
|
25814
|
+
# tunnel_options: [
|
25815
|
+
# {
|
25816
|
+
# tunnel_inside_cidr: "String",
|
25817
|
+
# pre_shared_key: "String",
|
25818
|
+
# },
|
25819
|
+
# ],
|
25804
25820
|
# }
|
25805
25821
|
#
|
25806
25822
|
# @!attribute [rw] static_routes_only
|
25807
|
-
#
|
25808
|
-
#
|
25823
|
+
# Indicate whether the VPN connection uses static routes only. If you
|
25824
|
+
# are creating a VPN connection for a device that does not support
|
25825
|
+
# BGP, you must specify `true`.
|
25826
|
+
#
|
25827
|
+
# Default: `false`
|
25809
25828
|
# @return [Boolean]
|
25810
25829
|
#
|
25830
|
+
# @!attribute [rw] tunnel_options
|
25831
|
+
# The tunnel options for the VPN connection.
|
25832
|
+
# @return [Array<Types::VpnTunnelOptionsSpecification>]
|
25833
|
+
#
|
25811
25834
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpnConnectionOptionsSpecification AWS API Documentation
|
25812
25835
|
#
|
25813
25836
|
class VpnConnectionOptionsSpecification < Struct.new(
|
25814
|
-
:static_routes_only
|
25837
|
+
:static_routes_only,
|
25838
|
+
:tunnel_options)
|
25815
25839
|
include Aws::Structure
|
25816
25840
|
end
|
25817
25841
|
|
@@ -25878,5 +25902,55 @@ module Aws::EC2
|
|
25878
25902
|
include Aws::Structure
|
25879
25903
|
end
|
25880
25904
|
|
25905
|
+
# The tunnel options for a VPN connection.
|
25906
|
+
#
|
25907
|
+
# @note When making an API call, you may pass VpnTunnelOptionsSpecification
|
25908
|
+
# data as a hash:
|
25909
|
+
#
|
25910
|
+
# {
|
25911
|
+
# tunnel_inside_cidr: "String",
|
25912
|
+
# pre_shared_key: "String",
|
25913
|
+
# }
|
25914
|
+
#
|
25915
|
+
# @!attribute [rw] tunnel_inside_cidr
|
25916
|
+
# The range of inside IP addresses for the tunnel. Any specified CIDR
|
25917
|
+
# blocks must be unique across all VPN connections that use the same
|
25918
|
+
# virtual private gateway.
|
25919
|
+
#
|
25920
|
+
# Constraints: A size /30 CIDR block from the `169.254.0.0/16` range.
|
25921
|
+
# The following CIDR blocks are reserved and cannot be used:
|
25922
|
+
#
|
25923
|
+
# * `169.254.0.0/30`
|
25924
|
+
#
|
25925
|
+
# * `169.254.1.0/30`
|
25926
|
+
#
|
25927
|
+
# * `169.254.2.0/30`
|
25928
|
+
#
|
25929
|
+
# * `169.254.3.0/30`
|
25930
|
+
#
|
25931
|
+
# * `169.254.4.0/30`
|
25932
|
+
#
|
25933
|
+
# * `169.254.5.0/30`
|
25934
|
+
#
|
25935
|
+
# * `169.254.169.252/30`
|
25936
|
+
# @return [String]
|
25937
|
+
#
|
25938
|
+
# @!attribute [rw] pre_shared_key
|
25939
|
+
# The pre-shared key (PSK) to establish initial authentication between
|
25940
|
+
# the virtual private gateway and customer gateway.
|
25941
|
+
#
|
25942
|
+
# Constraints: Allowed characters are alphanumeric characters and .\_.
|
25943
|
+
# Must be between 8 and 64 characters in length and cannot start with
|
25944
|
+
# zero (0).
|
25945
|
+
# @return [String]
|
25946
|
+
#
|
25947
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/VpnTunnelOptionsSpecification AWS API Documentation
|
25948
|
+
#
|
25949
|
+
class VpnTunnelOptionsSpecification < Struct.new(
|
25950
|
+
:tunnel_inside_cidr,
|
25951
|
+
:pre_shared_key)
|
25952
|
+
include Aws::Structure
|
25953
|
+
end
|
25954
|
+
|
25881
25955
|
end
|
25882
25956
|
end
|