All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.iot.kotlin.outputs.TopicRuleHttp.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@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