
com.pulumi.azure.securitycenter.kotlin.outputs.AutomationSource.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-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.azure.securitycenter.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property eventSource Type of data that will trigger this automation. Must be one of `Alerts`, `Assessments`, `AssessmentsSnapshot`, `RegulatoryComplianceAssessment`, `RegulatoryComplianceAssessmentSnapshot`, `SecureScoreControls`, `SecureScoreControlsSnapshot`, `SecureScores`, `SecureScoresSnapshot`, `SubAssessments` or `SubAssessmentsSnapshot`. Note. assessments are also referred to as recommendations
* @property ruleSets A set of rules which evaluate upon event and data interception. This is defined in one or more `rule_set` blocks as defined below.
* > **NOTE:** When multiple `rule_set` block are provided, a logical 'OR' is applied to the evaluation of them.
*/
public data class AutomationSource(
public val eventSource: String,
public val ruleSets: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azure.securitycenter.outputs.AutomationSource):
AutomationSource = AutomationSource(
eventSource = javaType.eventSource(),
ruleSets = javaType.ruleSets().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azure.securitycenter.kotlin.outputs.AutomationSourceRuleSet.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy