com.pulumi.awsnative.networkfirewall.kotlin.outputs.RuleGroupCustomAction.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.networkfirewall.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property actionDefinition The custom action associated with the action name.
* @property actionName The descriptive name of the custom action. You can't change the name of a custom action after you create it.
*/
public data class RuleGroupCustomAction(
public val actionDefinition: RuleGroupActionDefinition,
public val actionName: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.networkfirewall.outputs.RuleGroupCustomAction): RuleGroupCustomAction = RuleGroupCustomAction(
actionDefinition = javaType.actionDefinition().let({ args0 ->
com.pulumi.awsnative.networkfirewall.kotlin.outputs.RuleGroupActionDefinition.Companion.toKotlin(args0)
}),
actionName = javaType.actionName(),
)
}
}