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

com.pulumi.awsnative.wafv2.kotlin.outputs.GetLoggingConfigurationResult.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.wafv2.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property logDestinationConfigs The Amazon Resource Names (ARNs) of the logging destinations that you want to associate with the web ACL.
 * @property loggingFilter Filtering that specifies which web requests are kept in the logs and which are dropped. You can filter on the rule action and on the web request labels that were applied by matching rules during web ACL evaluation.
 * @property managedByFirewallManager Indicates whether the logging configuration was created by AWS Firewall Manager, as part of an AWS WAF policy configuration. If true, only Firewall Manager can modify or delete the configuration.
 * @property redactedFields The parts of the request that you want to keep out of the logs. For example, if you redact the HEADER field, the HEADER field in the firehose will be xxx.
 */
public data class GetLoggingConfigurationResult(
    public val logDestinationConfigs: List? = null,
    public val loggingFilter: LoggingFilterProperties? = null,
    public val managedByFirewallManager: Boolean? = null,
    public val redactedFields: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.wafv2.outputs.GetLoggingConfigurationResult): GetLoggingConfigurationResult = GetLoggingConfigurationResult(
            logDestinationConfigs = javaType.logDestinationConfigs().map({ args0 -> args0 }),
            loggingFilter = javaType.loggingFilter().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.wafv2.kotlin.outputs.LoggingFilterProperties.Companion.toKotlin(args0)
                })
            }).orElse(null),
            managedByFirewallManager = javaType.managedByFirewallManager().map({ args0 -> args0 }).orElse(null),
            redactedFields = javaType.redactedFields().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.wafv2.kotlin.outputs.LoggingConfigurationFieldToMatch.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy