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

com.pulumi.awsnative.codestarnotifications.kotlin.outputs.NotificationRuleTarget.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.codestarnotifications.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property targetAddress The Amazon Resource Name (ARN) of the AWS Chatbot topic or AWS Chatbot client.
 * @property targetType The target type. Can be an Amazon Simple Notification Service topic or AWS Chatbot client.
 * - Amazon Simple Notification Service topics are specified as `SNS` .
 * - AWS Chatbot clients are specified as `AWSChatbotSlack` .
 * - AWS Chatbot clients for Microsoft Teams are specified as `AWSChatbotMicrosoftTeams` .
 */
public data class NotificationRuleTarget(
    public val targetAddress: String,
    public val targetType: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.codestarnotifications.outputs.NotificationRuleTarget): NotificationRuleTarget = NotificationRuleTarget(
            targetAddress = javaType.targetAddress(),
            targetType = javaType.targetType(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy