![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.networkfirewall.kotlin.RuleGroupArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.networkfirewall.kotlin
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.networkfirewall.RuleGroupArgs.builder
import com.pulumi.awsnative.networkfirewall.kotlin.enums.RuleGroupTypeEnum
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.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource type definition for AWS::NetworkFirewall::RuleGroup
* @property capacity The maximum operating resources that this rule group can use. You can't change a rule group's capacity setting after you create the rule group. When you update a rule group, you are limited to this capacity. When you reference a rule group from a firewall policy, Network Firewall reserves this capacity for the rule group.
* @property description A description of the rule group.
* @property ruleGroup An object that defines the rule group rules.
* @property ruleGroupName The descriptive name of the rule group. You can't change the name of a rule group after you create it.
* @property tags An array of key-value pairs to apply to this resource.
* For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .
* @property type Indicates whether the rule group is stateless or stateful. If the rule group is stateless, it contains
* stateless rules. If it is stateful, it contains stateful rules.
*/
public data class RuleGroupArgs(
public val capacity: Output? = null,
public val description: Output? = null,
public val ruleGroup: Output? =
null,
public val ruleGroupName: Output? = null,
public val tags: Output>? = null,
public val type: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.networkfirewall.RuleGroupArgs =
com.pulumi.awsnative.networkfirewall.RuleGroupArgs.builder()
.capacity(capacity?.applyValue({ args0 -> args0 }))
.description(description?.applyValue({ args0 -> args0 }))
.ruleGroup(ruleGroup?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.ruleGroupName(ruleGroupName?.applyValue({ args0 -> args0 }))
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.type(type?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [RuleGroupArgs].
*/
@PulumiTagMarker
public class RuleGroupArgsBuilder internal constructor() {
private var capacity: Output? = null
private var description: Output? = null
private var ruleGroup: Output? =
null
private var ruleGroupName: Output? = null
private var tags: Output>? = null
private var type: Output? = null
/**
* @param value The maximum operating resources that this rule group can use. You can't change a rule group's capacity setting after you create the rule group. When you update a rule group, you are limited to this capacity. When you reference a rule group from a firewall policy, Network Firewall reserves this capacity for the rule group.
*/
@JvmName("etlnygrhipmyagqq")
public suspend fun capacity(`value`: Output) {
this.capacity = value
}
/**
* @param value A description of the rule group.
*/
@JvmName("tfrijrhwkihliodk")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value An object that defines the rule group rules.
*/
@JvmName("hxtxhytkuljnlhyg")
public suspend fun ruleGroup(`value`: Output) {
this.ruleGroup = value
}
/**
* @param value The descriptive name of the rule group. You can't change the name of a rule group after you create it.
*/
@JvmName("srpdxdepcjleqrnb")
public suspend fun ruleGroupName(`value`: Output) {
this.ruleGroupName = value
}
/**
* @param value An array of key-value pairs to apply to this resource.
* For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .
*/
@JvmName("rrsweqjibcmlnjkt")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("pqooedtnivsomppn")
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.
* For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) .
*/
@JvmName("yfbmspcjpqislyip")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy