Class: AWSCDK::EC2::CfnLaunchTemplate::EnaSrdUDPSpecificationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EC2::CfnLaunchTemplate::EnaSrdUDPSpecificationProperty
- Defined in:
- ec2/cfn_launch_template.rb
Overview
ENA Express is compatible with both TCP and UDP transport protocols.
When it's enabled, TCP traffic automatically uses it. However, some UDP-based applications are designed to handle network packets that are out of order, without a need for retransmission, such as live video broadcasting or other near-real-time applications. For UDP traffic, you can specify whether to use ENA Express, based on your application environment needs.
Instance Attribute Summary collapse
-
#ena_srd_udp_enabled ⇒ Boolean, ...
readonly
Indicates whether UDP traffic to and from the instance uses ENA Express.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(ena_srd_udp_enabled: nil) ⇒ EnaSrdUDPSpecificationProperty
constructor
A new instance of EnaSrdUDPSpecificationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(ena_srd_udp_enabled: nil) ⇒ EnaSrdUDPSpecificationProperty
Returns a new instance of EnaSrdUDPSpecificationProperty.
1376 1377 1378 1379 |
# File 'ec2/cfn_launch_template.rb', line 1376 def initialize(ena_srd_udp_enabled: nil) @ena_srd_udp_enabled = ena_srd_udp_enabled Jsii::Type.check_type(@ena_srd_udp_enabled, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3sicHJpbWl0aXZlIjoiYm9vbGVhbiJ9LHsiZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifV19fQ==")), "enaSrdUdpEnabled") unless @ena_srd_udp_enabled.nil? end |
Instance Attribute Details
#ena_srd_udp_enabled ⇒ Boolean, ... (readonly)
Indicates whether UDP traffic to and from the instance uses ENA Express.
To specify this setting, you must first enable ENA Express.
1387 1388 1389 |
# File 'ec2/cfn_launch_template.rb', line 1387 def ena_srd_udp_enabled @ena_srd_udp_enabled end |
Class Method Details
.jsii_properties ⇒ Object
1389 1390 1391 1392 1393 |
# File 'ec2/cfn_launch_template.rb', line 1389 def self.jsii_properties { :ena_srd_udp_enabled => "enaSrdUdpEnabled", } end |
Instance Method Details
#to_jsii ⇒ Object
1395 1396 1397 1398 1399 1400 1401 |
# File 'ec2/cfn_launch_template.rb', line 1395 def to_jsii result = {} result.merge!({ "enaSrdUdpEnabled" => @ena_srd_udp_enabled, }) result.compact end |