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

com.pulumi.aws.ec2.kotlin.inputs.LaunchConfigurationMetadataOptionsArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.aws.ec2.kotlin.inputs

import com.pulumi.aws.ec2.inputs.LaunchConfigurationMetadataOptionsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property httpEndpoint The state of the metadata service: `enabled`, `disabled`.
 * @property httpPutResponseHopLimit The desired HTTP PUT response hop limit for instance metadata requests.
 * @property httpTokens If session tokens are required: `optional`, `required`.
 */
public data class LaunchConfigurationMetadataOptionsArgs(
    public val httpEndpoint: Output? = null,
    public val httpPutResponseHopLimit: Output? = null,
    public val httpTokens: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.ec2.inputs.LaunchConfigurationMetadataOptionsArgs =
        com.pulumi.aws.ec2.inputs.LaunchConfigurationMetadataOptionsArgs.builder()
            .httpEndpoint(httpEndpoint?.applyValue({ args0 -> args0 }))
            .httpPutResponseHopLimit(httpPutResponseHopLimit?.applyValue({ args0 -> args0 }))
            .httpTokens(httpTokens?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [LaunchConfigurationMetadataOptionsArgs].
 */
@PulumiTagMarker
public class LaunchConfigurationMetadataOptionsArgsBuilder internal constructor() {
    private var httpEndpoint: Output? = null

    private var httpPutResponseHopLimit: Output? = null

    private var httpTokens: Output? = null

    /**
     * @param value The state of the metadata service: `enabled`, `disabled`.
     */
    @JvmName("vauksrxkftytkwqs")
    public suspend fun httpEndpoint(`value`: Output) {
        this.httpEndpoint = value
    }

    /**
     * @param value The desired HTTP PUT response hop limit for instance metadata requests.
     */
    @JvmName("dqkumdrixpflyvcs")
    public suspend fun httpPutResponseHopLimit(`value`: Output) {
        this.httpPutResponseHopLimit = value
    }

    /**
     * @param value If session tokens are required: `optional`, `required`.
     */
    @JvmName("gdukmucrbbfjtvov")
    public suspend fun httpTokens(`value`: Output) {
        this.httpTokens = value
    }

    /**
     * @param value The state of the metadata service: `enabled`, `disabled`.
     */
    @JvmName("gynnxrqntkvxovjw")
    public suspend fun httpEndpoint(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.httpEndpoint = mapped
    }

    /**
     * @param value The desired HTTP PUT response hop limit for instance metadata requests.
     */
    @JvmName("funwwortbkfssnwh")
    public suspend fun httpPutResponseHopLimit(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.httpPutResponseHopLimit = mapped
    }

    /**
     * @param value If session tokens are required: `optional`, `required`.
     */
    @JvmName("vammmhrhfkokbfjg")
    public suspend fun httpTokens(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.httpTokens = mapped
    }

    internal fun build(): LaunchConfigurationMetadataOptionsArgs =
        LaunchConfigurationMetadataOptionsArgs(
            httpEndpoint = httpEndpoint,
            httpPutResponseHopLimit = httpPutResponseHopLimit,
            httpTokens = httpTokens,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy