com.pulumi.cloudflare.kotlin.outputs.AccessRuleConfiguration.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 request property to target. Available values: `ip`, `ip6`, `ip_range`, `asn`, `country`. **Modifying this attribute will force creation of a new resource.**
* @property value The value to target. Depends on target's type. **Modifying this attribute will force creation of a new resource.**
*/
public data class AccessRuleConfiguration(
public val target: String,
public val `value`: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.cloudflare.outputs.AccessRuleConfiguration): AccessRuleConfiguration = AccessRuleConfiguration(
target = javaType.target(),
`value` = javaType.`value`(),
)
}
}