aws-sdk-ec2 1.243.0 → 1.248.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 +25 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/classic_address.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +794 -294
- data/lib/aws-sdk-ec2/client_api.rb +211 -4
- data/lib/aws-sdk-ec2/instance.rb +9 -7
- data/lib/aws-sdk-ec2/key_pair_info.rb +2 -2
- data/lib/aws-sdk-ec2/network_interface.rb +5 -4
- data/lib/aws-sdk-ec2/placement_group.rb +4 -4
- data/lib/aws-sdk-ec2/resource.rb +54 -45
- data/lib/aws-sdk-ec2/security_group.rb +50 -16
- data/lib/aws-sdk-ec2/snapshot.rb +1 -1
- data/lib/aws-sdk-ec2/subnet.rb +25 -19
- data/lib/aws-sdk-ec2/types.rb +1113 -238
- data/lib/aws-sdk-ec2/volume.rb +1 -1
- data/lib/aws-sdk-ec2/vpc.rb +21 -20
- data/lib/aws-sdk-ec2/vpc_address.rb +1 -1
- metadata +2 -2
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -331,7 +331,8 @@ module Aws::EC2
|
|
331
331
|
data[:metadata_options]
|
332
332
|
end
|
333
333
|
|
334
|
-
# Indicates whether the instance is enabled for
|
334
|
+
# Indicates whether the instance is enabled for Amazon Web Services
|
335
|
+
# Nitro Enclaves.
|
335
336
|
# @return [Types::EnclaveOptions]
|
336
337
|
def enclave_options
|
337
338
|
data[:enclave_options]
|
@@ -668,7 +669,7 @@ module Aws::EC2
|
|
668
669
|
# no_reboot: false,
|
669
670
|
# tag_specifications: [
|
670
671
|
# {
|
671
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
672
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
672
673
|
# tags: [
|
673
674
|
# {
|
674
675
|
# key: "String",
|
@@ -1017,9 +1018,9 @@ module Aws::EC2
|
|
1017
1018
|
# option with a PV instance can make it unreachable.
|
1018
1019
|
# @option options [Types::BlobAttributeValue] :user_data
|
1019
1020
|
# Changes the instance's user data to the specified value. If you are
|
1020
|
-
# using an
|
1021
|
-
# for you, and you can load the text from a file.
|
1022
|
-
# provide base64-encoded text.
|
1021
|
+
# using an Amazon Web Services SDK or command line tool, base64-encoding
|
1022
|
+
# is performed for you, and you can load the text from a file.
|
1023
|
+
# Otherwise, you must provide base64-encoded text.
|
1023
1024
|
# @option options [String] :value
|
1024
1025
|
# A new value for the attribute. Use only with the `kernel`, `ramdisk`,
|
1025
1026
|
# `userData`, `disableApiTermination`, or
|
@@ -1538,12 +1539,13 @@ module Aws::EC2
|
|
1538
1539
|
# with, if any.
|
1539
1540
|
#
|
1540
1541
|
# * `network-border-group` - A unique set of Availability Zones, Local
|
1541
|
-
# Zones, or Wavelength Zones from where
|
1542
|
+
# Zones, or Wavelength Zones from where Amazon Web Services advertises
|
1543
|
+
# IP addresses.
|
1542
1544
|
#
|
1543
1545
|
# * `network-interface-id` - \[EC2-VPC\] The ID of the network interface
|
1544
1546
|
# that the address is associated with, if any.
|
1545
1547
|
#
|
1546
|
-
# * `network-interface-owner-id` - The
|
1548
|
+
# * `network-interface-owner-id` - The account ID of the owner.
|
1547
1549
|
#
|
1548
1550
|
# * `private-ip-address` - \[EC2-VPC\] The private IP address associated
|
1549
1551
|
# with the Elastic IP address.
|
@@ -43,8 +43,8 @@ module Aws::EC2
|
|
43
43
|
|
44
44
|
# If you used CreateKeyPair to create the key pair, this is the SHA-1
|
45
45
|
# digest of the DER encoded private key. If you used ImportKeyPair to
|
46
|
-
# provide
|
47
|
-
# specified in section 4 of RFC4716.
|
46
|
+
# provide Amazon Web Services the public key, this is the MD5 public key
|
47
|
+
# fingerprint as specified in section 4 of RFC4716.
|
48
48
|
# @return [String]
|
49
49
|
def key_fingerprint
|
50
50
|
data[:key_fingerprint]
|
@@ -83,7 +83,7 @@ module Aws::EC2
|
|
83
83
|
data[:outpost_arn]
|
84
84
|
end
|
85
85
|
|
86
|
-
# The
|
86
|
+
# The account ID of the owner of the network interface.
|
87
87
|
# @return [String]
|
88
88
|
def owner_id
|
89
89
|
data[:owner_id]
|
@@ -107,14 +107,15 @@ module Aws::EC2
|
|
107
107
|
data[:private_ip_addresses]
|
108
108
|
end
|
109
109
|
|
110
|
-
# The alias or
|
111
|
-
#
|
110
|
+
# The alias or account ID of the principal or service that created the
|
111
|
+
# network interface.
|
112
112
|
# @return [String]
|
113
113
|
def requester_id
|
114
114
|
data[:requester_id]
|
115
115
|
end
|
116
116
|
|
117
|
-
# Indicates whether the network interface is being managed by
|
117
|
+
# Indicates whether the network interface is being managed by Amazon Web
|
118
|
+
# Services.
|
118
119
|
# @return [Boolean]
|
119
120
|
def requester_managed
|
120
121
|
data[:requester_managed]
|
@@ -413,7 +413,7 @@ module Aws::EC2
|
|
413
413
|
# interface.
|
414
414
|
#
|
415
415
|
# * `network-interface.requester-managed` - Indicates whether the
|
416
|
-
# network interface is being managed by
|
416
|
+
# network interface is being managed by Amazon Web Services.
|
417
417
|
#
|
418
418
|
# * `network-interface.status` - The status of the network interface
|
419
419
|
# (`available`) \| `in-use`).
|
@@ -432,7 +432,7 @@ module Aws::EC2
|
|
432
432
|
#
|
433
433
|
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
434
434
|
#
|
435
|
-
# * `owner-id` - The
|
435
|
+
# * `owner-id` - The account ID of the instance owner.
|
436
436
|
#
|
437
437
|
# * `placement-group-name` - The name of the placement group for the
|
438
438
|
# instance.
|
@@ -460,8 +460,8 @@ module Aws::EC2
|
|
460
460
|
# terminate the instance). Similar to the state-reason-code filter.
|
461
461
|
#
|
462
462
|
# * `requester-id` - The ID of the entity that launched the instance on
|
463
|
-
# your behalf (for example,
|
464
|
-
#
|
463
|
+
# your behalf (for example, Management Console, Auto Scaling, and so
|
464
|
+
# on).
|
465
465
|
#
|
466
466
|
# * `reservation-id` - The ID of the instance's reservation. A
|
467
467
|
# reservation ID is created any time you launch an instance. A
|
data/lib/aws-sdk-ec2/resource.rb
CHANGED
@@ -46,7 +46,7 @@ module Aws::EC2
|
|
46
46
|
# ],
|
47
47
|
# tag_specifications: [
|
48
48
|
# {
|
49
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
49
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
50
50
|
# tags: [
|
51
51
|
# {
|
52
52
|
# key: "String",
|
@@ -180,7 +180,7 @@ module Aws::EC2
|
|
180
180
|
# ],
|
181
181
|
# tag_specifications: [
|
182
182
|
# {
|
183
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
183
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
184
184
|
# tags: [
|
185
185
|
# {
|
186
186
|
# key: "String",
|
@@ -326,7 +326,8 @@ module Aws::EC2
|
|
326
326
|
# The ID of the RAM disk to select. Some kernels require additional
|
327
327
|
# drivers at launch. Check the kernel requirements for information about
|
328
328
|
# whether you need to specify a RAM disk. To find kernel requirements,
|
329
|
-
# go to the
|
329
|
+
# go to the Amazon Web Services Resource Center and search for the
|
330
|
+
# kernel ID.
|
330
331
|
#
|
331
332
|
# We recommend that you use PV-GRUB instead of kernels and RAM disks.
|
332
333
|
# For more information, see [ PV-GRUB][1] in the *Amazon EC2 User
|
@@ -504,8 +505,8 @@ module Aws::EC2
|
|
504
505
|
# information, see [Hibernate your instance][1] in the *Amazon EC2 User
|
505
506
|
# Guide*.
|
506
507
|
#
|
507
|
-
# You can't enable hibernation and
|
508
|
-
# instance.
|
508
|
+
# You can't enable hibernation and Amazon Web Services Nitro Enclaves
|
509
|
+
# on the same instance.
|
509
510
|
#
|
510
511
|
#
|
511
512
|
#
|
@@ -520,12 +521,13 @@ module Aws::EC2
|
|
520
521
|
#
|
521
522
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html
|
522
523
|
# @option options [Types::EnclaveOptionsRequest] :enclave_options
|
523
|
-
# Indicates whether the instance is enabled for
|
524
|
-
# more information, see [ What is
|
525
|
-
# Nitro Enclaves
|
524
|
+
# Indicates whether the instance is enabled for Amazon Web Services
|
525
|
+
# Nitro Enclaves. For more information, see [ What is Amazon Web
|
526
|
+
# Services Nitro Enclaves?][1] in the *Amazon Web Services Nitro
|
527
|
+
# Enclaves User Guide*.
|
526
528
|
#
|
527
|
-
# You can't enable
|
528
|
-
# instance.
|
529
|
+
# You can't enable Amazon Web Services Nitro Enclaves and hibernation
|
530
|
+
# on the same instance.
|
529
531
|
#
|
530
532
|
#
|
531
533
|
#
|
@@ -549,7 +551,7 @@ module Aws::EC2
|
|
549
551
|
# internetgateway = ec2.create_internet_gateway({
|
550
552
|
# tag_specifications: [
|
551
553
|
# {
|
552
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
554
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
553
555
|
# tags: [
|
554
556
|
# {
|
555
557
|
# key: "String",
|
@@ -585,7 +587,7 @@ module Aws::EC2
|
|
585
587
|
# dry_run: false,
|
586
588
|
# tag_specifications: [
|
587
589
|
# {
|
588
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
590
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
589
591
|
# tags: [
|
590
592
|
# {
|
591
593
|
# key: "String",
|
@@ -626,7 +628,7 @@ module Aws::EC2
|
|
626
628
|
# subnet_id: "SubnetId", # required
|
627
629
|
# tag_specifications: [
|
628
630
|
# {
|
629
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
631
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
630
632
|
# tags: [
|
631
633
|
# {
|
632
634
|
# key: "String",
|
@@ -683,7 +685,7 @@ module Aws::EC2
|
|
683
685
|
# vpc_id: "VpcId", # required
|
684
686
|
# tag_specifications: [
|
685
687
|
# {
|
686
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
688
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
687
689
|
# tags: [
|
688
690
|
# {
|
689
691
|
# key: "String",
|
@@ -733,11 +735,11 @@ module Aws::EC2
|
|
733
735
|
# },
|
734
736
|
# ],
|
735
737
|
# secondary_private_ip_address_count: 1,
|
736
|
-
# interface_type: "efa", # accepts efa
|
738
|
+
# interface_type: "efa", # accepts efa, branch, trunk
|
737
739
|
# subnet_id: "SubnetId", # required
|
738
740
|
# tag_specifications: [
|
739
741
|
# {
|
740
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
742
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
741
743
|
# tags: [
|
742
744
|
# {
|
743
745
|
# key: "String",
|
@@ -795,10 +797,14 @@ module Aws::EC2
|
|
795
797
|
# Indicates the type of network interface. To create an Elastic Fabric
|
796
798
|
# Adapter (EFA), specify `efa`. For more information, see [ Elastic
|
797
799
|
# Fabric Adapter][1] in the *Amazon Elastic Compute Cloud User Guide*.
|
800
|
+
# To create a trunk network interface, specify `efa`. For more
|
801
|
+
# information, see [ Network interface trunking][2] in the *Amazon
|
802
|
+
# Elastic Compute Cloud User Guide*.
|
798
803
|
#
|
799
804
|
#
|
800
805
|
#
|
801
806
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/efa.html
|
807
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/eni-trunking.html
|
802
808
|
# @option options [required, String] :subnet_id
|
803
809
|
# The ID of the subnet to associate with the network interface.
|
804
810
|
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
@@ -830,7 +836,7 @@ module Aws::EC2
|
|
830
836
|
# partition_count: 1,
|
831
837
|
# tag_specifications: [
|
832
838
|
# {
|
833
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
839
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
834
840
|
# tags: [
|
835
841
|
# {
|
836
842
|
# key: "String",
|
@@ -874,7 +880,7 @@ module Aws::EC2
|
|
874
880
|
# vpc_id: "VpcId", # required
|
875
881
|
# tag_specifications: [
|
876
882
|
# {
|
877
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
883
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
878
884
|
# tags: [
|
879
885
|
# {
|
880
886
|
# key: "String",
|
@@ -912,7 +918,7 @@ module Aws::EC2
|
|
912
918
|
# vpc_id: "VpcId",
|
913
919
|
# tag_specifications: [
|
914
920
|
# {
|
915
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
921
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
916
922
|
# tags: [
|
917
923
|
# {
|
918
924
|
# key: "String",
|
@@ -968,7 +974,7 @@ module Aws::EC2
|
|
968
974
|
# volume_id: "VolumeId", # required
|
969
975
|
# tag_specifications: [
|
970
976
|
# {
|
971
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
977
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
972
978
|
# tags: [
|
973
979
|
# {
|
974
980
|
# key: "String",
|
@@ -1027,7 +1033,7 @@ module Aws::EC2
|
|
1027
1033
|
# subnet = ec2.create_subnet({
|
1028
1034
|
# tag_specifications: [
|
1029
1035
|
# {
|
1030
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
1036
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
1031
1037
|
# tags: [
|
1032
1038
|
# {
|
1033
1039
|
# key: "String",
|
@@ -1182,7 +1188,7 @@ module Aws::EC2
|
|
1182
1188
|
# dry_run: false,
|
1183
1189
|
# tag_specifications: [
|
1184
1190
|
# {
|
1185
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
1191
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
1186
1192
|
# tags: [
|
1187
1193
|
# {
|
1188
1194
|
# key: "String",
|
@@ -1349,7 +1355,7 @@ module Aws::EC2
|
|
1349
1355
|
# ipv_6_cidr_block_network_border_group: "String",
|
1350
1356
|
# tag_specifications: [
|
1351
1357
|
# {
|
1352
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
1358
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
1353
1359
|
# tags: [
|
1354
1360
|
# {
|
1355
1361
|
# key: "String",
|
@@ -1422,7 +1428,7 @@ module Aws::EC2
|
|
1422
1428
|
# peer_region: "String",
|
1423
1429
|
# tag_specifications: [
|
1424
1430
|
# {
|
1425
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
1431
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
1426
1432
|
# tags: [
|
1427
1433
|
# {
|
1428
1434
|
# key: "String",
|
@@ -1494,7 +1500,7 @@ module Aws::EC2
|
|
1494
1500
|
# public_key_material: "data", # required
|
1495
1501
|
# tag_specifications: [
|
1496
1502
|
# {
|
1497
|
-
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
1503
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
1498
1504
|
# tags: [
|
1499
1505
|
# {
|
1500
1506
|
# key: "String",
|
@@ -1680,12 +1686,13 @@ module Aws::EC2
|
|
1680
1686
|
# with, if any.
|
1681
1687
|
#
|
1682
1688
|
# * `network-border-group` - A unique set of Availability Zones, Local
|
1683
|
-
# Zones, or Wavelength Zones from where
|
1689
|
+
# Zones, or Wavelength Zones from where Amazon Web Services advertises
|
1690
|
+
# IP addresses.
|
1684
1691
|
#
|
1685
1692
|
# * `network-interface-id` - \[EC2-VPC\] The ID of the network interface
|
1686
1693
|
# that the address is associated with, if any.
|
1687
1694
|
#
|
1688
|
-
# * `network-interface-owner-id` - The
|
1695
|
+
# * `network-interface-owner-id` - The account ID of the owner.
|
1689
1696
|
#
|
1690
1697
|
# * `private-ip-address` - \[EC2-VPC\] The private IP address associated
|
1691
1698
|
# with the Elastic IP address.
|
@@ -2168,7 +2175,7 @@ module Aws::EC2
|
|
2168
2175
|
# interface.
|
2169
2176
|
#
|
2170
2177
|
# * `network-interface.requester-managed` - Indicates whether the
|
2171
|
-
# network interface is being managed by
|
2178
|
+
# network interface is being managed by Amazon Web Services.
|
2172
2179
|
#
|
2173
2180
|
# * `network-interface.status` - The status of the network interface
|
2174
2181
|
# (`available`) \| `in-use`).
|
@@ -2187,7 +2194,7 @@ module Aws::EC2
|
|
2187
2194
|
#
|
2188
2195
|
# * `outpost-arn` - The Amazon Resource Name (ARN) of the Outpost.
|
2189
2196
|
#
|
2190
|
-
# * `owner-id` - The
|
2197
|
+
# * `owner-id` - The account ID of the instance owner.
|
2191
2198
|
#
|
2192
2199
|
# * `placement-group-name` - The name of the placement group for the
|
2193
2200
|
# instance.
|
@@ -2215,8 +2222,8 @@ module Aws::EC2
|
|
2215
2222
|
# terminate the instance). Similar to the state-reason-code filter.
|
2216
2223
|
#
|
2217
2224
|
# * `requester-id` - The ID of the entity that launched the instance on
|
2218
|
-
# your behalf (for example,
|
2219
|
-
#
|
2225
|
+
# your behalf (for example, Management Console, Auto Scaling, and so
|
2226
|
+
# on).
|
2220
2227
|
#
|
2221
2228
|
# * `reservation-id` - The ID of the instance's reservation. A
|
2222
2229
|
# reservation ID is created any time you launch an instance. A
|
@@ -2411,7 +2418,7 @@ module Aws::EC2
|
|
2411
2418
|
# @option options [Array<String>] :key_names
|
2412
2419
|
# The key pair names.
|
2413
2420
|
#
|
2414
|
-
# Default: Describes all your key pairs.
|
2421
|
+
# Default: Describes all of your key pairs.
|
2415
2422
|
# @option options [Array<String>] :key_pair_ids
|
2416
2423
|
# The IDs of the key pairs.
|
2417
2424
|
# @option options [Boolean] :dry_run
|
@@ -2699,7 +2706,7 @@ module Aws::EC2
|
|
2699
2706
|
#
|
2700
2707
|
# * `network-interface-id` - The ID of the network interface.
|
2701
2708
|
#
|
2702
|
-
# * `owner-id` - The
|
2709
|
+
# * `owner-id` - The account ID of the network interface owner.
|
2703
2710
|
#
|
2704
2711
|
# * `private-ip-address` - The private IPv4 address or addresses of the
|
2705
2712
|
# network interface.
|
@@ -2707,11 +2714,11 @@ module Aws::EC2
|
|
2707
2714
|
# * `private-dns-name` - The private DNS name of the network interface
|
2708
2715
|
# (IPv4).
|
2709
2716
|
#
|
2710
|
-
# * `requester-id` - The alias or
|
2711
|
-
#
|
2717
|
+
# * `requester-id` - The alias or account ID of the principal or service
|
2718
|
+
# that created the network interface.
|
2712
2719
|
#
|
2713
2720
|
# * `requester-managed` - Indicates whether the network interface is
|
2714
|
-
# being managed by an
|
2721
|
+
# being managed by an Amazon Web Service (for example, Management
|
2715
2722
|
# Console, Auto Scaling, and so on).
|
2716
2723
|
#
|
2717
2724
|
# * `source-dest-check` - Indicates whether the network interface
|
@@ -3021,8 +3028,8 @@ module Aws::EC2
|
|
3021
3028
|
# * `egress.ip-permission.to-port` - For an outbound rule, the end of
|
3022
3029
|
# port range for the TCP and UDP protocols, or an ICMP code.
|
3023
3030
|
#
|
3024
|
-
# * `egress.ip-permission.user-id` - The ID of an
|
3025
|
-
# been referenced in an outbound security group rule.
|
3031
|
+
# * `egress.ip-permission.user-id` - The ID of an Amazon Web Services
|
3032
|
+
# account that has been referenced in an outbound security group rule.
|
3026
3033
|
#
|
3027
3034
|
# * `group-id` - The ID of the security group.
|
3028
3035
|
#
|
@@ -3053,10 +3060,11 @@ module Aws::EC2
|
|
3053
3060
|
# * `ip-permission.to-port` - For an inbound rule, the end of port range
|
3054
3061
|
# for the TCP and UDP protocols, or an ICMP code.
|
3055
3062
|
#
|
3056
|
-
# * `ip-permission.user-id` - The ID of an
|
3057
|
-
# referenced in an inbound security group rule.
|
3063
|
+
# * `ip-permission.user-id` - The ID of an Amazon Web Services account
|
3064
|
+
# that has been referenced in an inbound security group rule.
|
3058
3065
|
#
|
3059
|
-
# * `owner-id` - The
|
3066
|
+
# * `owner-id` - The Amazon Web Services account ID of the owner of the
|
3067
|
+
# security group.
|
3060
3068
|
#
|
3061
3069
|
# * `tag`\:<key> - The key/value combination of a tag assigned to
|
3062
3070
|
# the resource. Use the tag key in the filter name and the tag value
|
@@ -3074,14 +3082,14 @@ module Aws::EC2
|
|
3074
3082
|
# The IDs of the security groups. Required for security groups in a
|
3075
3083
|
# nondefault VPC.
|
3076
3084
|
#
|
3077
|
-
# Default: Describes all your security groups.
|
3085
|
+
# Default: Describes all of your security groups.
|
3078
3086
|
# @option options [Array<String>] :group_names
|
3079
3087
|
# \[EC2-Classic and default VPC only\] The names of the security groups.
|
3080
3088
|
# You can specify either the security group name or the security group
|
3081
3089
|
# ID. For security groups in a nondefault VPC, use the `group-name`
|
3082
3090
|
# filter to describe security groups by name.
|
3083
3091
|
#
|
3084
|
-
# Default: Describes all your security groups.
|
3092
|
+
# Default: Describes all of your security groups.
|
3085
3093
|
# @option options [Boolean] :dry_run
|
3086
3094
|
# Checks whether you have the required permissions for the action,
|
3087
3095
|
# without actually making the request, and provides an error response.
|
@@ -3443,12 +3451,13 @@ module Aws::EC2
|
|
3443
3451
|
# with, if any.
|
3444
3452
|
#
|
3445
3453
|
# * `network-border-group` - A unique set of Availability Zones, Local
|
3446
|
-
# Zones, or Wavelength Zones from where
|
3454
|
+
# Zones, or Wavelength Zones from where Amazon Web Services advertises
|
3455
|
+
# IP addresses.
|
3447
3456
|
#
|
3448
3457
|
# * `network-interface-id` - \[EC2-VPC\] The ID of the network interface
|
3449
3458
|
# that the address is associated with, if any.
|
3450
3459
|
#
|
3451
|
-
# * `network-interface-owner-id` - The
|
3460
|
+
# * `network-interface-owner-id` - The account ID of the owner.
|
3452
3461
|
#
|
3453
3462
|
# * `private-ip-address` - \[EC2-VPC\] The private IP address associated
|
3454
3463
|
# with the Elastic IP address.
|
@@ -53,7 +53,7 @@ module Aws::EC2
|
|
53
53
|
data[:ip_permissions]
|
54
54
|
end
|
55
55
|
|
56
|
-
# The
|
56
|
+
# The Amazon Web Services account ID of the owner of the security group.
|
57
57
|
# @return [String]
|
58
58
|
def owner_id
|
59
59
|
data[:owner_id]
|
@@ -251,6 +251,17 @@ module Aws::EC2
|
|
251
251
|
# ],
|
252
252
|
# },
|
253
253
|
# ],
|
254
|
+
# tag_specifications: [
|
255
|
+
# {
|
256
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
257
|
+
# tags: [
|
258
|
+
# {
|
259
|
+
# key: "String",
|
260
|
+
# value: "String",
|
261
|
+
# },
|
262
|
+
# ],
|
263
|
+
# },
|
264
|
+
# ],
|
254
265
|
# cidr_ip: "String",
|
255
266
|
# from_port: 1,
|
256
267
|
# ip_protocol: "String",
|
@@ -267,6 +278,8 @@ module Aws::EC2
|
|
267
278
|
# @option options [Array<Types::IpPermission>] :ip_permissions
|
268
279
|
# The sets of IP permissions. You can't specify a destination security
|
269
280
|
# group and a CIDR IP address range in the same set of permissions.
|
281
|
+
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
282
|
+
# The tags applied to the security group rule.
|
270
283
|
# @option options [String] :cidr_ip
|
271
284
|
# Not supported. Use a set of IP permissions to specify the CIDR.
|
272
285
|
# @option options [Integer] :from_port
|
@@ -282,7 +295,7 @@ module Aws::EC2
|
|
282
295
|
# @option options [String] :source_security_group_owner_id
|
283
296
|
# Not supported. Use a set of IP permissions to specify a destination
|
284
297
|
# security group.
|
285
|
-
# @return [
|
298
|
+
# @return [Types::AuthorizeSecurityGroupEgressResult]
|
286
299
|
def authorize_egress(options = {})
|
287
300
|
options = options.merge(group_id: @id)
|
288
301
|
resp = @client.authorize_security_group_egress(options)
|
@@ -336,6 +349,17 @@ module Aws::EC2
|
|
336
349
|
# source_security_group_owner_id: "String",
|
337
350
|
# to_port: 1,
|
338
351
|
# dry_run: false,
|
352
|
+
# tag_specifications: [
|
353
|
+
# {
|
354
|
+
# resource_type: "client-vpn-endpoint", # accepts client-vpn-endpoint, customer-gateway, dedicated-host, dhcp-options, egress-only-internet-gateway, elastic-ip, elastic-gpu, export-image-task, export-instance-task, fleet, fpga-image, host-reservation, image, import-image-task, import-snapshot-task, instance, internet-gateway, key-pair, launch-template, local-gateway-route-table-vpc-association, natgateway, network-acl, network-interface, network-insights-analysis, network-insights-path, placement-group, reserved-instances, route-table, security-group, security-group-rule, snapshot, spot-fleet-request, spot-instances-request, subnet, traffic-mirror-filter, traffic-mirror-session, traffic-mirror-target, transit-gateway, transit-gateway-attachment, transit-gateway-connect-peer, transit-gateway-multicast-domain, transit-gateway-route-table, volume, vpc, vpc-peering-connection, vpn-connection, vpn-gateway, vpc-flow-log
|
355
|
+
# tags: [
|
356
|
+
# {
|
357
|
+
# key: "String",
|
358
|
+
# value: "String",
|
359
|
+
# },
|
360
|
+
# ],
|
361
|
+
# },
|
362
|
+
# ],
|
339
363
|
# })
|
340
364
|
# @param [Hash] options ({})
|
341
365
|
# @option options [String] :cidr_ip
|
@@ -381,13 +405,14 @@ module Aws::EC2
|
|
381
405
|
# IP protocol and port range, use a set of IP permissions instead. For
|
382
406
|
# EC2-VPC, the source security group must be in the same VPC.
|
383
407
|
# @option options [String] :source_security_group_owner_id
|
384
|
-
# \[nondefault VPC\] The
|
385
|
-
# if the source security group is in a different
|
386
|
-
# specify this parameter in combination with the
|
387
|
-
# the CIDR IP address range, the IP protocol, the
|
388
|
-
# range, and the end of the port range. Creates rules
|
389
|
-
# ICMP, UDP, and TCP access. To create a rule with a
|
390
|
-
# protocol and port range, use a set of IP permissions
|
408
|
+
# \[nondefault VPC\] The Amazon Web Services account ID for the source
|
409
|
+
# security group, if the source security group is in a different
|
410
|
+
# account. You can't specify this parameter in combination with the
|
411
|
+
# following parameters: the CIDR IP address range, the IP protocol, the
|
412
|
+
# start of the port range, and the end of the port range. Creates rules
|
413
|
+
# that grant full ICMP, UDP, and TCP access. To create a rule with a
|
414
|
+
# specific IP protocol and port range, use a set of IP permissions
|
415
|
+
# instead.
|
391
416
|
# @option options [Integer] :to_port
|
392
417
|
# The end of port range for the TCP and UDP protocols, or an ICMP code
|
393
418
|
# number. For the ICMP code number, use `-1` to specify all codes. If
|
@@ -400,7 +425,9 @@ module Aws::EC2
|
|
400
425
|
# without actually making the request, and provides an error response.
|
401
426
|
# If you have the required permissions, the error response is
|
402
427
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
403
|
-
# @
|
428
|
+
# @option options [Array<Types::TagSpecification>] :tag_specifications
|
429
|
+
# \[VPC Only\] The tags applied to the security group rule.
|
430
|
+
# @return [Types::AuthorizeSecurityGroupIngressResult]
|
404
431
|
def authorize_ingress(options = {})
|
405
432
|
options = options.merge(group_id: @id)
|
406
433
|
resp = @client.authorize_security_group_ingress(options)
|
@@ -549,6 +576,7 @@ module Aws::EC2
|
|
549
576
|
# ],
|
550
577
|
# },
|
551
578
|
# ],
|
579
|
+
# security_group_rule_ids: ["String"],
|
552
580
|
# cidr_ip: "String",
|
553
581
|
# from_port: 1,
|
554
582
|
# ip_protocol: "String",
|
@@ -565,6 +593,8 @@ module Aws::EC2
|
|
565
593
|
# @option options [Array<Types::IpPermission>] :ip_permissions
|
566
594
|
# The sets of IP permissions. You can't specify a destination security
|
567
595
|
# group and a CIDR IP address range in the same set of permissions.
|
596
|
+
# @option options [Array<String>] :security_group_rule_ids
|
597
|
+
# The IDs of the security group rules.
|
568
598
|
# @option options [String] :cidr_ip
|
569
599
|
# Not supported. Use a set of IP permissions to specify the CIDR.
|
570
600
|
# @option options [Integer] :from_port
|
@@ -634,6 +664,7 @@ module Aws::EC2
|
|
634
664
|
# source_security_group_owner_id: "String",
|
635
665
|
# to_port: 1,
|
636
666
|
# dry_run: false,
|
667
|
+
# security_group_rule_ids: ["String"],
|
637
668
|
# })
|
638
669
|
# @param [Hash] options ({})
|
639
670
|
# @option options [String] :cidr_ip
|
@@ -665,12 +696,13 @@ module Aws::EC2
|
|
665
696
|
# rule for an IP protocol and port range, use a set of IP permissions
|
666
697
|
# instead.
|
667
698
|
# @option options [String] :source_security_group_owner_id
|
668
|
-
# \[EC2-Classic\] The
|
669
|
-
# the source security group is in a different
|
670
|
-
# specify this parameter in combination with the
|
671
|
-
# the CIDR IP address range, the IP protocol, the
|
672
|
-
# range, and the end of the port range. To revoke a
|
673
|
-
# IP protocol and port range, use a set of IP
|
699
|
+
# \[EC2-Classic\] The Amazon Web Services account ID of the source
|
700
|
+
# security group, if the source security group is in a different
|
701
|
+
# account. You can't specify this parameter in combination with the
|
702
|
+
# following parameters: the CIDR IP address range, the IP protocol, the
|
703
|
+
# start of the port range, and the end of the port range. To revoke a
|
704
|
+
# specific rule for an IP protocol and port range, use a set of IP
|
705
|
+
# permissions instead.
|
674
706
|
# @option options [Integer] :to_port
|
675
707
|
# The end of port range for the TCP and UDP protocols, or an ICMP code
|
676
708
|
# number. For the ICMP code number, use `-1` to specify all ICMP codes
|
@@ -680,6 +712,8 @@ module Aws::EC2
|
|
680
712
|
# without actually making the request, and provides an error response.
|
681
713
|
# If you have the required permissions, the error response is
|
682
714
|
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
715
|
+
# @option options [Array<String>] :security_group_rule_ids
|
716
|
+
# The IDs of the security group rules.
|
683
717
|
# @return [Types::RevokeSecurityGroupIngressResult]
|
684
718
|
def revoke_ingress(options = {})
|
685
719
|
options = options.merge(group_id: @id)
|