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

com.pulumi.awsnative.fms.kotlin.NotificationChannelArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.fms.kotlin

import com.pulumi.awsnative.fms.NotificationChannelArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Designates the IAM role and Amazon Simple Notification Service (SNS) topic that AWS Firewall Manager uses to record SNS logs.
 * @property snsRoleName The Amazon Resource Name (ARN) of the IAM role that allows Amazon SNS to record AWS Firewall Manager activity.
 * @property snsTopicArn The Amazon Resource Name (ARN) of the SNS topic that collects notifications from AWS Firewall Manager .
 */
public data class NotificationChannelArgs(
    public val snsRoleName: Output? = null,
    public val snsTopicArn: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.fms.NotificationChannelArgs =
        com.pulumi.awsnative.fms.NotificationChannelArgs.builder()
            .snsRoleName(snsRoleName?.applyValue({ args0 -> args0 }))
            .snsTopicArn(snsTopicArn?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [NotificationChannelArgs].
 */
@PulumiTagMarker
public class NotificationChannelArgsBuilder internal constructor() {
    private var snsRoleName: Output? = null

    private var snsTopicArn: Output? = null

    /**
     * @param value The Amazon Resource Name (ARN) of the IAM role that allows Amazon SNS to record AWS Firewall Manager activity.
     */
    @JvmName("vvqyvgqhfjpmynuu")
    public suspend fun snsRoleName(`value`: Output) {
        this.snsRoleName = value
    }

    /**
     * @param value The Amazon Resource Name (ARN) of the SNS topic that collects notifications from AWS Firewall Manager .
     */
    @JvmName("hkaykhbdfabpoiyg")
    public suspend fun snsTopicArn(`value`: Output) {
        this.snsTopicArn = value
    }

    /**
     * @param value The Amazon Resource Name (ARN) of the IAM role that allows Amazon SNS to record AWS Firewall Manager activity.
     */
    @JvmName("nmkqcftjgkjlkbti")
    public suspend fun snsRoleName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.snsRoleName = mapped
    }

    /**
     * @param value The Amazon Resource Name (ARN) of the SNS topic that collects notifications from AWS Firewall Manager .
     */
    @JvmName("eowbybmklqcejjar")
    public suspend fun snsTopicArn(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.snsTopicArn = mapped
    }

    internal fun build(): NotificationChannelArgs = NotificationChannelArgs(
        snsRoleName = snsRoleName,
        snsTopicArn = snsTopicArn,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy