![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.ec2.kotlin.outputs.LaunchTemplateEnaSrdSpecification.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.ec2.kotlin.outputs
import kotlin.Boolean
import kotlin.Suppress
/**
* ENA Express uses AWS Scalable Reliable Datagram (SRD) technology to increase the maximum bandwidth used per stream and minimize tail latency of network traffic between EC2 instances. With ENA Express, you can communicate between two EC2 instances in the same subnet within the same account, or in different accounts. Both sending and receiving instances must have ENA Express enabled.
* To improve the reliability of network packet delivery, ENA Express reorders network packets on the receiving end by default. However, some UDP-based applications are designed to handle network packets that are out of order to reduce the overhead for packet delivery at the network layer. When ENA Express is enabled, you can specify whether UDP network traffic uses it.
* @property enaSrdEnabled Indicates whether ENA Express is enabled for the network interface.
* @property enaSrdUdpSpecification Configures ENA Express for UDP network traffic.
*/
public data class LaunchTemplateEnaSrdSpecification(
public val enaSrdEnabled: Boolean? = null,
public val enaSrdUdpSpecification: LaunchTemplateEnaSrdUdpSpecification? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ec2.outputs.LaunchTemplateEnaSrdSpecification): LaunchTemplateEnaSrdSpecification = LaunchTemplateEnaSrdSpecification(
enaSrdEnabled = javaType.enaSrdEnabled().map({ args0 -> args0 }).orElse(null),
enaSrdUdpSpecification = javaType.enaSrdUdpSpecification().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ec2.kotlin.outputs.LaunchTemplateEnaSrdUdpSpecification.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy