
com.pulumi.awsnative.securityhub.kotlin.outputs.StandardsControl.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.securityhub.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* Provides details about an individual security control. For a list of ASH controls, see [controls reference](https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-controls-reference.html) in the *User Guide*.
* @property reason A user-defined reason for changing a control's enablement status in a specified standard. If you are disabling a control, then this property is required.
* @property standardsControlArn The Amazon Resource Name (ARN) of the control.
*/
public data class StandardsControl(
public val reason: String? = null,
public val standardsControlArn: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.securityhub.outputs.StandardsControl): StandardsControl = StandardsControl(
reason = javaType.reason().map({ args0 -> args0 }).orElse(null),
standardsControlArn = javaType.standardsControlArn(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy