com.pulumi.awsnative.lookoutmetrics.kotlin.outputs.AlertSnsConfiguration.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.lookoutmetrics.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* Configuration options for an SNS alert action.
* @property roleArn ARN of an IAM role that LookoutMetrics should assume to access the SNS topic.
* @property snsTopicArn ARN of an SNS topic to send alert notifications to.
*/
public data class AlertSnsConfiguration(
public val roleArn: String,
public val snsTopicArn: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.lookoutmetrics.outputs.AlertSnsConfiguration): AlertSnsConfiguration = AlertSnsConfiguration(
roleArn = javaType.roleArn(),
snsTopicArn = javaType.snsTopicArn(),
)
}
}