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

com.pulumi.awsnative.wafv2.kotlin.outputs.LoggingConfigurationFieldToMatch.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.Any
import kotlin.Suppress

/**
 * A key-value pair to associate with a resource.
 * @property method Inspect the HTTP method. The method indicates the type of operation that the request is asking the origin to perform.
 * @property queryString Inspect the query string. This is the part of a URL that appears after a ? character, if any.
 * @property singleHeader Inspect a single header. Provide the name of the header to inspect, for example, User-Agent or Referer. This setting isn't case sensitive.
 * @property uriPath Inspect the request URI path. This is the part of a web request that identifies a resource, for example, /images/daily-ad.jpg.
 */
public data class LoggingConfigurationFieldToMatch(
    public val method: Any? = null,
    public val queryString: Any? = null,
    public val singleHeader: LoggingConfigurationFieldToMatchSingleHeaderProperties? = null,
    public val uriPath: Any? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.wafv2.outputs.LoggingConfigurationFieldToMatch): LoggingConfigurationFieldToMatch = LoggingConfigurationFieldToMatch(
            method = javaType.method().map({ args0 -> args0 }).orElse(null),
            queryString = javaType.queryString().map({ args0 -> args0 }).orElse(null),
            singleHeader = javaType.singleHeader().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.wafv2.kotlin.outputs.LoggingConfigurationFieldToMatchSingleHeaderProperties.Companion.toKotlin(args0)
                })
            }).orElse(null),
            uriPath = javaType.uriPath().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy