Class: AWSCDK::EC2::CfnInstance::EnaSrdUDPSpecificationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::EC2::CfnInstance::EnaSrdUDPSpecificationProperty
- Defined in:
- ec2/cfn_instance.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.
1631 1632 1633 1634 |
# File 'ec2/cfn_instance.rb', line 1631 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.
1642 1643 1644 |
# File 'ec2/cfn_instance.rb', line 1642 def ena_srd_udp_enabled @ena_srd_udp_enabled end |
Class Method Details
.jsii_properties ⇒ Object
1644 1645 1646 1647 1648 |
# File 'ec2/cfn_instance.rb', line 1644 def self.jsii_properties { :ena_srd_udp_enabled => "enaSrdUdpEnabled", } end |
Instance Method Details
#to_jsii ⇒ Object
1650 1651 1652 1653 1654 1655 1656 |
# File 'ec2/cfn_instance.rb', line 1650 def to_jsii result = {} result.merge!({ "enaSrdUdpEnabled" => @ena_srd_udp_enabled, }) result.compact end |