
com.pulumi.awsnative.ssmcontacts.kotlin.outputs.PlanTargets.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.outputs
import kotlin.Suppress
/**
* The contacts or contact methods that the escalation plan or engagement plan is engaging.
* @property channelTargetInfo Information about the contact channel that Incident Manager engages.
* @property contactTargetInfo Information about the contact that Incident Manager engages.
*/
public data class PlanTargets(
public val channelTargetInfo: PlanChannelTargetInfo? = null,
public val contactTargetInfo: PlanContactTargetInfo? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ssmcontacts.outputs.PlanTargets): PlanTargets = PlanTargets(
channelTargetInfo = javaType.channelTargetInfo().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ssmcontacts.kotlin.outputs.PlanChannelTargetInfo.Companion.toKotlin(args0)
})
}).orElse(null),
contactTargetInfo = javaType.contactTargetInfo().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.ssmcontacts.kotlin.outputs.PlanContactTargetInfo.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy