com.pulumi.aws.securitylake.kotlin.inputs.SubscriberNotificationConfigurationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.securitylake.kotlin.inputs
import com.pulumi.aws.securitylake.inputs.SubscriberNotificationConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
*
* @property httpsNotificationConfiguration The configurations for HTTPS subscriber notification.
* @property sqsNotificationConfiguration The configurations for SQS subscriber notification.
* There are no parameters within `sqs_notification_configuration`.
*/
public data class SubscriberNotificationConfigurationArgs(
public val httpsNotificationConfiguration: Output? = null,
public val sqsNotificationConfiguration: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.securitylake.inputs.SubscriberNotificationConfigurationArgs = com.pulumi.aws.securitylake.inputs.SubscriberNotificationConfigurationArgs.builder()
.httpsNotificationConfiguration(
httpsNotificationConfiguration?.applyValue({ args0 ->
args0.let({ args0 -> args0.toJava() })
}),
)
.sqsNotificationConfiguration(
sqsNotificationConfiguration?.applyValue({ args0 ->
args0.let({ args0 -> args0.toJava() })
}),
).build()
}
/**
* Builder for [SubscriberNotificationConfigurationArgs].
*/
@PulumiTagMarker
public class SubscriberNotificationConfigurationArgsBuilder internal constructor() {
private var httpsNotificationConfiguration:
Output? = null
private var sqsNotificationConfiguration:
Output? = null
/**
* @param value The configurations for HTTPS subscriber notification.
*/
@JvmName("famevgxjjrecdsyf")
public suspend fun httpsNotificationConfiguration(`value`: Output) {
this.httpsNotificationConfiguration = value
}
/**
* @param value The configurations for SQS subscriber notification.
* There are no parameters within `sqs_notification_configuration`.
*/
@JvmName("frslrcekdeyjrota")
public suspend fun sqsNotificationConfiguration(`value`: Output) {
this.sqsNotificationConfiguration = value
}
/**
* @param value The configurations for HTTPS subscriber notification.
*/
@JvmName("rxbpitxubsduenqw")
public suspend fun httpsNotificationConfiguration(`value`: SubscriberNotificationConfigurationHttpsNotificationConfigurationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.httpsNotificationConfiguration = mapped
}
/**
* @param argument The configurations for HTTPS subscriber notification.
*/
@JvmName("wyutavqlvdtsumqg")
public suspend fun httpsNotificationConfiguration(argument: suspend SubscriberNotificationConfigurationHttpsNotificationConfigurationArgsBuilder.() -> Unit) {
val toBeMapped =
SubscriberNotificationConfigurationHttpsNotificationConfigurationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.httpsNotificationConfiguration = mapped
}
/**
* @param value The configurations for SQS subscriber notification.
* There are no parameters within `sqs_notification_configuration`.
*/
@JvmName("vdustvodsyvgmqva")
public suspend fun sqsNotificationConfiguration(`value`: SubscriberNotificationConfigurationSqsNotificationConfigurationArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sqsNotificationConfiguration = mapped
}
/**
* @param argument The configurations for SQS subscriber notification.
* There are no parameters within `sqs_notification_configuration`.
*/
@JvmName("rsxegeddrleoqlrp")
public suspend fun sqsNotificationConfiguration(argument: suspend SubscriberNotificationConfigurationSqsNotificationConfigurationArgsBuilder.() -> Unit) {
val toBeMapped =
SubscriberNotificationConfigurationSqsNotificationConfigurationArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.sqsNotificationConfiguration = mapped
}
internal fun build(): SubscriberNotificationConfigurationArgs =
SubscriberNotificationConfigurationArgs(
httpsNotificationConfiguration = httpsNotificationConfiguration,
sqsNotificationConfiguration = sqsNotificationConfiguration,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy