com.pulumi.awsnative.ssmincidents.kotlin.outputs.ResponsePlanPagerDutyConfiguration.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.ssmincidents.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* The pagerDuty configuration to use when starting the incident.
* @property name The name of the pagerDuty configuration.
* @property pagerDutyIncidentConfiguration Details about the PagerDuty service associated with the configuration.
* @property secretId The AWS secrets manager secretId storing the pagerDuty token.
*/
public data class ResponsePlanPagerDutyConfiguration(
public val name: String,
public val pagerDutyIncidentConfiguration: ResponsePlanPagerDutyIncidentConfiguration,
public val secretId: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.ssmincidents.outputs.ResponsePlanPagerDutyConfiguration): ResponsePlanPagerDutyConfiguration = ResponsePlanPagerDutyConfiguration(
name = javaType.name(),
pagerDutyIncidentConfiguration = javaType.pagerDutyIncidentConfiguration().let({ args0 ->
com.pulumi.awsnative.ssmincidents.kotlin.outputs.ResponsePlanPagerDutyIncidentConfiguration.Companion.toKotlin(args0)
}),
secretId = javaType.secretId(),
)
}
}