
com.pulumi.awsnative.networkfirewall.kotlin.outputs.RuleGroupStatelessRulesAndCustomActions.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.networkfirewall.kotlin.outputs
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property customActions Defines an array of individual custom action definitions that are available for use by the stateless rules in this `StatelessRulesAndCustomActions` specification. You name each custom action that you define, and then you can use it by name in your stateless rule `RuleGroup.RuleDefinition` `Actions` specification.
* @property statelessRules Defines the set of stateless rules for use in a stateless rule group.
*/
public data class RuleGroupStatelessRulesAndCustomActions(
public val customActions: List? = null,
public val statelessRules: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.networkfirewall.outputs.RuleGroupStatelessRulesAndCustomActions): RuleGroupStatelessRulesAndCustomActions = RuleGroupStatelessRulesAndCustomActions(
customActions = javaType.customActions().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.networkfirewall.kotlin.outputs.RuleGroupCustomAction.Companion.toKotlin(args0)
})
}),
statelessRules = javaType.statelessRules().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.networkfirewall.kotlin.outputs.RuleGroupStatelessRule.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy