com.pulumi.aws.iot.kotlin.outputs.TopicRuleHttp.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.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @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 TopicRuleHttp(
public val confirmationUrl: String? = null,
public val httpHeaders: List? = null,
public val url: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.iot.outputs.TopicRuleHttp): TopicRuleHttp =
TopicRuleHttp(
confirmationUrl = javaType.confirmationUrl().map({ args0 -> args0 }).orElse(null),
httpHeaders = javaType.httpHeaders().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.iot.kotlin.outputs.TopicRuleHttpHttpHeader.Companion.toKotlin(args0)
})
}),
url = javaType.url(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy