![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.iot.kotlin.MitigationActionArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.iot.kotlin
import com.pulumi.awsnative.iot.MitigationActionArgs.builder
import com.pulumi.awsnative.iot.kotlin.inputs.MitigationActionActionParamsArgs
import com.pulumi.awsnative.iot.kotlin.inputs.MitigationActionActionParamsArgsBuilder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Mitigation actions can be used to take actions to mitigate issues that were found in an Audit finding or Detect violation.
* @property actionName A unique identifier for the mitigation action.
* @property actionParams The set of parameters for this mitigation action. The parameters vary, depending on the kind of action you apply.
* @property roleArn The IAM role ARN used to apply this mitigation action.
* @property tags An array of key-value pairs to apply to this resource.
*/
public data class MitigationActionArgs(
public val actionName: Output? = null,
public val actionParams: Output? = null,
public val roleArn: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.iot.MitigationActionArgs =
com.pulumi.awsnative.iot.MitigationActionArgs.builder()
.actionName(actionName?.applyValue({ args0 -> args0 }))
.actionParams(actionParams?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.roleArn(roleArn?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [MitigationActionArgs].
*/
@PulumiTagMarker
public class MitigationActionArgsBuilder internal constructor() {
private var actionName: Output? = null
private var actionParams: Output? = null
private var roleArn: Output? = null
private var tags: Output>? = null
/**
* @param value A unique identifier for the mitigation action.
*/
@JvmName("fobpirrhnrvrfnlk")
public suspend fun actionName(`value`: Output) {
this.actionName = value
}
/**
* @param value The set of parameters for this mitigation action. The parameters vary, depending on the kind of action you apply.
*/
@JvmName("hbpjmoqcxpcqhcrf")
public suspend fun actionParams(`value`: Output) {
this.actionParams = value
}
/**
* @param value The IAM role ARN used to apply this mitigation action.
*/
@JvmName("agfvschvrirvptne")
public suspend fun roleArn(`value`: Output) {
this.roleArn = value
}
/**
* @param value An array of key-value pairs to apply to this resource.
*/
@JvmName("somgraogtuiefuve")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("ojegkdlwsusreckv")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values An array of key-value pairs to apply to this resource.
*/
@JvmName("xiifsrvnpbgihywm")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy