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

com.pulumi.cloudflare.kotlin.outputs.UserAgentBlockingRuleConfiguration.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.cloudflare.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property target The configuration target for this rule. You must set the target to ua for User Agent Blocking rules.
 * @property value The exact user agent string to match. This value will be compared to the received User-Agent HTTP header value.
 */
public data class UserAgentBlockingRuleConfiguration(
    public val target: String,
    public val `value`: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.UserAgentBlockingRuleConfiguration): UserAgentBlockingRuleConfiguration = UserAgentBlockingRuleConfiguration(
            target = javaType.target(),
            `value` = javaType.`value`(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy