com.pulumi.cloudflare.kotlin.outputs.UserAgentBlockingRuleConfiguration.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-cloudflare-kotlin Show documentation
Show all versions of pulumi-cloudflare-kotlin Show documentation
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`(),
)
}
}