All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.securityhub.kotlin.outputs.StandardsControl.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@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