
com.pulumi.awsnative.securityhub.kotlin.outputs.SecurityControlParameterConfiguration.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.securityhub.kotlin.outputs
import com.pulumi.awsnative.securityhub.kotlin.enums.SecurityControlParameterConfigurationValueType
import kotlin.Suppress
/**
*
* @property value The current value of a control parameter.
* @property valueType Identifies whether a control parameter uses a custom user-defined value or subscribes to the default AWS Security Hub behavior.
* When `ValueType` is set equal to `DEFAULT` , the default behavior can be a specific Security Hub default value, or the default behavior can be to ignore a specific parameter. When `ValueType` is set equal to `DEFAULT` , Security Hub ignores user-provided input for the `Value` field.
* When `ValueType` is set equal to `CUSTOM` , the `Value` field can't be empty.
*/
public data class SecurityControlParameterConfiguration(
public val `value`: SecurityControlParameterValue? = null,
public val valueType: SecurityControlParameterConfigurationValueType,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.securityhub.outputs.SecurityControlParameterConfiguration): SecurityControlParameterConfiguration = SecurityControlParameterConfiguration(
`value` = javaType.`value`().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.securityhub.kotlin.outputs.SecurityControlParameterValue.Companion.toKotlin(args0)
})
}).orElse(null),
valueType = javaType.valueType().let({ args0 ->
com.pulumi.awsnative.securityhub.kotlin.enums.SecurityControlParameterConfigurationValueType.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy