com.pulumi.awsnative.shield.kotlin.ProactiveEngagementArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.awsnative.shield.kotlin
import com.pulumi.awsnative.shield.ProactiveEngagementArgs.builder
import com.pulumi.awsnative.shield.kotlin.enums.ProactiveEngagementStatus
import com.pulumi.awsnative.shield.kotlin.inputs.ProactiveEngagementEmergencyContactArgs
import com.pulumi.awsnative.shield.kotlin.inputs.ProactiveEngagementEmergencyContactArgsBuilder
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.collections.List
import kotlin.jvm.JvmName
/**
* Authorizes the Shield Response Team (SRT) to use email and phone to notify contacts about escalations to the SRT and to initiate proactive customer support.
* @property emergencyContactList A list of email addresses and phone numbers that the Shield Response Team (SRT) can use to contact you for escalations to the SRT and to initiate proactive customer support.
* To enable proactive engagement, the contact list must include at least one phone number.
* @property proactiveEngagementStatus If `ENABLED`, the Shield Response Team (SRT) will use email and phone to notify contacts about escalations to the SRT and to initiate proactive customer support.
* If `DISABLED`, the SRT will not proactively notify contacts about escalations or to initiate proactive customer support.
*/
public data class ProactiveEngagementArgs(
public val emergencyContactList: Output>? = null,
public val proactiveEngagementStatus: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.shield.ProactiveEngagementArgs =
com.pulumi.awsnative.shield.ProactiveEngagementArgs.builder()
.emergencyContactList(
emergencyContactList?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.proactiveEngagementStatus(
proactiveEngagementStatus?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [ProactiveEngagementArgs].
*/
@PulumiTagMarker
public class ProactiveEngagementArgsBuilder internal constructor() {
private var emergencyContactList: Output>? = null
private var proactiveEngagementStatus: Output? = null
/**
* @param value A list of email addresses and phone numbers that the Shield Response Team (SRT) can use to contact you for escalations to the SRT and to initiate proactive customer support.
* To enable proactive engagement, the contact list must include at least one phone number.
*/
@JvmName("mnkhmpnlxvexxdgf")
public suspend fun emergencyContactList(`value`: Output>) {
this.emergencyContactList = value
}
@JvmName("eoupexqhojdcupvl")
public suspend fun emergencyContactList(vararg values: Output) {
this.emergencyContactList = Output.all(values.asList())
}
/**
* @param values A list of email addresses and phone numbers that the Shield Response Team (SRT) can use to contact you for escalations to the SRT and to initiate proactive customer support.
* To enable proactive engagement, the contact list must include at least one phone number.
*/
@JvmName("undpysmqsgqalqve")
public suspend fun emergencyContactList(values: List