All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.ec2.kotlin.inputs.LaunchTemplateEnaSrdUdpSpecificationArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.ec2.kotlin.inputs

import com.pulumi.awsnative.ec2.inputs.LaunchTemplateEnaSrdUdpSpecificationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * 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.
 * @property enaSrdUdpEnabled Indicates whether UDP traffic to and from the instance uses ENA Express. To specify this setting, you must first enable ENA Express.
 */
public data class LaunchTemplateEnaSrdUdpSpecificationArgs(
    public val enaSrdUdpEnabled: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.ec2.inputs.LaunchTemplateEnaSrdUdpSpecificationArgs =
        com.pulumi.awsnative.ec2.inputs.LaunchTemplateEnaSrdUdpSpecificationArgs.builder()
            .enaSrdUdpEnabled(enaSrdUdpEnabled?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [LaunchTemplateEnaSrdUdpSpecificationArgs].
 */
@PulumiTagMarker
public class LaunchTemplateEnaSrdUdpSpecificationArgsBuilder internal constructor() {
    private var enaSrdUdpEnabled: Output? = null

    /**
     * @param value Indicates whether UDP traffic to and from the instance uses ENA Express. To specify this setting, you must first enable ENA Express.
     */
    @JvmName("ltdqpqddcgwiiagr")
    public suspend fun enaSrdUdpEnabled(`value`: Output) {
        this.enaSrdUdpEnabled = value
    }

    /**
     * @param value Indicates whether UDP traffic to and from the instance uses ENA Express. To specify this setting, you must first enable ENA Express.
     */
    @JvmName("dpfyhbovvyiemwuc")
    public suspend fun enaSrdUdpEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.enaSrdUdpEnabled = mapped
    }

    internal fun build(): LaunchTemplateEnaSrdUdpSpecificationArgs =
        LaunchTemplateEnaSrdUdpSpecificationArgs(
            enaSrdUdpEnabled = enaSrdUdpEnabled,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy