
com.pulumi.awsnative.networkfirewall.kotlin.RuleGroupArgs.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
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("eoppqokqcfaplpph")
public suspend fun capacity(`value`: Output) {
this.capacity = value
}
/**
* @param value A description of the rule group.
*/
@JvmName("ywoyvscokvejlumd")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value An object that defines the rule group rules.
*/
@JvmName("snotjirvdxvafqwo")
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("liuyldrkjhkqypip")
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("djtkucdytigadxlr")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("elaihyxpenwwaghl")
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("jrswebfeeeksqjme")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy