com.pulumi.aws.chimesdkmediapipelines.kotlin.outputs.MediaInsightsPipelineConfigurationRealTimeAlertConfiguration.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.chimesdkmediapipelines.kotlin.outputs
import kotlin.Boolean
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property disabled Disables real time alert rules.
* @property rules Collection of real time alert rules
*/
public data class MediaInsightsPipelineConfigurationRealTimeAlertConfiguration(
public val disabled: Boolean? = null,
public val rules: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.chimesdkmediapipelines.outputs.MediaInsightsPipelineConfigurationRealTimeAlertConfiguration): MediaInsightsPipelineConfigurationRealTimeAlertConfiguration =
MediaInsightsPipelineConfigurationRealTimeAlertConfiguration(
disabled = javaType.disabled().map({ args0 -> args0 }).orElse(null),
rules = javaType.rules().map({ args0 ->
args0.let({ args0 ->
com.pulumi.aws.chimesdkmediapipelines.kotlin.outputs.MediaInsightsPipelineConfigurationRealTimeAlertConfigurationRule.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy