com.pulumi.aws.iot.kotlin.inputs.TopicRuleErrorActionHttpArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.iot.kotlin.inputs
import com.pulumi.aws.iot.inputs.TopicRuleErrorActionHttpArgs.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 com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property confirmationUrl The HTTPS URL used to verify ownership of `url`.
* @property httpHeaders Custom HTTP header IoT Core should send. It is possible to define more than one custom header.
* @property url The HTTPS URL.
*/
public data class TopicRuleErrorActionHttpArgs(
public val confirmationUrl: Output? = null,
public val httpHeaders: Output>? = null,
public val url: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.iot.inputs.TopicRuleErrorActionHttpArgs =
com.pulumi.aws.iot.inputs.TopicRuleErrorActionHttpArgs.builder()
.confirmationUrl(confirmationUrl?.applyValue({ args0 -> args0 }))
.httpHeaders(
httpHeaders?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.url(url.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TopicRuleErrorActionHttpArgs].
*/
@PulumiTagMarker
public class TopicRuleErrorActionHttpArgsBuilder internal constructor() {
private var confirmationUrl: Output? = null
private var httpHeaders: Output>? = null
private var url: Output? = null
/**
* @param value The HTTPS URL used to verify ownership of `url`.
*/
@JvmName("jawomigitdqfnhiv")
public suspend fun confirmationUrl(`value`: Output) {
this.confirmationUrl = value
}
/**
* @param value Custom HTTP header IoT Core should send. It is possible to define more than one custom header.
*/
@JvmName("wngtxyecomltttbi")
public suspend fun httpHeaders(`value`: Output>) {
this.httpHeaders = value
}
@JvmName("vglqqerjbvnvcuba")
public suspend fun httpHeaders(vararg values: Output) {
this.httpHeaders = Output.all(values.asList())
}
/**
* @param values Custom HTTP header IoT Core should send. It is possible to define more than one custom header.
*/
@JvmName("intuirpqcfttmlve")
public suspend fun httpHeaders(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy