All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.networkfirewall.kotlin.inputs.FirewallPolicyFirewallPolicyPolicyVariablesRuleVariableIpSetArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.networkfirewall.kotlin.inputs

import com.pulumi.aws.networkfirewall.inputs.FirewallPolicyFirewallPolicyPolicyVariablesRuleVariableIpSetArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property definitions Set of IPv4 or IPv6 addresses in CIDR notation to use for the Suricata `HOME_NET` variable.
 */
public data class FirewallPolicyFirewallPolicyPolicyVariablesRuleVariableIpSetArgs(
    public val definitions: Output>,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.networkfirewall.inputs.FirewallPolicyFirewallPolicyPolicyVariablesRuleVariableIpSetArgs =
        com.pulumi.aws.networkfirewall.inputs.FirewallPolicyFirewallPolicyPolicyVariablesRuleVariableIpSetArgs.builder()
            .definitions(definitions.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [FirewallPolicyFirewallPolicyPolicyVariablesRuleVariableIpSetArgs].
 */
@PulumiTagMarker
public class FirewallPolicyFirewallPolicyPolicyVariablesRuleVariableIpSetArgsBuilder internal constructor() {
    private var definitions: Output>? = null

    /**
     * @param value Set of IPv4 or IPv6 addresses in CIDR notation to use for the Suricata `HOME_NET` variable.
     */
    @JvmName("kijtmrykkuhotkks")
    public suspend fun definitions(`value`: Output>) {
        this.definitions = value
    }

    @JvmName("ilvpatjensyifwat")
    public suspend fun definitions(vararg values: Output) {
        this.definitions = Output.all(values.asList())
    }

    /**
     * @param values Set of IPv4 or IPv6 addresses in CIDR notation to use for the Suricata `HOME_NET` variable.
     */
    @JvmName("nkjsnmkruwfynlmf")
    public suspend fun definitions(values: List>) {
        this.definitions = Output.all(values)
    }

    /**
     * @param value Set of IPv4 or IPv6 addresses in CIDR notation to use for the Suricata `HOME_NET` variable.
     */
    @JvmName("onengqonbknohrtd")
    public suspend fun definitions(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.definitions = mapped
    }

    /**
     * @param values Set of IPv4 or IPv6 addresses in CIDR notation to use for the Suricata `HOME_NET` variable.
     */
    @JvmName("ojhrenppchmfunim")
    public suspend fun definitions(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.definitions = mapped
    }

    internal fun build(): FirewallPolicyFirewallPolicyPolicyVariablesRuleVariableIpSetArgs =
        FirewallPolicyFirewallPolicyPolicyVariablesRuleVariableIpSetArgs(
            definitions = definitions ?: throw PulumiNullFieldException("definitions"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy