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

com.pulumi.aws.waf.kotlin.outputs.WebAclLoggingConfigurationRedactedFieldsFieldToMatch.kt Maven / Gradle / Ivy

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

package com.pulumi.aws.waf.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property data When the value of `type` is `HEADER`, enter the name of the header that you want the WAF to search, for example, `User-Agent` or `Referer`. If the value of `type` is any other value, omit `data`.
 * @property type The part of the web request that you want AWS WAF to search for a specified stringE.g., `HEADER` or `METHOD`
 */
public data class WebAclLoggingConfigurationRedactedFieldsFieldToMatch(
    public val `data`: String? = null,
    public val type: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.waf.outputs.WebAclLoggingConfigurationRedactedFieldsFieldToMatch): WebAclLoggingConfigurationRedactedFieldsFieldToMatch =
            WebAclLoggingConfigurationRedactedFieldsFieldToMatch(
                `data` = javaType.`data`().map({ args0 -> args0 }).orElse(null),
                type = javaType.type(),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy