com.pulumi.awsnative.iot.kotlin.outputs.MitigationActionReplaceDefaultPolicyVersionParams.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.iot.kotlin.outputs
import com.pulumi.awsnative.iot.kotlin.enums.MitigationActionReplaceDefaultPolicyVersionParamsTemplateName
import kotlin.Suppress
/**
* Parameters to define a mitigation action that adds a blank policy to restrict permissions.
* @property templateName The name of the template to be applied. The only supported value is `BLANK_POLICY` .
*/
public data class MitigationActionReplaceDefaultPolicyVersionParams(
public val templateName: MitigationActionReplaceDefaultPolicyVersionParamsTemplateName,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.iot.outputs.MitigationActionReplaceDefaultPolicyVersionParams): MitigationActionReplaceDefaultPolicyVersionParams =
MitigationActionReplaceDefaultPolicyVersionParams(
templateName = javaType.templateName().let({ args0 ->
com.pulumi.awsnative.iot.kotlin.enums.MitigationActionReplaceDefaultPolicyVersionParamsTemplateName.Companion.toKotlin(args0)
}),
)
}
}