
com.pulumi.awsnative.ssmcontacts.kotlin.outputs.PlanTargets.kt Maven / Gradle / Ivy
@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