com.pulumi.aws.devopsguru.kotlin.inputs.NotificationChannelSnsArgs.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.devopsguru.kotlin.inputs
import com.pulumi.aws.devopsguru.inputs.NotificationChannelSnsArgs.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 topicArn Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic.
*/
public data class NotificationChannelSnsArgs(
public val topicArn: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.devopsguru.inputs.NotificationChannelSnsArgs =
com.pulumi.aws.devopsguru.inputs.NotificationChannelSnsArgs.builder()
.topicArn(topicArn.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [NotificationChannelSnsArgs].
*/
@PulumiTagMarker
public class NotificationChannelSnsArgsBuilder internal constructor() {
private var topicArn: Output? = null
/**
* @param value Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic.
*/
@JvmName("sxowfjdjpesmngva")
public suspend fun topicArn(`value`: Output) {
this.topicArn = value
}
/**
* @param value Amazon Resource Name (ARN) of an Amazon Simple Notification Service topic.
*/
@JvmName("clmxyobhvmrekxat")
public suspend fun topicArn(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.topicArn = mapped
}
internal fun build(): NotificationChannelSnsArgs = NotificationChannelSnsArgs(
topicArn = topicArn ?: throw PulumiNullFieldException("topicArn"),
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy