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

com.pulumi.awsnative.budgets.kotlin.outputs.BudgetsActionSubscriber.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.budgets.kotlin.outputs

import com.pulumi.awsnative.budgets.kotlin.enums.BudgetsActionSubscriberType
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property address The address that AWS sends budget notifications to, either an SNS topic or an email.
 * When you create a subscriber, the value of `Address` can't contain line breaks.
 * @property type The type of notification that AWS sends to a subscriber.
 */
public data class BudgetsActionSubscriber(
    public val address: String,
    public val type: BudgetsActionSubscriberType,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.budgets.outputs.BudgetsActionSubscriber): BudgetsActionSubscriber = BudgetsActionSubscriber(
            address = javaType.address(),
            type = javaType.type().let({ args0 ->
                com.pulumi.awsnative.budgets.kotlin.enums.BudgetsActionSubscriberType.Companion.toKotlin(args0)
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy