![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.ce.kotlin.outputs.AnomalySubscriptionSubscriber.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.ce.kotlin.outputs
import com.pulumi.awsnative.ce.kotlin.enums.AnomalySubscriptionSubscriberStatus
import com.pulumi.awsnative.ce.kotlin.enums.AnomalySubscriptionSubscriberType
import kotlin.String
import kotlin.Suppress
/**
*
* @property address The email address or SNS Topic Amazon Resource Name (ARN), depending on the `Type` .
* @property status Indicates if the subscriber accepts the notifications.
* @property type The notification delivery channel.
*/
public data class AnomalySubscriptionSubscriber(
public val address: String,
public val status: AnomalySubscriptionSubscriberStatus? = null,
public val type: AnomalySubscriptionSubscriberType,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ce.outputs.AnomalySubscriptionSubscriber): AnomalySubscriptionSubscriber = AnomalySubscriptionSubscriber(
address = javaType.address(),
status = javaType.status().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ce.kotlin.enums.AnomalySubscriptionSubscriberStatus.Companion.toKotlin(args0)
})
}).orElse(null),
type = javaType.type().let({ args0 ->
com.pulumi.awsnative.ce.kotlin.enums.AnomalySubscriptionSubscriberType.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy