com.pulumi.awsnative.iot.kotlin.inputs.TopicRuleHttpAuthorizationArgs.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.iot.kotlin.inputs
import com.pulumi.awsnative.iot.inputs.TopicRuleHttpAuthorizationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property sigv4 Use Sig V4 authorization. For more information, see [Signature Version 4 Signing Process](https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html) .
*/
public data class TopicRuleHttpAuthorizationArgs(
public val sigv4: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.iot.inputs.TopicRuleHttpAuthorizationArgs =
com.pulumi.awsnative.iot.inputs.TopicRuleHttpAuthorizationArgs.builder()
.sigv4(sigv4?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [TopicRuleHttpAuthorizationArgs].
*/
@PulumiTagMarker
public class TopicRuleHttpAuthorizationArgsBuilder internal constructor() {
private var sigv4: Output? = null
/**
* @param value Use Sig V4 authorization. For more information, see [Signature Version 4 Signing Process](https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html) .
*/
@JvmName("omqmxmjpxmwxgnxp")
public suspend fun sigv4(`value`: Output) {
this.sigv4 = value
}
/**
* @param value Use Sig V4 authorization. For more information, see [Signature Version 4 Signing Process](https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html) .
*/
@JvmName("fowvxtafaecrdgio")
public suspend fun sigv4(`value`: TopicRuleSigV4AuthorizationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sigv4 = mapped
}
/**
* @param argument Use Sig V4 authorization. For more information, see [Signature Version 4 Signing Process](https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html) .
*/
@JvmName("qfcgfpdifcebrlrg")
public suspend fun sigv4(argument: suspend TopicRuleSigV4AuthorizationArgsBuilder.() -> Unit) {
val toBeMapped = TopicRuleSigV4AuthorizationArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.sigv4 = mapped
}
internal fun build(): TopicRuleHttpAuthorizationArgs = TopicRuleHttpAuthorizationArgs(
sigv4 = sigv4,
)
}