aws-sdk-ec2 1.417.0 → 1.419.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/client.rb +211 -3
- data/lib/aws-sdk-ec2/client_api.rb +81 -0
- data/lib/aws-sdk-ec2/endpoints.rb +42 -0
- data/lib/aws-sdk-ec2/placement_group.rb +3 -2
- data/lib/aws-sdk-ec2/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-ec2/resource.rb +9 -2
- data/lib/aws-sdk-ec2/subnet.rb +9 -2
- data/lib/aws-sdk-ec2/types.rb +328 -23
- data/lib/aws-sdk-ec2/vpc.rb +3 -2
- data/lib/aws-sdk-ec2.rb +1 -1
- metadata +2 -2
data/lib/aws-sdk-ec2/types.rb
CHANGED
@@ -2887,16 +2887,26 @@ module Aws::EC2
|
|
2887
2887
|
include Aws::Structure
|
2888
2888
|
end
|
2889
2889
|
|
2890
|
-
#
|
2891
|
-
#
|
2890
|
+
# ENA Express uses Amazon Web Services Scalable Reliable Datagram (SRD)
|
2891
|
+
# technology to increase the maximum bandwidth used per stream and
|
2892
|
+
# minimize tail latency of network traffic between EC2 instances. With
|
2893
|
+
# ENA Express, you can communicate between two EC2 instances in the same
|
2894
|
+
# subnet within the same account, or in different accounts. Both sending
|
2895
|
+
# and receiving instances must have ENA Express enabled.
|
2896
|
+
#
|
2897
|
+
# To improve the reliability of network packet delivery, ENA Express
|
2898
|
+
# reorders network packets on the receiving end by default. However,
|
2899
|
+
# some UDP-based applications are designed to handle network packets
|
2900
|
+
# that are out of order to reduce the overhead for packet delivery at
|
2901
|
+
# the network layer. When ENA Express is enabled, you can specify
|
2902
|
+
# whether UDP network traffic uses it.
|
2892
2903
|
#
|
2893
2904
|
# @!attribute [rw] ena_srd_enabled
|
2894
|
-
# Indicates whether ENA Express is enabled for the network interface
|
2895
|
-
# that's attached to the instance.
|
2905
|
+
# Indicates whether ENA Express is enabled for the network interface.
|
2896
2906
|
# @return [Boolean]
|
2897
2907
|
#
|
2898
2908
|
# @!attribute [rw] ena_srd_udp_specification
|
2899
|
-
# ENA Express
|
2909
|
+
# Configures ENA Express for UDP network traffic.
|
2900
2910
|
# @return [Types::AttachmentEnaSrdUdpSpecification]
|
2901
2911
|
#
|
2902
2912
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/AttachmentEnaSrdSpecification AWS API Documentation
|
@@ -2908,8 +2918,13 @@ module Aws::EC2
|
|
2908
2918
|
include Aws::Structure
|
2909
2919
|
end
|
2910
2920
|
|
2911
|
-
#
|
2912
|
-
#
|
2921
|
+
# ENA Express is compatible with both TCP and UDP transport protocols.
|
2922
|
+
# When it's enabled, TCP traffic automatically uses it. However, some
|
2923
|
+
# UDP-based applications are designed to handle network packets that are
|
2924
|
+
# out of order, without a need for retransmission, such as live video
|
2925
|
+
# broadcasting or other near-real-time applications. For UDP traffic,
|
2926
|
+
# you can specify whether to use ENA Express, based on your application
|
2927
|
+
# environment needs.
|
2913
2928
|
#
|
2914
2929
|
# @!attribute [rw] ena_srd_udp_enabled
|
2915
2930
|
# Indicates whether UDP traffic to and from the instance uses ENA
|
@@ -19776,8 +19791,9 @@ module Aws::EC2
|
|
19776
19791
|
#
|
19777
19792
|
# * `instance-id` - The ID of the instance.
|
19778
19793
|
#
|
19779
|
-
# * `instance-lifecycle` - Indicates whether this is a Spot Instance
|
19780
|
-
#
|
19794
|
+
# * `instance-lifecycle` - Indicates whether this is a Spot Instance,
|
19795
|
+
# a Scheduled Instance, or a Capacity Block (`spot` \| `scheduled`
|
19796
|
+
# \| `capacity-block`).
|
19781
19797
|
#
|
19782
19798
|
# * `instance-state-code` - The state of the instance, as a 16-bit
|
19783
19799
|
# unsigned integer. The high byte is used for internal purposes and
|
@@ -28205,6 +28221,33 @@ module Aws::EC2
|
|
28205
28221
|
include Aws::Structure
|
28206
28222
|
end
|
28207
28223
|
|
28224
|
+
# @!attribute [rw] dry_run
|
28225
|
+
# Checks whether you have the required permissions for the action,
|
28226
|
+
# without actually making the request, and provides an error response.
|
28227
|
+
# If you have the required permissions, the error response is
|
28228
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
28229
|
+
# @return [Boolean]
|
28230
|
+
#
|
28231
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableSnapshotBlockPublicAccessRequest AWS API Documentation
|
28232
|
+
#
|
28233
|
+
class DisableSnapshotBlockPublicAccessRequest < Struct.new(
|
28234
|
+
:dry_run)
|
28235
|
+
SENSITIVE = []
|
28236
|
+
include Aws::Structure
|
28237
|
+
end
|
28238
|
+
|
28239
|
+
# @!attribute [rw] state
|
28240
|
+
# Returns `unblocked` if the request succeeds.
|
28241
|
+
# @return [String]
|
28242
|
+
#
|
28243
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DisableSnapshotBlockPublicAccessResult AWS API Documentation
|
28244
|
+
#
|
28245
|
+
class DisableSnapshotBlockPublicAccessResult < Struct.new(
|
28246
|
+
:state)
|
28247
|
+
SENSITIVE = []
|
28248
|
+
include Aws::Structure
|
28249
|
+
end
|
28250
|
+
|
28208
28251
|
# @!attribute [rw] transit_gateway_route_table_id
|
28209
28252
|
# The ID of the propagation route table.
|
28210
28253
|
# @return [String]
|
@@ -29722,8 +29765,30 @@ module Aws::EC2
|
|
29722
29765
|
include Aws::Structure
|
29723
29766
|
end
|
29724
29767
|
|
29768
|
+
# Launch instances with ENA Express settings configured from your launch
|
29769
|
+
# template.
|
29770
|
+
#
|
29771
|
+
# @!attribute [rw] ena_srd_enabled
|
29772
|
+
# Specifies whether ENA Express is enabled for the network interface
|
29773
|
+
# when you launch an instance from your launch template.
|
29774
|
+
# @return [Boolean]
|
29775
|
+
#
|
29776
|
+
# @!attribute [rw] ena_srd_udp_specification
|
29777
|
+
# Contains ENA Express settings for UDP network traffic in your launch
|
29778
|
+
# template.
|
29779
|
+
# @return [Types::EnaSrdUdpSpecificationRequest]
|
29780
|
+
#
|
29781
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnaSrdSpecificationRequest AWS API Documentation
|
29782
|
+
#
|
29783
|
+
class EnaSrdSpecificationRequest < Struct.new(
|
29784
|
+
:ena_srd_enabled,
|
29785
|
+
:ena_srd_udp_specification)
|
29786
|
+
SENSITIVE = []
|
29787
|
+
include Aws::Structure
|
29788
|
+
end
|
29789
|
+
|
29725
29790
|
# ENA Express is compatible with both TCP and UDP transport protocols.
|
29726
|
-
# When it
|
29791
|
+
# When it's enabled, TCP traffic automatically uses it. However, some
|
29727
29792
|
# UDP-based applications are designed to handle network packets that are
|
29728
29793
|
# out of order, without a need for retransmission, such as live video
|
29729
29794
|
# broadcasting or other near-real-time applications. For UDP traffic,
|
@@ -29731,8 +29796,8 @@ module Aws::EC2
|
|
29731
29796
|
# environment needs.
|
29732
29797
|
#
|
29733
29798
|
# @!attribute [rw] ena_srd_udp_enabled
|
29734
|
-
# Indicates whether UDP traffic
|
29735
|
-
# setting, you must first enable ENA Express.
|
29799
|
+
# Indicates whether UDP traffic to and from the instance uses ENA
|
29800
|
+
# Express. To specify this setting, you must first enable ENA Express.
|
29736
29801
|
# @return [Boolean]
|
29737
29802
|
#
|
29738
29803
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnaSrdUdpSpecification AWS API Documentation
|
@@ -29743,6 +29808,24 @@ module Aws::EC2
|
|
29743
29808
|
include Aws::Structure
|
29744
29809
|
end
|
29745
29810
|
|
29811
|
+
# Configures ENA Express for UDP network traffic from your launch
|
29812
|
+
# template.
|
29813
|
+
#
|
29814
|
+
# @!attribute [rw] ena_srd_udp_enabled
|
29815
|
+
# Indicates whether UDP traffic uses ENA Express for your instance. To
|
29816
|
+
# ensure that UDP traffic can use ENA Express when you launch an
|
29817
|
+
# instance, you must also set **EnaSrdEnabled** in the
|
29818
|
+
# **EnaSrdSpecificationRequest** to `true` in your launch template.
|
29819
|
+
# @return [Boolean]
|
29820
|
+
#
|
29821
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnaSrdUdpSpecificationRequest AWS API Documentation
|
29822
|
+
#
|
29823
|
+
class EnaSrdUdpSpecificationRequest < Struct.new(
|
29824
|
+
:ena_srd_udp_enabled)
|
29825
|
+
SENSITIVE = []
|
29826
|
+
include Aws::Structure
|
29827
|
+
end
|
29828
|
+
|
29746
29829
|
# @!attribute [rw] allocation_id
|
29747
29830
|
# The allocation ID of an Elastic IP address.
|
29748
29831
|
# @return [String]
|
@@ -30353,6 +30436,62 @@ module Aws::EC2
|
|
30353
30436
|
include Aws::Structure
|
30354
30437
|
end
|
30355
30438
|
|
30439
|
+
# @!attribute [rw] state
|
30440
|
+
# The mode in which to enable block public access for snapshots for
|
30441
|
+
# the Region. Specify one of the following values:
|
30442
|
+
#
|
30443
|
+
# * `block-all-sharing` - Prevents all public sharing of snapshots in
|
30444
|
+
# the Region. Users in the account will no longer be able to request
|
30445
|
+
# new public sharing. Additionally, snapshots that are already
|
30446
|
+
# publicly shared are treated as private and they are no longer
|
30447
|
+
# publicly available.
|
30448
|
+
#
|
30449
|
+
# <note markdown="1"> If you enable block public access for snapshots in
|
30450
|
+
# `block-all-sharing` mode, it does not change the permissions for
|
30451
|
+
# snapshots that are already publicly shared. Instead, it prevents
|
30452
|
+
# these snapshots from be publicly visible and publicly accessible.
|
30453
|
+
# Therefore, the attributes for these snapshots still indicate that
|
30454
|
+
# they are publicly shared, even though they are not publicly
|
30455
|
+
# available.
|
30456
|
+
#
|
30457
|
+
# </note>
|
30458
|
+
#
|
30459
|
+
# * `block-new-sharing` - Prevents only new public sharing of
|
30460
|
+
# snapshots in the Region. Users in the account will no longer be
|
30461
|
+
# able to request new public sharing. However, snapshots that are
|
30462
|
+
# already publicly shared, remain publicly available.
|
30463
|
+
# @return [String]
|
30464
|
+
#
|
30465
|
+
# @!attribute [rw] dry_run
|
30466
|
+
# Checks whether you have the required permissions for the action,
|
30467
|
+
# without actually making the request, and provides an error response.
|
30468
|
+
# If you have the required permissions, the error response is
|
30469
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
30470
|
+
# @return [Boolean]
|
30471
|
+
#
|
30472
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableSnapshotBlockPublicAccessRequest AWS API Documentation
|
30473
|
+
#
|
30474
|
+
class EnableSnapshotBlockPublicAccessRequest < Struct.new(
|
30475
|
+
:state,
|
30476
|
+
:dry_run)
|
30477
|
+
SENSITIVE = []
|
30478
|
+
include Aws::Structure
|
30479
|
+
end
|
30480
|
+
|
30481
|
+
# @!attribute [rw] state
|
30482
|
+
# The state of block public access for snapshots for the account and
|
30483
|
+
# Region. Returns either `block-all-sharing` or `block-new-sharing` if
|
30484
|
+
# the request succeeds.
|
30485
|
+
# @return [String]
|
30486
|
+
#
|
30487
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/EnableSnapshotBlockPublicAccessResult AWS API Documentation
|
30488
|
+
#
|
30489
|
+
class EnableSnapshotBlockPublicAccessResult < Struct.new(
|
30490
|
+
:state)
|
30491
|
+
SENSITIVE = []
|
30492
|
+
include Aws::Structure
|
30493
|
+
end
|
30494
|
+
|
30356
30495
|
# @!attribute [rw] transit_gateway_route_table_id
|
30357
30496
|
# The ID of the propagation route table.
|
30358
30497
|
# @return [String]
|
@@ -34392,6 +34531,47 @@ module Aws::EC2
|
|
34392
34531
|
include Aws::Structure
|
34393
34532
|
end
|
34394
34533
|
|
34534
|
+
# @!attribute [rw] dry_run
|
34535
|
+
# Checks whether you have the required permissions for the action,
|
34536
|
+
# without actually making the request, and provides an error response.
|
34537
|
+
# If you have the required permissions, the error response is
|
34538
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
34539
|
+
# @return [Boolean]
|
34540
|
+
#
|
34541
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetSnapshotBlockPublicAccessStateRequest AWS API Documentation
|
34542
|
+
#
|
34543
|
+
class GetSnapshotBlockPublicAccessStateRequest < Struct.new(
|
34544
|
+
:dry_run)
|
34545
|
+
SENSITIVE = []
|
34546
|
+
include Aws::Structure
|
34547
|
+
end
|
34548
|
+
|
34549
|
+
# @!attribute [rw] state
|
34550
|
+
# The current state of block public access for snapshots. Possible
|
34551
|
+
# values include:
|
34552
|
+
#
|
34553
|
+
# * `block-all-sharing` - All public sharing of snapshots is blocked.
|
34554
|
+
# Users in the account can't request new public sharing.
|
34555
|
+
# Additionally, snapshots that were already publicly shared are
|
34556
|
+
# treated as private and are not publicly available.
|
34557
|
+
#
|
34558
|
+
# * `block-new-sharing` - Only new public sharing of snapshots is
|
34559
|
+
# blocked. Users in the account can't request new public sharing.
|
34560
|
+
# However, snapshots that were already publicly shared, remain
|
34561
|
+
# publicly available.
|
34562
|
+
#
|
34563
|
+
# * `unblocked` - Public sharing is not blocked. Users can publicly
|
34564
|
+
# share snapshots.
|
34565
|
+
# @return [String]
|
34566
|
+
#
|
34567
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetSnapshotBlockPublicAccessStateResult AWS API Documentation
|
34568
|
+
#
|
34569
|
+
class GetSnapshotBlockPublicAccessStateResult < Struct.new(
|
34570
|
+
:state)
|
34571
|
+
SENSITIVE = []
|
34572
|
+
include Aws::Structure
|
34573
|
+
end
|
34574
|
+
|
34395
34575
|
# @!attribute [rw] instance_types
|
34396
34576
|
# The instance types. We recommend that you specify at least three
|
34397
34577
|
# instance types. If you specify one or two instance types, or specify
|
@@ -37698,6 +37878,58 @@ module Aws::EC2
|
|
37698
37878
|
include Aws::Structure
|
37699
37879
|
end
|
37700
37880
|
|
37881
|
+
# ENA Express uses Amazon Web Services Scalable Reliable Datagram (SRD)
|
37882
|
+
# technology to increase the maximum bandwidth used per stream and
|
37883
|
+
# minimize tail latency of network traffic between EC2 instances. With
|
37884
|
+
# ENA Express, you can communicate between two EC2 instances in the same
|
37885
|
+
# subnet within the same account, or in different accounts. Both sending
|
37886
|
+
# and receiving instances must have ENA Express enabled.
|
37887
|
+
#
|
37888
|
+
# To improve the reliability of network packet delivery, ENA Express
|
37889
|
+
# reorders network packets on the receiving end by default. However,
|
37890
|
+
# some UDP-based applications are designed to handle network packets
|
37891
|
+
# that are out of order to reduce the overhead for packet delivery at
|
37892
|
+
# the network layer. When ENA Express is enabled, you can specify
|
37893
|
+
# whether UDP network traffic uses it.
|
37894
|
+
#
|
37895
|
+
# @!attribute [rw] ena_srd_enabled
|
37896
|
+
# Indicates whether ENA Express is enabled for the network interface.
|
37897
|
+
# @return [Boolean]
|
37898
|
+
#
|
37899
|
+
# @!attribute [rw] ena_srd_udp_specification
|
37900
|
+
# Configures ENA Express for UDP network traffic.
|
37901
|
+
# @return [Types::InstanceAttachmentEnaSrdUdpSpecification]
|
37902
|
+
#
|
37903
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceAttachmentEnaSrdSpecification AWS API Documentation
|
37904
|
+
#
|
37905
|
+
class InstanceAttachmentEnaSrdSpecification < Struct.new(
|
37906
|
+
:ena_srd_enabled,
|
37907
|
+
:ena_srd_udp_specification)
|
37908
|
+
SENSITIVE = []
|
37909
|
+
include Aws::Structure
|
37910
|
+
end
|
37911
|
+
|
37912
|
+
# ENA Express is compatible with both TCP and UDP transport protocols.
|
37913
|
+
# When it's enabled, TCP traffic automatically uses it. However, some
|
37914
|
+
# UDP-based applications are designed to handle network packets that are
|
37915
|
+
# out of order, without a need for retransmission, such as live video
|
37916
|
+
# broadcasting or other near-real-time applications. For UDP traffic,
|
37917
|
+
# you can specify whether to use ENA Express, based on your application
|
37918
|
+
# environment needs.
|
37919
|
+
#
|
37920
|
+
# @!attribute [rw] ena_srd_udp_enabled
|
37921
|
+
# Indicates whether UDP traffic to and from the instance uses ENA
|
37922
|
+
# Express. To specify this setting, you must first enable ENA Express.
|
37923
|
+
# @return [Boolean]
|
37924
|
+
#
|
37925
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceAttachmentEnaSrdUdpSpecification AWS API Documentation
|
37926
|
+
#
|
37927
|
+
class InstanceAttachmentEnaSrdUdpSpecification < Struct.new(
|
37928
|
+
:ena_srd_udp_enabled)
|
37929
|
+
SENSITIVE = []
|
37930
|
+
include Aws::Structure
|
37931
|
+
end
|
37932
|
+
|
37701
37933
|
# Describes an instance attribute.
|
37702
37934
|
#
|
37703
37935
|
# @!attribute [rw] groups
|
@@ -38652,6 +38884,11 @@ module Aws::EC2
|
|
38652
38884
|
# The index of the network card.
|
38653
38885
|
# @return [Integer]
|
38654
38886
|
#
|
38887
|
+
# @!attribute [rw] ena_srd_specification
|
38888
|
+
# Contains the ENA Express settings for the network interface that's
|
38889
|
+
# attached to the instance.
|
38890
|
+
# @return [Types::InstanceAttachmentEnaSrdSpecification]
|
38891
|
+
#
|
38655
38892
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceNetworkInterfaceAttachment AWS API Documentation
|
38656
38893
|
#
|
38657
38894
|
class InstanceNetworkInterfaceAttachment < Struct.new(
|
@@ -38660,7 +38897,8 @@ module Aws::EC2
|
|
38660
38897
|
:delete_on_termination,
|
38661
38898
|
:device_index,
|
38662
38899
|
:status,
|
38663
|
-
:network_card_index
|
38900
|
+
:network_card_index,
|
38901
|
+
:ena_srd_specification)
|
38664
38902
|
SENSITIVE = []
|
38665
38903
|
include Aws::Structure
|
38666
38904
|
end
|
@@ -38831,6 +39069,11 @@ module Aws::EC2
|
|
38831
39069
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html
|
38832
39070
|
# @return [Boolean]
|
38833
39071
|
#
|
39072
|
+
# @!attribute [rw] ena_srd_specification
|
39073
|
+
# Specifies the ENA Express settings for the network interface that's
|
39074
|
+
# attached to the instance.
|
39075
|
+
# @return [Types::EnaSrdSpecificationRequest]
|
39076
|
+
#
|
38834
39077
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/InstanceNetworkInterfaceSpecification AWS API Documentation
|
38835
39078
|
#
|
38836
39079
|
class InstanceNetworkInterfaceSpecification < Struct.new(
|
@@ -38853,7 +39096,8 @@ module Aws::EC2
|
|
38853
39096
|
:ipv_4_prefix_count,
|
38854
39097
|
:ipv_6_prefixes,
|
38855
39098
|
:ipv_6_prefix_count,
|
38856
|
-
:primary_ipv_6
|
39099
|
+
:primary_ipv_6,
|
39100
|
+
:ena_srd_specification)
|
38857
39101
|
SENSITIVE = []
|
38858
39102
|
include Aws::Structure
|
38859
39103
|
end
|
@@ -42478,6 +42722,58 @@ module Aws::EC2
|
|
42478
42722
|
include Aws::Structure
|
42479
42723
|
end
|
42480
42724
|
|
42725
|
+
# ENA Express uses Amazon Web Services Scalable Reliable Datagram (SRD)
|
42726
|
+
# technology to increase the maximum bandwidth used per stream and
|
42727
|
+
# minimize tail latency of network traffic between EC2 instances. With
|
42728
|
+
# ENA Express, you can communicate between two EC2 instances in the same
|
42729
|
+
# subnet within the same account, or in different accounts. Both sending
|
42730
|
+
# and receiving instances must have ENA Express enabled.
|
42731
|
+
#
|
42732
|
+
# To improve the reliability of network packet delivery, ENA Express
|
42733
|
+
# reorders network packets on the receiving end by default. However,
|
42734
|
+
# some UDP-based applications are designed to handle network packets
|
42735
|
+
# that are out of order to reduce the overhead for packet delivery at
|
42736
|
+
# the network layer. When ENA Express is enabled, you can specify
|
42737
|
+
# whether UDP network traffic uses it.
|
42738
|
+
#
|
42739
|
+
# @!attribute [rw] ena_srd_enabled
|
42740
|
+
# Indicates whether ENA Express is enabled for the network interface.
|
42741
|
+
# @return [Boolean]
|
42742
|
+
#
|
42743
|
+
# @!attribute [rw] ena_srd_udp_specification
|
42744
|
+
# Configures ENA Express for UDP network traffic.
|
42745
|
+
# @return [Types::LaunchTemplateEnaSrdUdpSpecification]
|
42746
|
+
#
|
42747
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateEnaSrdSpecification AWS API Documentation
|
42748
|
+
#
|
42749
|
+
class LaunchTemplateEnaSrdSpecification < Struct.new(
|
42750
|
+
:ena_srd_enabled,
|
42751
|
+
:ena_srd_udp_specification)
|
42752
|
+
SENSITIVE = []
|
42753
|
+
include Aws::Structure
|
42754
|
+
end
|
42755
|
+
|
42756
|
+
# ENA Express is compatible with both TCP and UDP transport protocols.
|
42757
|
+
# When it's enabled, TCP traffic automatically uses it. However, some
|
42758
|
+
# UDP-based applications are designed to handle network packets that are
|
42759
|
+
# out of order, without a need for retransmission, such as live video
|
42760
|
+
# broadcasting or other near-real-time applications. For UDP traffic,
|
42761
|
+
# you can specify whether to use ENA Express, based on your application
|
42762
|
+
# environment needs.
|
42763
|
+
#
|
42764
|
+
# @!attribute [rw] ena_srd_udp_enabled
|
42765
|
+
# Indicates whether UDP traffic to and from the instance uses ENA
|
42766
|
+
# Express. To specify this setting, you must first enable ENA Express.
|
42767
|
+
# @return [Boolean]
|
42768
|
+
#
|
42769
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateEnaSrdUdpSpecification AWS API Documentation
|
42770
|
+
#
|
42771
|
+
class LaunchTemplateEnaSrdUdpSpecification < Struct.new(
|
42772
|
+
:ena_srd_udp_enabled)
|
42773
|
+
SENSITIVE = []
|
42774
|
+
include Aws::Structure
|
42775
|
+
end
|
42776
|
+
|
42481
42777
|
# Indicates whether the instance is enabled for Amazon Web Services
|
42482
42778
|
# Nitro Enclaves.
|
42483
42779
|
#
|
@@ -42940,6 +43236,11 @@ module Aws::EC2
|
|
42940
43236
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html
|
42941
43237
|
# @return [Boolean]
|
42942
43238
|
#
|
43239
|
+
# @!attribute [rw] ena_srd_specification
|
43240
|
+
# Contains the ENA Express settings for instances launched from your
|
43241
|
+
# launch template.
|
43242
|
+
# @return [Types::LaunchTemplateEnaSrdSpecification]
|
43243
|
+
#
|
42943
43244
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateInstanceNetworkInterfaceSpecification AWS API Documentation
|
42944
43245
|
#
|
42945
43246
|
class LaunchTemplateInstanceNetworkInterfaceSpecification < Struct.new(
|
@@ -42962,7 +43263,8 @@ module Aws::EC2
|
|
42962
43263
|
:ipv_4_prefix_count,
|
42963
43264
|
:ipv_6_prefixes,
|
42964
43265
|
:ipv_6_prefix_count,
|
42965
|
-
:primary_ipv_6
|
43266
|
+
:primary_ipv_6,
|
43267
|
+
:ena_srd_specification)
|
42966
43268
|
SENSITIVE = []
|
42967
43269
|
include Aws::Structure
|
42968
43270
|
end
|
@@ -43094,6 +43396,10 @@ module Aws::EC2
|
|
43094
43396
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RunInstances.html
|
43095
43397
|
# @return [Boolean]
|
43096
43398
|
#
|
43399
|
+
# @!attribute [rw] ena_srd_specification
|
43400
|
+
# Configure ENA Express settings for your launch template.
|
43401
|
+
# @return [Types::EnaSrdSpecificationRequest]
|
43402
|
+
#
|
43097
43403
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/LaunchTemplateInstanceNetworkInterfaceSpecificationRequest AWS API Documentation
|
43098
43404
|
#
|
43099
43405
|
class LaunchTemplateInstanceNetworkInterfaceSpecificationRequest < Struct.new(
|
@@ -43116,7 +43422,8 @@ module Aws::EC2
|
|
43116
43422
|
:ipv_4_prefix_count,
|
43117
43423
|
:ipv_6_prefixes,
|
43118
43424
|
:ipv_6_prefix_count,
|
43119
|
-
:primary_ipv_6
|
43425
|
+
:primary_ipv_6,
|
43426
|
+
:ena_srd_specification)
|
43120
43427
|
SENSITIVE = []
|
43121
43428
|
include Aws::Structure
|
43122
43429
|
end
|
@@ -43564,9 +43871,9 @@ module Aws::EC2
|
|
43564
43871
|
# tagged. When you create a launch template, you can specify tags for
|
43565
43872
|
# the following resource types only: `instance` \| `volume` \|
|
43566
43873
|
# `elastic-gpu` \| `network-interface` \| `spot-instances-request`. If
|
43567
|
-
# the instance does include the resource type that you specify,
|
43568
|
-
# instance launch fails. For example, not all instance types
|
43569
|
-
# an Elastic GPU.
|
43874
|
+
# the instance does not include the resource type that you specify,
|
43875
|
+
# the instance launch fails. For example, not all instance types
|
43876
|
+
# include an Elastic GPU.
|
43570
43877
|
#
|
43571
43878
|
# To tag a resource after it has been created, see [CreateTags][1].
|
43572
43879
|
#
|
@@ -53824,8 +54131,7 @@ module Aws::EC2
|
|
53824
54131
|
#
|
53825
54132
|
# @!attribute [rw] security_group_ids
|
53826
54133
|
# One or more security group IDs. You can create a security group
|
53827
|
-
# using [CreateSecurityGroup][1].
|
53828
|
-
# group ID and security name in the same request.
|
54134
|
+
# using [CreateSecurityGroup][1].
|
53829
54135
|
#
|
53830
54136
|
#
|
53831
54137
|
#
|
@@ -53834,8 +54140,7 @@ module Aws::EC2
|
|
53834
54140
|
#
|
53835
54141
|
# @!attribute [rw] security_groups
|
53836
54142
|
# One or more security group names. For a nondefault VPC, you must use
|
53837
|
-
# security group IDs instead.
|
53838
|
-
# ID and security name in the same request.
|
54143
|
+
# security group IDs instead.
|
53839
54144
|
# @return [Array<String>]
|
53840
54145
|
#
|
53841
54146
|
# @!attribute [rw] instance_market_options
|
data/lib/aws-sdk-ec2/vpc.rb
CHANGED
@@ -1066,8 +1066,9 @@ module Aws::EC2
|
|
1066
1066
|
#
|
1067
1067
|
# * `instance-id` - The ID of the instance.
|
1068
1068
|
#
|
1069
|
-
# * `instance-lifecycle` - Indicates whether this is a Spot Instance
|
1070
|
-
#
|
1069
|
+
# * `instance-lifecycle` - Indicates whether this is a Spot Instance, a
|
1070
|
+
# Scheduled Instance, or a Capacity Block (`spot` \| `scheduled` \|
|
1071
|
+
# `capacity-block`).
|
1071
1072
|
#
|
1072
1073
|
# * `instance-state-code` - The state of the instance, as a 16-bit
|
1073
1074
|
# unsigned integer. The high byte is used for internal purposes and
|
data/lib/aws-sdk-ec2.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ec2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.419.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-10
|
11
|
+
date: 2023-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|