
com.pulumi.awsnative.autoscaling.kotlin.inputs.LaunchConfigurationMetadataOptionsArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.autoscaling.kotlin.inputs
import com.pulumi.awsnative.autoscaling.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
/**
* MetadataOptions is a property of AWS::AutoScaling::LaunchConfiguration that describes metadata options for the instances.
* @property httpEndpoint This parameter enables or disables the HTTP metadata endpoint on your instances.
* @property httpPutResponseHopLimit The desired HTTP PUT response hop limit for instance metadata requests.
* @property httpTokens The state of token usage for your instance metadata requests.
*/
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.awsnative.autoscaling.inputs.LaunchConfigurationMetadataOptionsArgs =
com.pulumi.awsnative.autoscaling.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 This parameter enables or disables the HTTP metadata endpoint on your instances.
*/
@JvmName("ebsimsjoedscvonk")
public suspend fun httpEndpoint(`value`: Output) {
this.httpEndpoint = value
}
/**
* @param value The desired HTTP PUT response hop limit for instance metadata requests.
*/
@JvmName("xncexqqntgcqpeky")
public suspend fun httpPutResponseHopLimit(`value`: Output) {
this.httpPutResponseHopLimit = value
}
/**
* @param value The state of token usage for your instance metadata requests.
*/
@JvmName("srtxkktmrklmwswn")
public suspend fun httpTokens(`value`: Output) {
this.httpTokens = value
}
/**
* @param value This parameter enables or disables the HTTP metadata endpoint on your instances.
*/
@JvmName("cqypahdspcarctmw")
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("muclqxawnwbnhegy")
public suspend fun httpPutResponseHopLimit(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.httpPutResponseHopLimit = mapped
}
/**
* @param value The state of token usage for your instance metadata requests.
*/
@JvmName("gdkbrdhaouafjoto")
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