
com.pulumi.awsnative.ssmcontacts.kotlin.ContactArgs.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.ssmcontacts.kotlin
import com.pulumi.awsnative.ssmcontacts.ContactArgs.builder
import com.pulumi.awsnative.ssmcontacts.kotlin.enums.ContactType
import com.pulumi.awsnative.ssmcontacts.kotlin.inputs.ContactStageArgs
import com.pulumi.awsnative.ssmcontacts.kotlin.inputs.ContactStageArgsBuilder
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource Type definition for AWS::SSMContacts::Contact
* @property alias Alias of the contact. String value with 20 to 256 characters. Only alphabetical, numeric characters, dash, or underscore allowed.
* @property displayName Name of the contact. String value with 3 to 256 characters. Only alphabetical, space, numeric characters, dash, or underscore allowed.
* @property plan The stages that an escalation plan or engagement plan engages contacts and contact methods in.
* @property type Contact type, which specify type of contact. Currently supported values: "PERSONAL", "SHARED", "OTHER".
*/
public data class ContactArgs(
public val alias: Output? = null,
public val displayName: Output? = null,
public val plan: Output>? = null,
public val type: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.ssmcontacts.ContactArgs =
com.pulumi.awsnative.ssmcontacts.ContactArgs.builder()
.alias(alias?.applyValue({ args0 -> args0 }))
.displayName(displayName?.applyValue({ args0 -> args0 }))
.plan(plan?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.type(type?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [ContactArgs].
*/
@PulumiTagMarker
public class ContactArgsBuilder internal constructor() {
private var alias: Output? = null
private var displayName: Output? = null
private var plan: Output>? = null
private var type: Output? = null
/**
* @param value Alias of the contact. String value with 20 to 256 characters. Only alphabetical, numeric characters, dash, or underscore allowed.
*/
@JvmName("yutbpripqqofbxdt")
public suspend fun alias(`value`: Output) {
this.alias = value
}
/**
* @param value Name of the contact. String value with 3 to 256 characters. Only alphabetical, space, numeric characters, dash, or underscore allowed.
*/
@JvmName("sspojolohhfyfmit")
public suspend fun displayName(`value`: Output) {
this.displayName = value
}
/**
* @param value The stages that an escalation plan or engagement plan engages contacts and contact methods in.
*/
@JvmName("qdxmjowylnitkgun")
public suspend fun plan(`value`: Output>) {
this.plan = value
}
@JvmName("smmckvfxjefxhlkf")
public suspend fun plan(vararg values: Output) {
this.plan = Output.all(values.asList())
}
/**
* @param values The stages that an escalation plan or engagement plan engages contacts and contact methods in.
*/
@JvmName("nnabtrvtsisjhnnb")
public suspend fun plan(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy