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

com.pulumi.awsnative.connect.kotlin.outputs.RuleTriggerEventSource.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.connect.kotlin.outputs

import com.pulumi.awsnative.connect.kotlin.enums.RuleTriggerEventSourceEventSourceName
import kotlin.String
import kotlin.Suppress

/**
 * The event source that will trigger the rule.
 * @property eventSourceName The name of event source.
 * @property integrationAssociationArn The Amazon Resource Name (ARN) for the AppIntegration association.
 */
public data class RuleTriggerEventSource(
    public val eventSourceName: RuleTriggerEventSourceEventSourceName,
    public val integrationAssociationArn: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.connect.outputs.RuleTriggerEventSource): RuleTriggerEventSource = RuleTriggerEventSource(
            eventSourceName = javaType.eventSourceName().let({ args0 ->
                com.pulumi.awsnative.connect.kotlin.enums.RuleTriggerEventSourceEventSourceName.Companion.toKotlin(args0)
            }),
            integrationAssociationArn = javaType.integrationAssociationArn().map({ args0 ->
                args0
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy