com.pulumi.awsnative.imagebuilder.kotlin.enums.InfrastructureConfigurationInstanceMetadataOptionsHttpTokens.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.imagebuilder.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* Indicates whether a signed token header is required for instance metadata retrieval requests. The values affect the response as follows:
*/
public enum class InfrastructureConfigurationInstanceMetadataOptionsHttpTokens(
public val javaValue: com.pulumi.awsnative.imagebuilder.enums.InfrastructureConfigurationInstanceMetadataOptionsHttpTokens,
) :
ConvertibleToJava {
Required(com.pulumi.awsnative.imagebuilder.enums.InfrastructureConfigurationInstanceMetadataOptionsHttpTokens.Required),
Optional(com.pulumi.awsnative.imagebuilder.enums.InfrastructureConfigurationInstanceMetadataOptionsHttpTokens.Optional),
;
override fun toJava(): com.pulumi.awsnative.imagebuilder.enums.InfrastructureConfigurationInstanceMetadataOptionsHttpTokens = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.imagebuilder.enums.InfrastructureConfigurationInstanceMetadataOptionsHttpTokens): InfrastructureConfigurationInstanceMetadataOptionsHttpTokens =
InfrastructureConfigurationInstanceMetadataOptionsHttpTokens.values().first { it.javaValue == javaType }
}
}