
com.pulumi.awsnative.cloudfront.kotlin.inputs.ResponseHeadersPolicyRemoveHeaderArgs.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.cloudfront.kotlin.inputs
import com.pulumi.awsnative.cloudfront.inputs.ResponseHeadersPolicyRemoveHeaderArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property header The HTTP header name.
*/
public data class ResponseHeadersPolicyRemoveHeaderArgs(
public val `header`: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.cloudfront.inputs.ResponseHeadersPolicyRemoveHeaderArgs =
com.pulumi.awsnative.cloudfront.inputs.ResponseHeadersPolicyRemoveHeaderArgs.builder()
.`header`(`header`.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ResponseHeadersPolicyRemoveHeaderArgs].
*/
@PulumiTagMarker
public class ResponseHeadersPolicyRemoveHeaderArgsBuilder internal constructor() {
private var `header`: Output? = null
/**
* @param value The HTTP header name.
*/
@JvmName("rkkqofxjbkuafabm")
public suspend fun `header`(`value`: Output) {
this.`header` = value
}
/**
* @param value The HTTP header name.
*/
@JvmName("qlqowtnvhcmnxkrp")
public suspend fun `header`(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.`header` = mapped
}
internal fun build(): ResponseHeadersPolicyRemoveHeaderArgs =
ResponseHeadersPolicyRemoveHeaderArgs(
`header` = `header` ?: throw PulumiNullFieldException("header"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy