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

com.pulumi.awsnative.lookoutmetrics.kotlin.outputs.AlertSnsConfiguration.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: 0.122.0.0
Show newest version
@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(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy