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

com.pulumi.awsnative.iot.kotlin.outputs.GetMitigationActionResult.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: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.iot.kotlin.outputs

import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property actionParams The set of parameters for this mitigation action. The parameters vary, depending on the kind of action you apply.
 * @property mitigationActionArn The Amazon Resource Name (ARN) of the mitigation action.
 * @property mitigationActionId The ID of the mitigation action.
 * @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 GetMitigationActionResult(
    public val actionParams: MitigationActionActionParams? = null,
    public val mitigationActionArn: String? = null,
    public val mitigationActionId: String? = null,
    public val roleArn: String? = null,
    public val tags: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.iot.outputs.GetMitigationActionResult): GetMitigationActionResult = GetMitigationActionResult(
            actionParams = javaType.actionParams().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.iot.kotlin.outputs.MitigationActionActionParams.Companion.toKotlin(args0)
                })
            }).orElse(null),
            mitigationActionArn = javaType.mitigationActionArn().map({ args0 -> args0 }).orElse(null),
            mitigationActionId = javaType.mitigationActionId().map({ args0 -> args0 }).orElse(null),
            roleArn = javaType.roleArn().map({ args0 -> args0 }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy