![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.securityhub.kotlin.inputs.AutomationRuleWorkflowUpdateArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.securityhub.kotlin.inputs
import com.pulumi.awsnative.securityhub.inputs.AutomationRuleWorkflowUpdateArgs.builder
import com.pulumi.awsnative.securityhub.kotlin.enums.AutomationRuleWorkflowUpdateStatus
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Used to update information about the investigation into the finding.
* @property status The status of the investigation into the finding. The workflow status is specific to an individual finding. It does not affect the generation of new findings. For example, setting the workflow status to ``SUPPRESSED`` or ``RESOLVED`` does not prevent a new finding for the same issue.
* The allowed values are the following.
* + ``NEW`` - The initial state of a finding, before it is reviewed.
* Security Hub also resets ``WorkFlowStatus`` from ``NOTIFIED`` or ``RESOLVED`` to ``NEW`` in the following cases:
* + The record state changes from ``ARCHIVED`` to ``ACTIVE``.
* + The compliance status changes from ``PASSED`` to either ``WARNING``, ``FAILED``, or ``NOT_AVAILABLE``.
* + ``NOTIFIED`` - Indicates that you notified the resource owner about the security issue. Used when the initial reviewer is not the resource owner, and needs intervention from the resource owner.
* + ``RESOLVED`` - The finding was reviewed and remediated and is now considered resolved.
* + ``SUPPRESSED`` - Indicates that you reviewed the finding and do not believe that any action is needed. The finding is no longer updated.
*/
public data class AutomationRuleWorkflowUpdateArgs(
public val status: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.securityhub.inputs.AutomationRuleWorkflowUpdateArgs =
com.pulumi.awsnative.securityhub.inputs.AutomationRuleWorkflowUpdateArgs.builder()
.status(status.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [AutomationRuleWorkflowUpdateArgs].
*/
@PulumiTagMarker
public class AutomationRuleWorkflowUpdateArgsBuilder internal constructor() {
private var status: Output? = null
/**
* @param value The status of the investigation into the finding. The workflow status is specific to an individual finding. It does not affect the generation of new findings. For example, setting the workflow status to ``SUPPRESSED`` or ``RESOLVED`` does not prevent a new finding for the same issue.
* The allowed values are the following.
* + ``NEW`` - The initial state of a finding, before it is reviewed.
* Security Hub also resets ``WorkFlowStatus`` from ``NOTIFIED`` or ``RESOLVED`` to ``NEW`` in the following cases:
* + The record state changes from ``ARCHIVED`` to ``ACTIVE``.
* + The compliance status changes from ``PASSED`` to either ``WARNING``, ``FAILED``, or ``NOT_AVAILABLE``.
* + ``NOTIFIED`` - Indicates that you notified the resource owner about the security issue. Used when the initial reviewer is not the resource owner, and needs intervention from the resource owner.
* + ``RESOLVED`` - The finding was reviewed and remediated and is now considered resolved.
* + ``SUPPRESSED`` - Indicates that you reviewed the finding and do not believe that any action is needed. The finding is no longer updated.
*/
@JvmName("uvwjqatnxfsgwmju")
public suspend fun status(`value`: Output) {
this.status = value
}
/**
* @param value The status of the investigation into the finding. The workflow status is specific to an individual finding. It does not affect the generation of new findings. For example, setting the workflow status to ``SUPPRESSED`` or ``RESOLVED`` does not prevent a new finding for the same issue.
* The allowed values are the following.
* + ``NEW`` - The initial state of a finding, before it is reviewed.
* Security Hub also resets ``WorkFlowStatus`` from ``NOTIFIED`` or ``RESOLVED`` to ``NEW`` in the following cases:
* + The record state changes from ``ARCHIVED`` to ``ACTIVE``.
* + The compliance status changes from ``PASSED`` to either ``WARNING``, ``FAILED``, or ``NOT_AVAILABLE``.
* + ``NOTIFIED`` - Indicates that you notified the resource owner about the security issue. Used when the initial reviewer is not the resource owner, and needs intervention from the resource owner.
* + ``RESOLVED`` - The finding was reviewed and remediated and is now considered resolved.
* + ``SUPPRESSED`` - Indicates that you reviewed the finding and do not believe that any action is needed. The finding is no longer updated.
*/
@JvmName("ymsjvxudjbigdrrr")
public suspend fun status(`value`: AutomationRuleWorkflowUpdateStatus) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.status = mapped
}
internal fun build(): AutomationRuleWorkflowUpdateArgs = AutomationRuleWorkflowUpdateArgs(
status = status ?: throw PulumiNullFieldException("status"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy