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

com.pulumi.awsnative.networkfirewall.kotlin.LoggingConfigurationArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.networkfirewall.kotlin

import com.pulumi.awsnative.networkfirewall.LoggingConfigurationArgs.builder
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 * Resource type definition for AWS::NetworkFirewall::LoggingConfiguration
 * @property firewallArn The Amazon Resource Name (ARN) of the `Firewall` that the logging configuration is associated with. You can't change the firewall specification after you create the logging configuration.
 * @property firewallName The name of the firewall that the logging configuration is associated with. You can't change the firewall specification after you create the logging configuration.
 * @property loggingConfiguration Defines how AWS Network Firewall performs logging for a `Firewall` .
 */
public data class LoggingConfigurationArgs(
    public val firewallArn: Output? = null,
    public val firewallName: Output? = null,
    public val loggingConfiguration: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.networkfirewall.LoggingConfigurationArgs =
        com.pulumi.awsnative.networkfirewall.LoggingConfigurationArgs.builder()
            .firewallArn(firewallArn?.applyValue({ args0 -> args0 }))
            .firewallName(firewallName?.applyValue({ args0 -> args0 }))
            .loggingConfiguration(
                loggingConfiguration?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [LoggingConfigurationArgs].
 */
@PulumiTagMarker
public class LoggingConfigurationArgsBuilder internal constructor() {
    private var firewallArn: Output? = null

    private var firewallName: Output? = null

    private var loggingConfiguration:
        Output? = null

    /**
     * @param value The Amazon Resource Name (ARN) of the `Firewall` that the logging configuration is associated with. You can't change the firewall specification after you create the logging configuration.
     */
    @JvmName("phmarsuhitjrxfyj")
    public suspend fun firewallArn(`value`: Output) {
        this.firewallArn = value
    }

    /**
     * @param value The name of the firewall that the logging configuration is associated with. You can't change the firewall specification after you create the logging configuration.
     */
    @JvmName("ajqqwrgvgsjkxing")
    public suspend fun firewallName(`value`: Output) {
        this.firewallName = value
    }

    /**
     * @param value Defines how AWS Network Firewall performs logging for a `Firewall` .
     */
    @JvmName("jkibbfnbvhumihie")
    public suspend fun loggingConfiguration(`value`: Output) {
        this.loggingConfiguration = value
    }

    /**
     * @param value The Amazon Resource Name (ARN) of the `Firewall` that the logging configuration is associated with. You can't change the firewall specification after you create the logging configuration.
     */
    @JvmName("hfuuqblhywunutch")
    public suspend fun firewallArn(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.firewallArn = mapped
    }

    /**
     * @param value The name of the firewall that the logging configuration is associated with. You can't change the firewall specification after you create the logging configuration.
     */
    @JvmName("nsradqtpkktjwihl")
    public suspend fun firewallName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.firewallName = mapped
    }

    /**
     * @param value Defines how AWS Network Firewall performs logging for a `Firewall` .
     */
    @JvmName("telrwallwaruytoc")
    public suspend fun loggingConfiguration(`value`: com.pulumi.awsnative.networkfirewall.kotlin.inputs.LoggingConfigurationArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.loggingConfiguration = mapped
    }

    /**
     * @param argument Defines how AWS Network Firewall performs logging for a `Firewall` .
     */
    @JvmName("apasefrqixcbmpxa")
    public suspend fun loggingConfiguration(argument: suspend com.pulumi.awsnative.networkfirewall.kotlin.inputs.LoggingConfigurationArgsBuilder.() -> Unit) {
        val toBeMapped =
            com.pulumi.awsnative.networkfirewall.kotlin.inputs.LoggingConfigurationArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.loggingConfiguration = mapped
    }

    internal fun build(): LoggingConfigurationArgs = LoggingConfigurationArgs(
        firewallArn = firewallArn,
        firewallName = firewallName,
        loggingConfiguration = loggingConfiguration,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy