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

com.pulumi.awsnative.lambda.kotlin.enums.UrlInvokeMode.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.lambda.kotlin.enums

import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress

/**
 * The invocation mode for the function's URL. Set to BUFFERED if you want to buffer responses before returning them to the client. Set to RESPONSE_STREAM if you want to stream responses, allowing faster time to first byte and larger response payload sizes. If not set, defaults to BUFFERED.
 */
public enum class UrlInvokeMode(
    public val javaValue: com.pulumi.awsnative.lambda.enums.UrlInvokeMode,
) : ConvertibleToJava {
    Buffered(com.pulumi.awsnative.lambda.enums.UrlInvokeMode.Buffered),
    ResponseStream(com.pulumi.awsnative.lambda.enums.UrlInvokeMode.ResponseStream),
    ;

    override fun toJava(): com.pulumi.awsnative.lambda.enums.UrlInvokeMode = javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.lambda.enums.UrlInvokeMode): UrlInvokeMode =
            UrlInvokeMode.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy